10186 lines
336 KiB
Go
10186 lines
336 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v5.27.3
|
||
// source: proto/wallet/v1/wallet.proto
|
||
|
||
package walletv1
|
||
|
||
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)
|
||
)
|
||
|
||
// DebitGiftRequest 是 room-service 送礼同步扣费的最小账务输入。
|
||
type DebitGiftRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
|
||
RoomId string `protobuf:"bytes,2,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
|
||
SenderUserId int64 `protobuf:"varint,3,opt,name=sender_user_id,json=senderUserId,proto3" json:"sender_user_id,omitempty"`
|
||
TargetUserId int64 `protobuf:"varint,4,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
|
||
GiftId string `protobuf:"bytes,5,opt,name=gift_id,json=giftId,proto3" json:"gift_id,omitempty"`
|
||
GiftCount int32 `protobuf:"varint,6,opt,name=gift_count,json=giftCount,proto3" json:"gift_count,omitempty"`
|
||
// price_version 为空时使用当前生效价格;非空时必须命中 active 价格版本。
|
||
PriceVersion string `protobuf:"bytes,7,opt,name=price_version,json=priceVersion,proto3" json:"price_version,omitempty"`
|
||
AppCode string `protobuf:"bytes,8,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
// region_id 来自 room-service 房间 visible_region_id,用于校验礼物区域可用性。
|
||
RegionId int64 `protobuf:"varint,9,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *DebitGiftRequest) Reset() {
|
||
*x = DebitGiftRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *DebitGiftRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DebitGiftRequest) ProtoMessage() {}
|
||
|
||
func (x *DebitGiftRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 DebitGiftRequest.ProtoReflect.Descriptor instead.
|
||
func (*DebitGiftRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *DebitGiftRequest) GetCommandId() string {
|
||
if x != nil {
|
||
return x.CommandId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DebitGiftRequest) GetRoomId() string {
|
||
if x != nil {
|
||
return x.RoomId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DebitGiftRequest) GetSenderUserId() int64 {
|
||
if x != nil {
|
||
return x.SenderUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DebitGiftRequest) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DebitGiftRequest) GetGiftId() string {
|
||
if x != nil {
|
||
return x.GiftId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DebitGiftRequest) GetGiftCount() int32 {
|
||
if x != nil {
|
||
return x.GiftCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DebitGiftRequest) GetPriceVersion() string {
|
||
if x != nil {
|
||
return x.PriceVersion
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DebitGiftRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DebitGiftRequest) GetRegionId() int64 {
|
||
if x != nil {
|
||
return x.RegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// DebitGiftResponse 返回扣费流水、服务端结算值和 sender COIN 账后余额。
|
||
type DebitGiftResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
BillingReceiptId string `protobuf:"bytes,1,opt,name=billing_receipt_id,json=billingReceiptId,proto3" json:"billing_receipt_id,omitempty"`
|
||
TransactionId string `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
|
||
CoinSpent int64 `protobuf:"varint,3,opt,name=coin_spent,json=coinSpent,proto3" json:"coin_spent,omitempty"`
|
||
GiftPointAdded int64 `protobuf:"varint,4,opt,name=gift_point_added,json=giftPointAdded,proto3" json:"gift_point_added,omitempty"`
|
||
HeatValue int64 `protobuf:"varint,5,opt,name=heat_value,json=heatValue,proto3" json:"heat_value,omitempty"`
|
||
PriceVersion string `protobuf:"bytes,6,opt,name=price_version,json=priceVersion,proto3" json:"price_version,omitempty"`
|
||
// balance_after 是 sender 被扣费资产 available_amount 账后余额。
|
||
BalanceAfter int64 `protobuf:"varint,7,opt,name=balance_after,json=balanceAfter,proto3" json:"balance_after,omitempty"`
|
||
ChargeAssetType string `protobuf:"bytes,8,opt,name=charge_asset_type,json=chargeAssetType,proto3" json:"charge_asset_type,omitempty"`
|
||
ChargeAmount int64 `protobuf:"varint,9,opt,name=charge_amount,json=chargeAmount,proto3" json:"charge_amount,omitempty"`
|
||
GiftTypeCode string `protobuf:"bytes,10,opt,name=gift_type_code,json=giftTypeCode,proto3" json:"gift_type_code,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *DebitGiftResponse) Reset() {
|
||
*x = DebitGiftResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *DebitGiftResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DebitGiftResponse) ProtoMessage() {}
|
||
|
||
func (x *DebitGiftResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 DebitGiftResponse.ProtoReflect.Descriptor instead.
|
||
func (*DebitGiftResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *DebitGiftResponse) GetBillingReceiptId() string {
|
||
if x != nil {
|
||
return x.BillingReceiptId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DebitGiftResponse) GetTransactionId() string {
|
||
if x != nil {
|
||
return x.TransactionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DebitGiftResponse) GetCoinSpent() int64 {
|
||
if x != nil {
|
||
return x.CoinSpent
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DebitGiftResponse) GetGiftPointAdded() int64 {
|
||
if x != nil {
|
||
return x.GiftPointAdded
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DebitGiftResponse) GetHeatValue() int64 {
|
||
if x != nil {
|
||
return x.HeatValue
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DebitGiftResponse) GetPriceVersion() string {
|
||
if x != nil {
|
||
return x.PriceVersion
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DebitGiftResponse) GetBalanceAfter() int64 {
|
||
if x != nil {
|
||
return x.BalanceAfter
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DebitGiftResponse) GetChargeAssetType() string {
|
||
if x != nil {
|
||
return x.ChargeAssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DebitGiftResponse) GetChargeAmount() int64 {
|
||
if x != nil {
|
||
return x.ChargeAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DebitGiftResponse) GetGiftTypeCode() string {
|
||
if x != nil {
|
||
return x.GiftTypeCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// AssetBalance 是用户某类资产的余额投影。
|
||
type AssetBalance struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AssetType string `protobuf:"bytes,1,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
||
AvailableAmount int64 `protobuf:"varint,2,opt,name=available_amount,json=availableAmount,proto3" json:"available_amount,omitempty"`
|
||
FrozenAmount int64 `protobuf:"varint,3,opt,name=frozen_amount,json=frozenAmount,proto3" json:"frozen_amount,omitempty"`
|
||
Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
|
||
AppCode string `protobuf:"bytes,5,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AssetBalance) Reset() {
|
||
*x = AssetBalance{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AssetBalance) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AssetBalance) ProtoMessage() {}
|
||
|
||
func (x *AssetBalance) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 AssetBalance.ProtoReflect.Descriptor instead.
|
||
func (*AssetBalance) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *AssetBalance) GetAssetType() string {
|
||
if x != nil {
|
||
return x.AssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AssetBalance) GetAvailableAmount() int64 {
|
||
if x != nil {
|
||
return x.AvailableAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AssetBalance) GetFrozenAmount() int64 {
|
||
if x != nil {
|
||
return x.FrozenAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AssetBalance) GetVersion() int64 {
|
||
if x != nil {
|
||
return x.Version
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AssetBalance) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// GetBalancesRequest 查询用户多资产余额;内部调用方负责鉴权和用户范围控制。
|
||
type GetBalancesRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
AssetTypes []string `protobuf:"bytes,3,rep,name=asset_types,json=assetTypes,proto3" json:"asset_types,omitempty"`
|
||
AppCode string `protobuf:"bytes,4,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetBalancesRequest) Reset() {
|
||
*x = GetBalancesRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetBalancesRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetBalancesRequest) ProtoMessage() {}
|
||
|
||
func (x *GetBalancesRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 GetBalancesRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetBalancesRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *GetBalancesRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetBalancesRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetBalancesRequest) GetAssetTypes() []string {
|
||
if x != nil {
|
||
return x.AssetTypes
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GetBalancesRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type GetBalancesResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Balances []*AssetBalance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetBalancesResponse) Reset() {
|
||
*x = GetBalancesResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetBalancesResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetBalancesResponse) ProtoMessage() {}
|
||
|
||
func (x *GetBalancesResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 GetBalancesResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetBalancesResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *GetBalancesResponse) GetBalances() []*AssetBalance {
|
||
if x != nil {
|
||
return x.Balances
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// AdminCreditAssetRequest 是后台手动入账/调账的最小审计命令。
|
||
type AdminCreditAssetRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
|
||
TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
|
||
AssetType string `protobuf:"bytes,3,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
||
Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,5,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
|
||
EvidenceRef string `protobuf:"bytes,7,opt,name=evidence_ref,json=evidenceRef,proto3" json:"evidence_ref,omitempty"`
|
||
AppCode string `protobuf:"bytes,8,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AdminCreditAssetRequest) Reset() {
|
||
*x = AdminCreditAssetRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AdminCreditAssetRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AdminCreditAssetRequest) ProtoMessage() {}
|
||
|
||
func (x *AdminCreditAssetRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 AdminCreditAssetRequest.ProtoReflect.Descriptor instead.
|
||
func (*AdminCreditAssetRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *AdminCreditAssetRequest) GetCommandId() string {
|
||
if x != nil {
|
||
return x.CommandId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminCreditAssetRequest) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminCreditAssetRequest) GetAssetType() string {
|
||
if x != nil {
|
||
return x.AssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminCreditAssetRequest) GetAmount() int64 {
|
||
if x != nil {
|
||
return x.Amount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminCreditAssetRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminCreditAssetRequest) GetReason() string {
|
||
if x != nil {
|
||
return x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminCreditAssetRequest) GetEvidenceRef() string {
|
||
if x != nil {
|
||
return x.EvidenceRef
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminCreditAssetRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type AdminCreditAssetResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
|
||
Balance *AssetBalance `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AdminCreditAssetResponse) Reset() {
|
||
*x = AdminCreditAssetResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AdminCreditAssetResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AdminCreditAssetResponse) ProtoMessage() {}
|
||
|
||
func (x *AdminCreditAssetResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 AdminCreditAssetResponse.ProtoReflect.Descriptor instead.
|
||
func (*AdminCreditAssetResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *AdminCreditAssetResponse) GetTransactionId() string {
|
||
if x != nil {
|
||
return x.TransactionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminCreditAssetResponse) GetBalance() *AssetBalance {
|
||
if x != nil {
|
||
return x.Balance
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// AdminCreditCoinSellerStockRequest 是后台给 active 币商专用库存入账的账务命令。
|
||
type AdminCreditCoinSellerStockRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
|
||
SellerUserId int64 `protobuf:"varint,2,opt,name=seller_user_id,json=sellerUserId,proto3" json:"seller_user_id,omitempty"`
|
||
StockType string `protobuf:"bytes,3,opt,name=stock_type,json=stockType,proto3" json:"stock_type,omitempty"`
|
||
CoinAmount int64 `protobuf:"varint,4,opt,name=coin_amount,json=coinAmount,proto3" json:"coin_amount,omitempty"`
|
||
PaidCurrencyCode string `protobuf:"bytes,5,opt,name=paid_currency_code,json=paidCurrencyCode,proto3" json:"paid_currency_code,omitempty"`
|
||
PaidAmountMicro int64 `protobuf:"varint,6,opt,name=paid_amount_micro,json=paidAmountMicro,proto3" json:"paid_amount_micro,omitempty"`
|
||
PaymentRef string `protobuf:"bytes,7,opt,name=payment_ref,json=paymentRef,proto3" json:"payment_ref,omitempty"`
|
||
EvidenceRef string `protobuf:"bytes,8,opt,name=evidence_ref,json=evidenceRef,proto3" json:"evidence_ref,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,9,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
Reason string `protobuf:"bytes,10,opt,name=reason,proto3" json:"reason,omitempty"`
|
||
AppCode string `protobuf:"bytes,11,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockRequest) Reset() {
|
||
*x = AdminCreditCoinSellerStockRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AdminCreditCoinSellerStockRequest) ProtoMessage() {}
|
||
|
||
func (x *AdminCreditCoinSellerStockRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 AdminCreditCoinSellerStockRequest.ProtoReflect.Descriptor instead.
|
||
func (*AdminCreditCoinSellerStockRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockRequest) GetCommandId() string {
|
||
if x != nil {
|
||
return x.CommandId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockRequest) GetSellerUserId() int64 {
|
||
if x != nil {
|
||
return x.SellerUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockRequest) GetStockType() string {
|
||
if x != nil {
|
||
return x.StockType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockRequest) GetCoinAmount() int64 {
|
||
if x != nil {
|
||
return x.CoinAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockRequest) GetPaidCurrencyCode() string {
|
||
if x != nil {
|
||
return x.PaidCurrencyCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockRequest) GetPaidAmountMicro() int64 {
|
||
if x != nil {
|
||
return x.PaidAmountMicro
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockRequest) GetPaymentRef() string {
|
||
if x != nil {
|
||
return x.PaymentRef
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockRequest) GetEvidenceRef() string {
|
||
if x != nil {
|
||
return x.EvidenceRef
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockRequest) GetReason() string {
|
||
if x != nil {
|
||
return x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type AdminCreditCoinSellerStockResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
|
||
SellerUserId int64 `protobuf:"varint,2,opt,name=seller_user_id,json=sellerUserId,proto3" json:"seller_user_id,omitempty"`
|
||
StockType string `protobuf:"bytes,3,opt,name=stock_type,json=stockType,proto3" json:"stock_type,omitempty"`
|
||
CoinAmount int64 `protobuf:"varint,4,opt,name=coin_amount,json=coinAmount,proto3" json:"coin_amount,omitempty"`
|
||
PaidCurrencyCode string `protobuf:"bytes,5,opt,name=paid_currency_code,json=paidCurrencyCode,proto3" json:"paid_currency_code,omitempty"`
|
||
PaidAmountMicro int64 `protobuf:"varint,6,opt,name=paid_amount_micro,json=paidAmountMicro,proto3" json:"paid_amount_micro,omitempty"`
|
||
CountsAsSellerRecharge bool `protobuf:"varint,7,opt,name=counts_as_seller_recharge,json=countsAsSellerRecharge,proto3" json:"counts_as_seller_recharge,omitempty"`
|
||
BalanceAfter int64 `protobuf:"varint,8,opt,name=balance_after,json=balanceAfter,proto3" json:"balance_after,omitempty"`
|
||
CreatedAtMs int64 `protobuf:"varint,9,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockResponse) Reset() {
|
||
*x = AdminCreditCoinSellerStockResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*AdminCreditCoinSellerStockResponse) ProtoMessage() {}
|
||
|
||
func (x *AdminCreditCoinSellerStockResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 AdminCreditCoinSellerStockResponse.ProtoReflect.Descriptor instead.
|
||
func (*AdminCreditCoinSellerStockResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockResponse) GetTransactionId() string {
|
||
if x != nil {
|
||
return x.TransactionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockResponse) GetSellerUserId() int64 {
|
||
if x != nil {
|
||
return x.SellerUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockResponse) GetStockType() string {
|
||
if x != nil {
|
||
return x.StockType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockResponse) GetCoinAmount() int64 {
|
||
if x != nil {
|
||
return x.CoinAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockResponse) GetPaidCurrencyCode() string {
|
||
if x != nil {
|
||
return x.PaidCurrencyCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockResponse) GetPaidAmountMicro() int64 {
|
||
if x != nil {
|
||
return x.PaidAmountMicro
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockResponse) GetCountsAsSellerRecharge() bool {
|
||
if x != nil {
|
||
return x.CountsAsSellerRecharge
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockResponse) GetBalanceAfter() int64 {
|
||
if x != nil {
|
||
return x.BalanceAfter
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *AdminCreditCoinSellerStockResponse) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// TransferCoinFromSellerRequest 是币商给玩家转普通金币的内部账务命令。
|
||
type TransferCoinFromSellerRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
|
||
SellerUserId int64 `protobuf:"varint,2,opt,name=seller_user_id,json=sellerUserId,proto3" json:"seller_user_id,omitempty"`
|
||
TargetUserId int64 `protobuf:"varint,3,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
|
||
Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
|
||
Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
|
||
AppCode string `protobuf:"bytes,6,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
// seller_region_id 和 target_region_id 由 gateway 从 user-service 查询,不接受客户端提交。
|
||
SellerRegionId int64 `protobuf:"varint,7,opt,name=seller_region_id,json=sellerRegionId,proto3" json:"seller_region_id,omitempty"`
|
||
TargetRegionId int64 `protobuf:"varint,8,opt,name=target_region_id,json=targetRegionId,proto3" json:"target_region_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerRequest) Reset() {
|
||
*x = TransferCoinFromSellerRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*TransferCoinFromSellerRequest) ProtoMessage() {}
|
||
|
||
func (x *TransferCoinFromSellerRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 TransferCoinFromSellerRequest.ProtoReflect.Descriptor instead.
|
||
func (*TransferCoinFromSellerRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerRequest) GetCommandId() string {
|
||
if x != nil {
|
||
return x.CommandId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerRequest) GetSellerUserId() int64 {
|
||
if x != nil {
|
||
return x.SellerUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerRequest) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerRequest) GetAmount() int64 {
|
||
if x != nil {
|
||
return x.Amount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerRequest) GetReason() string {
|
||
if x != nil {
|
||
return x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerRequest) GetSellerRegionId() int64 {
|
||
if x != nil {
|
||
return x.SellerRegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerRequest) GetTargetRegionId() int64 {
|
||
if x != nil {
|
||
return x.TargetRegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// TransferCoinFromSellerResponse 同时返回金币到账结果和本次转账对应的充值金额口径。
|
||
type TransferCoinFromSellerResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
|
||
SellerBalanceAfter int64 `protobuf:"varint,2,opt,name=seller_balance_after,json=sellerBalanceAfter,proto3" json:"seller_balance_after,omitempty"`
|
||
TargetBalanceAfter int64 `protobuf:"varint,3,opt,name=target_balance_after,json=targetBalanceAfter,proto3" json:"target_balance_after,omitempty"`
|
||
Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
|
||
RechargeUsdMinor int64 `protobuf:"varint,5,opt,name=recharge_usd_minor,json=rechargeUsdMinor,proto3" json:"recharge_usd_minor,omitempty"`
|
||
RechargeCurrencyCode string `protobuf:"bytes,6,opt,name=recharge_currency_code,json=rechargeCurrencyCode,proto3" json:"recharge_currency_code,omitempty"`
|
||
RechargePolicyId int64 `protobuf:"varint,7,opt,name=recharge_policy_id,json=rechargePolicyId,proto3" json:"recharge_policy_id,omitempty"`
|
||
RechargePolicyVersion string `protobuf:"bytes,8,opt,name=recharge_policy_version,json=rechargePolicyVersion,proto3" json:"recharge_policy_version,omitempty"`
|
||
RechargePolicyCoinAmount int64 `protobuf:"varint,9,opt,name=recharge_policy_coin_amount,json=rechargePolicyCoinAmount,proto3" json:"recharge_policy_coin_amount,omitempty"`
|
||
RechargePolicyUsdMinorAmount int64 `protobuf:"varint,10,opt,name=recharge_policy_usd_minor_amount,json=rechargePolicyUsdMinorAmount,proto3" json:"recharge_policy_usd_minor_amount,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerResponse) Reset() {
|
||
*x = TransferCoinFromSellerResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*TransferCoinFromSellerResponse) ProtoMessage() {}
|
||
|
||
func (x *TransferCoinFromSellerResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 TransferCoinFromSellerResponse.ProtoReflect.Descriptor instead.
|
||
func (*TransferCoinFromSellerResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerResponse) GetTransactionId() string {
|
||
if x != nil {
|
||
return x.TransactionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerResponse) GetSellerBalanceAfter() int64 {
|
||
if x != nil {
|
||
return x.SellerBalanceAfter
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerResponse) GetTargetBalanceAfter() int64 {
|
||
if x != nil {
|
||
return x.TargetBalanceAfter
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerResponse) GetAmount() int64 {
|
||
if x != nil {
|
||
return x.Amount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerResponse) GetRechargeUsdMinor() int64 {
|
||
if x != nil {
|
||
return x.RechargeUsdMinor
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerResponse) GetRechargeCurrencyCode() string {
|
||
if x != nil {
|
||
return x.RechargeCurrencyCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerResponse) GetRechargePolicyId() int64 {
|
||
if x != nil {
|
||
return x.RechargePolicyId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerResponse) GetRechargePolicyVersion() string {
|
||
if x != nil {
|
||
return x.RechargePolicyVersion
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerResponse) GetRechargePolicyCoinAmount() int64 {
|
||
if x != nil {
|
||
return x.RechargePolicyCoinAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TransferCoinFromSellerResponse) GetRechargePolicyUsdMinorAmount() int64 {
|
||
if x != nil {
|
||
return x.RechargePolicyUsdMinorAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// Resource 是资源库里可配置、可赠送、可被礼物引用的最小资源。
|
||
type Resource struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
ResourceId int64 `protobuf:"varint,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||
ResourceCode string `protobuf:"bytes,3,opt,name=resource_code,json=resourceCode,proto3" json:"resource_code,omitempty"`
|
||
ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
|
||
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
|
||
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
|
||
Grantable bool `protobuf:"varint,7,opt,name=grantable,proto3" json:"grantable,omitempty"`
|
||
GrantStrategy string `protobuf:"bytes,8,opt,name=grant_strategy,json=grantStrategy,proto3" json:"grant_strategy,omitempty"`
|
||
WalletAssetType string `protobuf:"bytes,9,opt,name=wallet_asset_type,json=walletAssetType,proto3" json:"wallet_asset_type,omitempty"`
|
||
WalletAssetAmount int64 `protobuf:"varint,10,opt,name=wallet_asset_amount,json=walletAssetAmount,proto3" json:"wallet_asset_amount,omitempty"`
|
||
UsageScopes []string `protobuf:"bytes,11,rep,name=usage_scopes,json=usageScopes,proto3" json:"usage_scopes,omitempty"`
|
||
AssetUrl string `protobuf:"bytes,12,opt,name=asset_url,json=assetUrl,proto3" json:"asset_url,omitempty"`
|
||
PreviewUrl string `protobuf:"bytes,13,opt,name=preview_url,json=previewUrl,proto3" json:"preview_url,omitempty"`
|
||
AnimationUrl string `protobuf:"bytes,14,opt,name=animation_url,json=animationUrl,proto3" json:"animation_url,omitempty"`
|
||
MetadataJson string `protobuf:"bytes,15,opt,name=metadata_json,json=metadataJson,proto3" json:"metadata_json,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,16,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
CreatedByUserId int64 `protobuf:"varint,17,opt,name=created_by_user_id,json=createdByUserId,proto3" json:"created_by_user_id,omitempty"`
|
||
UpdatedByUserId int64 `protobuf:"varint,18,opt,name=updated_by_user_id,json=updatedByUserId,proto3" json:"updated_by_user_id,omitempty"`
|
||
CreatedAtMs int64 `protobuf:"varint,19,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,20,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
ManagerGrantEnabled bool `protobuf:"varint,21,opt,name=manager_grant_enabled,json=managerGrantEnabled,proto3" json:"manager_grant_enabled,omitempty"`
|
||
PriceType string `protobuf:"bytes,22,opt,name=price_type,json=priceType,proto3" json:"price_type,omitempty"`
|
||
CoinPrice int64 `protobuf:"varint,23,opt,name=coin_price,json=coinPrice,proto3" json:"coin_price,omitempty"`
|
||
GiftPointAmount int64 `protobuf:"varint,24,opt,name=gift_point_amount,json=giftPointAmount,proto3" json:"gift_point_amount,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *Resource) Reset() {
|
||
*x = Resource{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *Resource) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Resource) ProtoMessage() {}
|
||
|
||
func (x *Resource) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 Resource.ProtoReflect.Descriptor instead.
|
||
func (*Resource) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
func (x *Resource) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Resource) GetResourceId() int64 {
|
||
if x != nil {
|
||
return x.ResourceId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Resource) GetResourceCode() string {
|
||
if x != nil {
|
||
return x.ResourceCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Resource) GetResourceType() string {
|
||
if x != nil {
|
||
return x.ResourceType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Resource) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Resource) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Resource) GetGrantable() bool {
|
||
if x != nil {
|
||
return x.Grantable
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *Resource) GetGrantStrategy() string {
|
||
if x != nil {
|
||
return x.GrantStrategy
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Resource) GetWalletAssetType() string {
|
||
if x != nil {
|
||
return x.WalletAssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Resource) GetWalletAssetAmount() int64 {
|
||
if x != nil {
|
||
return x.WalletAssetAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Resource) GetUsageScopes() []string {
|
||
if x != nil {
|
||
return x.UsageScopes
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Resource) GetAssetUrl() string {
|
||
if x != nil {
|
||
return x.AssetUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Resource) GetPreviewUrl() string {
|
||
if x != nil {
|
||
return x.PreviewUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Resource) GetAnimationUrl() string {
|
||
if x != nil {
|
||
return x.AnimationUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Resource) GetMetadataJson() string {
|
||
if x != nil {
|
||
return x.MetadataJson
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Resource) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Resource) GetCreatedByUserId() int64 {
|
||
if x != nil {
|
||
return x.CreatedByUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Resource) GetUpdatedByUserId() int64 {
|
||
if x != nil {
|
||
return x.UpdatedByUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Resource) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Resource) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Resource) GetManagerGrantEnabled() bool {
|
||
if x != nil {
|
||
return x.ManagerGrantEnabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *Resource) GetPriceType() string {
|
||
if x != nil {
|
||
return x.PriceType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Resource) GetCoinPrice() int64 {
|
||
if x != nil {
|
||
return x.CoinPrice
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Resource) GetGiftPointAmount() int64 {
|
||
if x != nil {
|
||
return x.GiftPointAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ResourceGroupItem struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
GroupItemId int64 `protobuf:"varint,1,opt,name=group_item_id,json=groupItemId,proto3" json:"group_item_id,omitempty"`
|
||
GroupId int64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
|
||
ResourceId int64 `protobuf:"varint,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||
Resource *Resource `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"`
|
||
Quantity int64 `protobuf:"varint,5,opt,name=quantity,proto3" json:"quantity,omitempty"`
|
||
DurationMs int64 `protobuf:"varint,6,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,7,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
CreatedAtMs int64 `protobuf:"varint,8,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,9,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
ItemType string `protobuf:"bytes,10,opt,name=item_type,json=itemType,proto3" json:"item_type,omitempty"`
|
||
WalletAssetType string `protobuf:"bytes,11,opt,name=wallet_asset_type,json=walletAssetType,proto3" json:"wallet_asset_type,omitempty"`
|
||
WalletAssetAmount int64 `protobuf:"varint,12,opt,name=wallet_asset_amount,json=walletAssetAmount,proto3" json:"wallet_asset_amount,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ResourceGroupItem) Reset() {
|
||
*x = ResourceGroupItem{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[12]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ResourceGroupItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ResourceGroupItem) ProtoMessage() {}
|
||
|
||
func (x *ResourceGroupItem) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 ResourceGroupItem.ProtoReflect.Descriptor instead.
|
||
func (*ResourceGroupItem) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{12}
|
||
}
|
||
|
||
func (x *ResourceGroupItem) GetGroupItemId() int64 {
|
||
if x != nil {
|
||
return x.GroupItemId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGroupItem) GetGroupId() int64 {
|
||
if x != nil {
|
||
return x.GroupId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGroupItem) GetResourceId() int64 {
|
||
if x != nil {
|
||
return x.ResourceId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGroupItem) GetResource() *Resource {
|
||
if x != nil {
|
||
return x.Resource
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ResourceGroupItem) GetQuantity() int64 {
|
||
if x != nil {
|
||
return x.Quantity
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGroupItem) GetDurationMs() int64 {
|
||
if x != nil {
|
||
return x.DurationMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGroupItem) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGroupItem) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGroupItem) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGroupItem) GetItemType() string {
|
||
if x != nil {
|
||
return x.ItemType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGroupItem) GetWalletAssetType() string {
|
||
if x != nil {
|
||
return x.WalletAssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGroupItem) GetWalletAssetAmount() int64 {
|
||
if x != nil {
|
||
return x.WalletAssetAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ResourceGroup struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
GroupId int64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
|
||
GroupCode string `protobuf:"bytes,3,opt,name=group_code,json=groupCode,proto3" json:"group_code,omitempty"`
|
||
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
||
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
|
||
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,7,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
Items []*ResourceGroupItem `protobuf:"bytes,8,rep,name=items,proto3" json:"items,omitempty"`
|
||
CreatedByUserId int64 `protobuf:"varint,9,opt,name=created_by_user_id,json=createdByUserId,proto3" json:"created_by_user_id,omitempty"`
|
||
UpdatedByUserId int64 `protobuf:"varint,10,opt,name=updated_by_user_id,json=updatedByUserId,proto3" json:"updated_by_user_id,omitempty"`
|
||
CreatedAtMs int64 `protobuf:"varint,11,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,12,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ResourceGroup) Reset() {
|
||
*x = ResourceGroup{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ResourceGroup) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ResourceGroup) ProtoMessage() {}
|
||
|
||
func (x *ResourceGroup) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 ResourceGroup.ProtoReflect.Descriptor instead.
|
||
func (*ResourceGroup) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{13}
|
||
}
|
||
|
||
func (x *ResourceGroup) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGroup) GetGroupId() int64 {
|
||
if x != nil {
|
||
return x.GroupId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGroup) GetGroupCode() string {
|
||
if x != nil {
|
||
return x.GroupCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGroup) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGroup) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGroup) GetDescription() string {
|
||
if x != nil {
|
||
return x.Description
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGroup) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGroup) GetItems() []*ResourceGroupItem {
|
||
if x != nil {
|
||
return x.Items
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ResourceGroup) GetCreatedByUserId() int64 {
|
||
if x != nil {
|
||
return x.CreatedByUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGroup) GetUpdatedByUserId() int64 {
|
||
if x != nil {
|
||
return x.UpdatedByUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGroup) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGroup) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GiftConfig struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
GiftId string `protobuf:"bytes,2,opt,name=gift_id,json=giftId,proto3" json:"gift_id,omitempty"`
|
||
ResourceId int64 `protobuf:"varint,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||
Resource *Resource `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"`
|
||
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
|
||
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,7,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
PresentationJson string `protobuf:"bytes,8,opt,name=presentation_json,json=presentationJson,proto3" json:"presentation_json,omitempty"`
|
||
PriceVersion string `protobuf:"bytes,9,opt,name=price_version,json=priceVersion,proto3" json:"price_version,omitempty"`
|
||
CoinPrice int64 `protobuf:"varint,10,opt,name=coin_price,json=coinPrice,proto3" json:"coin_price,omitempty"`
|
||
GiftPointAmount int64 `protobuf:"varint,11,opt,name=gift_point_amount,json=giftPointAmount,proto3" json:"gift_point_amount,omitempty"`
|
||
HeatValue int64 `protobuf:"varint,12,opt,name=heat_value,json=heatValue,proto3" json:"heat_value,omitempty"`
|
||
CreatedByUserId int64 `protobuf:"varint,13,opt,name=created_by_user_id,json=createdByUserId,proto3" json:"created_by_user_id,omitempty"`
|
||
UpdatedByUserId int64 `protobuf:"varint,14,opt,name=updated_by_user_id,json=updatedByUserId,proto3" json:"updated_by_user_id,omitempty"`
|
||
CreatedAtMs int64 `protobuf:"varint,15,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,16,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
RegionIds []int64 `protobuf:"varint,17,rep,packed,name=region_ids,json=regionIds,proto3" json:"region_ids,omitempty"`
|
||
GiftTypeCode string `protobuf:"bytes,18,opt,name=gift_type_code,json=giftTypeCode,proto3" json:"gift_type_code,omitempty"`
|
||
ChargeAssetType string `protobuf:"bytes,19,opt,name=charge_asset_type,json=chargeAssetType,proto3" json:"charge_asset_type,omitempty"`
|
||
EffectiveFromMs int64 `protobuf:"varint,20,opt,name=effective_from_ms,json=effectiveFromMs,proto3" json:"effective_from_ms,omitempty"`
|
||
EffectiveToMs int64 `protobuf:"varint,21,opt,name=effective_to_ms,json=effectiveToMs,proto3" json:"effective_to_ms,omitempty"`
|
||
EffectTypes []string `protobuf:"bytes,22,rep,name=effect_types,json=effectTypes,proto3" json:"effect_types,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GiftConfig) Reset() {
|
||
*x = GiftConfig{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[14]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GiftConfig) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GiftConfig) ProtoMessage() {}
|
||
|
||
func (x *GiftConfig) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 GiftConfig.ProtoReflect.Descriptor instead.
|
||
func (*GiftConfig) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{14}
|
||
}
|
||
|
||
func (x *GiftConfig) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftConfig) GetGiftId() string {
|
||
if x != nil {
|
||
return x.GiftId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftConfig) GetResourceId() int64 {
|
||
if x != nil {
|
||
return x.ResourceId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftConfig) GetResource() *Resource {
|
||
if x != nil {
|
||
return x.Resource
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GiftConfig) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftConfig) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftConfig) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftConfig) GetPresentationJson() string {
|
||
if x != nil {
|
||
return x.PresentationJson
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftConfig) GetPriceVersion() string {
|
||
if x != nil {
|
||
return x.PriceVersion
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftConfig) GetCoinPrice() int64 {
|
||
if x != nil {
|
||
return x.CoinPrice
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftConfig) GetGiftPointAmount() int64 {
|
||
if x != nil {
|
||
return x.GiftPointAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftConfig) GetHeatValue() int64 {
|
||
if x != nil {
|
||
return x.HeatValue
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftConfig) GetCreatedByUserId() int64 {
|
||
if x != nil {
|
||
return x.CreatedByUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftConfig) GetUpdatedByUserId() int64 {
|
||
if x != nil {
|
||
return x.UpdatedByUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftConfig) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftConfig) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftConfig) GetRegionIds() []int64 {
|
||
if x != nil {
|
||
return x.RegionIds
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GiftConfig) GetGiftTypeCode() string {
|
||
if x != nil {
|
||
return x.GiftTypeCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftConfig) GetChargeAssetType() string {
|
||
if x != nil {
|
||
return x.ChargeAssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftConfig) GetEffectiveFromMs() int64 {
|
||
if x != nil {
|
||
return x.EffectiveFromMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftConfig) GetEffectiveToMs() int64 {
|
||
if x != nil {
|
||
return x.EffectiveToMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftConfig) GetEffectTypes() []string {
|
||
if x != nil {
|
||
return x.EffectTypes
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type GiftTypeConfig struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
TypeCode string `protobuf:"bytes,2,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
|
||
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
||
TabKey string `protobuf:"bytes,4,opt,name=tab_key,json=tabKey,proto3" json:"tab_key,omitempty"`
|
||
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,6,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
CreatedByUserId int64 `protobuf:"varint,7,opt,name=created_by_user_id,json=createdByUserId,proto3" json:"created_by_user_id,omitempty"`
|
||
UpdatedByUserId int64 `protobuf:"varint,8,opt,name=updated_by_user_id,json=updatedByUserId,proto3" json:"updated_by_user_id,omitempty"`
|
||
CreatedAtMs int64 `protobuf:"varint,9,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,10,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GiftTypeConfig) Reset() {
|
||
*x = GiftTypeConfig{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[15]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GiftTypeConfig) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GiftTypeConfig) ProtoMessage() {}
|
||
|
||
func (x *GiftTypeConfig) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 GiftTypeConfig.ProtoReflect.Descriptor instead.
|
||
func (*GiftTypeConfig) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{15}
|
||
}
|
||
|
||
func (x *GiftTypeConfig) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftTypeConfig) GetTypeCode() string {
|
||
if x != nil {
|
||
return x.TypeCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftTypeConfig) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftTypeConfig) GetTabKey() string {
|
||
if x != nil {
|
||
return x.TabKey
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftTypeConfig) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftTypeConfig) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftTypeConfig) GetCreatedByUserId() int64 {
|
||
if x != nil {
|
||
return x.CreatedByUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftTypeConfig) GetUpdatedByUserId() int64 {
|
||
if x != nil {
|
||
return x.UpdatedByUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftTypeConfig) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftTypeConfig) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type UserResourceEntitlement struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
EntitlementId string `protobuf:"bytes,2,opt,name=entitlement_id,json=entitlementId,proto3" json:"entitlement_id,omitempty"`
|
||
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
ResourceId int64 `protobuf:"varint,4,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||
Resource *Resource `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"`
|
||
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
|
||
Quantity int64 `protobuf:"varint,7,opt,name=quantity,proto3" json:"quantity,omitempty"`
|
||
RemainingQuantity int64 `protobuf:"varint,8,opt,name=remaining_quantity,json=remainingQuantity,proto3" json:"remaining_quantity,omitempty"`
|
||
EffectiveAtMs int64 `protobuf:"varint,9,opt,name=effective_at_ms,json=effectiveAtMs,proto3" json:"effective_at_ms,omitempty"`
|
||
ExpiresAtMs int64 `protobuf:"varint,10,opt,name=expires_at_ms,json=expiresAtMs,proto3" json:"expires_at_ms,omitempty"`
|
||
SourceGrantId string `protobuf:"bytes,11,opt,name=source_grant_id,json=sourceGrantId,proto3" json:"source_grant_id,omitempty"`
|
||
CreatedAtMs int64 `protobuf:"varint,12,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,13,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UserResourceEntitlement) Reset() {
|
||
*x = UserResourceEntitlement{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[16]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UserResourceEntitlement) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UserResourceEntitlement) ProtoMessage() {}
|
||
|
||
func (x *UserResourceEntitlement) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 UserResourceEntitlement.ProtoReflect.Descriptor instead.
|
||
func (*UserResourceEntitlement) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{16}
|
||
}
|
||
|
||
func (x *UserResourceEntitlement) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UserResourceEntitlement) GetEntitlementId() string {
|
||
if x != nil {
|
||
return x.EntitlementId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UserResourceEntitlement) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserResourceEntitlement) GetResourceId() int64 {
|
||
if x != nil {
|
||
return x.ResourceId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserResourceEntitlement) GetResource() *Resource {
|
||
if x != nil {
|
||
return x.Resource
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UserResourceEntitlement) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UserResourceEntitlement) GetQuantity() int64 {
|
||
if x != nil {
|
||
return x.Quantity
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserResourceEntitlement) GetRemainingQuantity() int64 {
|
||
if x != nil {
|
||
return x.RemainingQuantity
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserResourceEntitlement) GetEffectiveAtMs() int64 {
|
||
if x != nil {
|
||
return x.EffectiveAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserResourceEntitlement) GetExpiresAtMs() int64 {
|
||
if x != nil {
|
||
return x.ExpiresAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserResourceEntitlement) GetSourceGrantId() string {
|
||
if x != nil {
|
||
return x.SourceGrantId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UserResourceEntitlement) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserResourceEntitlement) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ResourceGrantItem struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
GrantItemId int64 `protobuf:"varint,1,opt,name=grant_item_id,json=grantItemId,proto3" json:"grant_item_id,omitempty"`
|
||
GrantId string `protobuf:"bytes,2,opt,name=grant_id,json=grantId,proto3" json:"grant_id,omitempty"`
|
||
ResourceId int64 `protobuf:"varint,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||
ResourceSnapshotJson string `protobuf:"bytes,4,opt,name=resource_snapshot_json,json=resourceSnapshotJson,proto3" json:"resource_snapshot_json,omitempty"`
|
||
Quantity int64 `protobuf:"varint,5,opt,name=quantity,proto3" json:"quantity,omitempty"`
|
||
DurationMs int64 `protobuf:"varint,6,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
|
||
ResultType string `protobuf:"bytes,7,opt,name=result_type,json=resultType,proto3" json:"result_type,omitempty"`
|
||
WalletTransactionId string `protobuf:"bytes,8,opt,name=wallet_transaction_id,json=walletTransactionId,proto3" json:"wallet_transaction_id,omitempty"`
|
||
EntitlementId string `protobuf:"bytes,9,opt,name=entitlement_id,json=entitlementId,proto3" json:"entitlement_id,omitempty"`
|
||
CreatedAtMs int64 `protobuf:"varint,10,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ResourceGrantItem) Reset() {
|
||
*x = ResourceGrantItem{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[17]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ResourceGrantItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ResourceGrantItem) ProtoMessage() {}
|
||
|
||
func (x *ResourceGrantItem) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 ResourceGrantItem.ProtoReflect.Descriptor instead.
|
||
func (*ResourceGrantItem) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{17}
|
||
}
|
||
|
||
func (x *ResourceGrantItem) GetGrantItemId() int64 {
|
||
if x != nil {
|
||
return x.GrantItemId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGrantItem) GetGrantId() string {
|
||
if x != nil {
|
||
return x.GrantId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGrantItem) GetResourceId() int64 {
|
||
if x != nil {
|
||
return x.ResourceId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGrantItem) GetResourceSnapshotJson() string {
|
||
if x != nil {
|
||
return x.ResourceSnapshotJson
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGrantItem) GetQuantity() int64 {
|
||
if x != nil {
|
||
return x.Quantity
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGrantItem) GetDurationMs() int64 {
|
||
if x != nil {
|
||
return x.DurationMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGrantItem) GetResultType() string {
|
||
if x != nil {
|
||
return x.ResultType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGrantItem) GetWalletTransactionId() string {
|
||
if x != nil {
|
||
return x.WalletTransactionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGrantItem) GetEntitlementId() string {
|
||
if x != nil {
|
||
return x.EntitlementId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGrantItem) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ResourceGrant struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
GrantId string `protobuf:"bytes,2,opt,name=grant_id,json=grantId,proto3" json:"grant_id,omitempty"`
|
||
CommandId string `protobuf:"bytes,3,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
|
||
TargetUserId int64 `protobuf:"varint,4,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
|
||
GrantSource string `protobuf:"bytes,5,opt,name=grant_source,json=grantSource,proto3" json:"grant_source,omitempty"`
|
||
GrantSubjectType string `protobuf:"bytes,6,opt,name=grant_subject_type,json=grantSubjectType,proto3" json:"grant_subject_type,omitempty"`
|
||
GrantSubjectId string `protobuf:"bytes,7,opt,name=grant_subject_id,json=grantSubjectId,proto3" json:"grant_subject_id,omitempty"`
|
||
Status string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
|
||
Reason string `protobuf:"bytes,9,opt,name=reason,proto3" json:"reason,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,10,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
Items []*ResourceGrantItem `protobuf:"bytes,11,rep,name=items,proto3" json:"items,omitempty"`
|
||
CreatedAtMs int64 `protobuf:"varint,12,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,13,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ResourceGrant) Reset() {
|
||
*x = ResourceGrant{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[18]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ResourceGrant) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ResourceGrant) ProtoMessage() {}
|
||
|
||
func (x *ResourceGrant) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 ResourceGrant.ProtoReflect.Descriptor instead.
|
||
func (*ResourceGrant) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{18}
|
||
}
|
||
|
||
func (x *ResourceGrant) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGrant) GetGrantId() string {
|
||
if x != nil {
|
||
return x.GrantId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGrant) GetCommandId() string {
|
||
if x != nil {
|
||
return x.CommandId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGrant) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGrant) GetGrantSource() string {
|
||
if x != nil {
|
||
return x.GrantSource
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGrant) GetGrantSubjectType() string {
|
||
if x != nil {
|
||
return x.GrantSubjectType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGrant) GetGrantSubjectId() string {
|
||
if x != nil {
|
||
return x.GrantSubjectId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGrant) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGrant) GetReason() string {
|
||
if x != nil {
|
||
return x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGrant) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGrant) GetItems() []*ResourceGrantItem {
|
||
if x != nil {
|
||
return x.Items
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ResourceGrant) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGrant) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ResourceGroupItemInput struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ResourceId int64 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||
Quantity int64 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
|
||
DurationMs int64 `protobuf:"varint,3,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,4,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
ItemType string `protobuf:"bytes,5,opt,name=item_type,json=itemType,proto3" json:"item_type,omitempty"`
|
||
WalletAssetType string `protobuf:"bytes,6,opt,name=wallet_asset_type,json=walletAssetType,proto3" json:"wallet_asset_type,omitempty"`
|
||
WalletAssetAmount int64 `protobuf:"varint,7,opt,name=wallet_asset_amount,json=walletAssetAmount,proto3" json:"wallet_asset_amount,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ResourceGroupItemInput) Reset() {
|
||
*x = ResourceGroupItemInput{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[19]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ResourceGroupItemInput) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ResourceGroupItemInput) ProtoMessage() {}
|
||
|
||
func (x *ResourceGroupItemInput) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 ResourceGroupItemInput.ProtoReflect.Descriptor instead.
|
||
func (*ResourceGroupItemInput) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{19}
|
||
}
|
||
|
||
func (x *ResourceGroupItemInput) GetResourceId() int64 {
|
||
if x != nil {
|
||
return x.ResourceId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGroupItemInput) GetQuantity() int64 {
|
||
if x != nil {
|
||
return x.Quantity
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGroupItemInput) GetDurationMs() int64 {
|
||
if x != nil {
|
||
return x.DurationMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGroupItemInput) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ResourceGroupItemInput) GetItemType() string {
|
||
if x != nil {
|
||
return x.ItemType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGroupItemInput) GetWalletAssetType() string {
|
||
if x != nil {
|
||
return x.WalletAssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ResourceGroupItemInput) GetWalletAssetAmount() int64 {
|
||
if x != nil {
|
||
return x.WalletAssetAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListResourcesRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
ResourceType string `protobuf:"bytes,3,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
|
||
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
|
||
Keyword string `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
||
Page int32 `protobuf:"varint,6,opt,name=page,proto3" json:"page,omitempty"`
|
||
PageSize int32 `protobuf:"varint,7,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||
ActiveOnly bool `protobuf:"varint,8,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"`
|
||
ManagerGrantOnly bool `protobuf:"varint,9,opt,name=manager_grant_only,json=managerGrantOnly,proto3" json:"manager_grant_only,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListResourcesRequest) Reset() {
|
||
*x = ListResourcesRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[20]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListResourcesRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListResourcesRequest) ProtoMessage() {}
|
||
|
||
func (x *ListResourcesRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 ListResourcesRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListResourcesRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{20}
|
||
}
|
||
|
||
func (x *ListResourcesRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListResourcesRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListResourcesRequest) GetResourceType() string {
|
||
if x != nil {
|
||
return x.ResourceType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListResourcesRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListResourcesRequest) GetKeyword() string {
|
||
if x != nil {
|
||
return x.Keyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListResourcesRequest) GetPage() int32 {
|
||
if x != nil {
|
||
return x.Page
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListResourcesRequest) GetPageSize() int32 {
|
||
if x != nil {
|
||
return x.PageSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListResourcesRequest) GetActiveOnly() bool {
|
||
if x != nil {
|
||
return x.ActiveOnly
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ListResourcesRequest) GetManagerGrantOnly() bool {
|
||
if x != nil {
|
||
return x.ManagerGrantOnly
|
||
}
|
||
return false
|
||
}
|
||
|
||
type ListResourcesResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
|
||
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListResourcesResponse) Reset() {
|
||
*x = ListResourcesResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[21]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListResourcesResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListResourcesResponse) ProtoMessage() {}
|
||
|
||
func (x *ListResourcesResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_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 ListResourcesResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListResourcesResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{21}
|
||
}
|
||
|
||
func (x *ListResourcesResponse) GetResources() []*Resource {
|
||
if x != nil {
|
||
return x.Resources
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListResourcesResponse) GetTotal() int64 {
|
||
if x != nil {
|
||
return x.Total
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetResourceRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
ResourceId int64 `protobuf:"varint,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetResourceRequest) Reset() {
|
||
*x = GetResourceRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[22]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetResourceRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetResourceRequest) ProtoMessage() {}
|
||
|
||
func (x *GetResourceRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[22]
|
||
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 GetResourceRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetResourceRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{22}
|
||
}
|
||
|
||
func (x *GetResourceRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetResourceRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetResourceRequest) GetResourceId() int64 {
|
||
if x != nil {
|
||
return x.ResourceId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetResourceResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetResourceResponse) Reset() {
|
||
*x = GetResourceResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[23]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetResourceResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetResourceResponse) ProtoMessage() {}
|
||
|
||
func (x *GetResourceResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[23]
|
||
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 GetResourceResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetResourceResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{23}
|
||
}
|
||
|
||
func (x *GetResourceResponse) GetResource() *Resource {
|
||
if x != nil {
|
||
return x.Resource
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type CreateResourceRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
ResourceCode string `protobuf:"bytes,3,opt,name=resource_code,json=resourceCode,proto3" json:"resource_code,omitempty"`
|
||
ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
|
||
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
|
||
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
|
||
Grantable bool `protobuf:"varint,7,opt,name=grantable,proto3" json:"grantable,omitempty"`
|
||
GrantStrategy string `protobuf:"bytes,8,opt,name=grant_strategy,json=grantStrategy,proto3" json:"grant_strategy,omitempty"`
|
||
WalletAssetType string `protobuf:"bytes,9,opt,name=wallet_asset_type,json=walletAssetType,proto3" json:"wallet_asset_type,omitempty"`
|
||
WalletAssetAmount int64 `protobuf:"varint,10,opt,name=wallet_asset_amount,json=walletAssetAmount,proto3" json:"wallet_asset_amount,omitempty"`
|
||
UsageScopes []string `protobuf:"bytes,11,rep,name=usage_scopes,json=usageScopes,proto3" json:"usage_scopes,omitempty"`
|
||
AssetUrl string `protobuf:"bytes,12,opt,name=asset_url,json=assetUrl,proto3" json:"asset_url,omitempty"`
|
||
PreviewUrl string `protobuf:"bytes,13,opt,name=preview_url,json=previewUrl,proto3" json:"preview_url,omitempty"`
|
||
AnimationUrl string `protobuf:"bytes,14,opt,name=animation_url,json=animationUrl,proto3" json:"animation_url,omitempty"`
|
||
MetadataJson string `protobuf:"bytes,15,opt,name=metadata_json,json=metadataJson,proto3" json:"metadata_json,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,16,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,17,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
ManagerGrantEnabled *bool `protobuf:"varint,18,opt,name=manager_grant_enabled,json=managerGrantEnabled,proto3,oneof" json:"manager_grant_enabled,omitempty"`
|
||
PriceType string `protobuf:"bytes,19,opt,name=price_type,json=priceType,proto3" json:"price_type,omitempty"`
|
||
CoinPrice int64 `protobuf:"varint,20,opt,name=coin_price,json=coinPrice,proto3" json:"coin_price,omitempty"`
|
||
GiftPointAmount int64 `protobuf:"varint,21,opt,name=gift_point_amount,json=giftPointAmount,proto3" json:"gift_point_amount,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateResourceRequest) Reset() {
|
||
*x = CreateResourceRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[24]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CreateResourceRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CreateResourceRequest) ProtoMessage() {}
|
||
|
||
func (x *CreateResourceRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[24]
|
||
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 CreateResourceRequest.ProtoReflect.Descriptor instead.
|
||
func (*CreateResourceRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{24}
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetResourceCode() string {
|
||
if x != nil {
|
||
return x.ResourceCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetResourceType() string {
|
||
if x != nil {
|
||
return x.ResourceType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetGrantable() bool {
|
||
if x != nil {
|
||
return x.Grantable
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetGrantStrategy() string {
|
||
if x != nil {
|
||
return x.GrantStrategy
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetWalletAssetType() string {
|
||
if x != nil {
|
||
return x.WalletAssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetWalletAssetAmount() int64 {
|
||
if x != nil {
|
||
return x.WalletAssetAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetUsageScopes() []string {
|
||
if x != nil {
|
||
return x.UsageScopes
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetAssetUrl() string {
|
||
if x != nil {
|
||
return x.AssetUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetPreviewUrl() string {
|
||
if x != nil {
|
||
return x.PreviewUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetAnimationUrl() string {
|
||
if x != nil {
|
||
return x.AnimationUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetMetadataJson() string {
|
||
if x != nil {
|
||
return x.MetadataJson
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetManagerGrantEnabled() bool {
|
||
if x != nil && x.ManagerGrantEnabled != nil {
|
||
return *x.ManagerGrantEnabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetPriceType() string {
|
||
if x != nil {
|
||
return x.PriceType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetCoinPrice() int64 {
|
||
if x != nil {
|
||
return x.CoinPrice
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateResourceRequest) GetGiftPointAmount() int64 {
|
||
if x != nil {
|
||
return x.GiftPointAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type UpdateResourceRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
ResourceId int64 `protobuf:"varint,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||
ResourceCode string `protobuf:"bytes,4,opt,name=resource_code,json=resourceCode,proto3" json:"resource_code,omitempty"`
|
||
ResourceType string `protobuf:"bytes,5,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
|
||
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
|
||
Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
|
||
Grantable bool `protobuf:"varint,8,opt,name=grantable,proto3" json:"grantable,omitempty"`
|
||
GrantStrategy string `protobuf:"bytes,9,opt,name=grant_strategy,json=grantStrategy,proto3" json:"grant_strategy,omitempty"`
|
||
WalletAssetType string `protobuf:"bytes,10,opt,name=wallet_asset_type,json=walletAssetType,proto3" json:"wallet_asset_type,omitempty"`
|
||
WalletAssetAmount int64 `protobuf:"varint,11,opt,name=wallet_asset_amount,json=walletAssetAmount,proto3" json:"wallet_asset_amount,omitempty"`
|
||
UsageScopes []string `protobuf:"bytes,12,rep,name=usage_scopes,json=usageScopes,proto3" json:"usage_scopes,omitempty"`
|
||
AssetUrl string `protobuf:"bytes,13,opt,name=asset_url,json=assetUrl,proto3" json:"asset_url,omitempty"`
|
||
PreviewUrl string `protobuf:"bytes,14,opt,name=preview_url,json=previewUrl,proto3" json:"preview_url,omitempty"`
|
||
AnimationUrl string `protobuf:"bytes,15,opt,name=animation_url,json=animationUrl,proto3" json:"animation_url,omitempty"`
|
||
MetadataJson string `protobuf:"bytes,16,opt,name=metadata_json,json=metadataJson,proto3" json:"metadata_json,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,17,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,18,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
ManagerGrantEnabled *bool `protobuf:"varint,19,opt,name=manager_grant_enabled,json=managerGrantEnabled,proto3,oneof" json:"manager_grant_enabled,omitempty"`
|
||
PriceType string `protobuf:"bytes,20,opt,name=price_type,json=priceType,proto3" json:"price_type,omitempty"`
|
||
CoinPrice int64 `protobuf:"varint,21,opt,name=coin_price,json=coinPrice,proto3" json:"coin_price,omitempty"`
|
||
GiftPointAmount int64 `protobuf:"varint,22,opt,name=gift_point_amount,json=giftPointAmount,proto3" json:"gift_point_amount,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) Reset() {
|
||
*x = UpdateResourceRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[25]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UpdateResourceRequest) ProtoMessage() {}
|
||
|
||
func (x *UpdateResourceRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[25]
|
||
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 UpdateResourceRequest.ProtoReflect.Descriptor instead.
|
||
func (*UpdateResourceRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{25}
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetResourceId() int64 {
|
||
if x != nil {
|
||
return x.ResourceId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetResourceCode() string {
|
||
if x != nil {
|
||
return x.ResourceCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetResourceType() string {
|
||
if x != nil {
|
||
return x.ResourceType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetGrantable() bool {
|
||
if x != nil {
|
||
return x.Grantable
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetGrantStrategy() string {
|
||
if x != nil {
|
||
return x.GrantStrategy
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetWalletAssetType() string {
|
||
if x != nil {
|
||
return x.WalletAssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetWalletAssetAmount() int64 {
|
||
if x != nil {
|
||
return x.WalletAssetAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetUsageScopes() []string {
|
||
if x != nil {
|
||
return x.UsageScopes
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetAssetUrl() string {
|
||
if x != nil {
|
||
return x.AssetUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetPreviewUrl() string {
|
||
if x != nil {
|
||
return x.PreviewUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetAnimationUrl() string {
|
||
if x != nil {
|
||
return x.AnimationUrl
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetMetadataJson() string {
|
||
if x != nil {
|
||
return x.MetadataJson
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetManagerGrantEnabled() bool {
|
||
if x != nil && x.ManagerGrantEnabled != nil {
|
||
return *x.ManagerGrantEnabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetPriceType() string {
|
||
if x != nil {
|
||
return x.PriceType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetCoinPrice() int64 {
|
||
if x != nil {
|
||
return x.CoinPrice
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateResourceRequest) GetGiftPointAmount() int64 {
|
||
if x != nil {
|
||
return x.GiftPointAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type SetResourceStatusRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
ResourceId int64 `protobuf:"varint,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,5,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *SetResourceStatusRequest) Reset() {
|
||
*x = SetResourceStatusRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[26]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *SetResourceStatusRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SetResourceStatusRequest) ProtoMessage() {}
|
||
|
||
func (x *SetResourceStatusRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[26]
|
||
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 SetResourceStatusRequest.ProtoReflect.Descriptor instead.
|
||
func (*SetResourceStatusRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{26}
|
||
}
|
||
|
||
func (x *SetResourceStatusRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SetResourceStatusRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SetResourceStatusRequest) GetResourceId() int64 {
|
||
if x != nil {
|
||
return x.ResourceId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SetResourceStatusRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SetResourceStatusRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ResourceResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ResourceResponse) Reset() {
|
||
*x = ResourceResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[27]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ResourceResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ResourceResponse) ProtoMessage() {}
|
||
|
||
func (x *ResourceResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[27]
|
||
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 ResourceResponse.ProtoReflect.Descriptor instead.
|
||
func (*ResourceResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{27}
|
||
}
|
||
|
||
func (x *ResourceResponse) GetResource() *Resource {
|
||
if x != nil {
|
||
return x.Resource
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type ListResourceGroupsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
||
Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
||
Page int32 `protobuf:"varint,5,opt,name=page,proto3" json:"page,omitempty"`
|
||
PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||
ActiveOnly bool `protobuf:"varint,7,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListResourceGroupsRequest) Reset() {
|
||
*x = ListResourceGroupsRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[28]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListResourceGroupsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListResourceGroupsRequest) ProtoMessage() {}
|
||
|
||
func (x *ListResourceGroupsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[28]
|
||
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 ListResourceGroupsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListResourceGroupsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{28}
|
||
}
|
||
|
||
func (x *ListResourceGroupsRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListResourceGroupsRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListResourceGroupsRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListResourceGroupsRequest) GetKeyword() string {
|
||
if x != nil {
|
||
return x.Keyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListResourceGroupsRequest) GetPage() int32 {
|
||
if x != nil {
|
||
return x.Page
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListResourceGroupsRequest) GetPageSize() int32 {
|
||
if x != nil {
|
||
return x.PageSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListResourceGroupsRequest) GetActiveOnly() bool {
|
||
if x != nil {
|
||
return x.ActiveOnly
|
||
}
|
||
return false
|
||
}
|
||
|
||
type ListResourceGroupsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Groups []*ResourceGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
|
||
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListResourceGroupsResponse) Reset() {
|
||
*x = ListResourceGroupsResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[29]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListResourceGroupsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListResourceGroupsResponse) ProtoMessage() {}
|
||
|
||
func (x *ListResourceGroupsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[29]
|
||
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 ListResourceGroupsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListResourceGroupsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{29}
|
||
}
|
||
|
||
func (x *ListResourceGroupsResponse) GetGroups() []*ResourceGroup {
|
||
if x != nil {
|
||
return x.Groups
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListResourceGroupsResponse) GetTotal() int64 {
|
||
if x != nil {
|
||
return x.Total
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetResourceGroupRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
GroupId int64 `protobuf:"varint,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetResourceGroupRequest) Reset() {
|
||
*x = GetResourceGroupRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[30]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetResourceGroupRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetResourceGroupRequest) ProtoMessage() {}
|
||
|
||
func (x *GetResourceGroupRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[30]
|
||
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 GetResourceGroupRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetResourceGroupRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{30}
|
||
}
|
||
|
||
func (x *GetResourceGroupRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetResourceGroupRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetResourceGroupRequest) GetGroupId() int64 {
|
||
if x != nil {
|
||
return x.GroupId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetResourceGroupResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Group *ResourceGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetResourceGroupResponse) Reset() {
|
||
*x = GetResourceGroupResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[31]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetResourceGroupResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetResourceGroupResponse) ProtoMessage() {}
|
||
|
||
func (x *GetResourceGroupResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[31]
|
||
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 GetResourceGroupResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetResourceGroupResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{31}
|
||
}
|
||
|
||
func (x *GetResourceGroupResponse) GetGroup() *ResourceGroup {
|
||
if x != nil {
|
||
return x.Group
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type CreateResourceGroupRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
GroupCode string `protobuf:"bytes,3,opt,name=group_code,json=groupCode,proto3" json:"group_code,omitempty"`
|
||
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
||
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
|
||
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,7,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
Items []*ResourceGroupItemInput `protobuf:"bytes,8,rep,name=items,proto3" json:"items,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,9,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateResourceGroupRequest) Reset() {
|
||
*x = CreateResourceGroupRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[32]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CreateResourceGroupRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CreateResourceGroupRequest) ProtoMessage() {}
|
||
|
||
func (x *CreateResourceGroupRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[32]
|
||
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 CreateResourceGroupRequest.ProtoReflect.Descriptor instead.
|
||
func (*CreateResourceGroupRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{32}
|
||
}
|
||
|
||
func (x *CreateResourceGroupRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceGroupRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceGroupRequest) GetGroupCode() string {
|
||
if x != nil {
|
||
return x.GroupCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceGroupRequest) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceGroupRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceGroupRequest) GetDescription() string {
|
||
if x != nil {
|
||
return x.Description
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateResourceGroupRequest) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateResourceGroupRequest) GetItems() []*ResourceGroupItemInput {
|
||
if x != nil {
|
||
return x.Items
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CreateResourceGroupRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type UpdateResourceGroupRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
GroupId int64 `protobuf:"varint,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
|
||
GroupCode string `protobuf:"bytes,4,opt,name=group_code,json=groupCode,proto3" json:"group_code,omitempty"`
|
||
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
|
||
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
|
||
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,8,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
Items []*ResourceGroupItemInput `protobuf:"bytes,9,rep,name=items,proto3" json:"items,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,10,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpdateResourceGroupRequest) Reset() {
|
||
*x = UpdateResourceGroupRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[33]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UpdateResourceGroupRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UpdateResourceGroupRequest) ProtoMessage() {}
|
||
|
||
func (x *UpdateResourceGroupRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[33]
|
||
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 UpdateResourceGroupRequest.ProtoReflect.Descriptor instead.
|
||
func (*UpdateResourceGroupRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{33}
|
||
}
|
||
|
||
func (x *UpdateResourceGroupRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceGroupRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceGroupRequest) GetGroupId() int64 {
|
||
if x != nil {
|
||
return x.GroupId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateResourceGroupRequest) GetGroupCode() string {
|
||
if x != nil {
|
||
return x.GroupCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceGroupRequest) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceGroupRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceGroupRequest) GetDescription() string {
|
||
if x != nil {
|
||
return x.Description
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateResourceGroupRequest) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateResourceGroupRequest) GetItems() []*ResourceGroupItemInput {
|
||
if x != nil {
|
||
return x.Items
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UpdateResourceGroupRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type SetResourceGroupStatusRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
GroupId int64 `protobuf:"varint,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
|
||
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,5,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *SetResourceGroupStatusRequest) Reset() {
|
||
*x = SetResourceGroupStatusRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[34]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *SetResourceGroupStatusRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SetResourceGroupStatusRequest) ProtoMessage() {}
|
||
|
||
func (x *SetResourceGroupStatusRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[34]
|
||
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 SetResourceGroupStatusRequest.ProtoReflect.Descriptor instead.
|
||
func (*SetResourceGroupStatusRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{34}
|
||
}
|
||
|
||
func (x *SetResourceGroupStatusRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SetResourceGroupStatusRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SetResourceGroupStatusRequest) GetGroupId() int64 {
|
||
if x != nil {
|
||
return x.GroupId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SetResourceGroupStatusRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SetResourceGroupStatusRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ResourceGroupResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Group *ResourceGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ResourceGroupResponse) Reset() {
|
||
*x = ResourceGroupResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[35]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ResourceGroupResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ResourceGroupResponse) ProtoMessage() {}
|
||
|
||
func (x *ResourceGroupResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[35]
|
||
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 ResourceGroupResponse.ProtoReflect.Descriptor instead.
|
||
func (*ResourceGroupResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{35}
|
||
}
|
||
|
||
func (x *ResourceGroupResponse) GetGroup() *ResourceGroup {
|
||
if x != nil {
|
||
return x.Group
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type ListGiftConfigsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
||
Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
||
Page int32 `protobuf:"varint,5,opt,name=page,proto3" json:"page,omitempty"`
|
||
PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||
ActiveOnly bool `protobuf:"varint,7,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"`
|
||
RegionId int64 `protobuf:"varint,8,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
|
||
FilterRegion bool `protobuf:"varint,9,opt,name=filter_region,json=filterRegion,proto3" json:"filter_region,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListGiftConfigsRequest) Reset() {
|
||
*x = ListGiftConfigsRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[36]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListGiftConfigsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListGiftConfigsRequest) ProtoMessage() {}
|
||
|
||
func (x *ListGiftConfigsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[36]
|
||
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 ListGiftConfigsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListGiftConfigsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{36}
|
||
}
|
||
|
||
func (x *ListGiftConfigsRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListGiftConfigsRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListGiftConfigsRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListGiftConfigsRequest) GetKeyword() string {
|
||
if x != nil {
|
||
return x.Keyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListGiftConfigsRequest) GetPage() int32 {
|
||
if x != nil {
|
||
return x.Page
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListGiftConfigsRequest) GetPageSize() int32 {
|
||
if x != nil {
|
||
return x.PageSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListGiftConfigsRequest) GetActiveOnly() bool {
|
||
if x != nil {
|
||
return x.ActiveOnly
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ListGiftConfigsRequest) GetRegionId() int64 {
|
||
if x != nil {
|
||
return x.RegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListGiftConfigsRequest) GetFilterRegion() bool {
|
||
if x != nil {
|
||
return x.FilterRegion
|
||
}
|
||
return false
|
||
}
|
||
|
||
type ListGiftConfigsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Gifts []*GiftConfig `protobuf:"bytes,1,rep,name=gifts,proto3" json:"gifts,omitempty"`
|
||
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListGiftConfigsResponse) Reset() {
|
||
*x = ListGiftConfigsResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[37]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListGiftConfigsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListGiftConfigsResponse) ProtoMessage() {}
|
||
|
||
func (x *ListGiftConfigsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[37]
|
||
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 ListGiftConfigsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListGiftConfigsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{37}
|
||
}
|
||
|
||
func (x *ListGiftConfigsResponse) GetGifts() []*GiftConfig {
|
||
if x != nil {
|
||
return x.Gifts
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListGiftConfigsResponse) GetTotal() int64 {
|
||
if x != nil {
|
||
return x.Total
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListGiftTypeConfigsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
||
ActiveOnly bool `protobuf:"varint,4,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListGiftTypeConfigsRequest) Reset() {
|
||
*x = ListGiftTypeConfigsRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[38]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListGiftTypeConfigsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListGiftTypeConfigsRequest) ProtoMessage() {}
|
||
|
||
func (x *ListGiftTypeConfigsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[38]
|
||
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 ListGiftTypeConfigsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListGiftTypeConfigsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{38}
|
||
}
|
||
|
||
func (x *ListGiftTypeConfigsRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListGiftTypeConfigsRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListGiftTypeConfigsRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListGiftTypeConfigsRequest) GetActiveOnly() bool {
|
||
if x != nil {
|
||
return x.ActiveOnly
|
||
}
|
||
return false
|
||
}
|
||
|
||
type ListGiftTypeConfigsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
GiftTypes []*GiftTypeConfig `protobuf:"bytes,1,rep,name=gift_types,json=giftTypes,proto3" json:"gift_types,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListGiftTypeConfigsResponse) Reset() {
|
||
*x = ListGiftTypeConfigsResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[39]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListGiftTypeConfigsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListGiftTypeConfigsResponse) ProtoMessage() {}
|
||
|
||
func (x *ListGiftTypeConfigsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[39]
|
||
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 ListGiftTypeConfigsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListGiftTypeConfigsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{39}
|
||
}
|
||
|
||
func (x *ListGiftTypeConfigsResponse) GetGiftTypes() []*GiftTypeConfig {
|
||
if x != nil {
|
||
return x.GiftTypes
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type UpsertGiftTypeConfigRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
TypeCode string `protobuf:"bytes,3,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"`
|
||
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
||
TabKey string `protobuf:"bytes,5,opt,name=tab_key,json=tabKey,proto3" json:"tab_key,omitempty"`
|
||
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,7,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,8,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpsertGiftTypeConfigRequest) Reset() {
|
||
*x = UpsertGiftTypeConfigRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[40]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UpsertGiftTypeConfigRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UpsertGiftTypeConfigRequest) ProtoMessage() {}
|
||
|
||
func (x *UpsertGiftTypeConfigRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[40]
|
||
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 UpsertGiftTypeConfigRequest.ProtoReflect.Descriptor instead.
|
||
func (*UpsertGiftTypeConfigRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{40}
|
||
}
|
||
|
||
func (x *UpsertGiftTypeConfigRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpsertGiftTypeConfigRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpsertGiftTypeConfigRequest) GetTypeCode() string {
|
||
if x != nil {
|
||
return x.TypeCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpsertGiftTypeConfigRequest) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpsertGiftTypeConfigRequest) GetTabKey() string {
|
||
if x != nil {
|
||
return x.TabKey
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpsertGiftTypeConfigRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpsertGiftTypeConfigRequest) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpsertGiftTypeConfigRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GiftTypeConfigResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
GiftType *GiftTypeConfig `protobuf:"bytes,1,opt,name=gift_type,json=giftType,proto3" json:"gift_type,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GiftTypeConfigResponse) Reset() {
|
||
*x = GiftTypeConfigResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[41]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GiftTypeConfigResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GiftTypeConfigResponse) ProtoMessage() {}
|
||
|
||
func (x *GiftTypeConfigResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[41]
|
||
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 GiftTypeConfigResponse.ProtoReflect.Descriptor instead.
|
||
func (*GiftTypeConfigResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{41}
|
||
}
|
||
|
||
func (x *GiftTypeConfigResponse) GetGiftType() *GiftTypeConfig {
|
||
if x != nil {
|
||
return x.GiftType
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type CreateGiftConfigRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
GiftId string `protobuf:"bytes,3,opt,name=gift_id,json=giftId,proto3" json:"gift_id,omitempty"`
|
||
ResourceId int64 `protobuf:"varint,4,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
|
||
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,7,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
PresentationJson string `protobuf:"bytes,8,opt,name=presentation_json,json=presentationJson,proto3" json:"presentation_json,omitempty"`
|
||
PriceVersion string `protobuf:"bytes,9,opt,name=price_version,json=priceVersion,proto3" json:"price_version,omitempty"`
|
||
CoinPrice int64 `protobuf:"varint,10,opt,name=coin_price,json=coinPrice,proto3" json:"coin_price,omitempty"`
|
||
GiftPointAmount int64 `protobuf:"varint,11,opt,name=gift_point_amount,json=giftPointAmount,proto3" json:"gift_point_amount,omitempty"`
|
||
HeatValue int64 `protobuf:"varint,12,opt,name=heat_value,json=heatValue,proto3" json:"heat_value,omitempty"`
|
||
EffectiveAtMs int64 `protobuf:"varint,13,opt,name=effective_at_ms,json=effectiveAtMs,proto3" json:"effective_at_ms,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,14,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
RegionIds []int64 `protobuf:"varint,15,rep,packed,name=region_ids,json=regionIds,proto3" json:"region_ids,omitempty"`
|
||
GiftTypeCode string `protobuf:"bytes,16,opt,name=gift_type_code,json=giftTypeCode,proto3" json:"gift_type_code,omitempty"`
|
||
ChargeAssetType string `protobuf:"bytes,17,opt,name=charge_asset_type,json=chargeAssetType,proto3" json:"charge_asset_type,omitempty"`
|
||
EffectiveFromMs int64 `protobuf:"varint,18,opt,name=effective_from_ms,json=effectiveFromMs,proto3" json:"effective_from_ms,omitempty"`
|
||
EffectiveToMs int64 `protobuf:"varint,19,opt,name=effective_to_ms,json=effectiveToMs,proto3" json:"effective_to_ms,omitempty"`
|
||
EffectTypes []string `protobuf:"bytes,20,rep,name=effect_types,json=effectTypes,proto3" json:"effect_types,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) Reset() {
|
||
*x = CreateGiftConfigRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[42]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CreateGiftConfigRequest) ProtoMessage() {}
|
||
|
||
func (x *CreateGiftConfigRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[42]
|
||
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 CreateGiftConfigRequest.ProtoReflect.Descriptor instead.
|
||
func (*CreateGiftConfigRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{42}
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetGiftId() string {
|
||
if x != nil {
|
||
return x.GiftId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetResourceId() int64 {
|
||
if x != nil {
|
||
return x.ResourceId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetPresentationJson() string {
|
||
if x != nil {
|
||
return x.PresentationJson
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetPriceVersion() string {
|
||
if x != nil {
|
||
return x.PriceVersion
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetCoinPrice() int64 {
|
||
if x != nil {
|
||
return x.CoinPrice
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetGiftPointAmount() int64 {
|
||
if x != nil {
|
||
return x.GiftPointAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetHeatValue() int64 {
|
||
if x != nil {
|
||
return x.HeatValue
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetEffectiveAtMs() int64 {
|
||
if x != nil {
|
||
return x.EffectiveAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetRegionIds() []int64 {
|
||
if x != nil {
|
||
return x.RegionIds
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetGiftTypeCode() string {
|
||
if x != nil {
|
||
return x.GiftTypeCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetChargeAssetType() string {
|
||
if x != nil {
|
||
return x.ChargeAssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetEffectiveFromMs() int64 {
|
||
if x != nil {
|
||
return x.EffectiveFromMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetEffectiveToMs() int64 {
|
||
if x != nil {
|
||
return x.EffectiveToMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateGiftConfigRequest) GetEffectTypes() []string {
|
||
if x != nil {
|
||
return x.EffectTypes
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type UpdateGiftConfigRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
GiftId string `protobuf:"bytes,3,opt,name=gift_id,json=giftId,proto3" json:"gift_id,omitempty"`
|
||
ResourceId int64 `protobuf:"varint,4,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
|
||
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,7,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
PresentationJson string `protobuf:"bytes,8,opt,name=presentation_json,json=presentationJson,proto3" json:"presentation_json,omitempty"`
|
||
PriceVersion string `protobuf:"bytes,9,opt,name=price_version,json=priceVersion,proto3" json:"price_version,omitempty"`
|
||
CoinPrice int64 `protobuf:"varint,10,opt,name=coin_price,json=coinPrice,proto3" json:"coin_price,omitempty"`
|
||
GiftPointAmount int64 `protobuf:"varint,11,opt,name=gift_point_amount,json=giftPointAmount,proto3" json:"gift_point_amount,omitempty"`
|
||
HeatValue int64 `protobuf:"varint,12,opt,name=heat_value,json=heatValue,proto3" json:"heat_value,omitempty"`
|
||
EffectiveAtMs int64 `protobuf:"varint,13,opt,name=effective_at_ms,json=effectiveAtMs,proto3" json:"effective_at_ms,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,14,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
RegionIds []int64 `protobuf:"varint,15,rep,packed,name=region_ids,json=regionIds,proto3" json:"region_ids,omitempty"`
|
||
GiftTypeCode string `protobuf:"bytes,16,opt,name=gift_type_code,json=giftTypeCode,proto3" json:"gift_type_code,omitempty"`
|
||
ChargeAssetType string `protobuf:"bytes,17,opt,name=charge_asset_type,json=chargeAssetType,proto3" json:"charge_asset_type,omitempty"`
|
||
EffectiveFromMs int64 `protobuf:"varint,18,opt,name=effective_from_ms,json=effectiveFromMs,proto3" json:"effective_from_ms,omitempty"`
|
||
EffectiveToMs int64 `protobuf:"varint,19,opt,name=effective_to_ms,json=effectiveToMs,proto3" json:"effective_to_ms,omitempty"`
|
||
EffectTypes []string `protobuf:"bytes,20,rep,name=effect_types,json=effectTypes,proto3" json:"effect_types,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) Reset() {
|
||
*x = UpdateGiftConfigRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[43]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UpdateGiftConfigRequest) ProtoMessage() {}
|
||
|
||
func (x *UpdateGiftConfigRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[43]
|
||
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 UpdateGiftConfigRequest.ProtoReflect.Descriptor instead.
|
||
func (*UpdateGiftConfigRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{43}
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetGiftId() string {
|
||
if x != nil {
|
||
return x.GiftId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetResourceId() int64 {
|
||
if x != nil {
|
||
return x.ResourceId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetPresentationJson() string {
|
||
if x != nil {
|
||
return x.PresentationJson
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetPriceVersion() string {
|
||
if x != nil {
|
||
return x.PriceVersion
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetCoinPrice() int64 {
|
||
if x != nil {
|
||
return x.CoinPrice
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetGiftPointAmount() int64 {
|
||
if x != nil {
|
||
return x.GiftPointAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetHeatValue() int64 {
|
||
if x != nil {
|
||
return x.HeatValue
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetEffectiveAtMs() int64 {
|
||
if x != nil {
|
||
return x.EffectiveAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetRegionIds() []int64 {
|
||
if x != nil {
|
||
return x.RegionIds
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetGiftTypeCode() string {
|
||
if x != nil {
|
||
return x.GiftTypeCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetChargeAssetType() string {
|
||
if x != nil {
|
||
return x.ChargeAssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetEffectiveFromMs() int64 {
|
||
if x != nil {
|
||
return x.EffectiveFromMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetEffectiveToMs() int64 {
|
||
if x != nil {
|
||
return x.EffectiveToMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateGiftConfigRequest) GetEffectTypes() []string {
|
||
if x != nil {
|
||
return x.EffectTypes
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type SetGiftConfigStatusRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
GiftId string `protobuf:"bytes,3,opt,name=gift_id,json=giftId,proto3" json:"gift_id,omitempty"`
|
||
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,5,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *SetGiftConfigStatusRequest) Reset() {
|
||
*x = SetGiftConfigStatusRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[44]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *SetGiftConfigStatusRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SetGiftConfigStatusRequest) ProtoMessage() {}
|
||
|
||
func (x *SetGiftConfigStatusRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[44]
|
||
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 SetGiftConfigStatusRequest.ProtoReflect.Descriptor instead.
|
||
func (*SetGiftConfigStatusRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{44}
|
||
}
|
||
|
||
func (x *SetGiftConfigStatusRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SetGiftConfigStatusRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SetGiftConfigStatusRequest) GetGiftId() string {
|
||
if x != nil {
|
||
return x.GiftId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SetGiftConfigStatusRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SetGiftConfigStatusRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GiftConfigResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Gift *GiftConfig `protobuf:"bytes,1,opt,name=gift,proto3" json:"gift,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GiftConfigResponse) Reset() {
|
||
*x = GiftConfigResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[45]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GiftConfigResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GiftConfigResponse) ProtoMessage() {}
|
||
|
||
func (x *GiftConfigResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[45]
|
||
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 GiftConfigResponse.ProtoReflect.Descriptor instead.
|
||
func (*GiftConfigResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{45}
|
||
}
|
||
|
||
func (x *GiftConfigResponse) GetGift() *GiftConfig {
|
||
if x != nil {
|
||
return x.Gift
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type GrantResourceRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
TargetUserId int64 `protobuf:"varint,3,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
|
||
ResourceId int64 `protobuf:"varint,4,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||
Quantity int64 `protobuf:"varint,5,opt,name=quantity,proto3" json:"quantity,omitempty"`
|
||
DurationMs int64 `protobuf:"varint,6,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
|
||
Reason string `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,8,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
GrantSource string `protobuf:"bytes,9,opt,name=grant_source,json=grantSource,proto3" json:"grant_source,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GrantResourceRequest) Reset() {
|
||
*x = GrantResourceRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[46]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GrantResourceRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GrantResourceRequest) ProtoMessage() {}
|
||
|
||
func (x *GrantResourceRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[46]
|
||
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 GrantResourceRequest.ProtoReflect.Descriptor instead.
|
||
func (*GrantResourceRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{46}
|
||
}
|
||
|
||
func (x *GrantResourceRequest) GetCommandId() string {
|
||
if x != nil {
|
||
return x.CommandId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GrantResourceRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GrantResourceRequest) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GrantResourceRequest) GetResourceId() int64 {
|
||
if x != nil {
|
||
return x.ResourceId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GrantResourceRequest) GetQuantity() int64 {
|
||
if x != nil {
|
||
return x.Quantity
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GrantResourceRequest) GetDurationMs() int64 {
|
||
if x != nil {
|
||
return x.DurationMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GrantResourceRequest) GetReason() string {
|
||
if x != nil {
|
||
return x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GrantResourceRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GrantResourceRequest) GetGrantSource() string {
|
||
if x != nil {
|
||
return x.GrantSource
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type GrantResourceGroupRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
TargetUserId int64 `protobuf:"varint,3,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
|
||
GroupId int64 `protobuf:"varint,4,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
|
||
Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,6,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
GrantSource string `protobuf:"bytes,7,opt,name=grant_source,json=grantSource,proto3" json:"grant_source,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GrantResourceGroupRequest) Reset() {
|
||
*x = GrantResourceGroupRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[47]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GrantResourceGroupRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GrantResourceGroupRequest) ProtoMessage() {}
|
||
|
||
func (x *GrantResourceGroupRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[47]
|
||
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 GrantResourceGroupRequest.ProtoReflect.Descriptor instead.
|
||
func (*GrantResourceGroupRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{47}
|
||
}
|
||
|
||
func (x *GrantResourceGroupRequest) GetCommandId() string {
|
||
if x != nil {
|
||
return x.CommandId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GrantResourceGroupRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GrantResourceGroupRequest) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GrantResourceGroupRequest) GetGroupId() int64 {
|
||
if x != nil {
|
||
return x.GroupId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GrantResourceGroupRequest) GetReason() string {
|
||
if x != nil {
|
||
return x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GrantResourceGroupRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GrantResourceGroupRequest) GetGrantSource() string {
|
||
if x != nil {
|
||
return x.GrantSource
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type ResourceGrantResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Grant *ResourceGrant `protobuf:"bytes,1,opt,name=grant,proto3" json:"grant,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ResourceGrantResponse) Reset() {
|
||
*x = ResourceGrantResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[48]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ResourceGrantResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ResourceGrantResponse) ProtoMessage() {}
|
||
|
||
func (x *ResourceGrantResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[48]
|
||
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 ResourceGrantResponse.ProtoReflect.Descriptor instead.
|
||
func (*ResourceGrantResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{48}
|
||
}
|
||
|
||
func (x *ResourceGrantResponse) GetGrant() *ResourceGrant {
|
||
if x != nil {
|
||
return x.Grant
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type ListUserResourcesRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
|
||
ActiveOnly bool `protobuf:"varint,5,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListUserResourcesRequest) Reset() {
|
||
*x = ListUserResourcesRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[49]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListUserResourcesRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListUserResourcesRequest) ProtoMessage() {}
|
||
|
||
func (x *ListUserResourcesRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[49]
|
||
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 ListUserResourcesRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListUserResourcesRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{49}
|
||
}
|
||
|
||
func (x *ListUserResourcesRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListUserResourcesRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListUserResourcesRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListUserResourcesRequest) GetResourceType() string {
|
||
if x != nil {
|
||
return x.ResourceType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListUserResourcesRequest) GetActiveOnly() bool {
|
||
if x != nil {
|
||
return x.ActiveOnly
|
||
}
|
||
return false
|
||
}
|
||
|
||
type ListUserResourcesResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Resources []*UserResourceEntitlement `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListUserResourcesResponse) Reset() {
|
||
*x = ListUserResourcesResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[50]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListUserResourcesResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListUserResourcesResponse) ProtoMessage() {}
|
||
|
||
func (x *ListUserResourcesResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[50]
|
||
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 ListUserResourcesResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListUserResourcesResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{50}
|
||
}
|
||
|
||
func (x *ListUserResourcesResponse) GetResources() []*UserResourceEntitlement {
|
||
if x != nil {
|
||
return x.Resources
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type EquipUserResourceRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
ResourceId int64 `protobuf:"varint,4,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||
EntitlementId string `protobuf:"bytes,5,opt,name=entitlement_id,json=entitlementId,proto3" json:"entitlement_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *EquipUserResourceRequest) Reset() {
|
||
*x = EquipUserResourceRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[51]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *EquipUserResourceRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*EquipUserResourceRequest) ProtoMessage() {}
|
||
|
||
func (x *EquipUserResourceRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[51]
|
||
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 EquipUserResourceRequest.ProtoReflect.Descriptor instead.
|
||
func (*EquipUserResourceRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{51}
|
||
}
|
||
|
||
func (x *EquipUserResourceRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *EquipUserResourceRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *EquipUserResourceRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *EquipUserResourceRequest) GetResourceId() int64 {
|
||
if x != nil {
|
||
return x.ResourceId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *EquipUserResourceRequest) GetEntitlementId() string {
|
||
if x != nil {
|
||
return x.EntitlementId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type EquipUserResourceResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Resource *UserResourceEntitlement `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *EquipUserResourceResponse) Reset() {
|
||
*x = EquipUserResourceResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[52]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *EquipUserResourceResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*EquipUserResourceResponse) ProtoMessage() {}
|
||
|
||
func (x *EquipUserResourceResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[52]
|
||
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 EquipUserResourceResponse.ProtoReflect.Descriptor instead.
|
||
func (*EquipUserResourceResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{52}
|
||
}
|
||
|
||
func (x *EquipUserResourceResponse) GetResource() *UserResourceEntitlement {
|
||
if x != nil {
|
||
return x.Resource
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type ListResourceGrantsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
TargetUserId int64 `protobuf:"varint,3,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
|
||
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
|
||
Page int32 `protobuf:"varint,5,opt,name=page,proto3" json:"page,omitempty"`
|
||
PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListResourceGrantsRequest) Reset() {
|
||
*x = ListResourceGrantsRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[53]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListResourceGrantsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListResourceGrantsRequest) ProtoMessage() {}
|
||
|
||
func (x *ListResourceGrantsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[53]
|
||
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 ListResourceGrantsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListResourceGrantsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{53}
|
||
}
|
||
|
||
func (x *ListResourceGrantsRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListResourceGrantsRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListResourceGrantsRequest) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListResourceGrantsRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListResourceGrantsRequest) GetPage() int32 {
|
||
if x != nil {
|
||
return x.Page
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListResourceGrantsRequest) GetPageSize() int32 {
|
||
if x != nil {
|
||
return x.PageSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListResourceGrantsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Grants []*ResourceGrant `protobuf:"bytes,1,rep,name=grants,proto3" json:"grants,omitempty"`
|
||
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListResourceGrantsResponse) Reset() {
|
||
*x = ListResourceGrantsResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[54]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListResourceGrantsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListResourceGrantsResponse) ProtoMessage() {}
|
||
|
||
func (x *ListResourceGrantsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[54]
|
||
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 ListResourceGrantsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListResourceGrantsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{54}
|
||
}
|
||
|
||
func (x *ListResourceGrantsResponse) GetGrants() []*ResourceGrant {
|
||
if x != nil {
|
||
return x.Grants
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListResourceGrantsResponse) GetTotal() int64 {
|
||
if x != nil {
|
||
return x.Total
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type RechargeBill struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
TransactionId string `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
|
||
CommandId string `protobuf:"bytes,3,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
|
||
RechargeType string `protobuf:"bytes,4,opt,name=recharge_type,json=rechargeType,proto3" json:"recharge_type,omitempty"`
|
||
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
|
||
ExternalRef string `protobuf:"bytes,6,opt,name=external_ref,json=externalRef,proto3" json:"external_ref,omitempty"`
|
||
UserId int64 `protobuf:"varint,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
SellerUserId int64 `protobuf:"varint,8,opt,name=seller_user_id,json=sellerUserId,proto3" json:"seller_user_id,omitempty"`
|
||
SellerRegionId int64 `protobuf:"varint,9,opt,name=seller_region_id,json=sellerRegionId,proto3" json:"seller_region_id,omitempty"`
|
||
TargetRegionId int64 `protobuf:"varint,10,opt,name=target_region_id,json=targetRegionId,proto3" json:"target_region_id,omitempty"`
|
||
PolicyId int64 `protobuf:"varint,11,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
|
||
PolicyVersion string `protobuf:"bytes,12,opt,name=policy_version,json=policyVersion,proto3" json:"policy_version,omitempty"`
|
||
CurrencyCode string `protobuf:"bytes,13,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
|
||
CoinAmount int64 `protobuf:"varint,14,opt,name=coin_amount,json=coinAmount,proto3" json:"coin_amount,omitempty"`
|
||
UsdMinorAmount int64 `protobuf:"varint,15,opt,name=usd_minor_amount,json=usdMinorAmount,proto3" json:"usd_minor_amount,omitempty"`
|
||
ExchangeCoinAmount int64 `protobuf:"varint,16,opt,name=exchange_coin_amount,json=exchangeCoinAmount,proto3" json:"exchange_coin_amount,omitempty"`
|
||
ExchangeUsdMinorAmount int64 `protobuf:"varint,17,opt,name=exchange_usd_minor_amount,json=exchangeUsdMinorAmount,proto3" json:"exchange_usd_minor_amount,omitempty"`
|
||
CreatedAtMs int64 `protobuf:"varint,18,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RechargeBill) Reset() {
|
||
*x = RechargeBill{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[55]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RechargeBill) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RechargeBill) ProtoMessage() {}
|
||
|
||
func (x *RechargeBill) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[55]
|
||
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 RechargeBill.ProtoReflect.Descriptor instead.
|
||
func (*RechargeBill) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{55}
|
||
}
|
||
|
||
func (x *RechargeBill) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RechargeBill) GetTransactionId() string {
|
||
if x != nil {
|
||
return x.TransactionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RechargeBill) GetCommandId() string {
|
||
if x != nil {
|
||
return x.CommandId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RechargeBill) GetRechargeType() string {
|
||
if x != nil {
|
||
return x.RechargeType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RechargeBill) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RechargeBill) GetExternalRef() string {
|
||
if x != nil {
|
||
return x.ExternalRef
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RechargeBill) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeBill) GetSellerUserId() int64 {
|
||
if x != nil {
|
||
return x.SellerUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeBill) GetSellerRegionId() int64 {
|
||
if x != nil {
|
||
return x.SellerRegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeBill) GetTargetRegionId() int64 {
|
||
if x != nil {
|
||
return x.TargetRegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeBill) GetPolicyId() int64 {
|
||
if x != nil {
|
||
return x.PolicyId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeBill) GetPolicyVersion() string {
|
||
if x != nil {
|
||
return x.PolicyVersion
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RechargeBill) GetCurrencyCode() string {
|
||
if x != nil {
|
||
return x.CurrencyCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RechargeBill) GetCoinAmount() int64 {
|
||
if x != nil {
|
||
return x.CoinAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeBill) GetUsdMinorAmount() int64 {
|
||
if x != nil {
|
||
return x.UsdMinorAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeBill) GetExchangeCoinAmount() int64 {
|
||
if x != nil {
|
||
return x.ExchangeCoinAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeBill) GetExchangeUsdMinorAmount() int64 {
|
||
if x != nil {
|
||
return x.ExchangeUsdMinorAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeBill) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListRechargeBillsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
SellerUserId int64 `protobuf:"varint,4,opt,name=seller_user_id,json=sellerUserId,proto3" json:"seller_user_id,omitempty"`
|
||
RegionId int64 `protobuf:"varint,5,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
|
||
RechargeType string `protobuf:"bytes,6,opt,name=recharge_type,json=rechargeType,proto3" json:"recharge_type,omitempty"`
|
||
Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
|
||
Keyword string `protobuf:"bytes,8,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
||
StartAtMs int64 `protobuf:"varint,9,opt,name=start_at_ms,json=startAtMs,proto3" json:"start_at_ms,omitempty"`
|
||
EndAtMs int64 `protobuf:"varint,10,opt,name=end_at_ms,json=endAtMs,proto3" json:"end_at_ms,omitempty"`
|
||
Page int32 `protobuf:"varint,11,opt,name=page,proto3" json:"page,omitempty"`
|
||
PageSize int32 `protobuf:"varint,12,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListRechargeBillsRequest) Reset() {
|
||
*x = ListRechargeBillsRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[56]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListRechargeBillsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListRechargeBillsRequest) ProtoMessage() {}
|
||
|
||
func (x *ListRechargeBillsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[56]
|
||
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 ListRechargeBillsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListRechargeBillsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{56}
|
||
}
|
||
|
||
func (x *ListRechargeBillsRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListRechargeBillsRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListRechargeBillsRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListRechargeBillsRequest) GetSellerUserId() int64 {
|
||
if x != nil {
|
||
return x.SellerUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListRechargeBillsRequest) GetRegionId() int64 {
|
||
if x != nil {
|
||
return x.RegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListRechargeBillsRequest) GetRechargeType() string {
|
||
if x != nil {
|
||
return x.RechargeType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListRechargeBillsRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListRechargeBillsRequest) GetKeyword() string {
|
||
if x != nil {
|
||
return x.Keyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListRechargeBillsRequest) GetStartAtMs() int64 {
|
||
if x != nil {
|
||
return x.StartAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListRechargeBillsRequest) GetEndAtMs() int64 {
|
||
if x != nil {
|
||
return x.EndAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListRechargeBillsRequest) GetPage() int32 {
|
||
if x != nil {
|
||
return x.Page
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListRechargeBillsRequest) GetPageSize() int32 {
|
||
if x != nil {
|
||
return x.PageSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListRechargeBillsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Bills []*RechargeBill `protobuf:"bytes,1,rep,name=bills,proto3" json:"bills,omitempty"`
|
||
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListRechargeBillsResponse) Reset() {
|
||
*x = ListRechargeBillsResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[57]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListRechargeBillsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListRechargeBillsResponse) ProtoMessage() {}
|
||
|
||
func (x *ListRechargeBillsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[57]
|
||
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 ListRechargeBillsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListRechargeBillsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{57}
|
||
}
|
||
|
||
func (x *ListRechargeBillsResponse) GetBills() []*RechargeBill {
|
||
if x != nil {
|
||
return x.Bills
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListRechargeBillsResponse) GetTotal() int64 {
|
||
if x != nil {
|
||
return x.Total
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// WalletFeatureFlags 是我的页和钱包首页使用的操作开关,来源属于 wallet-service。
|
||
type WalletFeatureFlags struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RechargeEnabled bool `protobuf:"varint,1,opt,name=recharge_enabled,json=rechargeEnabled,proto3" json:"recharge_enabled,omitempty"`
|
||
DiamondExchangeEnabled bool `protobuf:"varint,2,opt,name=diamond_exchange_enabled,json=diamondExchangeEnabled,proto3" json:"diamond_exchange_enabled,omitempty"`
|
||
WithdrawEnabled bool `protobuf:"varint,3,opt,name=withdraw_enabled,json=withdrawEnabled,proto3" json:"withdraw_enabled,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *WalletFeatureFlags) Reset() {
|
||
*x = WalletFeatureFlags{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[58]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *WalletFeatureFlags) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*WalletFeatureFlags) ProtoMessage() {}
|
||
|
||
func (x *WalletFeatureFlags) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[58]
|
||
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 WalletFeatureFlags.ProtoReflect.Descriptor instead.
|
||
func (*WalletFeatureFlags) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{58}
|
||
}
|
||
|
||
func (x *WalletFeatureFlags) GetRechargeEnabled() bool {
|
||
if x != nil {
|
||
return x.RechargeEnabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *WalletFeatureFlags) GetDiamondExchangeEnabled() bool {
|
||
if x != nil {
|
||
return x.DiamondExchangeEnabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *WalletFeatureFlags) GetWithdrawEnabled() bool {
|
||
if x != nil {
|
||
return x.WithdrawEnabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
type GetWalletOverviewRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetWalletOverviewRequest) Reset() {
|
||
*x = GetWalletOverviewRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[59]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetWalletOverviewRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetWalletOverviewRequest) ProtoMessage() {}
|
||
|
||
func (x *GetWalletOverviewRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[59]
|
||
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 GetWalletOverviewRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetWalletOverviewRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{59}
|
||
}
|
||
|
||
func (x *GetWalletOverviewRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetWalletOverviewRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetWalletOverviewRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetWalletOverviewResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Balances []*AssetBalance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"`
|
||
FeatureFlags *WalletFeatureFlags `protobuf:"bytes,2,opt,name=feature_flags,json=featureFlags,proto3" json:"feature_flags,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetWalletOverviewResponse) Reset() {
|
||
*x = GetWalletOverviewResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[60]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetWalletOverviewResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetWalletOverviewResponse) ProtoMessage() {}
|
||
|
||
func (x *GetWalletOverviewResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[60]
|
||
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 GetWalletOverviewResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetWalletOverviewResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{60}
|
||
}
|
||
|
||
func (x *GetWalletOverviewResponse) GetBalances() []*AssetBalance {
|
||
if x != nil {
|
||
return x.Balances
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GetWalletOverviewResponse) GetFeatureFlags() *WalletFeatureFlags {
|
||
if x != nil {
|
||
return x.FeatureFlags
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// WalletValueSummary 是我的页钱包价值展示的轻量投影,只返回首屏展示需要的金币余额。
|
||
type WalletValueSummary struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CoinAmount int64 `protobuf:"varint,1,opt,name=coin_amount,json=coinAmount,proto3" json:"coin_amount,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,2,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *WalletValueSummary) Reset() {
|
||
*x = WalletValueSummary{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[61]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *WalletValueSummary) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*WalletValueSummary) ProtoMessage() {}
|
||
|
||
func (x *WalletValueSummary) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[61]
|
||
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 WalletValueSummary.ProtoReflect.Descriptor instead.
|
||
func (*WalletValueSummary) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{61}
|
||
}
|
||
|
||
func (x *WalletValueSummary) GetCoinAmount() int64 {
|
||
if x != nil {
|
||
return x.CoinAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *WalletValueSummary) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetWalletValueSummaryRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetWalletValueSummaryRequest) Reset() {
|
||
*x = GetWalletValueSummaryRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[62]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetWalletValueSummaryRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetWalletValueSummaryRequest) ProtoMessage() {}
|
||
|
||
func (x *GetWalletValueSummaryRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[62]
|
||
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 GetWalletValueSummaryRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetWalletValueSummaryRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{62}
|
||
}
|
||
|
||
func (x *GetWalletValueSummaryRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetWalletValueSummaryRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetWalletValueSummaryRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetWalletValueSummaryResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Summary *WalletValueSummary `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetWalletValueSummaryResponse) Reset() {
|
||
*x = GetWalletValueSummaryResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[63]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetWalletValueSummaryResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetWalletValueSummaryResponse) ProtoMessage() {}
|
||
|
||
func (x *GetWalletValueSummaryResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[63]
|
||
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 GetWalletValueSummaryResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetWalletValueSummaryResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{63}
|
||
}
|
||
|
||
func (x *GetWalletValueSummaryResponse) GetSummary() *WalletValueSummary {
|
||
if x != nil {
|
||
return x.Summary
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// GiftWallItem 是用户礼物墙按礼物类型聚合后的当前投影。
|
||
type GiftWallItem struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
GiftId string `protobuf:"bytes,1,opt,name=gift_id,json=giftId,proto3" json:"gift_id,omitempty"`
|
||
GiftName string `protobuf:"bytes,2,opt,name=gift_name,json=giftName,proto3" json:"gift_name,omitempty"`
|
||
ResourceId int64 `protobuf:"varint,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||
Resource *Resource `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"`
|
||
ResourceSnapshotJson string `protobuf:"bytes,5,opt,name=resource_snapshot_json,json=resourceSnapshotJson,proto3" json:"resource_snapshot_json,omitempty"`
|
||
GiftTypeCode string `protobuf:"bytes,6,opt,name=gift_type_code,json=giftTypeCode,proto3" json:"gift_type_code,omitempty"`
|
||
PresentationJson string `protobuf:"bytes,7,opt,name=presentation_json,json=presentationJson,proto3" json:"presentation_json,omitempty"`
|
||
GiftCount int64 `protobuf:"varint,8,opt,name=gift_count,json=giftCount,proto3" json:"gift_count,omitempty"`
|
||
TotalValue int64 `protobuf:"varint,9,opt,name=total_value,json=totalValue,proto3" json:"total_value,omitempty"`
|
||
TotalCoinValue int64 `protobuf:"varint,10,opt,name=total_coin_value,json=totalCoinValue,proto3" json:"total_coin_value,omitempty"`
|
||
TotalDiamondValue int64 `protobuf:"varint,11,opt,name=total_diamond_value,json=totalDiamondValue,proto3" json:"total_diamond_value,omitempty"`
|
||
TotalGiftPoint int64 `protobuf:"varint,12,opt,name=total_gift_point,json=totalGiftPoint,proto3" json:"total_gift_point,omitempty"`
|
||
TotalHeatValue int64 `protobuf:"varint,13,opt,name=total_heat_value,json=totalHeatValue,proto3" json:"total_heat_value,omitempty"`
|
||
ChargeAssetType string `protobuf:"bytes,14,opt,name=charge_asset_type,json=chargeAssetType,proto3" json:"charge_asset_type,omitempty"`
|
||
LastPriceVersion string `protobuf:"bytes,15,opt,name=last_price_version,json=lastPriceVersion,proto3" json:"last_price_version,omitempty"`
|
||
FirstReceivedAtMs int64 `protobuf:"varint,16,opt,name=first_received_at_ms,json=firstReceivedAtMs,proto3" json:"first_received_at_ms,omitempty"`
|
||
LastReceivedAtMs int64 `protobuf:"varint,17,opt,name=last_received_at_ms,json=lastReceivedAtMs,proto3" json:"last_received_at_ms,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,18,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GiftWallItem) Reset() {
|
||
*x = GiftWallItem{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[64]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GiftWallItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GiftWallItem) ProtoMessage() {}
|
||
|
||
func (x *GiftWallItem) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[64]
|
||
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 GiftWallItem.ProtoReflect.Descriptor instead.
|
||
func (*GiftWallItem) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{64}
|
||
}
|
||
|
||
func (x *GiftWallItem) GetGiftId() string {
|
||
if x != nil {
|
||
return x.GiftId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftWallItem) GetGiftName() string {
|
||
if x != nil {
|
||
return x.GiftName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftWallItem) GetResourceId() int64 {
|
||
if x != nil {
|
||
return x.ResourceId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftWallItem) GetResource() *Resource {
|
||
if x != nil {
|
||
return x.Resource
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GiftWallItem) GetResourceSnapshotJson() string {
|
||
if x != nil {
|
||
return x.ResourceSnapshotJson
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftWallItem) GetGiftTypeCode() string {
|
||
if x != nil {
|
||
return x.GiftTypeCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftWallItem) GetPresentationJson() string {
|
||
if x != nil {
|
||
return x.PresentationJson
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftWallItem) GetGiftCount() int64 {
|
||
if x != nil {
|
||
return x.GiftCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftWallItem) GetTotalValue() int64 {
|
||
if x != nil {
|
||
return x.TotalValue
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftWallItem) GetTotalCoinValue() int64 {
|
||
if x != nil {
|
||
return x.TotalCoinValue
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftWallItem) GetTotalDiamondValue() int64 {
|
||
if x != nil {
|
||
return x.TotalDiamondValue
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftWallItem) GetTotalGiftPoint() int64 {
|
||
if x != nil {
|
||
return x.TotalGiftPoint
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftWallItem) GetTotalHeatValue() int64 {
|
||
if x != nil {
|
||
return x.TotalHeatValue
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftWallItem) GetChargeAssetType() string {
|
||
if x != nil {
|
||
return x.ChargeAssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftWallItem) GetLastPriceVersion() string {
|
||
if x != nil {
|
||
return x.LastPriceVersion
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GiftWallItem) GetFirstReceivedAtMs() int64 {
|
||
if x != nil {
|
||
return x.FirstReceivedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftWallItem) GetLastReceivedAtMs() int64 {
|
||
if x != nil {
|
||
return x.LastReceivedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GiftWallItem) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetUserGiftWallRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetUserGiftWallRequest) Reset() {
|
||
*x = GetUserGiftWallRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[65]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetUserGiftWallRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetUserGiftWallRequest) ProtoMessage() {}
|
||
|
||
func (x *GetUserGiftWallRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[65]
|
||
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 GetUserGiftWallRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetUserGiftWallRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{65}
|
||
}
|
||
|
||
func (x *GetUserGiftWallRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetUserGiftWallRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetUserGiftWallRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetUserGiftWallResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Items []*GiftWallItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
||
GiftKindCount int64 `protobuf:"varint,2,opt,name=gift_kind_count,json=giftKindCount,proto3" json:"gift_kind_count,omitempty"`
|
||
GiftTotalCount int64 `protobuf:"varint,3,opt,name=gift_total_count,json=giftTotalCount,proto3" json:"gift_total_count,omitempty"`
|
||
TotalValue int64 `protobuf:"varint,4,opt,name=total_value,json=totalValue,proto3" json:"total_value,omitempty"`
|
||
TotalCoinValue int64 `protobuf:"varint,5,opt,name=total_coin_value,json=totalCoinValue,proto3" json:"total_coin_value,omitempty"`
|
||
TotalDiamondValue int64 `protobuf:"varint,6,opt,name=total_diamond_value,json=totalDiamondValue,proto3" json:"total_diamond_value,omitempty"`
|
||
TotalGiftPoint int64 `protobuf:"varint,7,opt,name=total_gift_point,json=totalGiftPoint,proto3" json:"total_gift_point,omitempty"`
|
||
TotalHeatValue int64 `protobuf:"varint,8,opt,name=total_heat_value,json=totalHeatValue,proto3" json:"total_heat_value,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetUserGiftWallResponse) Reset() {
|
||
*x = GetUserGiftWallResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[66]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetUserGiftWallResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetUserGiftWallResponse) ProtoMessage() {}
|
||
|
||
func (x *GetUserGiftWallResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[66]
|
||
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 GetUserGiftWallResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetUserGiftWallResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{66}
|
||
}
|
||
|
||
func (x *GetUserGiftWallResponse) GetItems() []*GiftWallItem {
|
||
if x != nil {
|
||
return x.Items
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GetUserGiftWallResponse) GetGiftKindCount() int64 {
|
||
if x != nil {
|
||
return x.GiftKindCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetUserGiftWallResponse) GetGiftTotalCount() int64 {
|
||
if x != nil {
|
||
return x.GiftTotalCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetUserGiftWallResponse) GetTotalValue() int64 {
|
||
if x != nil {
|
||
return x.TotalValue
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetUserGiftWallResponse) GetTotalCoinValue() int64 {
|
||
if x != nil {
|
||
return x.TotalCoinValue
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetUserGiftWallResponse) GetTotalDiamondValue() int64 {
|
||
if x != nil {
|
||
return x.TotalDiamondValue
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetUserGiftWallResponse) GetTotalGiftPoint() int64 {
|
||
if x != nil {
|
||
return x.TotalGiftPoint
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetUserGiftWallResponse) GetTotalHeatValue() int64 {
|
||
if x != nil {
|
||
return x.TotalHeatValue
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// RechargeProduct 是 App 充值页可展示的区域化充值档位。
|
||
type RechargeProduct struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ProductId int64 `protobuf:"varint,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
|
||
ProductCode string `protobuf:"bytes,2,opt,name=product_code,json=productCode,proto3" json:"product_code,omitempty"`
|
||
Channel string `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"`
|
||
CurrencyCode string `protobuf:"bytes,4,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
|
||
CoinAmount int64 `protobuf:"varint,5,opt,name=coin_amount,json=coinAmount,proto3" json:"coin_amount,omitempty"`
|
||
AmountMinor int64 `protobuf:"varint,6,opt,name=amount_minor,json=amountMinor,proto3" json:"amount_minor,omitempty"`
|
||
PolicyVersion string `protobuf:"bytes,7,opt,name=policy_version,json=policyVersion,proto3" json:"policy_version,omitempty"`
|
||
Enabled bool `protobuf:"varint,8,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,9,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
ProductName string `protobuf:"bytes,10,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"`
|
||
Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"`
|
||
Platform string `protobuf:"bytes,12,opt,name=platform,proto3" json:"platform,omitempty"`
|
||
RegionIds []int64 `protobuf:"varint,13,rep,packed,name=region_ids,json=regionIds,proto3" json:"region_ids,omitempty"`
|
||
ResourceAssetType string `protobuf:"bytes,14,opt,name=resource_asset_type,json=resourceAssetType,proto3" json:"resource_asset_type,omitempty"`
|
||
AmountMicro int64 `protobuf:"varint,15,opt,name=amount_micro,json=amountMicro,proto3" json:"amount_micro,omitempty"`
|
||
CreatedByUserId int64 `protobuf:"varint,16,opt,name=created_by_user_id,json=createdByUserId,proto3" json:"created_by_user_id,omitempty"`
|
||
UpdatedByUserId int64 `protobuf:"varint,17,opt,name=updated_by_user_id,json=updatedByUserId,proto3" json:"updated_by_user_id,omitempty"`
|
||
CreatedAtMs int64 `protobuf:"varint,18,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,19,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
AppCode string `protobuf:"bytes,20,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
Status string `protobuf:"bytes,21,opt,name=status,proto3" json:"status,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RechargeProduct) Reset() {
|
||
*x = RechargeProduct{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[67]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RechargeProduct) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RechargeProduct) ProtoMessage() {}
|
||
|
||
func (x *RechargeProduct) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[67]
|
||
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 RechargeProduct.ProtoReflect.Descriptor instead.
|
||
func (*RechargeProduct) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{67}
|
||
}
|
||
|
||
func (x *RechargeProduct) GetProductId() int64 {
|
||
if x != nil {
|
||
return x.ProductId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeProduct) GetProductCode() string {
|
||
if x != nil {
|
||
return x.ProductCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RechargeProduct) GetChannel() string {
|
||
if x != nil {
|
||
return x.Channel
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RechargeProduct) GetCurrencyCode() string {
|
||
if x != nil {
|
||
return x.CurrencyCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RechargeProduct) GetCoinAmount() int64 {
|
||
if x != nil {
|
||
return x.CoinAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeProduct) GetAmountMinor() int64 {
|
||
if x != nil {
|
||
return x.AmountMinor
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeProduct) GetPolicyVersion() string {
|
||
if x != nil {
|
||
return x.PolicyVersion
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RechargeProduct) GetEnabled() bool {
|
||
if x != nil {
|
||
return x.Enabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *RechargeProduct) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeProduct) GetProductName() string {
|
||
if x != nil {
|
||
return x.ProductName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RechargeProduct) GetDescription() string {
|
||
if x != nil {
|
||
return x.Description
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RechargeProduct) GetPlatform() string {
|
||
if x != nil {
|
||
return x.Platform
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RechargeProduct) GetRegionIds() []int64 {
|
||
if x != nil {
|
||
return x.RegionIds
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *RechargeProduct) GetResourceAssetType() string {
|
||
if x != nil {
|
||
return x.ResourceAssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RechargeProduct) GetAmountMicro() int64 {
|
||
if x != nil {
|
||
return x.AmountMicro
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeProduct) GetCreatedByUserId() int64 {
|
||
if x != nil {
|
||
return x.CreatedByUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeProduct) GetUpdatedByUserId() int64 {
|
||
if x != nil {
|
||
return x.UpdatedByUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeProduct) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeProduct) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RechargeProduct) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *RechargeProduct) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type ListRechargeProductsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
RegionId int64 `protobuf:"varint,4,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
|
||
// platform 来自 gateway 解析的 App 平台请求头;为空时返回该区域全部已上架商品。
|
||
Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListRechargeProductsRequest) Reset() {
|
||
*x = ListRechargeProductsRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[68]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListRechargeProductsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListRechargeProductsRequest) ProtoMessage() {}
|
||
|
||
func (x *ListRechargeProductsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[68]
|
||
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 ListRechargeProductsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListRechargeProductsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{68}
|
||
}
|
||
|
||
func (x *ListRechargeProductsRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListRechargeProductsRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListRechargeProductsRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListRechargeProductsRequest) GetRegionId() int64 {
|
||
if x != nil {
|
||
return x.RegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListRechargeProductsRequest) GetPlatform() string {
|
||
if x != nil {
|
||
return x.Platform
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type ListRechargeProductsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Products []*RechargeProduct `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"`
|
||
Channels []string `protobuf:"bytes,2,rep,name=channels,proto3" json:"channels,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListRechargeProductsResponse) Reset() {
|
||
*x = ListRechargeProductsResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[69]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListRechargeProductsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListRechargeProductsResponse) ProtoMessage() {}
|
||
|
||
func (x *ListRechargeProductsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[69]
|
||
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 ListRechargeProductsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListRechargeProductsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{69}
|
||
}
|
||
|
||
func (x *ListRechargeProductsResponse) GetProducts() []*RechargeProduct {
|
||
if x != nil {
|
||
return x.Products
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListRechargeProductsResponse) GetChannels() []string {
|
||
if x != nil {
|
||
return x.Channels
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// ListAdminRechargeProductsRequest 是后台内购配置列表查询,不参与用户充值主链路。
|
||
type ListAdminRechargeProductsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
||
Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"`
|
||
RegionId int64 `protobuf:"varint,5,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
|
||
Keyword string `protobuf:"bytes,6,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
||
Page int32 `protobuf:"varint,7,opt,name=page,proto3" json:"page,omitempty"`
|
||
PageSize int32 `protobuf:"varint,8,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListAdminRechargeProductsRequest) Reset() {
|
||
*x = ListAdminRechargeProductsRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[70]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListAdminRechargeProductsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListAdminRechargeProductsRequest) ProtoMessage() {}
|
||
|
||
func (x *ListAdminRechargeProductsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[70]
|
||
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 ListAdminRechargeProductsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListAdminRechargeProductsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{70}
|
||
}
|
||
|
||
func (x *ListAdminRechargeProductsRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListAdminRechargeProductsRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListAdminRechargeProductsRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListAdminRechargeProductsRequest) GetPlatform() string {
|
||
if x != nil {
|
||
return x.Platform
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListAdminRechargeProductsRequest) GetRegionId() int64 {
|
||
if x != nil {
|
||
return x.RegionId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListAdminRechargeProductsRequest) GetKeyword() string {
|
||
if x != nil {
|
||
return x.Keyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListAdminRechargeProductsRequest) GetPage() int32 {
|
||
if x != nil {
|
||
return x.Page
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListAdminRechargeProductsRequest) GetPageSize() int32 {
|
||
if x != nil {
|
||
return x.PageSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListAdminRechargeProductsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Products []*RechargeProduct `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"`
|
||
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListAdminRechargeProductsResponse) Reset() {
|
||
*x = ListAdminRechargeProductsResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[71]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListAdminRechargeProductsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListAdminRechargeProductsResponse) ProtoMessage() {}
|
||
|
||
func (x *ListAdminRechargeProductsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[71]
|
||
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 ListAdminRechargeProductsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListAdminRechargeProductsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{71}
|
||
}
|
||
|
||
func (x *ListAdminRechargeProductsResponse) GetProducts() []*RechargeProduct {
|
||
if x != nil {
|
||
return x.Products
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListAdminRechargeProductsResponse) GetTotal() int64 {
|
||
if x != nil {
|
||
return x.Total
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// CreateRechargeProductRequest 配置一个 App 内购商品;首版资源资产固定为 COIN。
|
||
type CreateRechargeProductRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
AmountMicro int64 `protobuf:"varint,3,opt,name=amount_micro,json=amountMicro,proto3" json:"amount_micro,omitempty"`
|
||
CoinAmount int64 `protobuf:"varint,4,opt,name=coin_amount,json=coinAmount,proto3" json:"coin_amount,omitempty"`
|
||
ProductName string `protobuf:"bytes,5,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"`
|
||
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
|
||
Platform string `protobuf:"bytes,7,opt,name=platform,proto3" json:"platform,omitempty"`
|
||
RegionIds []int64 `protobuf:"varint,8,rep,packed,name=region_ids,json=regionIds,proto3" json:"region_ids,omitempty"`
|
||
Enabled bool `protobuf:"varint,9,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,10,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateRechargeProductRequest) Reset() {
|
||
*x = CreateRechargeProductRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[72]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CreateRechargeProductRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CreateRechargeProductRequest) ProtoMessage() {}
|
||
|
||
func (x *CreateRechargeProductRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[72]
|
||
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 CreateRechargeProductRequest.ProtoReflect.Descriptor instead.
|
||
func (*CreateRechargeProductRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{72}
|
||
}
|
||
|
||
func (x *CreateRechargeProductRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateRechargeProductRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateRechargeProductRequest) GetAmountMicro() int64 {
|
||
if x != nil {
|
||
return x.AmountMicro
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateRechargeProductRequest) GetCoinAmount() int64 {
|
||
if x != nil {
|
||
return x.CoinAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreateRechargeProductRequest) GetProductName() string {
|
||
if x != nil {
|
||
return x.ProductName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateRechargeProductRequest) GetDescription() string {
|
||
if x != nil {
|
||
return x.Description
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateRechargeProductRequest) GetPlatform() string {
|
||
if x != nil {
|
||
return x.Platform
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateRechargeProductRequest) GetRegionIds() []int64 {
|
||
if x != nil {
|
||
return x.RegionIds
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CreateRechargeProductRequest) GetEnabled() bool {
|
||
if x != nil {
|
||
return x.Enabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *CreateRechargeProductRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type UpdateRechargeProductRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
ProductId int64 `protobuf:"varint,3,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
|
||
AmountMicro int64 `protobuf:"varint,4,opt,name=amount_micro,json=amountMicro,proto3" json:"amount_micro,omitempty"`
|
||
CoinAmount int64 `protobuf:"varint,5,opt,name=coin_amount,json=coinAmount,proto3" json:"coin_amount,omitempty"`
|
||
ProductName string `protobuf:"bytes,6,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"`
|
||
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
|
||
Platform string `protobuf:"bytes,8,opt,name=platform,proto3" json:"platform,omitempty"`
|
||
RegionIds []int64 `protobuf:"varint,9,rep,packed,name=region_ids,json=regionIds,proto3" json:"region_ids,omitempty"`
|
||
Enabled bool `protobuf:"varint,10,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,11,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpdateRechargeProductRequest) Reset() {
|
||
*x = UpdateRechargeProductRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[73]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UpdateRechargeProductRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UpdateRechargeProductRequest) ProtoMessage() {}
|
||
|
||
func (x *UpdateRechargeProductRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[73]
|
||
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 UpdateRechargeProductRequest.ProtoReflect.Descriptor instead.
|
||
func (*UpdateRechargeProductRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{73}
|
||
}
|
||
|
||
func (x *UpdateRechargeProductRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateRechargeProductRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateRechargeProductRequest) GetProductId() int64 {
|
||
if x != nil {
|
||
return x.ProductId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateRechargeProductRequest) GetAmountMicro() int64 {
|
||
if x != nil {
|
||
return x.AmountMicro
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateRechargeProductRequest) GetCoinAmount() int64 {
|
||
if x != nil {
|
||
return x.CoinAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UpdateRechargeProductRequest) GetProductName() string {
|
||
if x != nil {
|
||
return x.ProductName
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateRechargeProductRequest) GetDescription() string {
|
||
if x != nil {
|
||
return x.Description
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateRechargeProductRequest) GetPlatform() string {
|
||
if x != nil {
|
||
return x.Platform
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UpdateRechargeProductRequest) GetRegionIds() []int64 {
|
||
if x != nil {
|
||
return x.RegionIds
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *UpdateRechargeProductRequest) GetEnabled() bool {
|
||
if x != nil {
|
||
return x.Enabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *UpdateRechargeProductRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type DeleteRechargeProductRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
ProductId int64 `protobuf:"varint,3,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
|
||
OperatorUserId int64 `protobuf:"varint,4,opt,name=operator_user_id,json=operatorUserId,proto3" json:"operator_user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *DeleteRechargeProductRequest) Reset() {
|
||
*x = DeleteRechargeProductRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[74]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *DeleteRechargeProductRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DeleteRechargeProductRequest) ProtoMessage() {}
|
||
|
||
func (x *DeleteRechargeProductRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[74]
|
||
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 DeleteRechargeProductRequest.ProtoReflect.Descriptor instead.
|
||
func (*DeleteRechargeProductRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{74}
|
||
}
|
||
|
||
func (x *DeleteRechargeProductRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DeleteRechargeProductRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DeleteRechargeProductRequest) GetProductId() int64 {
|
||
if x != nil {
|
||
return x.ProductId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DeleteRechargeProductRequest) GetOperatorUserId() int64 {
|
||
if x != nil {
|
||
return x.OperatorUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type RechargeProductResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Product *RechargeProduct `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RechargeProductResponse) Reset() {
|
||
*x = RechargeProductResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[75]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RechargeProductResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RechargeProductResponse) ProtoMessage() {}
|
||
|
||
func (x *RechargeProductResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[75]
|
||
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 RechargeProductResponse.ProtoReflect.Descriptor instead.
|
||
func (*RechargeProductResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{75}
|
||
}
|
||
|
||
func (x *RechargeProductResponse) GetProduct() *RechargeProduct {
|
||
if x != nil {
|
||
return x.Product
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type DeleteRechargeProductResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *DeleteRechargeProductResponse) Reset() {
|
||
*x = DeleteRechargeProductResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[76]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *DeleteRechargeProductResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DeleteRechargeProductResponse) ProtoMessage() {}
|
||
|
||
func (x *DeleteRechargeProductResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[76]
|
||
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 DeleteRechargeProductResponse.ProtoReflect.Descriptor instead.
|
||
func (*DeleteRechargeProductResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{76}
|
||
}
|
||
|
||
func (x *DeleteRechargeProductResponse) GetDeleted() bool {
|
||
if x != nil {
|
||
return x.Deleted
|
||
}
|
||
return false
|
||
}
|
||
|
||
type DiamondExchangeRule struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ExchangeType string `protobuf:"bytes,1,opt,name=exchange_type,json=exchangeType,proto3" json:"exchange_type,omitempty"`
|
||
FromAssetType string `protobuf:"bytes,2,opt,name=from_asset_type,json=fromAssetType,proto3" json:"from_asset_type,omitempty"`
|
||
ToAssetType string `protobuf:"bytes,3,opt,name=to_asset_type,json=toAssetType,proto3" json:"to_asset_type,omitempty"`
|
||
FromAmount int64 `protobuf:"varint,4,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"`
|
||
ToAmount int64 `protobuf:"varint,5,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"`
|
||
Enabled bool `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *DiamondExchangeRule) Reset() {
|
||
*x = DiamondExchangeRule{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[77]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *DiamondExchangeRule) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DiamondExchangeRule) ProtoMessage() {}
|
||
|
||
func (x *DiamondExchangeRule) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[77]
|
||
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 DiamondExchangeRule.ProtoReflect.Descriptor instead.
|
||
func (*DiamondExchangeRule) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{77}
|
||
}
|
||
|
||
func (x *DiamondExchangeRule) GetExchangeType() string {
|
||
if x != nil {
|
||
return x.ExchangeType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DiamondExchangeRule) GetFromAssetType() string {
|
||
if x != nil {
|
||
return x.FromAssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DiamondExchangeRule) GetToAssetType() string {
|
||
if x != nil {
|
||
return x.ToAssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *DiamondExchangeRule) GetFromAmount() int64 {
|
||
if x != nil {
|
||
return x.FromAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DiamondExchangeRule) GetToAmount() int64 {
|
||
if x != nil {
|
||
return x.ToAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *DiamondExchangeRule) GetEnabled() bool {
|
||
if x != nil {
|
||
return x.Enabled
|
||
}
|
||
return false
|
||
}
|
||
|
||
type GetDiamondExchangeConfigRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetDiamondExchangeConfigRequest) Reset() {
|
||
*x = GetDiamondExchangeConfigRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[78]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetDiamondExchangeConfigRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetDiamondExchangeConfigRequest) ProtoMessage() {}
|
||
|
||
func (x *GetDiamondExchangeConfigRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[78]
|
||
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 GetDiamondExchangeConfigRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetDiamondExchangeConfigRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{78}
|
||
}
|
||
|
||
func (x *GetDiamondExchangeConfigRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetDiamondExchangeConfigRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetDiamondExchangeConfigRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetDiamondExchangeConfigResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Rules []*DiamondExchangeRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetDiamondExchangeConfigResponse) Reset() {
|
||
*x = GetDiamondExchangeConfigResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[79]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetDiamondExchangeConfigResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetDiamondExchangeConfigResponse) ProtoMessage() {}
|
||
|
||
func (x *GetDiamondExchangeConfigResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[79]
|
||
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 GetDiamondExchangeConfigResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetDiamondExchangeConfigResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{79}
|
||
}
|
||
|
||
func (x *GetDiamondExchangeConfigResponse) GetRules() []*DiamondExchangeRule {
|
||
if x != nil {
|
||
return x.Rules
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// WalletTransaction 是用户钱包流水页使用的分录级投影。
|
||
type WalletTransaction struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
EntryId int64 `protobuf:"varint,1,opt,name=entry_id,json=entryId,proto3" json:"entry_id,omitempty"`
|
||
TransactionId string `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
|
||
BizType string `protobuf:"bytes,3,opt,name=biz_type,json=bizType,proto3" json:"biz_type,omitempty"`
|
||
AssetType string `protobuf:"bytes,4,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
||
AvailableDelta int64 `protobuf:"varint,5,opt,name=available_delta,json=availableDelta,proto3" json:"available_delta,omitempty"`
|
||
FrozenDelta int64 `protobuf:"varint,6,opt,name=frozen_delta,json=frozenDelta,proto3" json:"frozen_delta,omitempty"`
|
||
AvailableAfter int64 `protobuf:"varint,7,opt,name=available_after,json=availableAfter,proto3" json:"available_after,omitempty"`
|
||
FrozenAfter int64 `protobuf:"varint,8,opt,name=frozen_after,json=frozenAfter,proto3" json:"frozen_after,omitempty"`
|
||
CounterpartyUserId int64 `protobuf:"varint,9,opt,name=counterparty_user_id,json=counterpartyUserId,proto3" json:"counterparty_user_id,omitempty"`
|
||
RoomId string `protobuf:"bytes,10,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
|
||
CreatedAtMs int64 `protobuf:"varint,11,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *WalletTransaction) Reset() {
|
||
*x = WalletTransaction{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[80]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *WalletTransaction) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*WalletTransaction) ProtoMessage() {}
|
||
|
||
func (x *WalletTransaction) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[80]
|
||
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 WalletTransaction.ProtoReflect.Descriptor instead.
|
||
func (*WalletTransaction) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{80}
|
||
}
|
||
|
||
func (x *WalletTransaction) GetEntryId() int64 {
|
||
if x != nil {
|
||
return x.EntryId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *WalletTransaction) GetTransactionId() string {
|
||
if x != nil {
|
||
return x.TransactionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *WalletTransaction) GetBizType() string {
|
||
if x != nil {
|
||
return x.BizType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *WalletTransaction) GetAssetType() string {
|
||
if x != nil {
|
||
return x.AssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *WalletTransaction) GetAvailableDelta() int64 {
|
||
if x != nil {
|
||
return x.AvailableDelta
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *WalletTransaction) GetFrozenDelta() int64 {
|
||
if x != nil {
|
||
return x.FrozenDelta
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *WalletTransaction) GetAvailableAfter() int64 {
|
||
if x != nil {
|
||
return x.AvailableAfter
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *WalletTransaction) GetFrozenAfter() int64 {
|
||
if x != nil {
|
||
return x.FrozenAfter
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *WalletTransaction) GetCounterpartyUserId() int64 {
|
||
if x != nil {
|
||
return x.CounterpartyUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *WalletTransaction) GetRoomId() string {
|
||
if x != nil {
|
||
return x.RoomId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *WalletTransaction) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListWalletTransactionsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
AssetType string `protobuf:"bytes,4,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
||
Page int32 `protobuf:"varint,5,opt,name=page,proto3" json:"page,omitempty"`
|
||
PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListWalletTransactionsRequest) Reset() {
|
||
*x = ListWalletTransactionsRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[81]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListWalletTransactionsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListWalletTransactionsRequest) ProtoMessage() {}
|
||
|
||
func (x *ListWalletTransactionsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[81]
|
||
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 ListWalletTransactionsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListWalletTransactionsRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{81}
|
||
}
|
||
|
||
func (x *ListWalletTransactionsRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListWalletTransactionsRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListWalletTransactionsRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListWalletTransactionsRequest) GetAssetType() string {
|
||
if x != nil {
|
||
return x.AssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListWalletTransactionsRequest) GetPage() int32 {
|
||
if x != nil {
|
||
return x.Page
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListWalletTransactionsRequest) GetPageSize() int32 {
|
||
if x != nil {
|
||
return x.PageSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListWalletTransactionsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Transactions []*WalletTransaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
|
||
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListWalletTransactionsResponse) Reset() {
|
||
*x = ListWalletTransactionsResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[82]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListWalletTransactionsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListWalletTransactionsResponse) ProtoMessage() {}
|
||
|
||
func (x *ListWalletTransactionsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[82]
|
||
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 ListWalletTransactionsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListWalletTransactionsResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{82}
|
||
}
|
||
|
||
func (x *ListWalletTransactionsResponse) GetTransactions() []*WalletTransaction {
|
||
if x != nil {
|
||
return x.Transactions
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListWalletTransactionsResponse) GetTotal() int64 {
|
||
if x != nil {
|
||
return x.Total
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type WithdrawalRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
WithdrawalId string `protobuf:"bytes,1,opt,name=withdrawal_id,json=withdrawalId,proto3" json:"withdrawal_id,omitempty"`
|
||
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
AssetType string `protobuf:"bytes,3,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
|
||
Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
|
||
Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
|
||
PayoutAccount string `protobuf:"bytes,6,opt,name=payout_account,json=payoutAccount,proto3" json:"payout_account,omitempty"`
|
||
Reason string `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason,omitempty"`
|
||
CreatedAtMs int64 `protobuf:"varint,8,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,9,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *WithdrawalRequest) Reset() {
|
||
*x = WithdrawalRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[83]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *WithdrawalRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*WithdrawalRequest) ProtoMessage() {}
|
||
|
||
func (x *WithdrawalRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[83]
|
||
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 WithdrawalRequest.ProtoReflect.Descriptor instead.
|
||
func (*WithdrawalRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{83}
|
||
}
|
||
|
||
func (x *WithdrawalRequest) GetWithdrawalId() string {
|
||
if x != nil {
|
||
return x.WithdrawalId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *WithdrawalRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *WithdrawalRequest) GetAssetType() string {
|
||
if x != nil {
|
||
return x.AssetType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *WithdrawalRequest) GetAmount() int64 {
|
||
if x != nil {
|
||
return x.Amount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *WithdrawalRequest) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *WithdrawalRequest) GetPayoutAccount() string {
|
||
if x != nil {
|
||
return x.PayoutAccount
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *WithdrawalRequest) GetReason() string {
|
||
if x != nil {
|
||
return x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *WithdrawalRequest) GetCreatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.CreatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *WithdrawalRequest) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ApplyWithdrawalRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
|
||
PayoutAccount string `protobuf:"bytes,5,opt,name=payout_account,json=payoutAccount,proto3" json:"payout_account,omitempty"`
|
||
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ApplyWithdrawalRequest) Reset() {
|
||
*x = ApplyWithdrawalRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[84]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ApplyWithdrawalRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ApplyWithdrawalRequest) ProtoMessage() {}
|
||
|
||
func (x *ApplyWithdrawalRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[84]
|
||
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 ApplyWithdrawalRequest.ProtoReflect.Descriptor instead.
|
||
func (*ApplyWithdrawalRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{84}
|
||
}
|
||
|
||
func (x *ApplyWithdrawalRequest) GetCommandId() string {
|
||
if x != nil {
|
||
return x.CommandId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyWithdrawalRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyWithdrawalRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ApplyWithdrawalRequest) GetAmount() int64 {
|
||
if x != nil {
|
||
return x.Amount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ApplyWithdrawalRequest) GetPayoutAccount() string {
|
||
if x != nil {
|
||
return x.PayoutAccount
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyWithdrawalRequest) GetReason() string {
|
||
if x != nil {
|
||
return x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type ApplyWithdrawalResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Withdrawal *WithdrawalRequest `protobuf:"bytes,1,opt,name=withdrawal,proto3" json:"withdrawal,omitempty"`
|
||
Balance *AssetBalance `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ApplyWithdrawalResponse) Reset() {
|
||
*x = ApplyWithdrawalResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[85]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ApplyWithdrawalResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ApplyWithdrawalResponse) ProtoMessage() {}
|
||
|
||
func (x *ApplyWithdrawalResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[85]
|
||
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 ApplyWithdrawalResponse.ProtoReflect.Descriptor instead.
|
||
func (*ApplyWithdrawalResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{85}
|
||
}
|
||
|
||
func (x *ApplyWithdrawalResponse) GetWithdrawal() *WithdrawalRequest {
|
||
if x != nil {
|
||
return x.Withdrawal
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ApplyWithdrawalResponse) GetBalance() *AssetBalance {
|
||
if x != nil {
|
||
return x.Balance
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type VipRewardItem struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
ResourceId int64 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||
ResourceCode string `protobuf:"bytes,2,opt,name=resource_code,json=resourceCode,proto3" json:"resource_code,omitempty"`
|
||
ResourceType string `protobuf:"bytes,3,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
|
||
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
||
Quantity int64 `protobuf:"varint,5,opt,name=quantity,proto3" json:"quantity,omitempty"`
|
||
ExpiresAtMs int64 `protobuf:"varint,6,opt,name=expires_at_ms,json=expiresAtMs,proto3" json:"expires_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *VipRewardItem) Reset() {
|
||
*x = VipRewardItem{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[86]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *VipRewardItem) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*VipRewardItem) ProtoMessage() {}
|
||
|
||
func (x *VipRewardItem) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[86]
|
||
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 VipRewardItem.ProtoReflect.Descriptor instead.
|
||
func (*VipRewardItem) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{86}
|
||
}
|
||
|
||
func (x *VipRewardItem) GetResourceId() int64 {
|
||
if x != nil {
|
||
return x.ResourceId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *VipRewardItem) GetResourceCode() string {
|
||
if x != nil {
|
||
return x.ResourceCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *VipRewardItem) GetResourceType() string {
|
||
if x != nil {
|
||
return x.ResourceType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *VipRewardItem) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *VipRewardItem) GetQuantity() int64 {
|
||
if x != nil {
|
||
return x.Quantity
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *VipRewardItem) GetExpiresAtMs() int64 {
|
||
if x != nil {
|
||
return x.ExpiresAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type VipLevel struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
|
||
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
||
PriceCoin int64 `protobuf:"varint,4,opt,name=price_coin,json=priceCoin,proto3" json:"price_coin,omitempty"`
|
||
DurationMs int64 `protobuf:"varint,5,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
|
||
RewardResourceGroupId int64 `protobuf:"varint,6,opt,name=reward_resource_group_id,json=rewardResourceGroupId,proto3" json:"reward_resource_group_id,omitempty"`
|
||
RewardItems []*VipRewardItem `protobuf:"bytes,7,rep,name=reward_items,json=rewardItems,proto3" json:"reward_items,omitempty"`
|
||
CanPurchase bool `protobuf:"varint,8,opt,name=can_purchase,json=canPurchase,proto3" json:"can_purchase,omitempty"`
|
||
SortOrder int32 `protobuf:"varint,9,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *VipLevel) Reset() {
|
||
*x = VipLevel{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[87]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *VipLevel) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*VipLevel) ProtoMessage() {}
|
||
|
||
func (x *VipLevel) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[87]
|
||
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 VipLevel.ProtoReflect.Descriptor instead.
|
||
func (*VipLevel) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{87}
|
||
}
|
||
|
||
func (x *VipLevel) GetLevel() int32 {
|
||
if x != nil {
|
||
return x.Level
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *VipLevel) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *VipLevel) GetStatus() string {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *VipLevel) GetPriceCoin() int64 {
|
||
if x != nil {
|
||
return x.PriceCoin
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *VipLevel) GetDurationMs() int64 {
|
||
if x != nil {
|
||
return x.DurationMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *VipLevel) GetRewardResourceGroupId() int64 {
|
||
if x != nil {
|
||
return x.RewardResourceGroupId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *VipLevel) GetRewardItems() []*VipRewardItem {
|
||
if x != nil {
|
||
return x.RewardItems
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *VipLevel) GetCanPurchase() bool {
|
||
if x != nil {
|
||
return x.CanPurchase
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *VipLevel) GetSortOrder() int32 {
|
||
if x != nil {
|
||
return x.SortOrder
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type UserVip struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
|
||
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
||
Active bool `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"`
|
||
StartedAtMs int64 `protobuf:"varint,5,opt,name=started_at_ms,json=startedAtMs,proto3" json:"started_at_ms,omitempty"`
|
||
ExpiresAtMs int64 `protobuf:"varint,6,opt,name=expires_at_ms,json=expiresAtMs,proto3" json:"expires_at_ms,omitempty"`
|
||
UpdatedAtMs int64 `protobuf:"varint,7,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UserVip) Reset() {
|
||
*x = UserVip{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[88]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *UserVip) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*UserVip) ProtoMessage() {}
|
||
|
||
func (x *UserVip) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[88]
|
||
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 UserVip.ProtoReflect.Descriptor instead.
|
||
func (*UserVip) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{88}
|
||
}
|
||
|
||
func (x *UserVip) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserVip) GetLevel() int32 {
|
||
if x != nil {
|
||
return x.Level
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserVip) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *UserVip) GetActive() bool {
|
||
if x != nil {
|
||
return x.Active
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *UserVip) GetStartedAtMs() int64 {
|
||
if x != nil {
|
||
return x.StartedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserVip) GetExpiresAtMs() int64 {
|
||
if x != nil {
|
||
return x.ExpiresAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *UserVip) GetUpdatedAtMs() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListVipPackagesRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListVipPackagesRequest) Reset() {
|
||
*x = ListVipPackagesRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[89]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListVipPackagesRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListVipPackagesRequest) ProtoMessage() {}
|
||
|
||
func (x *ListVipPackagesRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[89]
|
||
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 ListVipPackagesRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListVipPackagesRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{89}
|
||
}
|
||
|
||
func (x *ListVipPackagesRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListVipPackagesRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListVipPackagesRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListVipPackagesResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CurrentVip *UserVip `protobuf:"bytes,1,opt,name=current_vip,json=currentVip,proto3" json:"current_vip,omitempty"`
|
||
Packages []*VipLevel `protobuf:"bytes,2,rep,name=packages,proto3" json:"packages,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListVipPackagesResponse) Reset() {
|
||
*x = ListVipPackagesResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[90]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListVipPackagesResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListVipPackagesResponse) ProtoMessage() {}
|
||
|
||
func (x *ListVipPackagesResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[90]
|
||
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 ListVipPackagesResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListVipPackagesResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{90}
|
||
}
|
||
|
||
func (x *ListVipPackagesResponse) GetCurrentVip() *UserVip {
|
||
if x != nil {
|
||
return x.CurrentVip
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *ListVipPackagesResponse) GetPackages() []*VipLevel {
|
||
if x != nil {
|
||
return x.Packages
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type GetMyVipRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetMyVipRequest) Reset() {
|
||
*x = GetMyVipRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[91]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetMyVipRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetMyVipRequest) ProtoMessage() {}
|
||
|
||
func (x *GetMyVipRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[91]
|
||
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 GetMyVipRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetMyVipRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{91}
|
||
}
|
||
|
||
func (x *GetMyVipRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetMyVipRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetMyVipRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type GetMyVipResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Vip *UserVip `protobuf:"bytes,1,opt,name=vip,proto3" json:"vip,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetMyVipResponse) Reset() {
|
||
*x = GetMyVipResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[92]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetMyVipResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetMyVipResponse) ProtoMessage() {}
|
||
|
||
func (x *GetMyVipResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[92]
|
||
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 GetMyVipResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetMyVipResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{92}
|
||
}
|
||
|
||
func (x *GetMyVipResponse) GetVip() *UserVip {
|
||
if x != nil {
|
||
return x.Vip
|
||
}
|
||
return nil
|
||
}
|
||
|
||
type PurchaseVipRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
Level int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *PurchaseVipRequest) Reset() {
|
||
*x = PurchaseVipRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[93]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *PurchaseVipRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*PurchaseVipRequest) ProtoMessage() {}
|
||
|
||
func (x *PurchaseVipRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[93]
|
||
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 PurchaseVipRequest.ProtoReflect.Descriptor instead.
|
||
func (*PurchaseVipRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{93}
|
||
}
|
||
|
||
func (x *PurchaseVipRequest) GetCommandId() string {
|
||
if x != nil {
|
||
return x.CommandId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *PurchaseVipRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *PurchaseVipRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *PurchaseVipRequest) GetLevel() int32 {
|
||
if x != nil {
|
||
return x.Level
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type PurchaseVipResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
|
||
TransactionId string `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
|
||
Vip *UserVip `protobuf:"bytes,3,opt,name=vip,proto3" json:"vip,omitempty"`
|
||
CoinSpent int64 `protobuf:"varint,4,opt,name=coin_spent,json=coinSpent,proto3" json:"coin_spent,omitempty"`
|
||
CoinBalanceAfter int64 `protobuf:"varint,5,opt,name=coin_balance_after,json=coinBalanceAfter,proto3" json:"coin_balance_after,omitempty"`
|
||
RewardItems []*VipRewardItem `protobuf:"bytes,6,rep,name=reward_items,json=rewardItems,proto3" json:"reward_items,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *PurchaseVipResponse) Reset() {
|
||
*x = PurchaseVipResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[94]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *PurchaseVipResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*PurchaseVipResponse) ProtoMessage() {}
|
||
|
||
func (x *PurchaseVipResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[94]
|
||
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 PurchaseVipResponse.ProtoReflect.Descriptor instead.
|
||
func (*PurchaseVipResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{94}
|
||
}
|
||
|
||
func (x *PurchaseVipResponse) GetOrderId() string {
|
||
if x != nil {
|
||
return x.OrderId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *PurchaseVipResponse) GetTransactionId() string {
|
||
if x != nil {
|
||
return x.TransactionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *PurchaseVipResponse) GetVip() *UserVip {
|
||
if x != nil {
|
||
return x.Vip
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *PurchaseVipResponse) GetCoinSpent() int64 {
|
||
if x != nil {
|
||
return x.CoinSpent
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *PurchaseVipResponse) GetCoinBalanceAfter() int64 {
|
||
if x != nil {
|
||
return x.CoinBalanceAfter
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *PurchaseVipResponse) GetRewardItems() []*VipRewardItem {
|
||
if x != nil {
|
||
return x.RewardItems
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// CreditTaskRewardRequest 是 activity-service 领取任务奖励时调用的钱包入账命令。
|
||
type CreditTaskRewardRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
TargetUserId int64 `protobuf:"varint,3,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
|
||
Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
|
||
TaskType string `protobuf:"bytes,5,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"`
|
||
TaskId string `protobuf:"bytes,6,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
||
CycleKey string `protobuf:"bytes,7,opt,name=cycle_key,json=cycleKey,proto3" json:"cycle_key,omitempty"`
|
||
Reason string `protobuf:"bytes,8,opt,name=reason,proto3" json:"reason,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreditTaskRewardRequest) Reset() {
|
||
*x = CreditTaskRewardRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[95]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CreditTaskRewardRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CreditTaskRewardRequest) ProtoMessage() {}
|
||
|
||
func (x *CreditTaskRewardRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[95]
|
||
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 CreditTaskRewardRequest.ProtoReflect.Descriptor instead.
|
||
func (*CreditTaskRewardRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{95}
|
||
}
|
||
|
||
func (x *CreditTaskRewardRequest) GetCommandId() string {
|
||
if x != nil {
|
||
return x.CommandId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreditTaskRewardRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreditTaskRewardRequest) GetTargetUserId() int64 {
|
||
if x != nil {
|
||
return x.TargetUserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreditTaskRewardRequest) GetAmount() int64 {
|
||
if x != nil {
|
||
return x.Amount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreditTaskRewardRequest) GetTaskType() string {
|
||
if x != nil {
|
||
return x.TaskType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreditTaskRewardRequest) GetTaskId() string {
|
||
if x != nil {
|
||
return x.TaskId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreditTaskRewardRequest) GetCycleKey() string {
|
||
if x != nil {
|
||
return x.CycleKey
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreditTaskRewardRequest) GetReason() string {
|
||
if x != nil {
|
||
return x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// CreditTaskRewardResponse 返回任务奖励入账流水和用户 COIN 账后余额。
|
||
type CreditTaskRewardResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
|
||
Balance *AssetBalance `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
|
||
Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
|
||
GrantedAtMs int64 `protobuf:"varint,4,opt,name=granted_at_ms,json=grantedAtMs,proto3" json:"granted_at_ms,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreditTaskRewardResponse) Reset() {
|
||
*x = CreditTaskRewardResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[96]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CreditTaskRewardResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CreditTaskRewardResponse) ProtoMessage() {}
|
||
|
||
func (x *CreditTaskRewardResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[96]
|
||
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 CreditTaskRewardResponse.ProtoReflect.Descriptor instead.
|
||
func (*CreditTaskRewardResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{96}
|
||
}
|
||
|
||
func (x *CreditTaskRewardResponse) GetTransactionId() string {
|
||
if x != nil {
|
||
return x.TransactionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreditTaskRewardResponse) GetBalance() *AssetBalance {
|
||
if x != nil {
|
||
return x.Balance
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *CreditTaskRewardResponse) GetAmount() int64 {
|
||
if x != nil {
|
||
return x.Amount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CreditTaskRewardResponse) GetGrantedAtMs() int64 {
|
||
if x != nil {
|
||
return x.GrantedAtMs
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// ApplyGameCoinChangeRequest 是 game-service 唯一可以调用的钱包游戏改账入口。
|
||
type ApplyGameCoinChangeRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
AppCode string `protobuf:"bytes,2,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||
CommandId string `protobuf:"bytes,3,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
|
||
UserId int64 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
PlatformCode string `protobuf:"bytes,5,opt,name=platform_code,json=platformCode,proto3" json:"platform_code,omitempty"`
|
||
GameId string `protobuf:"bytes,6,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
|
||
ProviderOrderId string `protobuf:"bytes,7,opt,name=provider_order_id,json=providerOrderId,proto3" json:"provider_order_id,omitempty"`
|
||
ProviderRoundId string `protobuf:"bytes,8,opt,name=provider_round_id,json=providerRoundId,proto3" json:"provider_round_id,omitempty"`
|
||
OpType string `protobuf:"bytes,9,opt,name=op_type,json=opType,proto3" json:"op_type,omitempty"`
|
||
CoinAmount int64 `protobuf:"varint,10,opt,name=coin_amount,json=coinAmount,proto3" json:"coin_amount,omitempty"`
|
||
RoomId string `protobuf:"bytes,11,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
|
||
RequestHash string `protobuf:"bytes,12,opt,name=request_hash,json=requestHash,proto3" json:"request_hash,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeRequest) Reset() {
|
||
*x = ApplyGameCoinChangeRequest{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[97]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ApplyGameCoinChangeRequest) ProtoMessage() {}
|
||
|
||
func (x *ApplyGameCoinChangeRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[97]
|
||
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 ApplyGameCoinChangeRequest.ProtoReflect.Descriptor instead.
|
||
func (*ApplyGameCoinChangeRequest) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{97}
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeRequest) GetRequestId() string {
|
||
if x != nil {
|
||
return x.RequestId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeRequest) GetAppCode() string {
|
||
if x != nil {
|
||
return x.AppCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeRequest) GetCommandId() string {
|
||
if x != nil {
|
||
return x.CommandId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeRequest) GetPlatformCode() string {
|
||
if x != nil {
|
||
return x.PlatformCode
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeRequest) GetGameId() string {
|
||
if x != nil {
|
||
return x.GameId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeRequest) GetProviderOrderId() string {
|
||
if x != nil {
|
||
return x.ProviderOrderId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeRequest) GetProviderRoundId() string {
|
||
if x != nil {
|
||
return x.ProviderRoundId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeRequest) GetOpType() string {
|
||
if x != nil {
|
||
return x.OpType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeRequest) GetCoinAmount() int64 {
|
||
if x != nil {
|
||
return x.CoinAmount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeRequest) GetRoomId() string {
|
||
if x != nil {
|
||
return x.RoomId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeRequest) GetRequestHash() string {
|
||
if x != nil {
|
||
return x.RequestHash
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// ApplyGameCoinChangeResponse 返回游戏改账流水和用户 COIN 账后余额。
|
||
type ApplyGameCoinChangeResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
WalletTransactionId string `protobuf:"bytes,1,opt,name=wallet_transaction_id,json=walletTransactionId,proto3" json:"wallet_transaction_id,omitempty"`
|
||
BalanceAfter int64 `protobuf:"varint,2,opt,name=balance_after,json=balanceAfter,proto3" json:"balance_after,omitempty"`
|
||
IdempotentReplay bool `protobuf:"varint,3,opt,name=idempotent_replay,json=idempotentReplay,proto3" json:"idempotent_replay,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeResponse) Reset() {
|
||
*x = ApplyGameCoinChangeResponse{}
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[98]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ApplyGameCoinChangeResponse) ProtoMessage() {}
|
||
|
||
func (x *ApplyGameCoinChangeResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_proto_wallet_v1_wallet_proto_msgTypes[98]
|
||
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 ApplyGameCoinChangeResponse.ProtoReflect.Descriptor instead.
|
||
func (*ApplyGameCoinChangeResponse) Descriptor() ([]byte, []int) {
|
||
return file_proto_wallet_v1_wallet_proto_rawDescGZIP(), []int{98}
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeResponse) GetWalletTransactionId() string {
|
||
if x != nil {
|
||
return x.WalletTransactionId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeResponse) GetBalanceAfter() int64 {
|
||
if x != nil {
|
||
return x.BalanceAfter
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ApplyGameCoinChangeResponse) GetIdempotentReplay() bool {
|
||
if x != nil {
|
||
return x.IdempotentReplay
|
||
}
|
||
return false
|
||
}
|
||
|
||
var File_proto_wallet_v1_wallet_proto protoreflect.FileDescriptor
|
||
|
||
const file_proto_wallet_v1_wallet_proto_rawDesc = "" +
|
||
"\n" +
|
||
"\x1cproto/wallet/v1/wallet.proto\x12\x0fhyapp.wallet.v1\"\xab\x02\n" +
|
||
"\x10DebitGiftRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"command_id\x18\x01 \x01(\tR\tcommandId\x12\x17\n" +
|
||
"\aroom_id\x18\x02 \x01(\tR\x06roomId\x12$\n" +
|
||
"\x0esender_user_id\x18\x03 \x01(\x03R\fsenderUserId\x12$\n" +
|
||
"\x0etarget_user_id\x18\x04 \x01(\x03R\ftargetUserId\x12\x17\n" +
|
||
"\agift_id\x18\x05 \x01(\tR\x06giftId\x12\x1d\n" +
|
||
"\n" +
|
||
"gift_count\x18\x06 \x01(\x05R\tgiftCount\x12#\n" +
|
||
"\rprice_version\x18\a \x01(\tR\fpriceVersion\x12\x19\n" +
|
||
"\bapp_code\x18\b \x01(\tR\aappCode\x12\x1b\n" +
|
||
"\tregion_id\x18\t \x01(\x03R\bregionId\"\x91\x03\n" +
|
||
"\x11DebitGiftResponse\x12,\n" +
|
||
"\x12billing_receipt_id\x18\x01 \x01(\tR\x10billingReceiptId\x12%\n" +
|
||
"\x0etransaction_id\x18\x02 \x01(\tR\rtransactionId\x12\x1d\n" +
|
||
"\n" +
|
||
"coin_spent\x18\x03 \x01(\x03R\tcoinSpent\x12(\n" +
|
||
"\x10gift_point_added\x18\x04 \x01(\x03R\x0egiftPointAdded\x12\x1d\n" +
|
||
"\n" +
|
||
"heat_value\x18\x05 \x01(\x03R\theatValue\x12#\n" +
|
||
"\rprice_version\x18\x06 \x01(\tR\fpriceVersion\x12#\n" +
|
||
"\rbalance_after\x18\a \x01(\x03R\fbalanceAfter\x12*\n" +
|
||
"\x11charge_asset_type\x18\b \x01(\tR\x0fchargeAssetType\x12#\n" +
|
||
"\rcharge_amount\x18\t \x01(\x03R\fchargeAmount\x12$\n" +
|
||
"\x0egift_type_code\x18\n" +
|
||
" \x01(\tR\fgiftTypeCode\"\xb2\x01\n" +
|
||
"\fAssetBalance\x12\x1d\n" +
|
||
"\n" +
|
||
"asset_type\x18\x01 \x01(\tR\tassetType\x12)\n" +
|
||
"\x10available_amount\x18\x02 \x01(\x03R\x0favailableAmount\x12#\n" +
|
||
"\rfrozen_amount\x18\x03 \x01(\x03R\ffrozenAmount\x12\x18\n" +
|
||
"\aversion\x18\x04 \x01(\x03R\aversion\x12\x19\n" +
|
||
"\bapp_code\x18\x05 \x01(\tR\aappCode\"\x88\x01\n" +
|
||
"\x12GetBalancesRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1f\n" +
|
||
"\vasset_types\x18\x03 \x03(\tR\n" +
|
||
"assetTypes\x12\x19\n" +
|
||
"\bapp_code\x18\x04 \x01(\tR\aappCode\"P\n" +
|
||
"\x13GetBalancesResponse\x129\n" +
|
||
"\bbalances\x18\x01 \x03(\v2\x1d.hyapp.wallet.v1.AssetBalanceR\bbalances\"\x95\x02\n" +
|
||
"\x17AdminCreditAssetRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"command_id\x18\x01 \x01(\tR\tcommandId\x12$\n" +
|
||
"\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12\x1d\n" +
|
||
"\n" +
|
||
"asset_type\x18\x03 \x01(\tR\tassetType\x12\x16\n" +
|
||
"\x06amount\x18\x04 \x01(\x03R\x06amount\x12(\n" +
|
||
"\x10operator_user_id\x18\x05 \x01(\x03R\x0eoperatorUserId\x12\x16\n" +
|
||
"\x06reason\x18\x06 \x01(\tR\x06reason\x12!\n" +
|
||
"\fevidence_ref\x18\a \x01(\tR\vevidenceRef\x12\x19\n" +
|
||
"\bapp_code\x18\b \x01(\tR\aappCode\"z\n" +
|
||
"\x18AdminCreditAssetResponse\x12%\n" +
|
||
"\x0etransaction_id\x18\x01 \x01(\tR\rtransactionId\x127\n" +
|
||
"\abalance\x18\x02 \x01(\v2\x1d.hyapp.wallet.v1.AssetBalanceR\abalance\"\xa3\x03\n" +
|
||
"!AdminCreditCoinSellerStockRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"command_id\x18\x01 \x01(\tR\tcommandId\x12$\n" +
|
||
"\x0eseller_user_id\x18\x02 \x01(\x03R\fsellerUserId\x12\x1d\n" +
|
||
"\n" +
|
||
"stock_type\x18\x03 \x01(\tR\tstockType\x12\x1f\n" +
|
||
"\vcoin_amount\x18\x04 \x01(\x03R\n" +
|
||
"coinAmount\x12,\n" +
|
||
"\x12paid_currency_code\x18\x05 \x01(\tR\x10paidCurrencyCode\x12*\n" +
|
||
"\x11paid_amount_micro\x18\x06 \x01(\x03R\x0fpaidAmountMicro\x12\x1f\n" +
|
||
"\vpayment_ref\x18\a \x01(\tR\n" +
|
||
"paymentRef\x12!\n" +
|
||
"\fevidence_ref\x18\b \x01(\tR\vevidenceRef\x12(\n" +
|
||
"\x10operator_user_id\x18\t \x01(\x03R\x0eoperatorUserId\x12\x16\n" +
|
||
"\x06reason\x18\n" +
|
||
" \x01(\tR\x06reason\x12\x19\n" +
|
||
"\bapp_code\x18\v \x01(\tR\aappCode\"\x8f\x03\n" +
|
||
"\"AdminCreditCoinSellerStockResponse\x12%\n" +
|
||
"\x0etransaction_id\x18\x01 \x01(\tR\rtransactionId\x12$\n" +
|
||
"\x0eseller_user_id\x18\x02 \x01(\x03R\fsellerUserId\x12\x1d\n" +
|
||
"\n" +
|
||
"stock_type\x18\x03 \x01(\tR\tstockType\x12\x1f\n" +
|
||
"\vcoin_amount\x18\x04 \x01(\x03R\n" +
|
||
"coinAmount\x12,\n" +
|
||
"\x12paid_currency_code\x18\x05 \x01(\tR\x10paidCurrencyCode\x12*\n" +
|
||
"\x11paid_amount_micro\x18\x06 \x01(\x03R\x0fpaidAmountMicro\x129\n" +
|
||
"\x19counts_as_seller_recharge\x18\a \x01(\bR\x16countsAsSellerRecharge\x12#\n" +
|
||
"\rbalance_after\x18\b \x01(\x03R\fbalanceAfter\x12\"\n" +
|
||
"\rcreated_at_ms\x18\t \x01(\x03R\vcreatedAtMs\"\xa9\x02\n" +
|
||
"\x1dTransferCoinFromSellerRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"command_id\x18\x01 \x01(\tR\tcommandId\x12$\n" +
|
||
"\x0eseller_user_id\x18\x02 \x01(\x03R\fsellerUserId\x12$\n" +
|
||
"\x0etarget_user_id\x18\x03 \x01(\x03R\ftargetUserId\x12\x16\n" +
|
||
"\x06amount\x18\x04 \x01(\x03R\x06amount\x12\x16\n" +
|
||
"\x06reason\x18\x05 \x01(\tR\x06reason\x12\x19\n" +
|
||
"\bapp_code\x18\x06 \x01(\tR\aappCode\x12(\n" +
|
||
"\x10seller_region_id\x18\a \x01(\x03R\x0esellerRegionId\x12(\n" +
|
||
"\x10target_region_id\x18\b \x01(\x03R\x0etargetRegionId\"\x94\x04\n" +
|
||
"\x1eTransferCoinFromSellerResponse\x12%\n" +
|
||
"\x0etransaction_id\x18\x01 \x01(\tR\rtransactionId\x120\n" +
|
||
"\x14seller_balance_after\x18\x02 \x01(\x03R\x12sellerBalanceAfter\x120\n" +
|
||
"\x14target_balance_after\x18\x03 \x01(\x03R\x12targetBalanceAfter\x12\x16\n" +
|
||
"\x06amount\x18\x04 \x01(\x03R\x06amount\x12,\n" +
|
||
"\x12recharge_usd_minor\x18\x05 \x01(\x03R\x10rechargeUsdMinor\x124\n" +
|
||
"\x16recharge_currency_code\x18\x06 \x01(\tR\x14rechargeCurrencyCode\x12,\n" +
|
||
"\x12recharge_policy_id\x18\a \x01(\x03R\x10rechargePolicyId\x126\n" +
|
||
"\x17recharge_policy_version\x18\b \x01(\tR\x15rechargePolicyVersion\x12=\n" +
|
||
"\x1brecharge_policy_coin_amount\x18\t \x01(\x03R\x18rechargePolicyCoinAmount\x12F\n" +
|
||
" recharge_policy_usd_minor_amount\x18\n" +
|
||
" \x01(\x03R\x1crechargePolicyUsdMinorAmount\"\xe7\x06\n" +
|
||
"\bResource\x12\x19\n" +
|
||
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x1f\n" +
|
||
"\vresource_id\x18\x02 \x01(\x03R\n" +
|
||
"resourceId\x12#\n" +
|
||
"\rresource_code\x18\x03 \x01(\tR\fresourceCode\x12#\n" +
|
||
"\rresource_type\x18\x04 \x01(\tR\fresourceType\x12\x12\n" +
|
||
"\x04name\x18\x05 \x01(\tR\x04name\x12\x16\n" +
|
||
"\x06status\x18\x06 \x01(\tR\x06status\x12\x1c\n" +
|
||
"\tgrantable\x18\a \x01(\bR\tgrantable\x12%\n" +
|
||
"\x0egrant_strategy\x18\b \x01(\tR\rgrantStrategy\x12*\n" +
|
||
"\x11wallet_asset_type\x18\t \x01(\tR\x0fwalletAssetType\x12.\n" +
|
||
"\x13wallet_asset_amount\x18\n" +
|
||
" \x01(\x03R\x11walletAssetAmount\x12!\n" +
|
||
"\fusage_scopes\x18\v \x03(\tR\vusageScopes\x12\x1b\n" +
|
||
"\tasset_url\x18\f \x01(\tR\bassetUrl\x12\x1f\n" +
|
||
"\vpreview_url\x18\r \x01(\tR\n" +
|
||
"previewUrl\x12#\n" +
|
||
"\ranimation_url\x18\x0e \x01(\tR\fanimationUrl\x12#\n" +
|
||
"\rmetadata_json\x18\x0f \x01(\tR\fmetadataJson\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\x10 \x01(\x05R\tsortOrder\x12+\n" +
|
||
"\x12created_by_user_id\x18\x11 \x01(\x03R\x0fcreatedByUserId\x12+\n" +
|
||
"\x12updated_by_user_id\x18\x12 \x01(\x03R\x0fupdatedByUserId\x12\"\n" +
|
||
"\rcreated_at_ms\x18\x13 \x01(\x03R\vcreatedAtMs\x12\"\n" +
|
||
"\rupdated_at_ms\x18\x14 \x01(\x03R\vupdatedAtMs\x122\n" +
|
||
"\x15manager_grant_enabled\x18\x15 \x01(\bR\x13managerGrantEnabled\x12\x1d\n" +
|
||
"\n" +
|
||
"price_type\x18\x16 \x01(\tR\tpriceType\x12\x1d\n" +
|
||
"\n" +
|
||
"coin_price\x18\x17 \x01(\x03R\tcoinPrice\x12*\n" +
|
||
"\x11gift_point_amount\x18\x18 \x01(\x03R\x0fgiftPointAmount\"\xc7\x03\n" +
|
||
"\x11ResourceGroupItem\x12\"\n" +
|
||
"\rgroup_item_id\x18\x01 \x01(\x03R\vgroupItemId\x12\x19\n" +
|
||
"\bgroup_id\x18\x02 \x01(\x03R\agroupId\x12\x1f\n" +
|
||
"\vresource_id\x18\x03 \x01(\x03R\n" +
|
||
"resourceId\x125\n" +
|
||
"\bresource\x18\x04 \x01(\v2\x19.hyapp.wallet.v1.ResourceR\bresource\x12\x1a\n" +
|
||
"\bquantity\x18\x05 \x01(\x03R\bquantity\x12\x1f\n" +
|
||
"\vduration_ms\x18\x06 \x01(\x03R\n" +
|
||
"durationMs\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\a \x01(\x05R\tsortOrder\x12\"\n" +
|
||
"\rcreated_at_ms\x18\b \x01(\x03R\vcreatedAtMs\x12\"\n" +
|
||
"\rupdated_at_ms\x18\t \x01(\x03R\vupdatedAtMs\x12\x1b\n" +
|
||
"\titem_type\x18\n" +
|
||
" \x01(\tR\bitemType\x12*\n" +
|
||
"\x11wallet_asset_type\x18\v \x01(\tR\x0fwalletAssetType\x12.\n" +
|
||
"\x13wallet_asset_amount\x18\f \x01(\x03R\x11walletAssetAmount\"\xad\x03\n" +
|
||
"\rResourceGroup\x12\x19\n" +
|
||
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x19\n" +
|
||
"\bgroup_id\x18\x02 \x01(\x03R\agroupId\x12\x1d\n" +
|
||
"\n" +
|
||
"group_code\x18\x03 \x01(\tR\tgroupCode\x12\x12\n" +
|
||
"\x04name\x18\x04 \x01(\tR\x04name\x12\x16\n" +
|
||
"\x06status\x18\x05 \x01(\tR\x06status\x12 \n" +
|
||
"\vdescription\x18\x06 \x01(\tR\vdescription\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\a \x01(\x05R\tsortOrder\x128\n" +
|
||
"\x05items\x18\b \x03(\v2\".hyapp.wallet.v1.ResourceGroupItemR\x05items\x12+\n" +
|
||
"\x12created_by_user_id\x18\t \x01(\x03R\x0fcreatedByUserId\x12+\n" +
|
||
"\x12updated_by_user_id\x18\n" +
|
||
" \x01(\x03R\x0fupdatedByUserId\x12\"\n" +
|
||
"\rcreated_at_ms\x18\v \x01(\x03R\vcreatedAtMs\x12\"\n" +
|
||
"\rupdated_at_ms\x18\f \x01(\x03R\vupdatedAtMs\"\xa9\x06\n" +
|
||
"\n" +
|
||
"GiftConfig\x12\x19\n" +
|
||
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x17\n" +
|
||
"\agift_id\x18\x02 \x01(\tR\x06giftId\x12\x1f\n" +
|
||
"\vresource_id\x18\x03 \x01(\x03R\n" +
|
||
"resourceId\x125\n" +
|
||
"\bresource\x18\x04 \x01(\v2\x19.hyapp.wallet.v1.ResourceR\bresource\x12\x16\n" +
|
||
"\x06status\x18\x05 \x01(\tR\x06status\x12\x12\n" +
|
||
"\x04name\x18\x06 \x01(\tR\x04name\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\a \x01(\x05R\tsortOrder\x12+\n" +
|
||
"\x11presentation_json\x18\b \x01(\tR\x10presentationJson\x12#\n" +
|
||
"\rprice_version\x18\t \x01(\tR\fpriceVersion\x12\x1d\n" +
|
||
"\n" +
|
||
"coin_price\x18\n" +
|
||
" \x01(\x03R\tcoinPrice\x12*\n" +
|
||
"\x11gift_point_amount\x18\v \x01(\x03R\x0fgiftPointAmount\x12\x1d\n" +
|
||
"\n" +
|
||
"heat_value\x18\f \x01(\x03R\theatValue\x12+\n" +
|
||
"\x12created_by_user_id\x18\r \x01(\x03R\x0fcreatedByUserId\x12+\n" +
|
||
"\x12updated_by_user_id\x18\x0e \x01(\x03R\x0fupdatedByUserId\x12\"\n" +
|
||
"\rcreated_at_ms\x18\x0f \x01(\x03R\vcreatedAtMs\x12\"\n" +
|
||
"\rupdated_at_ms\x18\x10 \x01(\x03R\vupdatedAtMs\x12\x1d\n" +
|
||
"\n" +
|
||
"region_ids\x18\x11 \x03(\x03R\tregionIds\x12$\n" +
|
||
"\x0egift_type_code\x18\x12 \x01(\tR\fgiftTypeCode\x12*\n" +
|
||
"\x11charge_asset_type\x18\x13 \x01(\tR\x0fchargeAssetType\x12*\n" +
|
||
"\x11effective_from_ms\x18\x14 \x01(\x03R\x0feffectiveFromMs\x12&\n" +
|
||
"\x0feffective_to_ms\x18\x15 \x01(\x03R\reffectiveToMs\x12!\n" +
|
||
"\feffect_types\x18\x16 \x03(\tR\veffectTypes\"\xce\x02\n" +
|
||
"\x0eGiftTypeConfig\x12\x19\n" +
|
||
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x1b\n" +
|
||
"\ttype_code\x18\x02 \x01(\tR\btypeCode\x12\x12\n" +
|
||
"\x04name\x18\x03 \x01(\tR\x04name\x12\x17\n" +
|
||
"\atab_key\x18\x04 \x01(\tR\x06tabKey\x12\x16\n" +
|
||
"\x06status\x18\x05 \x01(\tR\x06status\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\x06 \x01(\x05R\tsortOrder\x12+\n" +
|
||
"\x12created_by_user_id\x18\a \x01(\x03R\x0fcreatedByUserId\x12+\n" +
|
||
"\x12updated_by_user_id\x18\b \x01(\x03R\x0fupdatedByUserId\x12\"\n" +
|
||
"\rcreated_at_ms\x18\t \x01(\x03R\vcreatedAtMs\x12\"\n" +
|
||
"\rupdated_at_ms\x18\n" +
|
||
" \x01(\x03R\vupdatedAtMs\"\xeb\x03\n" +
|
||
"\x17UserResourceEntitlement\x12\x19\n" +
|
||
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12%\n" +
|
||
"\x0eentitlement_id\x18\x02 \x01(\tR\rentitlementId\x12\x17\n" +
|
||
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x1f\n" +
|
||
"\vresource_id\x18\x04 \x01(\x03R\n" +
|
||
"resourceId\x125\n" +
|
||
"\bresource\x18\x05 \x01(\v2\x19.hyapp.wallet.v1.ResourceR\bresource\x12\x16\n" +
|
||
"\x06status\x18\x06 \x01(\tR\x06status\x12\x1a\n" +
|
||
"\bquantity\x18\a \x01(\x03R\bquantity\x12-\n" +
|
||
"\x12remaining_quantity\x18\b \x01(\x03R\x11remainingQuantity\x12&\n" +
|
||
"\x0feffective_at_ms\x18\t \x01(\x03R\reffectiveAtMs\x12\"\n" +
|
||
"\rexpires_at_ms\x18\n" +
|
||
" \x01(\x03R\vexpiresAtMs\x12&\n" +
|
||
"\x0fsource_grant_id\x18\v \x01(\tR\rsourceGrantId\x12\"\n" +
|
||
"\rcreated_at_ms\x18\f \x01(\x03R\vcreatedAtMs\x12\"\n" +
|
||
"\rupdated_at_ms\x18\r \x01(\x03R\vupdatedAtMs\"\x86\x03\n" +
|
||
"\x11ResourceGrantItem\x12\"\n" +
|
||
"\rgrant_item_id\x18\x01 \x01(\x03R\vgrantItemId\x12\x19\n" +
|
||
"\bgrant_id\x18\x02 \x01(\tR\agrantId\x12\x1f\n" +
|
||
"\vresource_id\x18\x03 \x01(\x03R\n" +
|
||
"resourceId\x124\n" +
|
||
"\x16resource_snapshot_json\x18\x04 \x01(\tR\x14resourceSnapshotJson\x12\x1a\n" +
|
||
"\bquantity\x18\x05 \x01(\x03R\bquantity\x12\x1f\n" +
|
||
"\vduration_ms\x18\x06 \x01(\x03R\n" +
|
||
"durationMs\x12\x1f\n" +
|
||
"\vresult_type\x18\a \x01(\tR\n" +
|
||
"resultType\x122\n" +
|
||
"\x15wallet_transaction_id\x18\b \x01(\tR\x13walletTransactionId\x12%\n" +
|
||
"\x0eentitlement_id\x18\t \x01(\tR\rentitlementId\x12\"\n" +
|
||
"\rcreated_at_ms\x18\n" +
|
||
" \x01(\x03R\vcreatedAtMs\"\xe1\x03\n" +
|
||
"\rResourceGrant\x12\x19\n" +
|
||
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x19\n" +
|
||
"\bgrant_id\x18\x02 \x01(\tR\agrantId\x12\x1d\n" +
|
||
"\n" +
|
||
"command_id\x18\x03 \x01(\tR\tcommandId\x12$\n" +
|
||
"\x0etarget_user_id\x18\x04 \x01(\x03R\ftargetUserId\x12!\n" +
|
||
"\fgrant_source\x18\x05 \x01(\tR\vgrantSource\x12,\n" +
|
||
"\x12grant_subject_type\x18\x06 \x01(\tR\x10grantSubjectType\x12(\n" +
|
||
"\x10grant_subject_id\x18\a \x01(\tR\x0egrantSubjectId\x12\x16\n" +
|
||
"\x06status\x18\b \x01(\tR\x06status\x12\x16\n" +
|
||
"\x06reason\x18\t \x01(\tR\x06reason\x12(\n" +
|
||
"\x10operator_user_id\x18\n" +
|
||
" \x01(\x03R\x0eoperatorUserId\x128\n" +
|
||
"\x05items\x18\v \x03(\v2\".hyapp.wallet.v1.ResourceGrantItemR\x05items\x12\"\n" +
|
||
"\rcreated_at_ms\x18\f \x01(\x03R\vcreatedAtMs\x12\"\n" +
|
||
"\rupdated_at_ms\x18\r \x01(\x03R\vupdatedAtMs\"\x8e\x02\n" +
|
||
"\x16ResourceGroupItemInput\x12\x1f\n" +
|
||
"\vresource_id\x18\x01 \x01(\x03R\n" +
|
||
"resourceId\x12\x1a\n" +
|
||
"\bquantity\x18\x02 \x01(\x03R\bquantity\x12\x1f\n" +
|
||
"\vduration_ms\x18\x03 \x01(\x03R\n" +
|
||
"durationMs\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\x04 \x01(\x05R\tsortOrder\x12\x1b\n" +
|
||
"\titem_type\x18\x05 \x01(\tR\bitemType\x12*\n" +
|
||
"\x11wallet_asset_type\x18\x06 \x01(\tR\x0fwalletAssetType\x12.\n" +
|
||
"\x13wallet_asset_amount\x18\a \x01(\x03R\x11walletAssetAmount\"\xa7\x02\n" +
|
||
"\x14ListResourcesRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12#\n" +
|
||
"\rresource_type\x18\x03 \x01(\tR\fresourceType\x12\x16\n" +
|
||
"\x06status\x18\x04 \x01(\tR\x06status\x12\x18\n" +
|
||
"\akeyword\x18\x05 \x01(\tR\akeyword\x12\x12\n" +
|
||
"\x04page\x18\x06 \x01(\x05R\x04page\x12\x1b\n" +
|
||
"\tpage_size\x18\a \x01(\x05R\bpageSize\x12\x1f\n" +
|
||
"\vactive_only\x18\b \x01(\bR\n" +
|
||
"activeOnly\x12,\n" +
|
||
"\x12manager_grant_only\x18\t \x01(\bR\x10managerGrantOnly\"f\n" +
|
||
"\x15ListResourcesResponse\x127\n" +
|
||
"\tresources\x18\x01 \x03(\v2\x19.hyapp.wallet.v1.ResourceR\tresources\x12\x14\n" +
|
||
"\x05total\x18\x02 \x01(\x03R\x05total\"o\n" +
|
||
"\x12GetResourceRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x1f\n" +
|
||
"\vresource_id\x18\x03 \x01(\x03R\n" +
|
||
"resourceId\"L\n" +
|
||
"\x13GetResourceResponse\x125\n" +
|
||
"\bresource\x18\x01 \x01(\v2\x19.hyapp.wallet.v1.ResourceR\bresource\"\x99\x06\n" +
|
||
"\x15CreateResourceRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12#\n" +
|
||
"\rresource_code\x18\x03 \x01(\tR\fresourceCode\x12#\n" +
|
||
"\rresource_type\x18\x04 \x01(\tR\fresourceType\x12\x12\n" +
|
||
"\x04name\x18\x05 \x01(\tR\x04name\x12\x16\n" +
|
||
"\x06status\x18\x06 \x01(\tR\x06status\x12\x1c\n" +
|
||
"\tgrantable\x18\a \x01(\bR\tgrantable\x12%\n" +
|
||
"\x0egrant_strategy\x18\b \x01(\tR\rgrantStrategy\x12*\n" +
|
||
"\x11wallet_asset_type\x18\t \x01(\tR\x0fwalletAssetType\x12.\n" +
|
||
"\x13wallet_asset_amount\x18\n" +
|
||
" \x01(\x03R\x11walletAssetAmount\x12!\n" +
|
||
"\fusage_scopes\x18\v \x03(\tR\vusageScopes\x12\x1b\n" +
|
||
"\tasset_url\x18\f \x01(\tR\bassetUrl\x12\x1f\n" +
|
||
"\vpreview_url\x18\r \x01(\tR\n" +
|
||
"previewUrl\x12#\n" +
|
||
"\ranimation_url\x18\x0e \x01(\tR\fanimationUrl\x12#\n" +
|
||
"\rmetadata_json\x18\x0f \x01(\tR\fmetadataJson\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\x10 \x01(\x05R\tsortOrder\x12(\n" +
|
||
"\x10operator_user_id\x18\x11 \x01(\x03R\x0eoperatorUserId\x127\n" +
|
||
"\x15manager_grant_enabled\x18\x12 \x01(\bH\x00R\x13managerGrantEnabled\x88\x01\x01\x12\x1d\n" +
|
||
"\n" +
|
||
"price_type\x18\x13 \x01(\tR\tpriceType\x12\x1d\n" +
|
||
"\n" +
|
||
"coin_price\x18\x14 \x01(\x03R\tcoinPrice\x12*\n" +
|
||
"\x11gift_point_amount\x18\x15 \x01(\x03R\x0fgiftPointAmountB\x18\n" +
|
||
"\x16_manager_grant_enabled\"\xba\x06\n" +
|
||
"\x15UpdateResourceRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x1f\n" +
|
||
"\vresource_id\x18\x03 \x01(\x03R\n" +
|
||
"resourceId\x12#\n" +
|
||
"\rresource_code\x18\x04 \x01(\tR\fresourceCode\x12#\n" +
|
||
"\rresource_type\x18\x05 \x01(\tR\fresourceType\x12\x12\n" +
|
||
"\x04name\x18\x06 \x01(\tR\x04name\x12\x16\n" +
|
||
"\x06status\x18\a \x01(\tR\x06status\x12\x1c\n" +
|
||
"\tgrantable\x18\b \x01(\bR\tgrantable\x12%\n" +
|
||
"\x0egrant_strategy\x18\t \x01(\tR\rgrantStrategy\x12*\n" +
|
||
"\x11wallet_asset_type\x18\n" +
|
||
" \x01(\tR\x0fwalletAssetType\x12.\n" +
|
||
"\x13wallet_asset_amount\x18\v \x01(\x03R\x11walletAssetAmount\x12!\n" +
|
||
"\fusage_scopes\x18\f \x03(\tR\vusageScopes\x12\x1b\n" +
|
||
"\tasset_url\x18\r \x01(\tR\bassetUrl\x12\x1f\n" +
|
||
"\vpreview_url\x18\x0e \x01(\tR\n" +
|
||
"previewUrl\x12#\n" +
|
||
"\ranimation_url\x18\x0f \x01(\tR\fanimationUrl\x12#\n" +
|
||
"\rmetadata_json\x18\x10 \x01(\tR\fmetadataJson\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\x11 \x01(\x05R\tsortOrder\x12(\n" +
|
||
"\x10operator_user_id\x18\x12 \x01(\x03R\x0eoperatorUserId\x127\n" +
|
||
"\x15manager_grant_enabled\x18\x13 \x01(\bH\x00R\x13managerGrantEnabled\x88\x01\x01\x12\x1d\n" +
|
||
"\n" +
|
||
"price_type\x18\x14 \x01(\tR\tpriceType\x12\x1d\n" +
|
||
"\n" +
|
||
"coin_price\x18\x15 \x01(\x03R\tcoinPrice\x12*\n" +
|
||
"\x11gift_point_amount\x18\x16 \x01(\x03R\x0fgiftPointAmountB\x18\n" +
|
||
"\x16_manager_grant_enabled\"\xb7\x01\n" +
|
||
"\x18SetResourceStatusRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x1f\n" +
|
||
"\vresource_id\x18\x03 \x01(\x03R\n" +
|
||
"resourceId\x12\x16\n" +
|
||
"\x06status\x18\x04 \x01(\tR\x06status\x12(\n" +
|
||
"\x10operator_user_id\x18\x05 \x01(\x03R\x0eoperatorUserId\"I\n" +
|
||
"\x10ResourceResponse\x125\n" +
|
||
"\bresource\x18\x01 \x01(\v2\x19.hyapp.wallet.v1.ResourceR\bresource\"\xd9\x01\n" +
|
||
"\x19ListResourceGroupsRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x16\n" +
|
||
"\x06status\x18\x03 \x01(\tR\x06status\x12\x18\n" +
|
||
"\akeyword\x18\x04 \x01(\tR\akeyword\x12\x12\n" +
|
||
"\x04page\x18\x05 \x01(\x05R\x04page\x12\x1b\n" +
|
||
"\tpage_size\x18\x06 \x01(\x05R\bpageSize\x12\x1f\n" +
|
||
"\vactive_only\x18\a \x01(\bR\n" +
|
||
"activeOnly\"j\n" +
|
||
"\x1aListResourceGroupsResponse\x126\n" +
|
||
"\x06groups\x18\x01 \x03(\v2\x1e.hyapp.wallet.v1.ResourceGroupR\x06groups\x12\x14\n" +
|
||
"\x05total\x18\x02 \x01(\x03R\x05total\"n\n" +
|
||
"\x17GetResourceGroupRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x19\n" +
|
||
"\bgroup_id\x18\x03 \x01(\x03R\agroupId\"P\n" +
|
||
"\x18GetResourceGroupResponse\x124\n" +
|
||
"\x05group\x18\x01 \x01(\v2\x1e.hyapp.wallet.v1.ResourceGroupR\x05group\"\xcb\x02\n" +
|
||
"\x1aCreateResourceGroupRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x1d\n" +
|
||
"\n" +
|
||
"group_code\x18\x03 \x01(\tR\tgroupCode\x12\x12\n" +
|
||
"\x04name\x18\x04 \x01(\tR\x04name\x12\x16\n" +
|
||
"\x06status\x18\x05 \x01(\tR\x06status\x12 \n" +
|
||
"\vdescription\x18\x06 \x01(\tR\vdescription\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\a \x01(\x05R\tsortOrder\x12=\n" +
|
||
"\x05items\x18\b \x03(\v2'.hyapp.wallet.v1.ResourceGroupItemInputR\x05items\x12(\n" +
|
||
"\x10operator_user_id\x18\t \x01(\x03R\x0eoperatorUserId\"\xe6\x02\n" +
|
||
"\x1aUpdateResourceGroupRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x19\n" +
|
||
"\bgroup_id\x18\x03 \x01(\x03R\agroupId\x12\x1d\n" +
|
||
"\n" +
|
||
"group_code\x18\x04 \x01(\tR\tgroupCode\x12\x12\n" +
|
||
"\x04name\x18\x05 \x01(\tR\x04name\x12\x16\n" +
|
||
"\x06status\x18\x06 \x01(\tR\x06status\x12 \n" +
|
||
"\vdescription\x18\a \x01(\tR\vdescription\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\b \x01(\x05R\tsortOrder\x12=\n" +
|
||
"\x05items\x18\t \x03(\v2'.hyapp.wallet.v1.ResourceGroupItemInputR\x05items\x12(\n" +
|
||
"\x10operator_user_id\x18\n" +
|
||
" \x01(\x03R\x0eoperatorUserId\"\xb6\x01\n" +
|
||
"\x1dSetResourceGroupStatusRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x19\n" +
|
||
"\bgroup_id\x18\x03 \x01(\x03R\agroupId\x12\x16\n" +
|
||
"\x06status\x18\x04 \x01(\tR\x06status\x12(\n" +
|
||
"\x10operator_user_id\x18\x05 \x01(\x03R\x0eoperatorUserId\"M\n" +
|
||
"\x15ResourceGroupResponse\x124\n" +
|
||
"\x05group\x18\x01 \x01(\v2\x1e.hyapp.wallet.v1.ResourceGroupR\x05group\"\x98\x02\n" +
|
||
"\x16ListGiftConfigsRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x16\n" +
|
||
"\x06status\x18\x03 \x01(\tR\x06status\x12\x18\n" +
|
||
"\akeyword\x18\x04 \x01(\tR\akeyword\x12\x12\n" +
|
||
"\x04page\x18\x05 \x01(\x05R\x04page\x12\x1b\n" +
|
||
"\tpage_size\x18\x06 \x01(\x05R\bpageSize\x12\x1f\n" +
|
||
"\vactive_only\x18\a \x01(\bR\n" +
|
||
"activeOnly\x12\x1b\n" +
|
||
"\tregion_id\x18\b \x01(\x03R\bregionId\x12#\n" +
|
||
"\rfilter_region\x18\t \x01(\bR\ffilterRegion\"b\n" +
|
||
"\x17ListGiftConfigsResponse\x121\n" +
|
||
"\x05gifts\x18\x01 \x03(\v2\x1b.hyapp.wallet.v1.GiftConfigR\x05gifts\x12\x14\n" +
|
||
"\x05total\x18\x02 \x01(\x03R\x05total\"\x8f\x01\n" +
|
||
"\x1aListGiftTypeConfigsRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x16\n" +
|
||
"\x06status\x18\x03 \x01(\tR\x06status\x12\x1f\n" +
|
||
"\vactive_only\x18\x04 \x01(\bR\n" +
|
||
"activeOnly\"]\n" +
|
||
"\x1bListGiftTypeConfigsResponse\x12>\n" +
|
||
"\n" +
|
||
"gift_types\x18\x01 \x03(\v2\x1f.hyapp.wallet.v1.GiftTypeConfigR\tgiftTypes\"\x82\x02\n" +
|
||
"\x1bUpsertGiftTypeConfigRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x1b\n" +
|
||
"\ttype_code\x18\x03 \x01(\tR\btypeCode\x12\x12\n" +
|
||
"\x04name\x18\x04 \x01(\tR\x04name\x12\x17\n" +
|
||
"\atab_key\x18\x05 \x01(\tR\x06tabKey\x12\x16\n" +
|
||
"\x06status\x18\x06 \x01(\tR\x06status\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\a \x01(\x05R\tsortOrder\x12(\n" +
|
||
"\x10operator_user_id\x18\b \x01(\x03R\x0eoperatorUserId\"V\n" +
|
||
"\x16GiftTypeConfigResponse\x12<\n" +
|
||
"\tgift_type\x18\x01 \x01(\v2\x1f.hyapp.wallet.v1.GiftTypeConfigR\bgiftType\"\xce\x05\n" +
|
||
"\x17CreateGiftConfigRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x17\n" +
|
||
"\agift_id\x18\x03 \x01(\tR\x06giftId\x12\x1f\n" +
|
||
"\vresource_id\x18\x04 \x01(\x03R\n" +
|
||
"resourceId\x12\x16\n" +
|
||
"\x06status\x18\x05 \x01(\tR\x06status\x12\x12\n" +
|
||
"\x04name\x18\x06 \x01(\tR\x04name\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\a \x01(\x05R\tsortOrder\x12+\n" +
|
||
"\x11presentation_json\x18\b \x01(\tR\x10presentationJson\x12#\n" +
|
||
"\rprice_version\x18\t \x01(\tR\fpriceVersion\x12\x1d\n" +
|
||
"\n" +
|
||
"coin_price\x18\n" +
|
||
" \x01(\x03R\tcoinPrice\x12*\n" +
|
||
"\x11gift_point_amount\x18\v \x01(\x03R\x0fgiftPointAmount\x12\x1d\n" +
|
||
"\n" +
|
||
"heat_value\x18\f \x01(\x03R\theatValue\x12&\n" +
|
||
"\x0feffective_at_ms\x18\r \x01(\x03R\reffectiveAtMs\x12(\n" +
|
||
"\x10operator_user_id\x18\x0e \x01(\x03R\x0eoperatorUserId\x12\x1d\n" +
|
||
"\n" +
|
||
"region_ids\x18\x0f \x03(\x03R\tregionIds\x12$\n" +
|
||
"\x0egift_type_code\x18\x10 \x01(\tR\fgiftTypeCode\x12*\n" +
|
||
"\x11charge_asset_type\x18\x11 \x01(\tR\x0fchargeAssetType\x12*\n" +
|
||
"\x11effective_from_ms\x18\x12 \x01(\x03R\x0feffectiveFromMs\x12&\n" +
|
||
"\x0feffective_to_ms\x18\x13 \x01(\x03R\reffectiveToMs\x12!\n" +
|
||
"\feffect_types\x18\x14 \x03(\tR\veffectTypes\"\xce\x05\n" +
|
||
"\x17UpdateGiftConfigRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x17\n" +
|
||
"\agift_id\x18\x03 \x01(\tR\x06giftId\x12\x1f\n" +
|
||
"\vresource_id\x18\x04 \x01(\x03R\n" +
|
||
"resourceId\x12\x16\n" +
|
||
"\x06status\x18\x05 \x01(\tR\x06status\x12\x12\n" +
|
||
"\x04name\x18\x06 \x01(\tR\x04name\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\a \x01(\x05R\tsortOrder\x12+\n" +
|
||
"\x11presentation_json\x18\b \x01(\tR\x10presentationJson\x12#\n" +
|
||
"\rprice_version\x18\t \x01(\tR\fpriceVersion\x12\x1d\n" +
|
||
"\n" +
|
||
"coin_price\x18\n" +
|
||
" \x01(\x03R\tcoinPrice\x12*\n" +
|
||
"\x11gift_point_amount\x18\v \x01(\x03R\x0fgiftPointAmount\x12\x1d\n" +
|
||
"\n" +
|
||
"heat_value\x18\f \x01(\x03R\theatValue\x12&\n" +
|
||
"\x0feffective_at_ms\x18\r \x01(\x03R\reffectiveAtMs\x12(\n" +
|
||
"\x10operator_user_id\x18\x0e \x01(\x03R\x0eoperatorUserId\x12\x1d\n" +
|
||
"\n" +
|
||
"region_ids\x18\x0f \x03(\x03R\tregionIds\x12$\n" +
|
||
"\x0egift_type_code\x18\x10 \x01(\tR\fgiftTypeCode\x12*\n" +
|
||
"\x11charge_asset_type\x18\x11 \x01(\tR\x0fchargeAssetType\x12*\n" +
|
||
"\x11effective_from_ms\x18\x12 \x01(\x03R\x0feffectiveFromMs\x12&\n" +
|
||
"\x0feffective_to_ms\x18\x13 \x01(\x03R\reffectiveToMs\x12!\n" +
|
||
"\feffect_types\x18\x14 \x03(\tR\veffectTypes\"\xb1\x01\n" +
|
||
"\x1aSetGiftConfigStatusRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x17\n" +
|
||
"\agift_id\x18\x03 \x01(\tR\x06giftId\x12\x16\n" +
|
||
"\x06status\x18\x04 \x01(\tR\x06status\x12(\n" +
|
||
"\x10operator_user_id\x18\x05 \x01(\x03R\x0eoperatorUserId\"E\n" +
|
||
"\x12GiftConfigResponse\x12/\n" +
|
||
"\x04gift\x18\x01 \x01(\v2\x1b.hyapp.wallet.v1.GiftConfigR\x04gift\"\xb9\x02\n" +
|
||
"\x14GrantResourceRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"command_id\x18\x01 \x01(\tR\tcommandId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12$\n" +
|
||
"\x0etarget_user_id\x18\x03 \x01(\x03R\ftargetUserId\x12\x1f\n" +
|
||
"\vresource_id\x18\x04 \x01(\x03R\n" +
|
||
"resourceId\x12\x1a\n" +
|
||
"\bquantity\x18\x05 \x01(\x03R\bquantity\x12\x1f\n" +
|
||
"\vduration_ms\x18\x06 \x01(\x03R\n" +
|
||
"durationMs\x12\x16\n" +
|
||
"\x06reason\x18\a \x01(\tR\x06reason\x12(\n" +
|
||
"\x10operator_user_id\x18\b \x01(\x03R\x0eoperatorUserId\x12!\n" +
|
||
"\fgrant_source\x18\t \x01(\tR\vgrantSource\"\xfb\x01\n" +
|
||
"\x19GrantResourceGroupRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"command_id\x18\x01 \x01(\tR\tcommandId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12$\n" +
|
||
"\x0etarget_user_id\x18\x03 \x01(\x03R\ftargetUserId\x12\x19\n" +
|
||
"\bgroup_id\x18\x04 \x01(\x03R\agroupId\x12\x16\n" +
|
||
"\x06reason\x18\x05 \x01(\tR\x06reason\x12(\n" +
|
||
"\x10operator_user_id\x18\x06 \x01(\x03R\x0eoperatorUserId\x12!\n" +
|
||
"\fgrant_source\x18\a \x01(\tR\vgrantSource\"M\n" +
|
||
"\x15ResourceGrantResponse\x124\n" +
|
||
"\x05grant\x18\x01 \x01(\v2\x1e.hyapp.wallet.v1.ResourceGrantR\x05grant\"\xb3\x01\n" +
|
||
"\x18ListUserResourcesRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x17\n" +
|
||
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12#\n" +
|
||
"\rresource_type\x18\x04 \x01(\tR\fresourceType\x12\x1f\n" +
|
||
"\vactive_only\x18\x05 \x01(\bR\n" +
|
||
"activeOnly\"c\n" +
|
||
"\x19ListUserResourcesResponse\x12F\n" +
|
||
"\tresources\x18\x01 \x03(\v2(.hyapp.wallet.v1.UserResourceEntitlementR\tresources\"\xb5\x01\n" +
|
||
"\x18EquipUserResourceRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x17\n" +
|
||
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x1f\n" +
|
||
"\vresource_id\x18\x04 \x01(\x03R\n" +
|
||
"resourceId\x12%\n" +
|
||
"\x0eentitlement_id\x18\x05 \x01(\tR\rentitlementId\"a\n" +
|
||
"\x19EquipUserResourceResponse\x12D\n" +
|
||
"\bresource\x18\x01 \x01(\v2(.hyapp.wallet.v1.UserResourceEntitlementR\bresource\"\xc4\x01\n" +
|
||
"\x19ListResourceGrantsRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12$\n" +
|
||
"\x0etarget_user_id\x18\x03 \x01(\x03R\ftargetUserId\x12\x16\n" +
|
||
"\x06status\x18\x04 \x01(\tR\x06status\x12\x12\n" +
|
||
"\x04page\x18\x05 \x01(\x05R\x04page\x12\x1b\n" +
|
||
"\tpage_size\x18\x06 \x01(\x05R\bpageSize\"j\n" +
|
||
"\x1aListResourceGrantsResponse\x126\n" +
|
||
"\x06grants\x18\x01 \x03(\v2\x1e.hyapp.wallet.v1.ResourceGrantR\x06grants\x12\x14\n" +
|
||
"\x05total\x18\x02 \x01(\x03R\x05total\"\xa7\x05\n" +
|
||
"\fRechargeBill\x12\x19\n" +
|
||
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12%\n" +
|
||
"\x0etransaction_id\x18\x02 \x01(\tR\rtransactionId\x12\x1d\n" +
|
||
"\n" +
|
||
"command_id\x18\x03 \x01(\tR\tcommandId\x12#\n" +
|
||
"\rrecharge_type\x18\x04 \x01(\tR\frechargeType\x12\x16\n" +
|
||
"\x06status\x18\x05 \x01(\tR\x06status\x12!\n" +
|
||
"\fexternal_ref\x18\x06 \x01(\tR\vexternalRef\x12\x17\n" +
|
||
"\auser_id\x18\a \x01(\x03R\x06userId\x12$\n" +
|
||
"\x0eseller_user_id\x18\b \x01(\x03R\fsellerUserId\x12(\n" +
|
||
"\x10seller_region_id\x18\t \x01(\x03R\x0esellerRegionId\x12(\n" +
|
||
"\x10target_region_id\x18\n" +
|
||
" \x01(\x03R\x0etargetRegionId\x12\x1b\n" +
|
||
"\tpolicy_id\x18\v \x01(\x03R\bpolicyId\x12%\n" +
|
||
"\x0epolicy_version\x18\f \x01(\tR\rpolicyVersion\x12#\n" +
|
||
"\rcurrency_code\x18\r \x01(\tR\fcurrencyCode\x12\x1f\n" +
|
||
"\vcoin_amount\x18\x0e \x01(\x03R\n" +
|
||
"coinAmount\x12(\n" +
|
||
"\x10usd_minor_amount\x18\x0f \x01(\x03R\x0eusdMinorAmount\x120\n" +
|
||
"\x14exchange_coin_amount\x18\x10 \x01(\x03R\x12exchangeCoinAmount\x129\n" +
|
||
"\x19exchange_usd_minor_amount\x18\x11 \x01(\x03R\x16exchangeUsdMinorAmount\x12\"\n" +
|
||
"\rcreated_at_ms\x18\x12 \x01(\x03R\vcreatedAtMs\"\xf4\x02\n" +
|
||
"\x18ListRechargeBillsRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x17\n" +
|
||
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12$\n" +
|
||
"\x0eseller_user_id\x18\x04 \x01(\x03R\fsellerUserId\x12\x1b\n" +
|
||
"\tregion_id\x18\x05 \x01(\x03R\bregionId\x12#\n" +
|
||
"\rrecharge_type\x18\x06 \x01(\tR\frechargeType\x12\x16\n" +
|
||
"\x06status\x18\a \x01(\tR\x06status\x12\x18\n" +
|
||
"\akeyword\x18\b \x01(\tR\akeyword\x12\x1e\n" +
|
||
"\vstart_at_ms\x18\t \x01(\x03R\tstartAtMs\x12\x1a\n" +
|
||
"\tend_at_ms\x18\n" +
|
||
" \x01(\x03R\aendAtMs\x12\x12\n" +
|
||
"\x04page\x18\v \x01(\x05R\x04page\x12\x1b\n" +
|
||
"\tpage_size\x18\f \x01(\x05R\bpageSize\"f\n" +
|
||
"\x19ListRechargeBillsResponse\x123\n" +
|
||
"\x05bills\x18\x01 \x03(\v2\x1d.hyapp.wallet.v1.RechargeBillR\x05bills\x12\x14\n" +
|
||
"\x05total\x18\x02 \x01(\x03R\x05total\"\xa4\x01\n" +
|
||
"\x12WalletFeatureFlags\x12)\n" +
|
||
"\x10recharge_enabled\x18\x01 \x01(\bR\x0frechargeEnabled\x128\n" +
|
||
"\x18diamond_exchange_enabled\x18\x02 \x01(\bR\x16diamondExchangeEnabled\x12)\n" +
|
||
"\x10withdraw_enabled\x18\x03 \x01(\bR\x0fwithdrawEnabled\"m\n" +
|
||
"\x18GetWalletOverviewRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x17\n" +
|
||
"\auser_id\x18\x03 \x01(\x03R\x06userId\"\xa0\x01\n" +
|
||
"\x19GetWalletOverviewResponse\x129\n" +
|
||
"\bbalances\x18\x01 \x03(\v2\x1d.hyapp.wallet.v1.AssetBalanceR\bbalances\x12H\n" +
|
||
"\rfeature_flags\x18\x02 \x01(\v2#.hyapp.wallet.v1.WalletFeatureFlagsR\ffeatureFlags\"Y\n" +
|
||
"\x12WalletValueSummary\x12\x1f\n" +
|
||
"\vcoin_amount\x18\x01 \x01(\x03R\n" +
|
||
"coinAmount\x12\"\n" +
|
||
"\rupdated_at_ms\x18\x02 \x01(\x03R\vupdatedAtMs\"q\n" +
|
||
"\x1cGetWalletValueSummaryRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x17\n" +
|
||
"\auser_id\x18\x03 \x01(\x03R\x06userId\"^\n" +
|
||
"\x1dGetWalletValueSummaryResponse\x12=\n" +
|
||
"\asummary\x18\x01 \x01(\v2#.hyapp.wallet.v1.WalletValueSummaryR\asummary\"\xec\x05\n" +
|
||
"\fGiftWallItem\x12\x17\n" +
|
||
"\agift_id\x18\x01 \x01(\tR\x06giftId\x12\x1b\n" +
|
||
"\tgift_name\x18\x02 \x01(\tR\bgiftName\x12\x1f\n" +
|
||
"\vresource_id\x18\x03 \x01(\x03R\n" +
|
||
"resourceId\x125\n" +
|
||
"\bresource\x18\x04 \x01(\v2\x19.hyapp.wallet.v1.ResourceR\bresource\x124\n" +
|
||
"\x16resource_snapshot_json\x18\x05 \x01(\tR\x14resourceSnapshotJson\x12$\n" +
|
||
"\x0egift_type_code\x18\x06 \x01(\tR\fgiftTypeCode\x12+\n" +
|
||
"\x11presentation_json\x18\a \x01(\tR\x10presentationJson\x12\x1d\n" +
|
||
"\n" +
|
||
"gift_count\x18\b \x01(\x03R\tgiftCount\x12\x1f\n" +
|
||
"\vtotal_value\x18\t \x01(\x03R\n" +
|
||
"totalValue\x12(\n" +
|
||
"\x10total_coin_value\x18\n" +
|
||
" \x01(\x03R\x0etotalCoinValue\x12.\n" +
|
||
"\x13total_diamond_value\x18\v \x01(\x03R\x11totalDiamondValue\x12(\n" +
|
||
"\x10total_gift_point\x18\f \x01(\x03R\x0etotalGiftPoint\x12(\n" +
|
||
"\x10total_heat_value\x18\r \x01(\x03R\x0etotalHeatValue\x12*\n" +
|
||
"\x11charge_asset_type\x18\x0e \x01(\tR\x0fchargeAssetType\x12,\n" +
|
||
"\x12last_price_version\x18\x0f \x01(\tR\x10lastPriceVersion\x12/\n" +
|
||
"\x14first_received_at_ms\x18\x10 \x01(\x03R\x11firstReceivedAtMs\x12-\n" +
|
||
"\x13last_received_at_ms\x18\x11 \x01(\x03R\x10lastReceivedAtMs\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\x12 \x01(\x05R\tsortOrder\"k\n" +
|
||
"\x16GetUserGiftWallRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x17\n" +
|
||
"\auser_id\x18\x03 \x01(\x03R\x06userId\"\xef\x02\n" +
|
||
"\x17GetUserGiftWallResponse\x123\n" +
|
||
"\x05items\x18\x01 \x03(\v2\x1d.hyapp.wallet.v1.GiftWallItemR\x05items\x12&\n" +
|
||
"\x0fgift_kind_count\x18\x02 \x01(\x03R\rgiftKindCount\x12(\n" +
|
||
"\x10gift_total_count\x18\x03 \x01(\x03R\x0egiftTotalCount\x12\x1f\n" +
|
||
"\vtotal_value\x18\x04 \x01(\x03R\n" +
|
||
"totalValue\x12(\n" +
|
||
"\x10total_coin_value\x18\x05 \x01(\x03R\x0etotalCoinValue\x12.\n" +
|
||
"\x13total_diamond_value\x18\x06 \x01(\x03R\x11totalDiamondValue\x12(\n" +
|
||
"\x10total_gift_point\x18\a \x01(\x03R\x0etotalGiftPoint\x12(\n" +
|
||
"\x10total_heat_value\x18\b \x01(\x03R\x0etotalHeatValue\"\xde\x05\n" +
|
||
"\x0fRechargeProduct\x12\x1d\n" +
|
||
"\n" +
|
||
"product_id\x18\x01 \x01(\x03R\tproductId\x12!\n" +
|
||
"\fproduct_code\x18\x02 \x01(\tR\vproductCode\x12\x18\n" +
|
||
"\achannel\x18\x03 \x01(\tR\achannel\x12#\n" +
|
||
"\rcurrency_code\x18\x04 \x01(\tR\fcurrencyCode\x12\x1f\n" +
|
||
"\vcoin_amount\x18\x05 \x01(\x03R\n" +
|
||
"coinAmount\x12!\n" +
|
||
"\famount_minor\x18\x06 \x01(\x03R\vamountMinor\x12%\n" +
|
||
"\x0epolicy_version\x18\a \x01(\tR\rpolicyVersion\x12\x18\n" +
|
||
"\aenabled\x18\b \x01(\bR\aenabled\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\t \x01(\x05R\tsortOrder\x12!\n" +
|
||
"\fproduct_name\x18\n" +
|
||
" \x01(\tR\vproductName\x12 \n" +
|
||
"\vdescription\x18\v \x01(\tR\vdescription\x12\x1a\n" +
|
||
"\bplatform\x18\f \x01(\tR\bplatform\x12\x1d\n" +
|
||
"\n" +
|
||
"region_ids\x18\r \x03(\x03R\tregionIds\x12.\n" +
|
||
"\x13resource_asset_type\x18\x0e \x01(\tR\x11resourceAssetType\x12!\n" +
|
||
"\famount_micro\x18\x0f \x01(\x03R\vamountMicro\x12+\n" +
|
||
"\x12created_by_user_id\x18\x10 \x01(\x03R\x0fcreatedByUserId\x12+\n" +
|
||
"\x12updated_by_user_id\x18\x11 \x01(\x03R\x0fupdatedByUserId\x12\"\n" +
|
||
"\rcreated_at_ms\x18\x12 \x01(\x03R\vcreatedAtMs\x12\"\n" +
|
||
"\rupdated_at_ms\x18\x13 \x01(\x03R\vupdatedAtMs\x12\x19\n" +
|
||
"\bapp_code\x18\x14 \x01(\tR\aappCode\x12\x16\n" +
|
||
"\x06status\x18\x15 \x01(\tR\x06status\"\xa9\x01\n" +
|
||
"\x1bListRechargeProductsRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x17\n" +
|
||
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x1b\n" +
|
||
"\tregion_id\x18\x04 \x01(\x03R\bregionId\x12\x1a\n" +
|
||
"\bplatform\x18\x05 \x01(\tR\bplatform\"x\n" +
|
||
"\x1cListRechargeProductsResponse\x12<\n" +
|
||
"\bproducts\x18\x01 \x03(\v2 .hyapp.wallet.v1.RechargeProductR\bproducts\x12\x1a\n" +
|
||
"\bchannels\x18\x02 \x03(\tR\bchannels\"\xf8\x01\n" +
|
||
" ListAdminRechargeProductsRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x16\n" +
|
||
"\x06status\x18\x03 \x01(\tR\x06status\x12\x1a\n" +
|
||
"\bplatform\x18\x04 \x01(\tR\bplatform\x12\x1b\n" +
|
||
"\tregion_id\x18\x05 \x01(\x03R\bregionId\x12\x18\n" +
|
||
"\akeyword\x18\x06 \x01(\tR\akeyword\x12\x12\n" +
|
||
"\x04page\x18\a \x01(\x05R\x04page\x12\x1b\n" +
|
||
"\tpage_size\x18\b \x01(\x05R\bpageSize\"w\n" +
|
||
"!ListAdminRechargeProductsResponse\x12<\n" +
|
||
"\bproducts\x18\x01 \x03(\v2 .hyapp.wallet.v1.RechargeProductR\bproducts\x12\x14\n" +
|
||
"\x05total\x18\x02 \x01(\x03R\x05total\"\xe0\x02\n" +
|
||
"\x1cCreateRechargeProductRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12!\n" +
|
||
"\famount_micro\x18\x03 \x01(\x03R\vamountMicro\x12\x1f\n" +
|
||
"\vcoin_amount\x18\x04 \x01(\x03R\n" +
|
||
"coinAmount\x12!\n" +
|
||
"\fproduct_name\x18\x05 \x01(\tR\vproductName\x12 \n" +
|
||
"\vdescription\x18\x06 \x01(\tR\vdescription\x12\x1a\n" +
|
||
"\bplatform\x18\a \x01(\tR\bplatform\x12\x1d\n" +
|
||
"\n" +
|
||
"region_ids\x18\b \x03(\x03R\tregionIds\x12\x18\n" +
|
||
"\aenabled\x18\t \x01(\bR\aenabled\x12(\n" +
|
||
"\x10operator_user_id\x18\n" +
|
||
" \x01(\x03R\x0eoperatorUserId\"\xff\x02\n" +
|
||
"\x1cUpdateRechargeProductRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x1d\n" +
|
||
"\n" +
|
||
"product_id\x18\x03 \x01(\x03R\tproductId\x12!\n" +
|
||
"\famount_micro\x18\x04 \x01(\x03R\vamountMicro\x12\x1f\n" +
|
||
"\vcoin_amount\x18\x05 \x01(\x03R\n" +
|
||
"coinAmount\x12!\n" +
|
||
"\fproduct_name\x18\x06 \x01(\tR\vproductName\x12 \n" +
|
||
"\vdescription\x18\a \x01(\tR\vdescription\x12\x1a\n" +
|
||
"\bplatform\x18\b \x01(\tR\bplatform\x12\x1d\n" +
|
||
"\n" +
|
||
"region_ids\x18\t \x03(\x03R\tregionIds\x12\x18\n" +
|
||
"\aenabled\x18\n" +
|
||
" \x01(\bR\aenabled\x12(\n" +
|
||
"\x10operator_user_id\x18\v \x01(\x03R\x0eoperatorUserId\"\xa1\x01\n" +
|
||
"\x1cDeleteRechargeProductRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x1d\n" +
|
||
"\n" +
|
||
"product_id\x18\x03 \x01(\x03R\tproductId\x12(\n" +
|
||
"\x10operator_user_id\x18\x04 \x01(\x03R\x0eoperatorUserId\"U\n" +
|
||
"\x17RechargeProductResponse\x12:\n" +
|
||
"\aproduct\x18\x01 \x01(\v2 .hyapp.wallet.v1.RechargeProductR\aproduct\"9\n" +
|
||
"\x1dDeleteRechargeProductResponse\x12\x18\n" +
|
||
"\adeleted\x18\x01 \x01(\bR\adeleted\"\xde\x01\n" +
|
||
"\x13DiamondExchangeRule\x12#\n" +
|
||
"\rexchange_type\x18\x01 \x01(\tR\fexchangeType\x12&\n" +
|
||
"\x0ffrom_asset_type\x18\x02 \x01(\tR\rfromAssetType\x12\"\n" +
|
||
"\rto_asset_type\x18\x03 \x01(\tR\vtoAssetType\x12\x1f\n" +
|
||
"\vfrom_amount\x18\x04 \x01(\x03R\n" +
|
||
"fromAmount\x12\x1b\n" +
|
||
"\tto_amount\x18\x05 \x01(\x03R\btoAmount\x12\x18\n" +
|
||
"\aenabled\x18\x06 \x01(\bR\aenabled\"t\n" +
|
||
"\x1fGetDiamondExchangeConfigRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x17\n" +
|
||
"\auser_id\x18\x03 \x01(\x03R\x06userId\"^\n" +
|
||
" GetDiamondExchangeConfigResponse\x12:\n" +
|
||
"\x05rules\x18\x01 \x03(\v2$.hyapp.wallet.v1.DiamondExchangeRuleR\x05rules\"\x96\x03\n" +
|
||
"\x11WalletTransaction\x12\x19\n" +
|
||
"\bentry_id\x18\x01 \x01(\x03R\aentryId\x12%\n" +
|
||
"\x0etransaction_id\x18\x02 \x01(\tR\rtransactionId\x12\x19\n" +
|
||
"\bbiz_type\x18\x03 \x01(\tR\abizType\x12\x1d\n" +
|
||
"\n" +
|
||
"asset_type\x18\x04 \x01(\tR\tassetType\x12'\n" +
|
||
"\x0favailable_delta\x18\x05 \x01(\x03R\x0eavailableDelta\x12!\n" +
|
||
"\ffrozen_delta\x18\x06 \x01(\x03R\vfrozenDelta\x12'\n" +
|
||
"\x0favailable_after\x18\a \x01(\x03R\x0eavailableAfter\x12!\n" +
|
||
"\ffrozen_after\x18\b \x01(\x03R\vfrozenAfter\x120\n" +
|
||
"\x14counterparty_user_id\x18\t \x01(\x03R\x12counterpartyUserId\x12\x17\n" +
|
||
"\aroom_id\x18\n" +
|
||
" \x01(\tR\x06roomId\x12\"\n" +
|
||
"\rcreated_at_ms\x18\v \x01(\x03R\vcreatedAtMs\"\xc2\x01\n" +
|
||
"\x1dListWalletTransactionsRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x17\n" +
|
||
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x1d\n" +
|
||
"\n" +
|
||
"asset_type\x18\x04 \x01(\tR\tassetType\x12\x12\n" +
|
||
"\x04page\x18\x05 \x01(\x05R\x04page\x12\x1b\n" +
|
||
"\tpage_size\x18\x06 \x01(\x05R\bpageSize\"~\n" +
|
||
"\x1eListWalletTransactionsResponse\x12F\n" +
|
||
"\ftransactions\x18\x01 \x03(\v2\".hyapp.wallet.v1.WalletTransactionR\ftransactions\x12\x14\n" +
|
||
"\x05total\x18\x02 \x01(\x03R\x05total\"\xa7\x02\n" +
|
||
"\x11WithdrawalRequest\x12#\n" +
|
||
"\rwithdrawal_id\x18\x01 \x01(\tR\fwithdrawalId\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1d\n" +
|
||
"\n" +
|
||
"asset_type\x18\x03 \x01(\tR\tassetType\x12\x16\n" +
|
||
"\x06amount\x18\x04 \x01(\x03R\x06amount\x12\x16\n" +
|
||
"\x06status\x18\x05 \x01(\tR\x06status\x12%\n" +
|
||
"\x0epayout_account\x18\x06 \x01(\tR\rpayoutAccount\x12\x16\n" +
|
||
"\x06reason\x18\a \x01(\tR\x06reason\x12\"\n" +
|
||
"\rcreated_at_ms\x18\b \x01(\x03R\vcreatedAtMs\x12\"\n" +
|
||
"\rupdated_at_ms\x18\t \x01(\x03R\vupdatedAtMs\"\xc2\x01\n" +
|
||
"\x16ApplyWithdrawalRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"command_id\x18\x01 \x01(\tR\tcommandId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x17\n" +
|
||
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x16\n" +
|
||
"\x06amount\x18\x04 \x01(\x03R\x06amount\x12%\n" +
|
||
"\x0epayout_account\x18\x05 \x01(\tR\rpayoutAccount\x12\x16\n" +
|
||
"\x06reason\x18\x06 \x01(\tR\x06reason\"\x96\x01\n" +
|
||
"\x17ApplyWithdrawalResponse\x12B\n" +
|
||
"\n" +
|
||
"withdrawal\x18\x01 \x01(\v2\".hyapp.wallet.v1.WithdrawalRequestR\n" +
|
||
"withdrawal\x127\n" +
|
||
"\abalance\x18\x02 \x01(\v2\x1d.hyapp.wallet.v1.AssetBalanceR\abalance\"\xce\x01\n" +
|
||
"\rVipRewardItem\x12\x1f\n" +
|
||
"\vresource_id\x18\x01 \x01(\x03R\n" +
|
||
"resourceId\x12#\n" +
|
||
"\rresource_code\x18\x02 \x01(\tR\fresourceCode\x12#\n" +
|
||
"\rresource_type\x18\x03 \x01(\tR\fresourceType\x12\x12\n" +
|
||
"\x04name\x18\x04 \x01(\tR\x04name\x12\x1a\n" +
|
||
"\bquantity\x18\x05 \x01(\x03R\bquantity\x12\"\n" +
|
||
"\rexpires_at_ms\x18\x06 \x01(\x03R\vexpiresAtMs\"\xca\x02\n" +
|
||
"\bVipLevel\x12\x14\n" +
|
||
"\x05level\x18\x01 \x01(\x05R\x05level\x12\x12\n" +
|
||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n" +
|
||
"\x06status\x18\x03 \x01(\tR\x06status\x12\x1d\n" +
|
||
"\n" +
|
||
"price_coin\x18\x04 \x01(\x03R\tpriceCoin\x12\x1f\n" +
|
||
"\vduration_ms\x18\x05 \x01(\x03R\n" +
|
||
"durationMs\x127\n" +
|
||
"\x18reward_resource_group_id\x18\x06 \x01(\x03R\x15rewardResourceGroupId\x12A\n" +
|
||
"\freward_items\x18\a \x03(\v2\x1e.hyapp.wallet.v1.VipRewardItemR\vrewardItems\x12!\n" +
|
||
"\fcan_purchase\x18\b \x01(\bR\vcanPurchase\x12\x1d\n" +
|
||
"\n" +
|
||
"sort_order\x18\t \x01(\x05R\tsortOrder\"\xd0\x01\n" +
|
||
"\aUserVip\x12\x17\n" +
|
||
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x14\n" +
|
||
"\x05level\x18\x02 \x01(\x05R\x05level\x12\x12\n" +
|
||
"\x04name\x18\x03 \x01(\tR\x04name\x12\x16\n" +
|
||
"\x06active\x18\x04 \x01(\bR\x06active\x12\"\n" +
|
||
"\rstarted_at_ms\x18\x05 \x01(\x03R\vstartedAtMs\x12\"\n" +
|
||
"\rexpires_at_ms\x18\x06 \x01(\x03R\vexpiresAtMs\x12\"\n" +
|
||
"\rupdated_at_ms\x18\a \x01(\x03R\vupdatedAtMs\"k\n" +
|
||
"\x16ListVipPackagesRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x17\n" +
|
||
"\auser_id\x18\x03 \x01(\x03R\x06userId\"\x8b\x01\n" +
|
||
"\x17ListVipPackagesResponse\x129\n" +
|
||
"\vcurrent_vip\x18\x01 \x01(\v2\x18.hyapp.wallet.v1.UserVipR\n" +
|
||
"currentVip\x125\n" +
|
||
"\bpackages\x18\x02 \x03(\v2\x19.hyapp.wallet.v1.VipLevelR\bpackages\"d\n" +
|
||
"\x0fGetMyVipRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x17\n" +
|
||
"\auser_id\x18\x03 \x01(\x03R\x06userId\">\n" +
|
||
"\x10GetMyVipResponse\x12*\n" +
|
||
"\x03vip\x18\x01 \x01(\v2\x18.hyapp.wallet.v1.UserVipR\x03vip\"}\n" +
|
||
"\x12PurchaseVipRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"command_id\x18\x01 \x01(\tR\tcommandId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x17\n" +
|
||
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x14\n" +
|
||
"\x05level\x18\x04 \x01(\x05R\x05level\"\x93\x02\n" +
|
||
"\x13PurchaseVipResponse\x12\x19\n" +
|
||
"\border_id\x18\x01 \x01(\tR\aorderId\x12%\n" +
|
||
"\x0etransaction_id\x18\x02 \x01(\tR\rtransactionId\x12*\n" +
|
||
"\x03vip\x18\x03 \x01(\v2\x18.hyapp.wallet.v1.UserVipR\x03vip\x12\x1d\n" +
|
||
"\n" +
|
||
"coin_spent\x18\x04 \x01(\x03R\tcoinSpent\x12,\n" +
|
||
"\x12coin_balance_after\x18\x05 \x01(\x03R\x10coinBalanceAfter\x12A\n" +
|
||
"\freward_items\x18\x06 \x03(\v2\x1e.hyapp.wallet.v1.VipRewardItemR\vrewardItems\"\xfc\x01\n" +
|
||
"\x17CreditTaskRewardRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"command_id\x18\x01 \x01(\tR\tcommandId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12$\n" +
|
||
"\x0etarget_user_id\x18\x03 \x01(\x03R\ftargetUserId\x12\x16\n" +
|
||
"\x06amount\x18\x04 \x01(\x03R\x06amount\x12\x1b\n" +
|
||
"\ttask_type\x18\x05 \x01(\tR\btaskType\x12\x17\n" +
|
||
"\atask_id\x18\x06 \x01(\tR\x06taskId\x12\x1b\n" +
|
||
"\tcycle_key\x18\a \x01(\tR\bcycleKey\x12\x16\n" +
|
||
"\x06reason\x18\b \x01(\tR\x06reason\"\xb6\x01\n" +
|
||
"\x18CreditTaskRewardResponse\x12%\n" +
|
||
"\x0etransaction_id\x18\x01 \x01(\tR\rtransactionId\x127\n" +
|
||
"\abalance\x18\x02 \x01(\v2\x1d.hyapp.wallet.v1.AssetBalanceR\abalance\x12\x16\n" +
|
||
"\x06amount\x18\x03 \x01(\x03R\x06amount\x12\"\n" +
|
||
"\rgranted_at_ms\x18\x04 \x01(\x03R\vgrantedAtMs\"\x9a\x03\n" +
|
||
"\x1aApplyGameCoinChangeRequest\x12\x1d\n" +
|
||
"\n" +
|
||
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
||
"\bapp_code\x18\x02 \x01(\tR\aappCode\x12\x1d\n" +
|
||
"\n" +
|
||
"command_id\x18\x03 \x01(\tR\tcommandId\x12\x17\n" +
|
||
"\auser_id\x18\x04 \x01(\x03R\x06userId\x12#\n" +
|
||
"\rplatform_code\x18\x05 \x01(\tR\fplatformCode\x12\x17\n" +
|
||
"\agame_id\x18\x06 \x01(\tR\x06gameId\x12*\n" +
|
||
"\x11provider_order_id\x18\a \x01(\tR\x0fproviderOrderId\x12*\n" +
|
||
"\x11provider_round_id\x18\b \x01(\tR\x0fproviderRoundId\x12\x17\n" +
|
||
"\aop_type\x18\t \x01(\tR\x06opType\x12\x1f\n" +
|
||
"\vcoin_amount\x18\n" +
|
||
" \x01(\x03R\n" +
|
||
"coinAmount\x12\x17\n" +
|
||
"\aroom_id\x18\v \x01(\tR\x06roomId\x12!\n" +
|
||
"\frequest_hash\x18\f \x01(\tR\vrequestHash\"\xa3\x01\n" +
|
||
"\x1bApplyGameCoinChangeResponse\x122\n" +
|
||
"\x15wallet_transaction_id\x18\x01 \x01(\tR\x13walletTransactionId\x12#\n" +
|
||
"\rbalance_after\x18\x02 \x01(\x03R\fbalanceAfter\x12+\n" +
|
||
"\x11idempotent_replay\x18\x03 \x01(\bR\x10idempotentReplay2\x83$\n" +
|
||
"\rWalletService\x12R\n" +
|
||
"\tDebitGift\x12!.hyapp.wallet.v1.DebitGiftRequest\x1a\".hyapp.wallet.v1.DebitGiftResponse\x12X\n" +
|
||
"\vGetBalances\x12#.hyapp.wallet.v1.GetBalancesRequest\x1a$.hyapp.wallet.v1.GetBalancesResponse\x12g\n" +
|
||
"\x10AdminCreditAsset\x12(.hyapp.wallet.v1.AdminCreditAssetRequest\x1a).hyapp.wallet.v1.AdminCreditAssetResponse\x12\x85\x01\n" +
|
||
"\x1aAdminCreditCoinSellerStock\x122.hyapp.wallet.v1.AdminCreditCoinSellerStockRequest\x1a3.hyapp.wallet.v1.AdminCreditCoinSellerStockResponse\x12y\n" +
|
||
"\x16TransferCoinFromSeller\x12..hyapp.wallet.v1.TransferCoinFromSellerRequest\x1a/.hyapp.wallet.v1.TransferCoinFromSellerResponse\x12^\n" +
|
||
"\rListResources\x12%.hyapp.wallet.v1.ListResourcesRequest\x1a&.hyapp.wallet.v1.ListResourcesResponse\x12X\n" +
|
||
"\vGetResource\x12#.hyapp.wallet.v1.GetResourceRequest\x1a$.hyapp.wallet.v1.GetResourceResponse\x12[\n" +
|
||
"\x0eCreateResource\x12&.hyapp.wallet.v1.CreateResourceRequest\x1a!.hyapp.wallet.v1.ResourceResponse\x12[\n" +
|
||
"\x0eUpdateResource\x12&.hyapp.wallet.v1.UpdateResourceRequest\x1a!.hyapp.wallet.v1.ResourceResponse\x12a\n" +
|
||
"\x11SetResourceStatus\x12).hyapp.wallet.v1.SetResourceStatusRequest\x1a!.hyapp.wallet.v1.ResourceResponse\x12m\n" +
|
||
"\x12ListResourceGroups\x12*.hyapp.wallet.v1.ListResourceGroupsRequest\x1a+.hyapp.wallet.v1.ListResourceGroupsResponse\x12g\n" +
|
||
"\x10GetResourceGroup\x12(.hyapp.wallet.v1.GetResourceGroupRequest\x1a).hyapp.wallet.v1.GetResourceGroupResponse\x12j\n" +
|
||
"\x13CreateResourceGroup\x12+.hyapp.wallet.v1.CreateResourceGroupRequest\x1a&.hyapp.wallet.v1.ResourceGroupResponse\x12j\n" +
|
||
"\x13UpdateResourceGroup\x12+.hyapp.wallet.v1.UpdateResourceGroupRequest\x1a&.hyapp.wallet.v1.ResourceGroupResponse\x12p\n" +
|
||
"\x16SetResourceGroupStatus\x12..hyapp.wallet.v1.SetResourceGroupStatusRequest\x1a&.hyapp.wallet.v1.ResourceGroupResponse\x12d\n" +
|
||
"\x0fListGiftConfigs\x12'.hyapp.wallet.v1.ListGiftConfigsRequest\x1a(.hyapp.wallet.v1.ListGiftConfigsResponse\x12p\n" +
|
||
"\x13ListGiftTypeConfigs\x12+.hyapp.wallet.v1.ListGiftTypeConfigsRequest\x1a,.hyapp.wallet.v1.ListGiftTypeConfigsResponse\x12a\n" +
|
||
"\x10CreateGiftConfig\x12(.hyapp.wallet.v1.CreateGiftConfigRequest\x1a#.hyapp.wallet.v1.GiftConfigResponse\x12a\n" +
|
||
"\x10UpdateGiftConfig\x12(.hyapp.wallet.v1.UpdateGiftConfigRequest\x1a#.hyapp.wallet.v1.GiftConfigResponse\x12g\n" +
|
||
"\x13SetGiftConfigStatus\x12+.hyapp.wallet.v1.SetGiftConfigStatusRequest\x1a#.hyapp.wallet.v1.GiftConfigResponse\x12m\n" +
|
||
"\x14UpsertGiftTypeConfig\x12,.hyapp.wallet.v1.UpsertGiftTypeConfigRequest\x1a'.hyapp.wallet.v1.GiftTypeConfigResponse\x12^\n" +
|
||
"\rGrantResource\x12%.hyapp.wallet.v1.GrantResourceRequest\x1a&.hyapp.wallet.v1.ResourceGrantResponse\x12h\n" +
|
||
"\x12GrantResourceGroup\x12*.hyapp.wallet.v1.GrantResourceGroupRequest\x1a&.hyapp.wallet.v1.ResourceGrantResponse\x12j\n" +
|
||
"\x11ListUserResources\x12).hyapp.wallet.v1.ListUserResourcesRequest\x1a*.hyapp.wallet.v1.ListUserResourcesResponse\x12j\n" +
|
||
"\x11EquipUserResource\x12).hyapp.wallet.v1.EquipUserResourceRequest\x1a*.hyapp.wallet.v1.EquipUserResourceResponse\x12m\n" +
|
||
"\x12ListResourceGrants\x12*.hyapp.wallet.v1.ListResourceGrantsRequest\x1a+.hyapp.wallet.v1.ListResourceGrantsResponse\x12j\n" +
|
||
"\x11ListRechargeBills\x12).hyapp.wallet.v1.ListRechargeBillsRequest\x1a*.hyapp.wallet.v1.ListRechargeBillsResponse\x12j\n" +
|
||
"\x11GetWalletOverview\x12).hyapp.wallet.v1.GetWalletOverviewRequest\x1a*.hyapp.wallet.v1.GetWalletOverviewResponse\x12v\n" +
|
||
"\x15GetWalletValueSummary\x12-.hyapp.wallet.v1.GetWalletValueSummaryRequest\x1a..hyapp.wallet.v1.GetWalletValueSummaryResponse\x12d\n" +
|
||
"\x0fGetUserGiftWall\x12'.hyapp.wallet.v1.GetUserGiftWallRequest\x1a(.hyapp.wallet.v1.GetUserGiftWallResponse\x12s\n" +
|
||
"\x14ListRechargeProducts\x12,.hyapp.wallet.v1.ListRechargeProductsRequest\x1a-.hyapp.wallet.v1.ListRechargeProductsResponse\x12\x82\x01\n" +
|
||
"\x19ListAdminRechargeProducts\x121.hyapp.wallet.v1.ListAdminRechargeProductsRequest\x1a2.hyapp.wallet.v1.ListAdminRechargeProductsResponse\x12p\n" +
|
||
"\x15CreateRechargeProduct\x12-.hyapp.wallet.v1.CreateRechargeProductRequest\x1a(.hyapp.wallet.v1.RechargeProductResponse\x12p\n" +
|
||
"\x15UpdateRechargeProduct\x12-.hyapp.wallet.v1.UpdateRechargeProductRequest\x1a(.hyapp.wallet.v1.RechargeProductResponse\x12v\n" +
|
||
"\x15DeleteRechargeProduct\x12-.hyapp.wallet.v1.DeleteRechargeProductRequest\x1a..hyapp.wallet.v1.DeleteRechargeProductResponse\x12\x7f\n" +
|
||
"\x18GetDiamondExchangeConfig\x120.hyapp.wallet.v1.GetDiamondExchangeConfigRequest\x1a1.hyapp.wallet.v1.GetDiamondExchangeConfigResponse\x12y\n" +
|
||
"\x16ListWalletTransactions\x12..hyapp.wallet.v1.ListWalletTransactionsRequest\x1a/.hyapp.wallet.v1.ListWalletTransactionsResponse\x12d\n" +
|
||
"\x0fApplyWithdrawal\x12'.hyapp.wallet.v1.ApplyWithdrawalRequest\x1a(.hyapp.wallet.v1.ApplyWithdrawalResponse\x12d\n" +
|
||
"\x0fListVipPackages\x12'.hyapp.wallet.v1.ListVipPackagesRequest\x1a(.hyapp.wallet.v1.ListVipPackagesResponse\x12O\n" +
|
||
"\bGetMyVip\x12 .hyapp.wallet.v1.GetMyVipRequest\x1a!.hyapp.wallet.v1.GetMyVipResponse\x12X\n" +
|
||
"\vPurchaseVip\x12#.hyapp.wallet.v1.PurchaseVipRequest\x1a$.hyapp.wallet.v1.PurchaseVipResponse\x12g\n" +
|
||
"\x10CreditTaskReward\x12(.hyapp.wallet.v1.CreditTaskRewardRequest\x1a).hyapp.wallet.v1.CreditTaskRewardResponse\x12p\n" +
|
||
"\x13ApplyGameCoinChange\x12+.hyapp.wallet.v1.ApplyGameCoinChangeRequest\x1a,.hyapp.wallet.v1.ApplyGameCoinChangeResponseB*Z(hyapp.local/api/proto/wallet/v1;walletv1b\x06proto3"
|
||
|
||
var (
|
||
file_proto_wallet_v1_wallet_proto_rawDescOnce sync.Once
|
||
file_proto_wallet_v1_wallet_proto_rawDescData []byte
|
||
)
|
||
|
||
func file_proto_wallet_v1_wallet_proto_rawDescGZIP() []byte {
|
||
file_proto_wallet_v1_wallet_proto_rawDescOnce.Do(func() {
|
||
file_proto_wallet_v1_wallet_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_wallet_v1_wallet_proto_rawDesc), len(file_proto_wallet_v1_wallet_proto_rawDesc)))
|
||
})
|
||
return file_proto_wallet_v1_wallet_proto_rawDescData
|
||
}
|
||
|
||
var file_proto_wallet_v1_wallet_proto_msgTypes = make([]protoimpl.MessageInfo, 99)
|
||
var file_proto_wallet_v1_wallet_proto_goTypes = []any{
|
||
(*DebitGiftRequest)(nil), // 0: hyapp.wallet.v1.DebitGiftRequest
|
||
(*DebitGiftResponse)(nil), // 1: hyapp.wallet.v1.DebitGiftResponse
|
||
(*AssetBalance)(nil), // 2: hyapp.wallet.v1.AssetBalance
|
||
(*GetBalancesRequest)(nil), // 3: hyapp.wallet.v1.GetBalancesRequest
|
||
(*GetBalancesResponse)(nil), // 4: hyapp.wallet.v1.GetBalancesResponse
|
||
(*AdminCreditAssetRequest)(nil), // 5: hyapp.wallet.v1.AdminCreditAssetRequest
|
||
(*AdminCreditAssetResponse)(nil), // 6: hyapp.wallet.v1.AdminCreditAssetResponse
|
||
(*AdminCreditCoinSellerStockRequest)(nil), // 7: hyapp.wallet.v1.AdminCreditCoinSellerStockRequest
|
||
(*AdminCreditCoinSellerStockResponse)(nil), // 8: hyapp.wallet.v1.AdminCreditCoinSellerStockResponse
|
||
(*TransferCoinFromSellerRequest)(nil), // 9: hyapp.wallet.v1.TransferCoinFromSellerRequest
|
||
(*TransferCoinFromSellerResponse)(nil), // 10: hyapp.wallet.v1.TransferCoinFromSellerResponse
|
||
(*Resource)(nil), // 11: hyapp.wallet.v1.Resource
|
||
(*ResourceGroupItem)(nil), // 12: hyapp.wallet.v1.ResourceGroupItem
|
||
(*ResourceGroup)(nil), // 13: hyapp.wallet.v1.ResourceGroup
|
||
(*GiftConfig)(nil), // 14: hyapp.wallet.v1.GiftConfig
|
||
(*GiftTypeConfig)(nil), // 15: hyapp.wallet.v1.GiftTypeConfig
|
||
(*UserResourceEntitlement)(nil), // 16: hyapp.wallet.v1.UserResourceEntitlement
|
||
(*ResourceGrantItem)(nil), // 17: hyapp.wallet.v1.ResourceGrantItem
|
||
(*ResourceGrant)(nil), // 18: hyapp.wallet.v1.ResourceGrant
|
||
(*ResourceGroupItemInput)(nil), // 19: hyapp.wallet.v1.ResourceGroupItemInput
|
||
(*ListResourcesRequest)(nil), // 20: hyapp.wallet.v1.ListResourcesRequest
|
||
(*ListResourcesResponse)(nil), // 21: hyapp.wallet.v1.ListResourcesResponse
|
||
(*GetResourceRequest)(nil), // 22: hyapp.wallet.v1.GetResourceRequest
|
||
(*GetResourceResponse)(nil), // 23: hyapp.wallet.v1.GetResourceResponse
|
||
(*CreateResourceRequest)(nil), // 24: hyapp.wallet.v1.CreateResourceRequest
|
||
(*UpdateResourceRequest)(nil), // 25: hyapp.wallet.v1.UpdateResourceRequest
|
||
(*SetResourceStatusRequest)(nil), // 26: hyapp.wallet.v1.SetResourceStatusRequest
|
||
(*ResourceResponse)(nil), // 27: hyapp.wallet.v1.ResourceResponse
|
||
(*ListResourceGroupsRequest)(nil), // 28: hyapp.wallet.v1.ListResourceGroupsRequest
|
||
(*ListResourceGroupsResponse)(nil), // 29: hyapp.wallet.v1.ListResourceGroupsResponse
|
||
(*GetResourceGroupRequest)(nil), // 30: hyapp.wallet.v1.GetResourceGroupRequest
|
||
(*GetResourceGroupResponse)(nil), // 31: hyapp.wallet.v1.GetResourceGroupResponse
|
||
(*CreateResourceGroupRequest)(nil), // 32: hyapp.wallet.v1.CreateResourceGroupRequest
|
||
(*UpdateResourceGroupRequest)(nil), // 33: hyapp.wallet.v1.UpdateResourceGroupRequest
|
||
(*SetResourceGroupStatusRequest)(nil), // 34: hyapp.wallet.v1.SetResourceGroupStatusRequest
|
||
(*ResourceGroupResponse)(nil), // 35: hyapp.wallet.v1.ResourceGroupResponse
|
||
(*ListGiftConfigsRequest)(nil), // 36: hyapp.wallet.v1.ListGiftConfigsRequest
|
||
(*ListGiftConfigsResponse)(nil), // 37: hyapp.wallet.v1.ListGiftConfigsResponse
|
||
(*ListGiftTypeConfigsRequest)(nil), // 38: hyapp.wallet.v1.ListGiftTypeConfigsRequest
|
||
(*ListGiftTypeConfigsResponse)(nil), // 39: hyapp.wallet.v1.ListGiftTypeConfigsResponse
|
||
(*UpsertGiftTypeConfigRequest)(nil), // 40: hyapp.wallet.v1.UpsertGiftTypeConfigRequest
|
||
(*GiftTypeConfigResponse)(nil), // 41: hyapp.wallet.v1.GiftTypeConfigResponse
|
||
(*CreateGiftConfigRequest)(nil), // 42: hyapp.wallet.v1.CreateGiftConfigRequest
|
||
(*UpdateGiftConfigRequest)(nil), // 43: hyapp.wallet.v1.UpdateGiftConfigRequest
|
||
(*SetGiftConfigStatusRequest)(nil), // 44: hyapp.wallet.v1.SetGiftConfigStatusRequest
|
||
(*GiftConfigResponse)(nil), // 45: hyapp.wallet.v1.GiftConfigResponse
|
||
(*GrantResourceRequest)(nil), // 46: hyapp.wallet.v1.GrantResourceRequest
|
||
(*GrantResourceGroupRequest)(nil), // 47: hyapp.wallet.v1.GrantResourceGroupRequest
|
||
(*ResourceGrantResponse)(nil), // 48: hyapp.wallet.v1.ResourceGrantResponse
|
||
(*ListUserResourcesRequest)(nil), // 49: hyapp.wallet.v1.ListUserResourcesRequest
|
||
(*ListUserResourcesResponse)(nil), // 50: hyapp.wallet.v1.ListUserResourcesResponse
|
||
(*EquipUserResourceRequest)(nil), // 51: hyapp.wallet.v1.EquipUserResourceRequest
|
||
(*EquipUserResourceResponse)(nil), // 52: hyapp.wallet.v1.EquipUserResourceResponse
|
||
(*ListResourceGrantsRequest)(nil), // 53: hyapp.wallet.v1.ListResourceGrantsRequest
|
||
(*ListResourceGrantsResponse)(nil), // 54: hyapp.wallet.v1.ListResourceGrantsResponse
|
||
(*RechargeBill)(nil), // 55: hyapp.wallet.v1.RechargeBill
|
||
(*ListRechargeBillsRequest)(nil), // 56: hyapp.wallet.v1.ListRechargeBillsRequest
|
||
(*ListRechargeBillsResponse)(nil), // 57: hyapp.wallet.v1.ListRechargeBillsResponse
|
||
(*WalletFeatureFlags)(nil), // 58: hyapp.wallet.v1.WalletFeatureFlags
|
||
(*GetWalletOverviewRequest)(nil), // 59: hyapp.wallet.v1.GetWalletOverviewRequest
|
||
(*GetWalletOverviewResponse)(nil), // 60: hyapp.wallet.v1.GetWalletOverviewResponse
|
||
(*WalletValueSummary)(nil), // 61: hyapp.wallet.v1.WalletValueSummary
|
||
(*GetWalletValueSummaryRequest)(nil), // 62: hyapp.wallet.v1.GetWalletValueSummaryRequest
|
||
(*GetWalletValueSummaryResponse)(nil), // 63: hyapp.wallet.v1.GetWalletValueSummaryResponse
|
||
(*GiftWallItem)(nil), // 64: hyapp.wallet.v1.GiftWallItem
|
||
(*GetUserGiftWallRequest)(nil), // 65: hyapp.wallet.v1.GetUserGiftWallRequest
|
||
(*GetUserGiftWallResponse)(nil), // 66: hyapp.wallet.v1.GetUserGiftWallResponse
|
||
(*RechargeProduct)(nil), // 67: hyapp.wallet.v1.RechargeProduct
|
||
(*ListRechargeProductsRequest)(nil), // 68: hyapp.wallet.v1.ListRechargeProductsRequest
|
||
(*ListRechargeProductsResponse)(nil), // 69: hyapp.wallet.v1.ListRechargeProductsResponse
|
||
(*ListAdminRechargeProductsRequest)(nil), // 70: hyapp.wallet.v1.ListAdminRechargeProductsRequest
|
||
(*ListAdminRechargeProductsResponse)(nil), // 71: hyapp.wallet.v1.ListAdminRechargeProductsResponse
|
||
(*CreateRechargeProductRequest)(nil), // 72: hyapp.wallet.v1.CreateRechargeProductRequest
|
||
(*UpdateRechargeProductRequest)(nil), // 73: hyapp.wallet.v1.UpdateRechargeProductRequest
|
||
(*DeleteRechargeProductRequest)(nil), // 74: hyapp.wallet.v1.DeleteRechargeProductRequest
|
||
(*RechargeProductResponse)(nil), // 75: hyapp.wallet.v1.RechargeProductResponse
|
||
(*DeleteRechargeProductResponse)(nil), // 76: hyapp.wallet.v1.DeleteRechargeProductResponse
|
||
(*DiamondExchangeRule)(nil), // 77: hyapp.wallet.v1.DiamondExchangeRule
|
||
(*GetDiamondExchangeConfigRequest)(nil), // 78: hyapp.wallet.v1.GetDiamondExchangeConfigRequest
|
||
(*GetDiamondExchangeConfigResponse)(nil), // 79: hyapp.wallet.v1.GetDiamondExchangeConfigResponse
|
||
(*WalletTransaction)(nil), // 80: hyapp.wallet.v1.WalletTransaction
|
||
(*ListWalletTransactionsRequest)(nil), // 81: hyapp.wallet.v1.ListWalletTransactionsRequest
|
||
(*ListWalletTransactionsResponse)(nil), // 82: hyapp.wallet.v1.ListWalletTransactionsResponse
|
||
(*WithdrawalRequest)(nil), // 83: hyapp.wallet.v1.WithdrawalRequest
|
||
(*ApplyWithdrawalRequest)(nil), // 84: hyapp.wallet.v1.ApplyWithdrawalRequest
|
||
(*ApplyWithdrawalResponse)(nil), // 85: hyapp.wallet.v1.ApplyWithdrawalResponse
|
||
(*VipRewardItem)(nil), // 86: hyapp.wallet.v1.VipRewardItem
|
||
(*VipLevel)(nil), // 87: hyapp.wallet.v1.VipLevel
|
||
(*UserVip)(nil), // 88: hyapp.wallet.v1.UserVip
|
||
(*ListVipPackagesRequest)(nil), // 89: hyapp.wallet.v1.ListVipPackagesRequest
|
||
(*ListVipPackagesResponse)(nil), // 90: hyapp.wallet.v1.ListVipPackagesResponse
|
||
(*GetMyVipRequest)(nil), // 91: hyapp.wallet.v1.GetMyVipRequest
|
||
(*GetMyVipResponse)(nil), // 92: hyapp.wallet.v1.GetMyVipResponse
|
||
(*PurchaseVipRequest)(nil), // 93: hyapp.wallet.v1.PurchaseVipRequest
|
||
(*PurchaseVipResponse)(nil), // 94: hyapp.wallet.v1.PurchaseVipResponse
|
||
(*CreditTaskRewardRequest)(nil), // 95: hyapp.wallet.v1.CreditTaskRewardRequest
|
||
(*CreditTaskRewardResponse)(nil), // 96: hyapp.wallet.v1.CreditTaskRewardResponse
|
||
(*ApplyGameCoinChangeRequest)(nil), // 97: hyapp.wallet.v1.ApplyGameCoinChangeRequest
|
||
(*ApplyGameCoinChangeResponse)(nil), // 98: hyapp.wallet.v1.ApplyGameCoinChangeResponse
|
||
}
|
||
var file_proto_wallet_v1_wallet_proto_depIdxs = []int32{
|
||
2, // 0: hyapp.wallet.v1.GetBalancesResponse.balances:type_name -> hyapp.wallet.v1.AssetBalance
|
||
2, // 1: hyapp.wallet.v1.AdminCreditAssetResponse.balance:type_name -> hyapp.wallet.v1.AssetBalance
|
||
11, // 2: hyapp.wallet.v1.ResourceGroupItem.resource:type_name -> hyapp.wallet.v1.Resource
|
||
12, // 3: hyapp.wallet.v1.ResourceGroup.items:type_name -> hyapp.wallet.v1.ResourceGroupItem
|
||
11, // 4: hyapp.wallet.v1.GiftConfig.resource:type_name -> hyapp.wallet.v1.Resource
|
||
11, // 5: hyapp.wallet.v1.UserResourceEntitlement.resource:type_name -> hyapp.wallet.v1.Resource
|
||
17, // 6: hyapp.wallet.v1.ResourceGrant.items:type_name -> hyapp.wallet.v1.ResourceGrantItem
|
||
11, // 7: hyapp.wallet.v1.ListResourcesResponse.resources:type_name -> hyapp.wallet.v1.Resource
|
||
11, // 8: hyapp.wallet.v1.GetResourceResponse.resource:type_name -> hyapp.wallet.v1.Resource
|
||
11, // 9: hyapp.wallet.v1.ResourceResponse.resource:type_name -> hyapp.wallet.v1.Resource
|
||
13, // 10: hyapp.wallet.v1.ListResourceGroupsResponse.groups:type_name -> hyapp.wallet.v1.ResourceGroup
|
||
13, // 11: hyapp.wallet.v1.GetResourceGroupResponse.group:type_name -> hyapp.wallet.v1.ResourceGroup
|
||
19, // 12: hyapp.wallet.v1.CreateResourceGroupRequest.items:type_name -> hyapp.wallet.v1.ResourceGroupItemInput
|
||
19, // 13: hyapp.wallet.v1.UpdateResourceGroupRequest.items:type_name -> hyapp.wallet.v1.ResourceGroupItemInput
|
||
13, // 14: hyapp.wallet.v1.ResourceGroupResponse.group:type_name -> hyapp.wallet.v1.ResourceGroup
|
||
14, // 15: hyapp.wallet.v1.ListGiftConfigsResponse.gifts:type_name -> hyapp.wallet.v1.GiftConfig
|
||
15, // 16: hyapp.wallet.v1.ListGiftTypeConfigsResponse.gift_types:type_name -> hyapp.wallet.v1.GiftTypeConfig
|
||
15, // 17: hyapp.wallet.v1.GiftTypeConfigResponse.gift_type:type_name -> hyapp.wallet.v1.GiftTypeConfig
|
||
14, // 18: hyapp.wallet.v1.GiftConfigResponse.gift:type_name -> hyapp.wallet.v1.GiftConfig
|
||
18, // 19: hyapp.wallet.v1.ResourceGrantResponse.grant:type_name -> hyapp.wallet.v1.ResourceGrant
|
||
16, // 20: hyapp.wallet.v1.ListUserResourcesResponse.resources:type_name -> hyapp.wallet.v1.UserResourceEntitlement
|
||
16, // 21: hyapp.wallet.v1.EquipUserResourceResponse.resource:type_name -> hyapp.wallet.v1.UserResourceEntitlement
|
||
18, // 22: hyapp.wallet.v1.ListResourceGrantsResponse.grants:type_name -> hyapp.wallet.v1.ResourceGrant
|
||
55, // 23: hyapp.wallet.v1.ListRechargeBillsResponse.bills:type_name -> hyapp.wallet.v1.RechargeBill
|
||
2, // 24: hyapp.wallet.v1.GetWalletOverviewResponse.balances:type_name -> hyapp.wallet.v1.AssetBalance
|
||
58, // 25: hyapp.wallet.v1.GetWalletOverviewResponse.feature_flags:type_name -> hyapp.wallet.v1.WalletFeatureFlags
|
||
61, // 26: hyapp.wallet.v1.GetWalletValueSummaryResponse.summary:type_name -> hyapp.wallet.v1.WalletValueSummary
|
||
11, // 27: hyapp.wallet.v1.GiftWallItem.resource:type_name -> hyapp.wallet.v1.Resource
|
||
64, // 28: hyapp.wallet.v1.GetUserGiftWallResponse.items:type_name -> hyapp.wallet.v1.GiftWallItem
|
||
67, // 29: hyapp.wallet.v1.ListRechargeProductsResponse.products:type_name -> hyapp.wallet.v1.RechargeProduct
|
||
67, // 30: hyapp.wallet.v1.ListAdminRechargeProductsResponse.products:type_name -> hyapp.wallet.v1.RechargeProduct
|
||
67, // 31: hyapp.wallet.v1.RechargeProductResponse.product:type_name -> hyapp.wallet.v1.RechargeProduct
|
||
77, // 32: hyapp.wallet.v1.GetDiamondExchangeConfigResponse.rules:type_name -> hyapp.wallet.v1.DiamondExchangeRule
|
||
80, // 33: hyapp.wallet.v1.ListWalletTransactionsResponse.transactions:type_name -> hyapp.wallet.v1.WalletTransaction
|
||
83, // 34: hyapp.wallet.v1.ApplyWithdrawalResponse.withdrawal:type_name -> hyapp.wallet.v1.WithdrawalRequest
|
||
2, // 35: hyapp.wallet.v1.ApplyWithdrawalResponse.balance:type_name -> hyapp.wallet.v1.AssetBalance
|
||
86, // 36: hyapp.wallet.v1.VipLevel.reward_items:type_name -> hyapp.wallet.v1.VipRewardItem
|
||
88, // 37: hyapp.wallet.v1.ListVipPackagesResponse.current_vip:type_name -> hyapp.wallet.v1.UserVip
|
||
87, // 38: hyapp.wallet.v1.ListVipPackagesResponse.packages:type_name -> hyapp.wallet.v1.VipLevel
|
||
88, // 39: hyapp.wallet.v1.GetMyVipResponse.vip:type_name -> hyapp.wallet.v1.UserVip
|
||
88, // 40: hyapp.wallet.v1.PurchaseVipResponse.vip:type_name -> hyapp.wallet.v1.UserVip
|
||
86, // 41: hyapp.wallet.v1.PurchaseVipResponse.reward_items:type_name -> hyapp.wallet.v1.VipRewardItem
|
||
2, // 42: hyapp.wallet.v1.CreditTaskRewardResponse.balance:type_name -> hyapp.wallet.v1.AssetBalance
|
||
0, // 43: hyapp.wallet.v1.WalletService.DebitGift:input_type -> hyapp.wallet.v1.DebitGiftRequest
|
||
3, // 44: hyapp.wallet.v1.WalletService.GetBalances:input_type -> hyapp.wallet.v1.GetBalancesRequest
|
||
5, // 45: hyapp.wallet.v1.WalletService.AdminCreditAsset:input_type -> hyapp.wallet.v1.AdminCreditAssetRequest
|
||
7, // 46: hyapp.wallet.v1.WalletService.AdminCreditCoinSellerStock:input_type -> hyapp.wallet.v1.AdminCreditCoinSellerStockRequest
|
||
9, // 47: hyapp.wallet.v1.WalletService.TransferCoinFromSeller:input_type -> hyapp.wallet.v1.TransferCoinFromSellerRequest
|
||
20, // 48: hyapp.wallet.v1.WalletService.ListResources:input_type -> hyapp.wallet.v1.ListResourcesRequest
|
||
22, // 49: hyapp.wallet.v1.WalletService.GetResource:input_type -> hyapp.wallet.v1.GetResourceRequest
|
||
24, // 50: hyapp.wallet.v1.WalletService.CreateResource:input_type -> hyapp.wallet.v1.CreateResourceRequest
|
||
25, // 51: hyapp.wallet.v1.WalletService.UpdateResource:input_type -> hyapp.wallet.v1.UpdateResourceRequest
|
||
26, // 52: hyapp.wallet.v1.WalletService.SetResourceStatus:input_type -> hyapp.wallet.v1.SetResourceStatusRequest
|
||
28, // 53: hyapp.wallet.v1.WalletService.ListResourceGroups:input_type -> hyapp.wallet.v1.ListResourceGroupsRequest
|
||
30, // 54: hyapp.wallet.v1.WalletService.GetResourceGroup:input_type -> hyapp.wallet.v1.GetResourceGroupRequest
|
||
32, // 55: hyapp.wallet.v1.WalletService.CreateResourceGroup:input_type -> hyapp.wallet.v1.CreateResourceGroupRequest
|
||
33, // 56: hyapp.wallet.v1.WalletService.UpdateResourceGroup:input_type -> hyapp.wallet.v1.UpdateResourceGroupRequest
|
||
34, // 57: hyapp.wallet.v1.WalletService.SetResourceGroupStatus:input_type -> hyapp.wallet.v1.SetResourceGroupStatusRequest
|
||
36, // 58: hyapp.wallet.v1.WalletService.ListGiftConfigs:input_type -> hyapp.wallet.v1.ListGiftConfigsRequest
|
||
38, // 59: hyapp.wallet.v1.WalletService.ListGiftTypeConfigs:input_type -> hyapp.wallet.v1.ListGiftTypeConfigsRequest
|
||
42, // 60: hyapp.wallet.v1.WalletService.CreateGiftConfig:input_type -> hyapp.wallet.v1.CreateGiftConfigRequest
|
||
43, // 61: hyapp.wallet.v1.WalletService.UpdateGiftConfig:input_type -> hyapp.wallet.v1.UpdateGiftConfigRequest
|
||
44, // 62: hyapp.wallet.v1.WalletService.SetGiftConfigStatus:input_type -> hyapp.wallet.v1.SetGiftConfigStatusRequest
|
||
40, // 63: hyapp.wallet.v1.WalletService.UpsertGiftTypeConfig:input_type -> hyapp.wallet.v1.UpsertGiftTypeConfigRequest
|
||
46, // 64: hyapp.wallet.v1.WalletService.GrantResource:input_type -> hyapp.wallet.v1.GrantResourceRequest
|
||
47, // 65: hyapp.wallet.v1.WalletService.GrantResourceGroup:input_type -> hyapp.wallet.v1.GrantResourceGroupRequest
|
||
49, // 66: hyapp.wallet.v1.WalletService.ListUserResources:input_type -> hyapp.wallet.v1.ListUserResourcesRequest
|
||
51, // 67: hyapp.wallet.v1.WalletService.EquipUserResource:input_type -> hyapp.wallet.v1.EquipUserResourceRequest
|
||
53, // 68: hyapp.wallet.v1.WalletService.ListResourceGrants:input_type -> hyapp.wallet.v1.ListResourceGrantsRequest
|
||
56, // 69: hyapp.wallet.v1.WalletService.ListRechargeBills:input_type -> hyapp.wallet.v1.ListRechargeBillsRequest
|
||
59, // 70: hyapp.wallet.v1.WalletService.GetWalletOverview:input_type -> hyapp.wallet.v1.GetWalletOverviewRequest
|
||
62, // 71: hyapp.wallet.v1.WalletService.GetWalletValueSummary:input_type -> hyapp.wallet.v1.GetWalletValueSummaryRequest
|
||
65, // 72: hyapp.wallet.v1.WalletService.GetUserGiftWall:input_type -> hyapp.wallet.v1.GetUserGiftWallRequest
|
||
68, // 73: hyapp.wallet.v1.WalletService.ListRechargeProducts:input_type -> hyapp.wallet.v1.ListRechargeProductsRequest
|
||
70, // 74: hyapp.wallet.v1.WalletService.ListAdminRechargeProducts:input_type -> hyapp.wallet.v1.ListAdminRechargeProductsRequest
|
||
72, // 75: hyapp.wallet.v1.WalletService.CreateRechargeProduct:input_type -> hyapp.wallet.v1.CreateRechargeProductRequest
|
||
73, // 76: hyapp.wallet.v1.WalletService.UpdateRechargeProduct:input_type -> hyapp.wallet.v1.UpdateRechargeProductRequest
|
||
74, // 77: hyapp.wallet.v1.WalletService.DeleteRechargeProduct:input_type -> hyapp.wallet.v1.DeleteRechargeProductRequest
|
||
78, // 78: hyapp.wallet.v1.WalletService.GetDiamondExchangeConfig:input_type -> hyapp.wallet.v1.GetDiamondExchangeConfigRequest
|
||
81, // 79: hyapp.wallet.v1.WalletService.ListWalletTransactions:input_type -> hyapp.wallet.v1.ListWalletTransactionsRequest
|
||
84, // 80: hyapp.wallet.v1.WalletService.ApplyWithdrawal:input_type -> hyapp.wallet.v1.ApplyWithdrawalRequest
|
||
89, // 81: hyapp.wallet.v1.WalletService.ListVipPackages:input_type -> hyapp.wallet.v1.ListVipPackagesRequest
|
||
91, // 82: hyapp.wallet.v1.WalletService.GetMyVip:input_type -> hyapp.wallet.v1.GetMyVipRequest
|
||
93, // 83: hyapp.wallet.v1.WalletService.PurchaseVip:input_type -> hyapp.wallet.v1.PurchaseVipRequest
|
||
95, // 84: hyapp.wallet.v1.WalletService.CreditTaskReward:input_type -> hyapp.wallet.v1.CreditTaskRewardRequest
|
||
97, // 85: hyapp.wallet.v1.WalletService.ApplyGameCoinChange:input_type -> hyapp.wallet.v1.ApplyGameCoinChangeRequest
|
||
1, // 86: hyapp.wallet.v1.WalletService.DebitGift:output_type -> hyapp.wallet.v1.DebitGiftResponse
|
||
4, // 87: hyapp.wallet.v1.WalletService.GetBalances:output_type -> hyapp.wallet.v1.GetBalancesResponse
|
||
6, // 88: hyapp.wallet.v1.WalletService.AdminCreditAsset:output_type -> hyapp.wallet.v1.AdminCreditAssetResponse
|
||
8, // 89: hyapp.wallet.v1.WalletService.AdminCreditCoinSellerStock:output_type -> hyapp.wallet.v1.AdminCreditCoinSellerStockResponse
|
||
10, // 90: hyapp.wallet.v1.WalletService.TransferCoinFromSeller:output_type -> hyapp.wallet.v1.TransferCoinFromSellerResponse
|
||
21, // 91: hyapp.wallet.v1.WalletService.ListResources:output_type -> hyapp.wallet.v1.ListResourcesResponse
|
||
23, // 92: hyapp.wallet.v1.WalletService.GetResource:output_type -> hyapp.wallet.v1.GetResourceResponse
|
||
27, // 93: hyapp.wallet.v1.WalletService.CreateResource:output_type -> hyapp.wallet.v1.ResourceResponse
|
||
27, // 94: hyapp.wallet.v1.WalletService.UpdateResource:output_type -> hyapp.wallet.v1.ResourceResponse
|
||
27, // 95: hyapp.wallet.v1.WalletService.SetResourceStatus:output_type -> hyapp.wallet.v1.ResourceResponse
|
||
29, // 96: hyapp.wallet.v1.WalletService.ListResourceGroups:output_type -> hyapp.wallet.v1.ListResourceGroupsResponse
|
||
31, // 97: hyapp.wallet.v1.WalletService.GetResourceGroup:output_type -> hyapp.wallet.v1.GetResourceGroupResponse
|
||
35, // 98: hyapp.wallet.v1.WalletService.CreateResourceGroup:output_type -> hyapp.wallet.v1.ResourceGroupResponse
|
||
35, // 99: hyapp.wallet.v1.WalletService.UpdateResourceGroup:output_type -> hyapp.wallet.v1.ResourceGroupResponse
|
||
35, // 100: hyapp.wallet.v1.WalletService.SetResourceGroupStatus:output_type -> hyapp.wallet.v1.ResourceGroupResponse
|
||
37, // 101: hyapp.wallet.v1.WalletService.ListGiftConfigs:output_type -> hyapp.wallet.v1.ListGiftConfigsResponse
|
||
39, // 102: hyapp.wallet.v1.WalletService.ListGiftTypeConfigs:output_type -> hyapp.wallet.v1.ListGiftTypeConfigsResponse
|
||
45, // 103: hyapp.wallet.v1.WalletService.CreateGiftConfig:output_type -> hyapp.wallet.v1.GiftConfigResponse
|
||
45, // 104: hyapp.wallet.v1.WalletService.UpdateGiftConfig:output_type -> hyapp.wallet.v1.GiftConfigResponse
|
||
45, // 105: hyapp.wallet.v1.WalletService.SetGiftConfigStatus:output_type -> hyapp.wallet.v1.GiftConfigResponse
|
||
41, // 106: hyapp.wallet.v1.WalletService.UpsertGiftTypeConfig:output_type -> hyapp.wallet.v1.GiftTypeConfigResponse
|
||
48, // 107: hyapp.wallet.v1.WalletService.GrantResource:output_type -> hyapp.wallet.v1.ResourceGrantResponse
|
||
48, // 108: hyapp.wallet.v1.WalletService.GrantResourceGroup:output_type -> hyapp.wallet.v1.ResourceGrantResponse
|
||
50, // 109: hyapp.wallet.v1.WalletService.ListUserResources:output_type -> hyapp.wallet.v1.ListUserResourcesResponse
|
||
52, // 110: hyapp.wallet.v1.WalletService.EquipUserResource:output_type -> hyapp.wallet.v1.EquipUserResourceResponse
|
||
54, // 111: hyapp.wallet.v1.WalletService.ListResourceGrants:output_type -> hyapp.wallet.v1.ListResourceGrantsResponse
|
||
57, // 112: hyapp.wallet.v1.WalletService.ListRechargeBills:output_type -> hyapp.wallet.v1.ListRechargeBillsResponse
|
||
60, // 113: hyapp.wallet.v1.WalletService.GetWalletOverview:output_type -> hyapp.wallet.v1.GetWalletOverviewResponse
|
||
63, // 114: hyapp.wallet.v1.WalletService.GetWalletValueSummary:output_type -> hyapp.wallet.v1.GetWalletValueSummaryResponse
|
||
66, // 115: hyapp.wallet.v1.WalletService.GetUserGiftWall:output_type -> hyapp.wallet.v1.GetUserGiftWallResponse
|
||
69, // 116: hyapp.wallet.v1.WalletService.ListRechargeProducts:output_type -> hyapp.wallet.v1.ListRechargeProductsResponse
|
||
71, // 117: hyapp.wallet.v1.WalletService.ListAdminRechargeProducts:output_type -> hyapp.wallet.v1.ListAdminRechargeProductsResponse
|
||
75, // 118: hyapp.wallet.v1.WalletService.CreateRechargeProduct:output_type -> hyapp.wallet.v1.RechargeProductResponse
|
||
75, // 119: hyapp.wallet.v1.WalletService.UpdateRechargeProduct:output_type -> hyapp.wallet.v1.RechargeProductResponse
|
||
76, // 120: hyapp.wallet.v1.WalletService.DeleteRechargeProduct:output_type -> hyapp.wallet.v1.DeleteRechargeProductResponse
|
||
79, // 121: hyapp.wallet.v1.WalletService.GetDiamondExchangeConfig:output_type -> hyapp.wallet.v1.GetDiamondExchangeConfigResponse
|
||
82, // 122: hyapp.wallet.v1.WalletService.ListWalletTransactions:output_type -> hyapp.wallet.v1.ListWalletTransactionsResponse
|
||
85, // 123: hyapp.wallet.v1.WalletService.ApplyWithdrawal:output_type -> hyapp.wallet.v1.ApplyWithdrawalResponse
|
||
90, // 124: hyapp.wallet.v1.WalletService.ListVipPackages:output_type -> hyapp.wallet.v1.ListVipPackagesResponse
|
||
92, // 125: hyapp.wallet.v1.WalletService.GetMyVip:output_type -> hyapp.wallet.v1.GetMyVipResponse
|
||
94, // 126: hyapp.wallet.v1.WalletService.PurchaseVip:output_type -> hyapp.wallet.v1.PurchaseVipResponse
|
||
96, // 127: hyapp.wallet.v1.WalletService.CreditTaskReward:output_type -> hyapp.wallet.v1.CreditTaskRewardResponse
|
||
98, // 128: hyapp.wallet.v1.WalletService.ApplyGameCoinChange:output_type -> hyapp.wallet.v1.ApplyGameCoinChangeResponse
|
||
86, // [86:129] is the sub-list for method output_type
|
||
43, // [43:86] is the sub-list for method input_type
|
||
43, // [43:43] is the sub-list for extension type_name
|
||
43, // [43:43] is the sub-list for extension extendee
|
||
0, // [0:43] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_proto_wallet_v1_wallet_proto_init() }
|
||
func file_proto_wallet_v1_wallet_proto_init() {
|
||
if File_proto_wallet_v1_wallet_proto != nil {
|
||
return
|
||
}
|
||
file_proto_wallet_v1_wallet_proto_msgTypes[24].OneofWrappers = []any{}
|
||
file_proto_wallet_v1_wallet_proto_msgTypes[25].OneofWrappers = []any{}
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_wallet_v1_wallet_proto_rawDesc), len(file_proto_wallet_v1_wallet_proto_rawDesc)),
|
||
NumEnums: 0,
|
||
NumMessages: 99,
|
||
NumExtensions: 0,
|
||
NumServices: 1,
|
||
},
|
||
GoTypes: file_proto_wallet_v1_wallet_proto_goTypes,
|
||
DependencyIndexes: file_proto_wallet_v1_wallet_proto_depIdxs,
|
||
MessageInfos: file_proto_wallet_v1_wallet_proto_msgTypes,
|
||
}.Build()
|
||
File_proto_wallet_v1_wallet_proto = out.File
|
||
file_proto_wallet_v1_wallet_proto_goTypes = nil
|
||
file_proto_wallet_v1_wallet_proto_depIdxs = nil
|
||
}
|