Files
juwan-backend/app/wallet/rpc/pb/wallet.pb.go
T
wwweww 19cc7a778c Refactor: Remove deprecated gRPC service files and implement new API structure
- Deleted old gRPC service definitions in `game_grpc.pb.go` and `public.go`.
- Added new API server implementations for objectstory, player, and shop services.
- Introduced configuration files for new APIs in `etc/*.yaml`.
- Created main entry points for each service in `objectstory.go`, `player.go`, and `shop.go`.
- Removed unused user update handler and user API files.
- Added utility functions for context management and HTTP header parsing.
- Introduced PostgreSQL backup configuration in `backup/postgreSql.yaml`.
2026-02-28 18:35:56 +08:00

1581 lines
49 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v5.29.6
// source: wallet.proto
package pb
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// --------------------------------walletTransactions--------------------------------
type WalletTransactions struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` //userId
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` //type
Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` //amount
BalanceAfter string `protobuf:"bytes,5,opt,name=balanceAfter,proto3" json:"balanceAfter,omitempty"` //balanceAfter
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` //description
OrderId int64 `protobuf:"varint,7,opt,name=orderId,proto3" json:"orderId,omitempty"` //orderId
CreatedAt int64 `protobuf:"varint,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt
SearchText string `protobuf:"bytes,9,opt,name=searchText,proto3" json:"searchText,omitempty"` //searchText
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WalletTransactions) Reset() {
*x = WalletTransactions{}
mi := &file_wallet_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WalletTransactions) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WalletTransactions) ProtoMessage() {}
func (x *WalletTransactions) ProtoReflect() protoreflect.Message {
mi := &file_wallet_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 WalletTransactions.ProtoReflect.Descriptor instead.
func (*WalletTransactions) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{0}
}
func (x *WalletTransactions) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *WalletTransactions) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *WalletTransactions) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *WalletTransactions) GetAmount() string {
if x != nil {
return x.Amount
}
return ""
}
func (x *WalletTransactions) GetBalanceAfter() string {
if x != nil {
return x.BalanceAfter
}
return ""
}
func (x *WalletTransactions) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *WalletTransactions) GetOrderId() int64 {
if x != nil {
return x.OrderId
}
return 0
}
func (x *WalletTransactions) GetCreatedAt() int64 {
if x != nil {
return x.CreatedAt
}
return 0
}
func (x *WalletTransactions) GetSearchText() string {
if x != nil {
return x.SearchText
}
return ""
}
type AddWalletTransactionsReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` //userId
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` //type
Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` //amount
BalanceAfter string `protobuf:"bytes,4,opt,name=balanceAfter,proto3" json:"balanceAfter,omitempty"` //balanceAfter
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` //description
OrderId int64 `protobuf:"varint,6,opt,name=orderId,proto3" json:"orderId,omitempty"` //orderId
CreatedAt int64 `protobuf:"varint,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"` //createdAt
SearchText string `protobuf:"bytes,8,opt,name=searchText,proto3" json:"searchText,omitempty"` //searchText
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AddWalletTransactionsReq) Reset() {
*x = AddWalletTransactionsReq{}
mi := &file_wallet_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AddWalletTransactionsReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AddWalletTransactionsReq) ProtoMessage() {}
func (x *AddWalletTransactionsReq) ProtoReflect() protoreflect.Message {
mi := &file_wallet_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 AddWalletTransactionsReq.ProtoReflect.Descriptor instead.
func (*AddWalletTransactionsReq) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{1}
}
func (x *AddWalletTransactionsReq) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *AddWalletTransactionsReq) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *AddWalletTransactionsReq) GetAmount() string {
if x != nil {
return x.Amount
}
return ""
}
func (x *AddWalletTransactionsReq) GetBalanceAfter() string {
if x != nil {
return x.BalanceAfter
}
return ""
}
func (x *AddWalletTransactionsReq) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *AddWalletTransactionsReq) GetOrderId() int64 {
if x != nil {
return x.OrderId
}
return 0
}
func (x *AddWalletTransactionsReq) GetCreatedAt() int64 {
if x != nil {
return x.CreatedAt
}
return 0
}
func (x *AddWalletTransactionsReq) GetSearchText() string {
if x != nil {
return x.SearchText
}
return ""
}
type AddWalletTransactionsResp struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AddWalletTransactionsResp) Reset() {
*x = AddWalletTransactionsResp{}
mi := &file_wallet_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AddWalletTransactionsResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AddWalletTransactionsResp) ProtoMessage() {}
func (x *AddWalletTransactionsResp) ProtoReflect() protoreflect.Message {
mi := &file_wallet_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 AddWalletTransactionsResp.ProtoReflect.Descriptor instead.
func (*AddWalletTransactionsResp) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{2}
}
type UpdateWalletTransactionsReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
UserId *int64 `protobuf:"varint,2,opt,name=userId,proto3,oneof" json:"userId,omitempty"` //userId
Type *string `protobuf:"bytes,3,opt,name=type,proto3,oneof" json:"type,omitempty"` //type
Amount *string `protobuf:"bytes,4,opt,name=amount,proto3,oneof" json:"amount,omitempty"` //amount
BalanceAfter *string `protobuf:"bytes,5,opt,name=balanceAfter,proto3,oneof" json:"balanceAfter,omitempty"` //balanceAfter
Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"` //description
OrderId *int64 `protobuf:"varint,7,opt,name=orderId,proto3,oneof" json:"orderId,omitempty"` //orderId
CreatedAt *int64 `protobuf:"varint,8,opt,name=createdAt,proto3,oneof" json:"createdAt,omitempty"` //createdAt
SearchText *string `protobuf:"bytes,9,opt,name=searchText,proto3,oneof" json:"searchText,omitempty"` //searchText
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateWalletTransactionsReq) Reset() {
*x = UpdateWalletTransactionsReq{}
mi := &file_wallet_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateWalletTransactionsReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateWalletTransactionsReq) ProtoMessage() {}
func (x *UpdateWalletTransactionsReq) ProtoReflect() protoreflect.Message {
mi := &file_wallet_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 UpdateWalletTransactionsReq.ProtoReflect.Descriptor instead.
func (*UpdateWalletTransactionsReq) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{3}
}
func (x *UpdateWalletTransactionsReq) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *UpdateWalletTransactionsReq) GetUserId() int64 {
if x != nil && x.UserId != nil {
return *x.UserId
}
return 0
}
func (x *UpdateWalletTransactionsReq) GetType() string {
if x != nil && x.Type != nil {
return *x.Type
}
return ""
}
func (x *UpdateWalletTransactionsReq) GetAmount() string {
if x != nil && x.Amount != nil {
return *x.Amount
}
return ""
}
func (x *UpdateWalletTransactionsReq) GetBalanceAfter() string {
if x != nil && x.BalanceAfter != nil {
return *x.BalanceAfter
}
return ""
}
func (x *UpdateWalletTransactionsReq) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *UpdateWalletTransactionsReq) GetOrderId() int64 {
if x != nil && x.OrderId != nil {
return *x.OrderId
}
return 0
}
func (x *UpdateWalletTransactionsReq) GetCreatedAt() int64 {
if x != nil && x.CreatedAt != nil {
return *x.CreatedAt
}
return 0
}
func (x *UpdateWalletTransactionsReq) GetSearchText() string {
if x != nil && x.SearchText != nil {
return *x.SearchText
}
return ""
}
type UpdateWalletTransactionsResp struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateWalletTransactionsResp) Reset() {
*x = UpdateWalletTransactionsResp{}
mi := &file_wallet_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateWalletTransactionsResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateWalletTransactionsResp) ProtoMessage() {}
func (x *UpdateWalletTransactionsResp) ProtoReflect() protoreflect.Message {
mi := &file_wallet_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 UpdateWalletTransactionsResp.ProtoReflect.Descriptor instead.
func (*UpdateWalletTransactionsResp) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{4}
}
type DelWalletTransactionsReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DelWalletTransactionsReq) Reset() {
*x = DelWalletTransactionsReq{}
mi := &file_wallet_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DelWalletTransactionsReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DelWalletTransactionsReq) ProtoMessage() {}
func (x *DelWalletTransactionsReq) ProtoReflect() protoreflect.Message {
mi := &file_wallet_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 DelWalletTransactionsReq.ProtoReflect.Descriptor instead.
func (*DelWalletTransactionsReq) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{5}
}
func (x *DelWalletTransactionsReq) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
type DelWalletTransactionsResp struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DelWalletTransactionsResp) Reset() {
*x = DelWalletTransactionsResp{}
mi := &file_wallet_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DelWalletTransactionsResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DelWalletTransactionsResp) ProtoMessage() {}
func (x *DelWalletTransactionsResp) ProtoReflect() protoreflect.Message {
mi := &file_wallet_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 DelWalletTransactionsResp.ProtoReflect.Descriptor instead.
func (*DelWalletTransactionsResp) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{6}
}
type GetWalletTransactionsByIdReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetWalletTransactionsByIdReq) Reset() {
*x = GetWalletTransactionsByIdReq{}
mi := &file_wallet_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetWalletTransactionsByIdReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetWalletTransactionsByIdReq) ProtoMessage() {}
func (x *GetWalletTransactionsByIdReq) ProtoReflect() protoreflect.Message {
mi := &file_wallet_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 GetWalletTransactionsByIdReq.ProtoReflect.Descriptor instead.
func (*GetWalletTransactionsByIdReq) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{7}
}
func (x *GetWalletTransactionsByIdReq) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
type GetWalletTransactionsByIdResp struct {
state protoimpl.MessageState `protogen:"open.v1"`
WalletTransactions *WalletTransactions `protobuf:"bytes,1,opt,name=walletTransactions,proto3" json:"walletTransactions,omitempty"` //walletTransactions
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetWalletTransactionsByIdResp) Reset() {
*x = GetWalletTransactionsByIdResp{}
mi := &file_wallet_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetWalletTransactionsByIdResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetWalletTransactionsByIdResp) ProtoMessage() {}
func (x *GetWalletTransactionsByIdResp) ProtoReflect() protoreflect.Message {
mi := &file_wallet_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 GetWalletTransactionsByIdResp.ProtoReflect.Descriptor instead.
func (*GetWalletTransactionsByIdResp) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{8}
}
func (x *GetWalletTransactionsByIdResp) GetWalletTransactions() *WalletTransactions {
if x != nil {
return x.WalletTransactions
}
return nil
}
type SearchWalletTransactionsReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` //page
Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` //limit
Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` //id
UserId *int64 `protobuf:"varint,4,opt,name=userId,proto3,oneof" json:"userId,omitempty"` //userId
Type *string `protobuf:"bytes,5,opt,name=type,proto3,oneof" json:"type,omitempty"` //type
Amount *string `protobuf:"bytes,6,opt,name=amount,proto3,oneof" json:"amount,omitempty"` //amount
BalanceAfter *string `protobuf:"bytes,7,opt,name=balanceAfter,proto3,oneof" json:"balanceAfter,omitempty"` //balanceAfter
Description *string `protobuf:"bytes,8,opt,name=description,proto3,oneof" json:"description,omitempty"` //description
OrderId *int64 `protobuf:"varint,9,opt,name=orderId,proto3,oneof" json:"orderId,omitempty"` //orderId
CreatedAt *int64 `protobuf:"varint,10,opt,name=createdAt,proto3,oneof" json:"createdAt,omitempty"` //createdAt
SearchText *string `protobuf:"bytes,11,opt,name=searchText,proto3,oneof" json:"searchText,omitempty"` //searchText
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SearchWalletTransactionsReq) Reset() {
*x = SearchWalletTransactionsReq{}
mi := &file_wallet_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SearchWalletTransactionsReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SearchWalletTransactionsReq) ProtoMessage() {}
func (x *SearchWalletTransactionsReq) ProtoReflect() protoreflect.Message {
mi := &file_wallet_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 SearchWalletTransactionsReq.ProtoReflect.Descriptor instead.
func (*SearchWalletTransactionsReq) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{9}
}
func (x *SearchWalletTransactionsReq) GetPage() int64 {
if x != nil {
return x.Page
}
return 0
}
func (x *SearchWalletTransactionsReq) GetLimit() int64 {
if x != nil {
return x.Limit
}
return 0
}
func (x *SearchWalletTransactionsReq) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *SearchWalletTransactionsReq) GetUserId() int64 {
if x != nil && x.UserId != nil {
return *x.UserId
}
return 0
}
func (x *SearchWalletTransactionsReq) GetType() string {
if x != nil && x.Type != nil {
return *x.Type
}
return ""
}
func (x *SearchWalletTransactionsReq) GetAmount() string {
if x != nil && x.Amount != nil {
return *x.Amount
}
return ""
}
func (x *SearchWalletTransactionsReq) GetBalanceAfter() string {
if x != nil && x.BalanceAfter != nil {
return *x.BalanceAfter
}
return ""
}
func (x *SearchWalletTransactionsReq) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *SearchWalletTransactionsReq) GetOrderId() int64 {
if x != nil && x.OrderId != nil {
return *x.OrderId
}
return 0
}
func (x *SearchWalletTransactionsReq) GetCreatedAt() int64 {
if x != nil && x.CreatedAt != nil {
return *x.CreatedAt
}
return 0
}
func (x *SearchWalletTransactionsReq) GetSearchText() string {
if x != nil && x.SearchText != nil {
return *x.SearchText
}
return ""
}
type SearchWalletTransactionsResp struct {
state protoimpl.MessageState `protogen:"open.v1"`
WalletTransactions []*WalletTransactions `protobuf:"bytes,1,rep,name=walletTransactions,proto3" json:"walletTransactions,omitempty"` //walletTransactions
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SearchWalletTransactionsResp) Reset() {
*x = SearchWalletTransactionsResp{}
mi := &file_wallet_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SearchWalletTransactionsResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SearchWalletTransactionsResp) ProtoMessage() {}
func (x *SearchWalletTransactionsResp) ProtoReflect() protoreflect.Message {
mi := &file_wallet_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 SearchWalletTransactionsResp.ProtoReflect.Descriptor instead.
func (*SearchWalletTransactionsResp) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{10}
}
func (x *SearchWalletTransactionsResp) GetWalletTransactions() []*WalletTransactions {
if x != nil {
return x.WalletTransactions
}
return nil
}
// --------------------------------wallets--------------------------------
type Wallets struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` //userId
Balance string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` //balance
FrozenBalance string `protobuf:"bytes,3,opt,name=frozenBalance,proto3" json:"frozenBalance,omitempty"` //frozenBalance
UpdatedAt int64 `protobuf:"varint,4,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` //updatedAt
Version int64 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` //version
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Wallets) Reset() {
*x = Wallets{}
mi := &file_wallet_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Wallets) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Wallets) ProtoMessage() {}
func (x *Wallets) ProtoReflect() protoreflect.Message {
mi := &file_wallet_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 Wallets.ProtoReflect.Descriptor instead.
func (*Wallets) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{11}
}
func (x *Wallets) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *Wallets) GetBalance() string {
if x != nil {
return x.Balance
}
return ""
}
func (x *Wallets) GetFrozenBalance() string {
if x != nil {
return x.FrozenBalance
}
return ""
}
func (x *Wallets) GetUpdatedAt() int64 {
if x != nil {
return x.UpdatedAt
}
return 0
}
func (x *Wallets) GetVersion() int64 {
if x != nil {
return x.Version
}
return 0
}
type AddWalletsReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` //userId
Balance string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` //balance
FrozenBalance string `protobuf:"bytes,3,opt,name=frozenBalance,proto3" json:"frozenBalance,omitempty"` //frozenBalance
UpdatedAt int64 `protobuf:"varint,4,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` //updatedAt
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AddWalletsReq) Reset() {
*x = AddWalletsReq{}
mi := &file_wallet_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AddWalletsReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AddWalletsReq) ProtoMessage() {}
func (x *AddWalletsReq) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AddWalletsReq.ProtoReflect.Descriptor instead.
func (*AddWalletsReq) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{12}
}
func (x *AddWalletsReq) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *AddWalletsReq) GetBalance() string {
if x != nil {
return x.Balance
}
return ""
}
func (x *AddWalletsReq) GetFrozenBalance() string {
if x != nil {
return x.FrozenBalance
}
return ""
}
func (x *AddWalletsReq) GetUpdatedAt() int64 {
if x != nil {
return x.UpdatedAt
}
return 0
}
type AddWalletsResp struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AddWalletsResp) Reset() {
*x = AddWalletsResp{}
mi := &file_wallet_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AddWalletsResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AddWalletsResp) ProtoMessage() {}
func (x *AddWalletsResp) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AddWalletsResp.ProtoReflect.Descriptor instead.
func (*AddWalletsResp) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{13}
}
type UpdateWalletsReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` //userId
Balance *string `protobuf:"bytes,2,opt,name=balance,proto3,oneof" json:"balance,omitempty"` //balance
FrozenBalance *string `protobuf:"bytes,3,opt,name=frozenBalance,proto3,oneof" json:"frozenBalance,omitempty"` //frozenBalance
UpdatedAt *int64 `protobuf:"varint,4,opt,name=updatedAt,proto3,oneof" json:"updatedAt,omitempty"` //updatedAt
Version *int64 `protobuf:"varint,5,opt,name=version,proto3,oneof" json:"version,omitempty"` //version
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateWalletsReq) Reset() {
*x = UpdateWalletsReq{}
mi := &file_wallet_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateWalletsReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateWalletsReq) ProtoMessage() {}
func (x *UpdateWalletsReq) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateWalletsReq.ProtoReflect.Descriptor instead.
func (*UpdateWalletsReq) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{14}
}
func (x *UpdateWalletsReq) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *UpdateWalletsReq) GetBalance() string {
if x != nil && x.Balance != nil {
return *x.Balance
}
return ""
}
func (x *UpdateWalletsReq) GetFrozenBalance() string {
if x != nil && x.FrozenBalance != nil {
return *x.FrozenBalance
}
return ""
}
func (x *UpdateWalletsReq) GetUpdatedAt() int64 {
if x != nil && x.UpdatedAt != nil {
return *x.UpdatedAt
}
return 0
}
func (x *UpdateWalletsReq) GetVersion() int64 {
if x != nil && x.Version != nil {
return *x.Version
}
return 0
}
type UpdateWalletsResp struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateWalletsResp) Reset() {
*x = UpdateWalletsResp{}
mi := &file_wallet_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateWalletsResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateWalletsResp) ProtoMessage() {}
func (x *UpdateWalletsResp) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateWalletsResp.ProtoReflect.Descriptor instead.
func (*UpdateWalletsResp) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{15}
}
type DelWalletsReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DelWalletsReq) Reset() {
*x = DelWalletsReq{}
mi := &file_wallet_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DelWalletsReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DelWalletsReq) ProtoMessage() {}
func (x *DelWalletsReq) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DelWalletsReq.ProtoReflect.Descriptor instead.
func (*DelWalletsReq) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{16}
}
func (x *DelWalletsReq) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
type DelWalletsResp struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DelWalletsResp) Reset() {
*x = DelWalletsResp{}
mi := &file_wallet_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DelWalletsResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DelWalletsResp) ProtoMessage() {}
func (x *DelWalletsResp) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DelWalletsResp.ProtoReflect.Descriptor instead.
func (*DelWalletsResp) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{17}
}
type GetWalletsByIdReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //id
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetWalletsByIdReq) Reset() {
*x = GetWalletsByIdReq{}
mi := &file_wallet_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetWalletsByIdReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetWalletsByIdReq) ProtoMessage() {}
func (x *GetWalletsByIdReq) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetWalletsByIdReq.ProtoReflect.Descriptor instead.
func (*GetWalletsByIdReq) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{18}
}
func (x *GetWalletsByIdReq) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
type GetWalletsByIdResp struct {
state protoimpl.MessageState `protogen:"open.v1"`
Wallets *Wallets `protobuf:"bytes,1,opt,name=wallets,proto3" json:"wallets,omitempty"` //wallets
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetWalletsByIdResp) Reset() {
*x = GetWalletsByIdResp{}
mi := &file_wallet_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetWalletsByIdResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetWalletsByIdResp) ProtoMessage() {}
func (x *GetWalletsByIdResp) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetWalletsByIdResp.ProtoReflect.Descriptor instead.
func (*GetWalletsByIdResp) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{19}
}
func (x *GetWalletsByIdResp) GetWallets() *Wallets {
if x != nil {
return x.Wallets
}
return nil
}
type SearchWalletsReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` //page
Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` //limit
UserId int64 `protobuf:"varint,3,opt,name=userId,proto3" json:"userId,omitempty"` //userId
Balance *string `protobuf:"bytes,4,opt,name=balance,proto3,oneof" json:"balance,omitempty"` //balance
FrozenBalance *string `protobuf:"bytes,5,opt,name=frozenBalance,proto3,oneof" json:"frozenBalance,omitempty"` //frozenBalance
UpdatedAt *int64 `protobuf:"varint,6,opt,name=updatedAt,proto3,oneof" json:"updatedAt,omitempty"` //updatedAt
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SearchWalletsReq) Reset() {
*x = SearchWalletsReq{}
mi := &file_wallet_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SearchWalletsReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SearchWalletsReq) ProtoMessage() {}
func (x *SearchWalletsReq) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SearchWalletsReq.ProtoReflect.Descriptor instead.
func (*SearchWalletsReq) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{20}
}
func (x *SearchWalletsReq) GetPage() int64 {
if x != nil {
return x.Page
}
return 0
}
func (x *SearchWalletsReq) GetLimit() int64 {
if x != nil {
return x.Limit
}
return 0
}
func (x *SearchWalletsReq) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *SearchWalletsReq) GetBalance() string {
if x != nil && x.Balance != nil {
return *x.Balance
}
return ""
}
func (x *SearchWalletsReq) GetFrozenBalance() string {
if x != nil && x.FrozenBalance != nil {
return *x.FrozenBalance
}
return ""
}
func (x *SearchWalletsReq) GetUpdatedAt() int64 {
if x != nil && x.UpdatedAt != nil {
return *x.UpdatedAt
}
return 0
}
type SearchWalletsResp struct {
state protoimpl.MessageState `protogen:"open.v1"`
Wallets []*Wallets `protobuf:"bytes,1,rep,name=wallets,proto3" json:"wallets,omitempty"` //wallets
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SearchWalletsResp) Reset() {
*x = SearchWalletsResp{}
mi := &file_wallet_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SearchWalletsResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SearchWalletsResp) ProtoMessage() {}
func (x *SearchWalletsResp) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SearchWalletsResp.ProtoReflect.Descriptor instead.
func (*SearchWalletsResp) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{21}
}
func (x *SearchWalletsResp) GetWallets() []*Wallets {
if x != nil {
return x.Wallets
}
return nil
}
var File_wallet_proto protoreflect.FileDescriptor
const file_wallet_proto_rawDesc = "" +
"\n" +
"\fwallet.proto\x12\x02pb\"\x86\x02\n" +
"\x12WalletTransactions\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
"\x06userId\x18\x02 \x01(\x03R\x06userId\x12\x12\n" +
"\x04type\x18\x03 \x01(\tR\x04type\x12\x16\n" +
"\x06amount\x18\x04 \x01(\tR\x06amount\x12\"\n" +
"\fbalanceAfter\x18\x05 \x01(\tR\fbalanceAfter\x12 \n" +
"\vdescription\x18\x06 \x01(\tR\vdescription\x12\x18\n" +
"\aorderId\x18\a \x01(\x03R\aorderId\x12\x1c\n" +
"\tcreatedAt\x18\b \x01(\x03R\tcreatedAt\x12\x1e\n" +
"\n" +
"searchText\x18\t \x01(\tR\n" +
"searchText\"\xfc\x01\n" +
"\x18AddWalletTransactionsReq\x12\x16\n" +
"\x06userId\x18\x01 \x01(\x03R\x06userId\x12\x12\n" +
"\x04type\x18\x02 \x01(\tR\x04type\x12\x16\n" +
"\x06amount\x18\x03 \x01(\tR\x06amount\x12\"\n" +
"\fbalanceAfter\x18\x04 \x01(\tR\fbalanceAfter\x12 \n" +
"\vdescription\x18\x05 \x01(\tR\vdescription\x12\x18\n" +
"\aorderId\x18\x06 \x01(\x03R\aorderId\x12\x1c\n" +
"\tcreatedAt\x18\a \x01(\x03R\tcreatedAt\x12\x1e\n" +
"\n" +
"searchText\x18\b \x01(\tR\n" +
"searchText\"\x1b\n" +
"\x19AddWalletTransactionsResp\"\xa0\x03\n" +
"\x1bUpdateWalletTransactionsReq\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1b\n" +
"\x06userId\x18\x02 \x01(\x03H\x00R\x06userId\x88\x01\x01\x12\x17\n" +
"\x04type\x18\x03 \x01(\tH\x01R\x04type\x88\x01\x01\x12\x1b\n" +
"\x06amount\x18\x04 \x01(\tH\x02R\x06amount\x88\x01\x01\x12'\n" +
"\fbalanceAfter\x18\x05 \x01(\tH\x03R\fbalanceAfter\x88\x01\x01\x12%\n" +
"\vdescription\x18\x06 \x01(\tH\x04R\vdescription\x88\x01\x01\x12\x1d\n" +
"\aorderId\x18\a \x01(\x03H\x05R\aorderId\x88\x01\x01\x12!\n" +
"\tcreatedAt\x18\b \x01(\x03H\x06R\tcreatedAt\x88\x01\x01\x12#\n" +
"\n" +
"searchText\x18\t \x01(\tH\aR\n" +
"searchText\x88\x01\x01B\t\n" +
"\a_userIdB\a\n" +
"\x05_typeB\t\n" +
"\a_amountB\x0f\n" +
"\r_balanceAfterB\x0e\n" +
"\f_descriptionB\n" +
"\n" +
"\b_orderIdB\f\n" +
"\n" +
"_createdAtB\r\n" +
"\v_searchText\"\x1e\n" +
"\x1cUpdateWalletTransactionsResp\"*\n" +
"\x18DelWalletTransactionsReq\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\"\x1b\n" +
"\x19DelWalletTransactionsResp\".\n" +
"\x1cGetWalletTransactionsByIdReq\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\"g\n" +
"\x1dGetWalletTransactionsByIdResp\x12F\n" +
"\x12walletTransactions\x18\x01 \x01(\v2\x16.pb.WalletTransactionsR\x12walletTransactions\"\xca\x03\n" +
"\x1bSearchWalletTransactionsReq\x12\x12\n" +
"\x04page\x18\x01 \x01(\x03R\x04page\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x03R\x05limit\x12\x0e\n" +
"\x02id\x18\x03 \x01(\x03R\x02id\x12\x1b\n" +
"\x06userId\x18\x04 \x01(\x03H\x00R\x06userId\x88\x01\x01\x12\x17\n" +
"\x04type\x18\x05 \x01(\tH\x01R\x04type\x88\x01\x01\x12\x1b\n" +
"\x06amount\x18\x06 \x01(\tH\x02R\x06amount\x88\x01\x01\x12'\n" +
"\fbalanceAfter\x18\a \x01(\tH\x03R\fbalanceAfter\x88\x01\x01\x12%\n" +
"\vdescription\x18\b \x01(\tH\x04R\vdescription\x88\x01\x01\x12\x1d\n" +
"\aorderId\x18\t \x01(\x03H\x05R\aorderId\x88\x01\x01\x12!\n" +
"\tcreatedAt\x18\n" +
" \x01(\x03H\x06R\tcreatedAt\x88\x01\x01\x12#\n" +
"\n" +
"searchText\x18\v \x01(\tH\aR\n" +
"searchText\x88\x01\x01B\t\n" +
"\a_userIdB\a\n" +
"\x05_typeB\t\n" +
"\a_amountB\x0f\n" +
"\r_balanceAfterB\x0e\n" +
"\f_descriptionB\n" +
"\n" +
"\b_orderIdB\f\n" +
"\n" +
"_createdAtB\r\n" +
"\v_searchText\"f\n" +
"\x1cSearchWalletTransactionsResp\x12F\n" +
"\x12walletTransactions\x18\x01 \x03(\v2\x16.pb.WalletTransactionsR\x12walletTransactions\"\x99\x01\n" +
"\aWallets\x12\x16\n" +
"\x06userId\x18\x01 \x01(\x03R\x06userId\x12\x18\n" +
"\abalance\x18\x02 \x01(\tR\abalance\x12$\n" +
"\rfrozenBalance\x18\x03 \x01(\tR\rfrozenBalance\x12\x1c\n" +
"\tupdatedAt\x18\x04 \x01(\x03R\tupdatedAt\x12\x18\n" +
"\aversion\x18\x05 \x01(\x03R\aversion\"\x85\x01\n" +
"\rAddWalletsReq\x12\x16\n" +
"\x06userId\x18\x01 \x01(\x03R\x06userId\x12\x18\n" +
"\abalance\x18\x02 \x01(\tR\abalance\x12$\n" +
"\rfrozenBalance\x18\x03 \x01(\tR\rfrozenBalance\x12\x1c\n" +
"\tupdatedAt\x18\x04 \x01(\x03R\tupdatedAt\"\x10\n" +
"\x0eAddWalletsResp\"\xee\x01\n" +
"\x10UpdateWalletsReq\x12\x16\n" +
"\x06userId\x18\x01 \x01(\x03R\x06userId\x12\x1d\n" +
"\abalance\x18\x02 \x01(\tH\x00R\abalance\x88\x01\x01\x12)\n" +
"\rfrozenBalance\x18\x03 \x01(\tH\x01R\rfrozenBalance\x88\x01\x01\x12!\n" +
"\tupdatedAt\x18\x04 \x01(\x03H\x02R\tupdatedAt\x88\x01\x01\x12\x1d\n" +
"\aversion\x18\x05 \x01(\x03H\x03R\aversion\x88\x01\x01B\n" +
"\n" +
"\b_balanceB\x10\n" +
"\x0e_frozenBalanceB\f\n" +
"\n" +
"_updatedAtB\n" +
"\n" +
"\b_version\"\x13\n" +
"\x11UpdateWalletsResp\"\x1f\n" +
"\rDelWalletsReq\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\"\x10\n" +
"\x0eDelWalletsResp\"#\n" +
"\x11GetWalletsByIdReq\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\";\n" +
"\x12GetWalletsByIdResp\x12%\n" +
"\awallets\x18\x01 \x01(\v2\v.pb.WalletsR\awallets\"\xed\x01\n" +
"\x10SearchWalletsReq\x12\x12\n" +
"\x04page\x18\x01 \x01(\x03R\x04page\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x03R\x05limit\x12\x16\n" +
"\x06userId\x18\x03 \x01(\x03R\x06userId\x12\x1d\n" +
"\abalance\x18\x04 \x01(\tH\x00R\abalance\x88\x01\x01\x12)\n" +
"\rfrozenBalance\x18\x05 \x01(\tH\x01R\rfrozenBalance\x88\x01\x01\x12!\n" +
"\tupdatedAt\x18\x06 \x01(\x03H\x02R\tupdatedAt\x88\x01\x01B\n" +
"\n" +
"\b_balanceB\x10\n" +
"\x0e_frozenBalanceB\f\n" +
"\n" +
"_updatedAt\":\n" +
"\x11SearchWalletsResp\x12%\n" +
"\awallets\x18\x01 \x03(\v2\v.pb.WalletsR\awallets2\x82\x06\n" +
"\rwalletService\x12T\n" +
"\x15AddWalletTransactions\x12\x1c.pb.AddWalletTransactionsReq\x1a\x1d.pb.AddWalletTransactionsResp\x12]\n" +
"\x18UpdateWalletTransactions\x12\x1f.pb.UpdateWalletTransactionsReq\x1a .pb.UpdateWalletTransactionsResp\x12T\n" +
"\x15DelWalletTransactions\x12\x1c.pb.DelWalletTransactionsReq\x1a\x1d.pb.DelWalletTransactionsResp\x12`\n" +
"\x19GetWalletTransactionsById\x12 .pb.GetWalletTransactionsByIdReq\x1a!.pb.GetWalletTransactionsByIdResp\x12]\n" +
"\x18SearchWalletTransactions\x12\x1f.pb.SearchWalletTransactionsReq\x1a .pb.SearchWalletTransactionsResp\x123\n" +
"\n" +
"AddWallets\x12\x11.pb.AddWalletsReq\x1a\x12.pb.AddWalletsResp\x12<\n" +
"\rUpdateWallets\x12\x14.pb.UpdateWalletsReq\x1a\x15.pb.UpdateWalletsResp\x123\n" +
"\n" +
"DelWallets\x12\x11.pb.DelWalletsReq\x1a\x12.pb.DelWalletsResp\x12?\n" +
"\x0eGetWalletsById\x12\x15.pb.GetWalletsByIdReq\x1a\x16.pb.GetWalletsByIdResp\x12<\n" +
"\rSearchWallets\x12\x14.pb.SearchWalletsReq\x1a\x15.pb.SearchWalletsRespB\x06Z\x04./pbb\x06proto3"
var (
file_wallet_proto_rawDescOnce sync.Once
file_wallet_proto_rawDescData []byte
)
func file_wallet_proto_rawDescGZIP() []byte {
file_wallet_proto_rawDescOnce.Do(func() {
file_wallet_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wallet_proto_rawDesc), len(file_wallet_proto_rawDesc)))
})
return file_wallet_proto_rawDescData
}
var file_wallet_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
var file_wallet_proto_goTypes = []any{
(*WalletTransactions)(nil), // 0: pb.WalletTransactions
(*AddWalletTransactionsReq)(nil), // 1: pb.AddWalletTransactionsReq
(*AddWalletTransactionsResp)(nil), // 2: pb.AddWalletTransactionsResp
(*UpdateWalletTransactionsReq)(nil), // 3: pb.UpdateWalletTransactionsReq
(*UpdateWalletTransactionsResp)(nil), // 4: pb.UpdateWalletTransactionsResp
(*DelWalletTransactionsReq)(nil), // 5: pb.DelWalletTransactionsReq
(*DelWalletTransactionsResp)(nil), // 6: pb.DelWalletTransactionsResp
(*GetWalletTransactionsByIdReq)(nil), // 7: pb.GetWalletTransactionsByIdReq
(*GetWalletTransactionsByIdResp)(nil), // 8: pb.GetWalletTransactionsByIdResp
(*SearchWalletTransactionsReq)(nil), // 9: pb.SearchWalletTransactionsReq
(*SearchWalletTransactionsResp)(nil), // 10: pb.SearchWalletTransactionsResp
(*Wallets)(nil), // 11: pb.Wallets
(*AddWalletsReq)(nil), // 12: pb.AddWalletsReq
(*AddWalletsResp)(nil), // 13: pb.AddWalletsResp
(*UpdateWalletsReq)(nil), // 14: pb.UpdateWalletsReq
(*UpdateWalletsResp)(nil), // 15: pb.UpdateWalletsResp
(*DelWalletsReq)(nil), // 16: pb.DelWalletsReq
(*DelWalletsResp)(nil), // 17: pb.DelWalletsResp
(*GetWalletsByIdReq)(nil), // 18: pb.GetWalletsByIdReq
(*GetWalletsByIdResp)(nil), // 19: pb.GetWalletsByIdResp
(*SearchWalletsReq)(nil), // 20: pb.SearchWalletsReq
(*SearchWalletsResp)(nil), // 21: pb.SearchWalletsResp
}
var file_wallet_proto_depIdxs = []int32{
0, // 0: pb.GetWalletTransactionsByIdResp.walletTransactions:type_name -> pb.WalletTransactions
0, // 1: pb.SearchWalletTransactionsResp.walletTransactions:type_name -> pb.WalletTransactions
11, // 2: pb.GetWalletsByIdResp.wallets:type_name -> pb.Wallets
11, // 3: pb.SearchWalletsResp.wallets:type_name -> pb.Wallets
1, // 4: pb.walletService.AddWalletTransactions:input_type -> pb.AddWalletTransactionsReq
3, // 5: pb.walletService.UpdateWalletTransactions:input_type -> pb.UpdateWalletTransactionsReq
5, // 6: pb.walletService.DelWalletTransactions:input_type -> pb.DelWalletTransactionsReq
7, // 7: pb.walletService.GetWalletTransactionsById:input_type -> pb.GetWalletTransactionsByIdReq
9, // 8: pb.walletService.SearchWalletTransactions:input_type -> pb.SearchWalletTransactionsReq
12, // 9: pb.walletService.AddWallets:input_type -> pb.AddWalletsReq
14, // 10: pb.walletService.UpdateWallets:input_type -> pb.UpdateWalletsReq
16, // 11: pb.walletService.DelWallets:input_type -> pb.DelWalletsReq
18, // 12: pb.walletService.GetWalletsById:input_type -> pb.GetWalletsByIdReq
20, // 13: pb.walletService.SearchWallets:input_type -> pb.SearchWalletsReq
2, // 14: pb.walletService.AddWalletTransactions:output_type -> pb.AddWalletTransactionsResp
4, // 15: pb.walletService.UpdateWalletTransactions:output_type -> pb.UpdateWalletTransactionsResp
6, // 16: pb.walletService.DelWalletTransactions:output_type -> pb.DelWalletTransactionsResp
8, // 17: pb.walletService.GetWalletTransactionsById:output_type -> pb.GetWalletTransactionsByIdResp
10, // 18: pb.walletService.SearchWalletTransactions:output_type -> pb.SearchWalletTransactionsResp
13, // 19: pb.walletService.AddWallets:output_type -> pb.AddWalletsResp
15, // 20: pb.walletService.UpdateWallets:output_type -> pb.UpdateWalletsResp
17, // 21: pb.walletService.DelWallets:output_type -> pb.DelWalletsResp
19, // 22: pb.walletService.GetWalletsById:output_type -> pb.GetWalletsByIdResp
21, // 23: pb.walletService.SearchWallets:output_type -> pb.SearchWalletsResp
14, // [14:24] is the sub-list for method output_type
4, // [4:14] is the sub-list for method input_type
4, // [4:4] is the sub-list for extension type_name
4, // [4:4] is the sub-list for extension extendee
0, // [0:4] is the sub-list for field type_name
}
func init() { file_wallet_proto_init() }
func file_wallet_proto_init() {
if File_wallet_proto != nil {
return
}
file_wallet_proto_msgTypes[3].OneofWrappers = []any{}
file_wallet_proto_msgTypes[9].OneofWrappers = []any{}
file_wallet_proto_msgTypes[14].OneofWrappers = []any{}
file_wallet_proto_msgTypes[20].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_wallet_proto_rawDesc), len(file_wallet_proto_rawDesc)),
NumEnums: 0,
NumMessages: 22,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_wallet_proto_goTypes,
DependencyIndexes: file_wallet_proto_depIdxs,
MessageInfos: file_wallet_proto_msgTypes,
}.Build()
File_wallet_proto = out.File
file_wallet_proto_goTypes = nil
file_wallet_proto_depIdxs = nil
}