All checks were successful
Deploy Smart Search Backend Test / deploy (push) Successful in 2m31s
596 lines
18 KiB
Go
596 lines
18 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.6
|
|
// protoc v5.29.3
|
|
// source: user/user.proto
|
|
|
|
package user
|
|
|
|
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)
|
|
)
|
|
|
|
type GetInfoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetInfoRequest) Reset() {
|
|
*x = GetInfoRequest{}
|
|
mi := &file_user_user_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *GetInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 GetInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *GetInfoRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetInfoResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"`
|
|
CompanyName string `protobuf:"bytes,4,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"`
|
|
PaymentStatus string `protobuf:"bytes,5,opt,name=payment_status,json=paymentStatus,proto3" json:"payment_status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetInfoResponse) Reset() {
|
|
*x = GetInfoResponse{}
|
|
mi := &file_user_user_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetInfoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetInfoResponse) ProtoMessage() {}
|
|
|
|
func (x *GetInfoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 GetInfoResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetInfoResponse) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetPhone() string {
|
|
if x != nil {
|
|
return x.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetCompanyName() string {
|
|
if x != nil {
|
|
return x.CompanyName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetPaymentStatus() string {
|
|
if x != nil {
|
|
return x.PaymentStatus
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetBalanceRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetBalanceRequest) Reset() {
|
|
*x = GetBalanceRequest{}
|
|
mi := &file_user_user_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetBalanceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBalanceRequest) ProtoMessage() {}
|
|
|
|
func (x *GetBalanceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 GetBalanceRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetBalanceRequest) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *GetBalanceRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetBalanceResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Balance float64 `protobuf:"fixed64,1,opt,name=balance,proto3" json:"balance,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetBalanceResponse) Reset() {
|
|
*x = GetBalanceResponse{}
|
|
mi := &file_user_user_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetBalanceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBalanceResponse) ProtoMessage() {}
|
|
|
|
func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 GetBalanceResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetBalanceResponse) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GetBalanceResponse) GetBalance() float64 {
|
|
if x != nil {
|
|
return x.Balance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetStatisticsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetStatisticsRequest) Reset() {
|
|
*x = GetStatisticsRequest{}
|
|
mi := &file_user_user_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetStatisticsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetStatisticsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetStatisticsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 GetStatisticsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetStatisticsRequest) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *GetStatisticsRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetStatisticsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SuppliersCount string `protobuf:"bytes,1,opt,name=suppliers_count,json=suppliersCount,proto3" json:"suppliers_count,omitempty"`
|
|
RequestsCount string `protobuf:"bytes,2,opt,name=requests_count,json=requestsCount,proto3" json:"requests_count,omitempty"`
|
|
CreatedTz string `protobuf:"bytes,3,opt,name=created_tz,json=createdTz,proto3" json:"created_tz,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetStatisticsResponse) Reset() {
|
|
*x = GetStatisticsResponse{}
|
|
mi := &file_user_user_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetStatisticsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetStatisticsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetStatisticsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 GetStatisticsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetStatisticsResponse) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GetStatisticsResponse) GetSuppliersCount() string {
|
|
if x != nil {
|
|
return x.SuppliersCount
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetStatisticsResponse) GetRequestsCount() string {
|
|
if x != nil {
|
|
return x.RequestsCount
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetStatisticsResponse) GetCreatedTz() string {
|
|
if x != nil {
|
|
return x.CreatedTz
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetBalanceStatisticsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetBalanceStatisticsRequest) Reset() {
|
|
*x = GetBalanceStatisticsRequest{}
|
|
mi := &file_user_user_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetBalanceStatisticsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBalanceStatisticsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetBalanceStatisticsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 GetBalanceStatisticsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetBalanceStatisticsRequest) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GetBalanceStatisticsRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WriteOffHistoryItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
|
|
Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
Amount float64 `protobuf:"fixed64,3,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WriteOffHistoryItem) Reset() {
|
|
*x = WriteOffHistoryItem{}
|
|
mi := &file_user_user_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WriteOffHistoryItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WriteOffHistoryItem) ProtoMessage() {}
|
|
|
|
func (x *WriteOffHistoryItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 WriteOffHistoryItem.ProtoReflect.Descriptor instead.
|
|
func (*WriteOffHistoryItem) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *WriteOffHistoryItem) GetOperationId() string {
|
|
if x != nil {
|
|
return x.OperationId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WriteOffHistoryItem) GetData() string {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WriteOffHistoryItem) GetAmount() float64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetBalanceStatisticsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AverageCost float64 `protobuf:"fixed64,1,opt,name=average_cost,json=averageCost,proto3" json:"average_cost,omitempty"`
|
|
WriteOffHistory []*WriteOffHistoryItem `protobuf:"bytes,2,rep,name=write_off_history,json=writeOffHistory,proto3" json:"write_off_history,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetBalanceStatisticsResponse) Reset() {
|
|
*x = GetBalanceStatisticsResponse{}
|
|
mi := &file_user_user_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetBalanceStatisticsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBalanceStatisticsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetBalanceStatisticsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_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 GetBalanceStatisticsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetBalanceStatisticsResponse) Descriptor() ([]byte, []int) {
|
|
return file_user_user_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *GetBalanceStatisticsResponse) GetAverageCost() float64 {
|
|
if x != nil {
|
|
return x.AverageCost
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetBalanceStatisticsResponse) GetWriteOffHistory() []*WriteOffHistoryItem {
|
|
if x != nil {
|
|
return x.WriteOffHistory
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_user_user_proto protoreflect.FileDescriptor
|
|
|
|
const file_user_user_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x0fuser/user.proto\x12\x04user\")\n" +
|
|
"\x0eGetInfoRequest\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\x03R\x06userId\"\x9b\x01\n" +
|
|
"\x0fGetInfoResponse\x12\x14\n" +
|
|
"\x05email\x18\x01 \x01(\tR\x05email\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
|
|
"\x05phone\x18\x03 \x01(\tR\x05phone\x12!\n" +
|
|
"\fcompany_name\x18\x04 \x01(\tR\vcompanyName\x12%\n" +
|
|
"\x0epayment_status\x18\x05 \x01(\tR\rpaymentStatus\",\n" +
|
|
"\x11GetBalanceRequest\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\x03R\x06userId\".\n" +
|
|
"\x12GetBalanceResponse\x12\x18\n" +
|
|
"\abalance\x18\x01 \x01(\x01R\abalance\"/\n" +
|
|
"\x14GetStatisticsRequest\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\x03R\x06userId\"\x86\x01\n" +
|
|
"\x15GetStatisticsResponse\x12'\n" +
|
|
"\x0fsuppliers_count\x18\x01 \x01(\tR\x0esuppliersCount\x12%\n" +
|
|
"\x0erequests_count\x18\x02 \x01(\tR\rrequestsCount\x12\x1d\n" +
|
|
"\n" +
|
|
"created_tz\x18\x03 \x01(\tR\tcreatedTz\"6\n" +
|
|
"\x1bGetBalanceStatisticsRequest\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\x03R\x06userId\"d\n" +
|
|
"\x13WriteOffHistoryItem\x12!\n" +
|
|
"\foperation_id\x18\x01 \x01(\tR\voperationId\x12\x12\n" +
|
|
"\x04data\x18\x02 \x01(\tR\x04data\x12\x16\n" +
|
|
"\x06amount\x18\x03 \x01(\x01R\x06amount\"\x88\x01\n" +
|
|
"\x1cGetBalanceStatisticsResponse\x12!\n" +
|
|
"\faverage_cost\x18\x01 \x01(\x01R\vaverageCost\x12E\n" +
|
|
"\x11write_off_history\x18\x02 \x03(\v2\x19.user.WriteOffHistoryItemR\x0fwriteOffHistory2\xaf\x02\n" +
|
|
"\vUserService\x126\n" +
|
|
"\aGetInfo\x12\x14.user.GetInfoRequest\x1a\x15.user.GetInfoResponse\x12?\n" +
|
|
"\n" +
|
|
"GetBalance\x12\x17.user.GetBalanceRequest\x1a\x18.user.GetBalanceResponse\x12H\n" +
|
|
"\rGetStatistics\x12\x1a.user.GetStatisticsRequest\x1a\x1b.user.GetStatisticsResponse\x12]\n" +
|
|
"\x14GetBalanceStatistics\x12!.user.GetBalanceStatisticsRequest\x1a\".user.GetBalanceStatisticsResponseB<Z:git.techease.ru/Smart-search/smart-search-back/pkg/pb/userb\x06proto3"
|
|
|
|
var (
|
|
file_user_user_proto_rawDescOnce sync.Once
|
|
file_user_user_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_user_user_proto_rawDescGZIP() []byte {
|
|
file_user_user_proto_rawDescOnce.Do(func() {
|
|
file_user_user_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_user_user_proto_rawDesc), len(file_user_user_proto_rawDesc)))
|
|
})
|
|
return file_user_user_proto_rawDescData
|
|
}
|
|
|
|
var file_user_user_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
|
var file_user_user_proto_goTypes = []any{
|
|
(*GetInfoRequest)(nil), // 0: user.GetInfoRequest
|
|
(*GetInfoResponse)(nil), // 1: user.GetInfoResponse
|
|
(*GetBalanceRequest)(nil), // 2: user.GetBalanceRequest
|
|
(*GetBalanceResponse)(nil), // 3: user.GetBalanceResponse
|
|
(*GetStatisticsRequest)(nil), // 4: user.GetStatisticsRequest
|
|
(*GetStatisticsResponse)(nil), // 5: user.GetStatisticsResponse
|
|
(*GetBalanceStatisticsRequest)(nil), // 6: user.GetBalanceStatisticsRequest
|
|
(*WriteOffHistoryItem)(nil), // 7: user.WriteOffHistoryItem
|
|
(*GetBalanceStatisticsResponse)(nil), // 8: user.GetBalanceStatisticsResponse
|
|
}
|
|
var file_user_user_proto_depIdxs = []int32{
|
|
7, // 0: user.GetBalanceStatisticsResponse.write_off_history:type_name -> user.WriteOffHistoryItem
|
|
0, // 1: user.UserService.GetInfo:input_type -> user.GetInfoRequest
|
|
2, // 2: user.UserService.GetBalance:input_type -> user.GetBalanceRequest
|
|
4, // 3: user.UserService.GetStatistics:input_type -> user.GetStatisticsRequest
|
|
6, // 4: user.UserService.GetBalanceStatistics:input_type -> user.GetBalanceStatisticsRequest
|
|
1, // 5: user.UserService.GetInfo:output_type -> user.GetInfoResponse
|
|
3, // 6: user.UserService.GetBalance:output_type -> user.GetBalanceResponse
|
|
5, // 7: user.UserService.GetStatistics:output_type -> user.GetStatisticsResponse
|
|
8, // 8: user.UserService.GetBalanceStatistics:output_type -> user.GetBalanceStatisticsResponse
|
|
5, // [5:9] is the sub-list for method output_type
|
|
1, // [1:5] is the sub-list for method input_type
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
0, // [0:1] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_user_user_proto_init() }
|
|
func file_user_user_proto_init() {
|
|
if File_user_user_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_user_user_proto_rawDesc), len(file_user_user_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 9,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_user_user_proto_goTypes,
|
|
DependencyIndexes: file_user_user_proto_depIdxs,
|
|
MessageInfos: file_user_user_proto_msgTypes,
|
|
}.Build()
|
|
File_user_user_proto = out.File
|
|
file_user_user_proto_goTypes = nil
|
|
file_user_user_proto_depIdxs = nil
|
|
}
|