// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 // protoc v3.12.4 // source: ranks.proto package ranks import ( 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 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_ranks_proto_msgTypes[0] 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_ranks_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 IdMessage.ProtoReflect.Descriptor instead. func (*IdMessage) Descriptor() ([]byte, []int) { return file_ranks_proto_rawDescGZIP(), []int{0} } func (x *IdMessage) GetID() int64 { if x != nil { return x.ID } return 0 } type GetRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields UserID int64 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"` StyleID int32 `protobuf:"varint,2,opt,name=StyleID,proto3" json:"StyleID,omitempty"` GameID int32 `protobuf:"varint,3,opt,name=GameID,proto3" json:"GameID,omitempty"` ModeID int32 `protobuf:"varint,4,opt,name=ModeID,proto3" json:"ModeID,omitempty"` } func (x *GetRequest) Reset() { *x = GetRequest{} if protoimpl.UnsafeEnabled { mi := &file_ranks_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetRequest) ProtoMessage() {} func (x *GetRequest) ProtoReflect() protoreflect.Message { mi := &file_ranks_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 GetRequest.ProtoReflect.Descriptor instead. func (*GetRequest) Descriptor() ([]byte, []int) { return file_ranks_proto_rawDescGZIP(), []int{1} } func (x *GetRequest) GetUserID() int64 { if x != nil { return x.UserID } return 0 } func (x *GetRequest) GetStyleID() int32 { if x != nil { return x.StyleID } return 0 } func (x *GetRequest) GetGameID() int32 { if x != nil { return x.GameID } return 0 } func (x *GetRequest) GetModeID() int32 { if x != nil { return x.ModeID } return 0 } type ListRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields StyleID int32 `protobuf:"varint,1,opt,name=StyleID,proto3" json:"StyleID,omitempty"` GameID int32 `protobuf:"varint,2,opt,name=GameID,proto3" json:"GameID,omitempty"` ModeID int32 `protobuf:"varint,3,opt,name=ModeID,proto3" json:"ModeID,omitempty"` Sort int64 `protobuf:"varint,4,opt,name=Sort,proto3" json:"Sort,omitempty"` StateID []int32 `protobuf:"varint,5,rep,packed,name=StateID,proto3" json:"StateID,omitempty"` Page *Pagination `protobuf:"bytes,6,opt,name=Page,proto3" json:"Page,omitempty"` } func (x *ListRequest) Reset() { *x = ListRequest{} if protoimpl.UnsafeEnabled { mi := &file_ranks_proto_msgTypes[2] 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_ranks_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 ListRequest.ProtoReflect.Descriptor instead. func (*ListRequest) Descriptor() ([]byte, []int) { return file_ranks_proto_rawDescGZIP(), []int{2} } func (x *ListRequest) GetStyleID() int32 { if x != nil { return x.StyleID } return 0 } func (x *ListRequest) GetGameID() int32 { if x != nil { return x.GameID } return 0 } func (x *ListRequest) GetModeID() int32 { if x != nil { return x.ModeID } return 0 } func (x *ListRequest) GetSort() int64 { if x != nil { return x.Sort } return 0 } func (x *ListRequest) GetStateID() []int32 { if x != nil { return x.StateID } return nil } func (x *ListRequest) GetPage() *Pagination { if x != nil { return x.Page } return nil } type RankList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Ranks []*RankMessage `protobuf:"bytes,1,rep,name=ranks,proto3" json:"ranks,omitempty"` } func (x *RankList) Reset() { *x = RankList{} if protoimpl.UnsafeEnabled { mi := &file_ranks_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RankList) String() string { return protoimpl.X.MessageStringOf(x) } func (*RankList) ProtoMessage() {} func (x *RankList) ProtoReflect() protoreflect.Message { mi := &file_ranks_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 RankList.ProtoReflect.Descriptor instead. func (*RankList) Descriptor() ([]byte, []int) { return file_ranks_proto_rawDescGZIP(), []int{3} } func (x *RankList) GetRanks() []*RankMessage { if x != nil { return x.Ranks } return nil } type RankMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` User *users.UserResponse `protobuf:"bytes,2,opt,name=User,proto3" json:"User,omitempty"` StyleID int32 `protobuf:"varint,3,opt,name=StyleID,proto3" json:"StyleID,omitempty"` ModeID int32 `protobuf:"varint,4,opt,name=ModeID,proto3" json:"ModeID,omitempty"` GameID int32 `protobuf:"varint,5,opt,name=GameID,proto3" json:"GameID,omitempty"` Rank float64 `protobuf:"fixed64,6,opt,name=Rank,proto3" json:"Rank,omitempty"` Skill float64 `protobuf:"fixed64,7,opt,name=Skill,proto3" json:"Skill,omitempty"` UpdatedAt int64 `protobuf:"varint,8,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` } func (x *RankMessage) Reset() { *x = RankMessage{} if protoimpl.UnsafeEnabled { mi := &file_ranks_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RankMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*RankMessage) ProtoMessage() {} func (x *RankMessage) ProtoReflect() protoreflect.Message { mi := &file_ranks_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 RankMessage.ProtoReflect.Descriptor instead. func (*RankMessage) Descriptor() ([]byte, []int) { return file_ranks_proto_rawDescGZIP(), []int{4} } func (x *RankMessage) GetID() int64 { if x != nil { return x.ID } return 0 } func (x *RankMessage) GetUser() *users.UserResponse { if x != nil { return x.User } return nil } func (x *RankMessage) GetStyleID() int32 { if x != nil { return x.StyleID } return 0 } func (x *RankMessage) GetModeID() int32 { if x != nil { return x.ModeID } return 0 } func (x *RankMessage) GetGameID() int32 { if x != nil { return x.GameID } return 0 } func (x *RankMessage) GetRank() float64 { if x != nil { return x.Rank } return 0 } func (x *RankMessage) GetSkill() float64 { if x != nil { return x.Skill } return 0 } func (x *RankMessage) GetUpdatedAt() int64 { if x != nil { return x.UpdatedAt } 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_ranks_proto_msgTypes[5] 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_ranks_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 Pagination.ProtoReflect.Descriptor instead. func (*Pagination) Descriptor() ([]byte, []int) { return file_ranks_proto_rawDescGZIP(), []int{5} } 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_ranks_proto_msgTypes[6] 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_ranks_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 NullResponse.ProtoReflect.Descriptor instead. func (*NullResponse) Descriptor() ([]byte, []int) { return file_ranks_proto_rawDescGZIP(), []int{6} } var File_ranks_proto protoreflect.FileDescriptor var file_ranks_proto_rawDesc = []byte{ 0x0a, 0x0b, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x1a, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 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, 0x6e, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x4d, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x22, 0xac, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x4d, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x53, 0x6f, 0x72, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x44, 0x18, 0x05, 0x20, 0x03, 0x28, 0x05, 0x52, 0x07, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x44, 0x12, 0x25, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x50, 0x61, 0x67, 0x65, 0x22, 0x34, 0x0a, 0x08, 0x52, 0x61, 0x6e, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x22, 0xd8, 0x01, 0x0a, 0x0b, 0x52, 0x61, 0x6e, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x12, 0x27, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x18, 0x02, 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, 0x18, 0x0a, 0x07, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x4d, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x47, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x52, 0x61, 0x6e, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, 0x52, 0x61, 0x6e, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 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, 0x97, 0x01, 0x0a, 0x0c, 0x52, 0x61, 0x6e, 0x6b, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2c, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x11, 0x2e, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2b, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x2e, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x10, 0x2e, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x2e, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x10, 0x2e, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x2e, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 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, 0x72, 0x61, 0x6e, 0x6b, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_ranks_proto_rawDescOnce sync.Once file_ranks_proto_rawDescData = file_ranks_proto_rawDesc ) func file_ranks_proto_rawDescGZIP() []byte { file_ranks_proto_rawDescOnce.Do(func() { file_ranks_proto_rawDescData = protoimpl.X.CompressGZIP(file_ranks_proto_rawDescData) }) return file_ranks_proto_rawDescData } var file_ranks_proto_msgTypes = make([]protoimpl.MessageInfo, 7) var file_ranks_proto_goTypes = []interface{}{ (*IdMessage)(nil), // 0: ranks.IdMessage (*GetRequest)(nil), // 1: ranks.GetRequest (*ListRequest)(nil), // 2: ranks.ListRequest (*RankList)(nil), // 3: ranks.RankList (*RankMessage)(nil), // 4: ranks.RankMessage (*Pagination)(nil), // 5: ranks.Pagination (*NullResponse)(nil), // 6: ranks.NullResponse (*users.UserResponse)(nil), // 7: users.UserResponse } var file_ranks_proto_depIdxs = []int32{ 5, // 0: ranks.ListRequest.Page:type_name -> ranks.Pagination 4, // 1: ranks.RankList.ranks:type_name -> ranks.RankMessage 7, // 2: ranks.RankMessage.User:type_name -> users.UserResponse 1, // 3: ranks.RanksService.Get:input_type -> ranks.GetRequest 2, // 4: ranks.RanksService.List:input_type -> ranks.ListRequest 0, // 5: ranks.RanksService.Delete:input_type -> ranks.IdMessage 4, // 6: ranks.RanksService.Get:output_type -> ranks.RankMessage 3, // 7: ranks.RanksService.List:output_type -> ranks.RankList 0, // 8: ranks.RanksService.Delete:output_type -> ranks.IdMessage 6, // [6:9] is the sub-list for method output_type 3, // [3:6] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name 3, // [3:3] is the sub-list for extension extendee 0, // [0:3] is the sub-list for field type_name } func init() { file_ranks_proto_init() } func file_ranks_proto_init() { if File_ranks_proto != nil { return } if !protoimpl.UnsafeEnabled { file_ranks_proto_msgTypes[0].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_ranks_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_ranks_proto_msgTypes[2].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_ranks_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RankList); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_ranks_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RankMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_ranks_proto_msgTypes[5].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_ranks_proto_msgTypes[6].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 } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_ranks_proto_rawDesc, NumEnums: 0, NumMessages: 7, NumExtensions: 0, NumServices: 1, }, GoTypes: file_ranks_proto_goTypes, DependencyIndexes: file_ranks_proto_depIdxs, MessageInfos: file_ranks_proto_msgTypes, }.Build() File_ranks_proto = out.File file_ranks_proto_rawDesc = nil file_ranks_proto_goTypes = nil file_ranks_proto_depIdxs = nil }