// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v5.29.2 // source: proto/luckygift/v1/luckygift.proto package luckygiftv1 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) ) // RequestMeta 是 lucky-gift-service 的内部追踪元信息。 // request_id 只用于链路排查,不能被任何业务流程当成幂等键使用。 type RequestMeta struct { state protoimpl.MessageState `protogen:"open.v1"` RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Caller string `protobuf:"bytes,2,opt,name=caller,proto3" json:"caller,omitempty"` GatewayNodeId string `protobuf:"bytes,3,opt,name=gateway_node_id,json=gatewayNodeId,proto3" json:"gateway_node_id,omitempty"` SentAtMs int64 `protobuf:"varint,4,opt,name=sent_at_ms,json=sentAtMs,proto3" json:"sent_at_ms,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 *RequestMeta) Reset() { *x = RequestMeta{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RequestMeta) String() string { return protoimpl.X.MessageStringOf(x) } func (*RequestMeta) ProtoMessage() {} func (x *RequestMeta) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 RequestMeta.ProtoReflect.Descriptor instead. func (*RequestMeta) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{0} } func (x *RequestMeta) GetRequestId() string { if x != nil { return x.RequestId } return "" } func (x *RequestMeta) GetCaller() string { if x != nil { return x.Caller } return "" } func (x *RequestMeta) GetGatewayNodeId() string { if x != nil { return x.GatewayNodeId } return "" } func (x *RequestMeta) GetSentAtMs() int64 { if x != nil { return x.SentAtMs } return 0 } func (x *RequestMeta) GetAppCode() string { if x != nil { return x.AppCode } return "" } // LuckyGiftMeta 是 HyApp 内部房间送礼扣费成功后的抽奖事实输入。 // 金额、目标用户和 command_id 必须来自 wallet-service 已落账的 receipt,不能从客户端 payload 推导。 type LuckyGiftMeta struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` DeviceId string `protobuf:"bytes,4,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` RoomId string `protobuf:"bytes,5,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` AnchorId string `protobuf:"bytes,6,opt,name=anchor_id,json=anchorId,proto3" json:"anchor_id,omitempty"` GiftId string `protobuf:"bytes,7,opt,name=gift_id,json=giftId,proto3" json:"gift_id,omitempty"` CoinSpent int64 `protobuf:"varint,8,opt,name=coin_spent,json=coinSpent,proto3" json:"coin_spent,omitempty"` PaidAtMs int64 `protobuf:"varint,9,opt,name=paid_at_ms,json=paidAtMs,proto3" json:"paid_at_ms,omitempty"` PoolId string `protobuf:"bytes,10,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` TargetUserId int64 `protobuf:"varint,11,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"` GiftCount int32 `protobuf:"varint,12,opt,name=gift_count,json=giftCount,proto3" json:"gift_count,omitempty"` VisibleRegionId int64 `protobuf:"varint,13,opt,name=visible_region_id,json=visibleRegionId,proto3" json:"visible_region_id,omitempty"` CountryId int64 `protobuf:"varint,14,opt,name=country_id,json=countryId,proto3" json:"country_id,omitempty"` // sender_* 是 room-service 在送礼入口已经确认的展示快照,只进入中奖事实和 IM,不能参与抽奖或账务判断。 SenderName string `protobuf:"bytes,15,opt,name=sender_name,json=senderName,proto3" json:"sender_name,omitempty"` SenderAvatar string `protobuf:"bytes,16,opt,name=sender_avatar,json=senderAvatar,proto3" json:"sender_avatar,omitempty"` SenderDisplayUserId string `protobuf:"bytes,17,opt,name=sender_display_user_id,json=senderDisplayUserId,proto3" json:"sender_display_user_id,omitempty"` SenderPrettyDisplayUserId string `protobuf:"bytes,18,opt,name=sender_pretty_display_user_id,json=senderPrettyDisplayUserId,proto3" json:"sender_pretty_display_user_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LuckyGiftMeta) Reset() { *x = LuckyGiftMeta{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LuckyGiftMeta) String() string { return protoimpl.X.MessageStringOf(x) } func (*LuckyGiftMeta) ProtoMessage() {} func (x *LuckyGiftMeta) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 LuckyGiftMeta.ProtoReflect.Descriptor instead. func (*LuckyGiftMeta) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{1} } func (x *LuckyGiftMeta) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *LuckyGiftMeta) GetCommandId() string { if x != nil { return x.CommandId } return "" } func (x *LuckyGiftMeta) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *LuckyGiftMeta) GetDeviceId() string { if x != nil { return x.DeviceId } return "" } func (x *LuckyGiftMeta) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *LuckyGiftMeta) GetAnchorId() string { if x != nil { return x.AnchorId } return "" } func (x *LuckyGiftMeta) GetGiftId() string { if x != nil { return x.GiftId } return "" } func (x *LuckyGiftMeta) GetCoinSpent() int64 { if x != nil { return x.CoinSpent } return 0 } func (x *LuckyGiftMeta) GetPaidAtMs() int64 { if x != nil { return x.PaidAtMs } return 0 } func (x *LuckyGiftMeta) GetPoolId() string { if x != nil { return x.PoolId } return "" } func (x *LuckyGiftMeta) GetTargetUserId() int64 { if x != nil { return x.TargetUserId } return 0 } func (x *LuckyGiftMeta) GetGiftCount() int32 { if x != nil { return x.GiftCount } return 0 } func (x *LuckyGiftMeta) GetVisibleRegionId() int64 { if x != nil { return x.VisibleRegionId } return 0 } func (x *LuckyGiftMeta) GetCountryId() int64 { if x != nil { return x.CountryId } return 0 } func (x *LuckyGiftMeta) GetSenderName() string { if x != nil { return x.SenderName } return "" } func (x *LuckyGiftMeta) GetSenderAvatar() string { if x != nil { return x.SenderAvatar } return "" } func (x *LuckyGiftMeta) GetSenderDisplayUserId() string { if x != nil { return x.SenderDisplayUserId } return "" } func (x *LuckyGiftMeta) GetSenderPrettyDisplayUserId() string { if x != nil { return x.SenderPrettyDisplayUserId } return "" } type LuckyGiftRuleTier struct { state protoimpl.MessageState `protogen:"open.v1"` Stage string `protobuf:"bytes,1,opt,name=stage,proto3" json:"stage,omitempty"` TierId string `protobuf:"bytes,2,opt,name=tier_id,json=tierId,proto3" json:"tier_id,omitempty"` MultiplierPpm int64 `protobuf:"varint,3,opt,name=multiplier_ppm,json=multiplierPpm,proto3" json:"multiplier_ppm,omitempty"` BaseWeightPpm int64 `protobuf:"varint,4,opt,name=base_weight_ppm,json=baseWeightPpm,proto3" json:"base_weight_ppm,omitempty"` HighWaterOnly bool `protobuf:"varint,5,opt,name=high_water_only,json=highWaterOnly,proto3" json:"high_water_only,omitempty"` Enabled bool `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LuckyGiftRuleTier) Reset() { *x = LuckyGiftRuleTier{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LuckyGiftRuleTier) String() string { return protoimpl.X.MessageStringOf(x) } func (*LuckyGiftRuleTier) ProtoMessage() {} func (x *LuckyGiftRuleTier) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 LuckyGiftRuleTier.ProtoReflect.Descriptor instead. func (*LuckyGiftRuleTier) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{2} } func (x *LuckyGiftRuleTier) GetStage() string { if x != nil { return x.Stage } return "" } func (x *LuckyGiftRuleTier) GetTierId() string { if x != nil { return x.TierId } return "" } func (x *LuckyGiftRuleTier) GetMultiplierPpm() int64 { if x != nil { return x.MultiplierPpm } return 0 } func (x *LuckyGiftRuleTier) GetBaseWeightPpm() int64 { if x != nil { return x.BaseWeightPpm } return 0 } func (x *LuckyGiftRuleTier) GetHighWaterOnly() bool { if x != nil { return x.HighWaterOnly } return false } func (x *LuckyGiftRuleTier) GetEnabled() bool { if x != nil { return x.Enabled } return false } type LuckyGiftRuleStage struct { state protoimpl.MessageState `protogen:"open.v1"` Stage string `protobuf:"bytes,1,opt,name=stage,proto3" json:"stage,omitempty"` Tiers []*LuckyGiftRuleTier `protobuf:"bytes,2,rep,name=tiers,proto3" json:"tiers,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LuckyGiftRuleStage) Reset() { *x = LuckyGiftRuleStage{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LuckyGiftRuleStage) String() string { return protoimpl.X.MessageStringOf(x) } func (*LuckyGiftRuleStage) ProtoMessage() {} func (x *LuckyGiftRuleStage) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 LuckyGiftRuleStage.ProtoReflect.Descriptor instead. func (*LuckyGiftRuleStage) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{3} } func (x *LuckyGiftRuleStage) GetStage() string { if x != nil { return x.Stage } return "" } func (x *LuckyGiftRuleStage) GetTiers() []*LuckyGiftRuleTier { if x != nil { return x.Tiers } return nil } type LuckyGiftRuleConfig struct { state protoimpl.MessageState `protogen:"open.v1"` AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"` PoolId string `protobuf:"bytes,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` RuleVersion int64 `protobuf:"varint,3,opt,name=rule_version,json=ruleVersion,proto3" json:"rule_version,omitempty"` Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"` TargetRtpPpm int64 `protobuf:"varint,5,opt,name=target_rtp_ppm,json=targetRtpPpm,proto3" json:"target_rtp_ppm,omitempty"` PoolRatePpm int64 `protobuf:"varint,6,opt,name=pool_rate_ppm,json=poolRatePpm,proto3" json:"pool_rate_ppm,omitempty"` SettlementWindowWager int64 `protobuf:"varint,7,opt,name=settlement_window_wager,json=settlementWindowWager,proto3" json:"settlement_window_wager,omitempty"` ControlBandPpm int64 `protobuf:"varint,8,opt,name=control_band_ppm,json=controlBandPpm,proto3" json:"control_band_ppm,omitempty"` GiftPriceReference int64 `protobuf:"varint,9,opt,name=gift_price_reference,json=giftPriceReference,proto3" json:"gift_price_reference,omitempty"` NoviceMaxEquivalentDraws int64 `protobuf:"varint,10,opt,name=novice_max_equivalent_draws,json=noviceMaxEquivalentDraws,proto3" json:"novice_max_equivalent_draws,omitempty"` NormalMaxEquivalentDraws int64 `protobuf:"varint,11,opt,name=normal_max_equivalent_draws,json=normalMaxEquivalentDraws,proto3" json:"normal_max_equivalent_draws,omitempty"` EffectiveFromMs int64 `protobuf:"varint,12,opt,name=effective_from_ms,json=effectiveFromMs,proto3" json:"effective_from_ms,omitempty"` CreatedByAdminId int64 `protobuf:"varint,13,opt,name=created_by_admin_id,json=createdByAdminId,proto3" json:"created_by_admin_id,omitempty"` CreatedAtMs int64 `protobuf:"varint,14,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"` Stages []*LuckyGiftRuleStage `protobuf:"bytes,15,rep,name=stages,proto3" json:"stages,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LuckyGiftRuleConfig) Reset() { *x = LuckyGiftRuleConfig{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LuckyGiftRuleConfig) String() string { return protoimpl.X.MessageStringOf(x) } func (*LuckyGiftRuleConfig) ProtoMessage() {} func (x *LuckyGiftRuleConfig) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 LuckyGiftRuleConfig.ProtoReflect.Descriptor instead. func (*LuckyGiftRuleConfig) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{4} } func (x *LuckyGiftRuleConfig) GetAppCode() string { if x != nil { return x.AppCode } return "" } func (x *LuckyGiftRuleConfig) GetPoolId() string { if x != nil { return x.PoolId } return "" } func (x *LuckyGiftRuleConfig) GetRuleVersion() int64 { if x != nil { return x.RuleVersion } return 0 } func (x *LuckyGiftRuleConfig) GetEnabled() bool { if x != nil { return x.Enabled } return false } func (x *LuckyGiftRuleConfig) GetTargetRtpPpm() int64 { if x != nil { return x.TargetRtpPpm } return 0 } func (x *LuckyGiftRuleConfig) GetPoolRatePpm() int64 { if x != nil { return x.PoolRatePpm } return 0 } func (x *LuckyGiftRuleConfig) GetSettlementWindowWager() int64 { if x != nil { return x.SettlementWindowWager } return 0 } func (x *LuckyGiftRuleConfig) GetControlBandPpm() int64 { if x != nil { return x.ControlBandPpm } return 0 } func (x *LuckyGiftRuleConfig) GetGiftPriceReference() int64 { if x != nil { return x.GiftPriceReference } return 0 } func (x *LuckyGiftRuleConfig) GetNoviceMaxEquivalentDraws() int64 { if x != nil { return x.NoviceMaxEquivalentDraws } return 0 } func (x *LuckyGiftRuleConfig) GetNormalMaxEquivalentDraws() int64 { if x != nil { return x.NormalMaxEquivalentDraws } return 0 } func (x *LuckyGiftRuleConfig) GetEffectiveFromMs() int64 { if x != nil { return x.EffectiveFromMs } return 0 } func (x *LuckyGiftRuleConfig) GetCreatedByAdminId() int64 { if x != nil { return x.CreatedByAdminId } return 0 } func (x *LuckyGiftRuleConfig) GetCreatedAtMs() int64 { if x != nil { return x.CreatedAtMs } return 0 } func (x *LuckyGiftRuleConfig) GetStages() []*LuckyGiftRuleStage { if x != nil { return x.Stages } return nil } type CheckLuckyGiftRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RoomId string `protobuf:"bytes,3,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` GiftId string `protobuf:"bytes,4,opt,name=gift_id,json=giftId,proto3" json:"gift_id,omitempty"` PoolId string `protobuf:"bytes,5,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CheckLuckyGiftRequest) Reset() { *x = CheckLuckyGiftRequest{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CheckLuckyGiftRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckLuckyGiftRequest) ProtoMessage() {} func (x *CheckLuckyGiftRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 CheckLuckyGiftRequest.ProtoReflect.Descriptor instead. func (*CheckLuckyGiftRequest) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{5} } func (x *CheckLuckyGiftRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *CheckLuckyGiftRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *CheckLuckyGiftRequest) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *CheckLuckyGiftRequest) GetGiftId() string { if x != nil { return x.GiftId } return "" } func (x *CheckLuckyGiftRequest) GetPoolId() string { if x != nil { return x.PoolId } return "" } type CheckLuckyGiftResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` GiftId string `protobuf:"bytes,3,opt,name=gift_id,json=giftId,proto3" json:"gift_id,omitempty"` GiftPrice int64 `protobuf:"varint,4,opt,name=gift_price,json=giftPrice,proto3" json:"gift_price,omitempty"` RuleVersion int64 `protobuf:"varint,5,opt,name=rule_version,json=ruleVersion,proto3" json:"rule_version,omitempty"` TargetRtpPpm int64 `protobuf:"varint,6,opt,name=target_rtp_ppm,json=targetRtpPpm,proto3" json:"target_rtp_ppm,omitempty"` ExperiencePool string `protobuf:"bytes,7,opt,name=experience_pool,json=experiencePool,proto3" json:"experience_pool,omitempty"` PoolId string `protobuf:"bytes,8,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CheckLuckyGiftResponse) Reset() { *x = CheckLuckyGiftResponse{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CheckLuckyGiftResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckLuckyGiftResponse) ProtoMessage() {} func (x *CheckLuckyGiftResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 CheckLuckyGiftResponse.ProtoReflect.Descriptor instead. func (*CheckLuckyGiftResponse) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{6} } func (x *CheckLuckyGiftResponse) GetEnabled() bool { if x != nil { return x.Enabled } return false } func (x *CheckLuckyGiftResponse) GetReason() string { if x != nil { return x.Reason } return "" } func (x *CheckLuckyGiftResponse) GetGiftId() string { if x != nil { return x.GiftId } return "" } func (x *CheckLuckyGiftResponse) GetGiftPrice() int64 { if x != nil { return x.GiftPrice } return 0 } func (x *CheckLuckyGiftResponse) GetRuleVersion() int64 { if x != nil { return x.RuleVersion } return 0 } func (x *CheckLuckyGiftResponse) GetTargetRtpPpm() int64 { if x != nil { return x.TargetRtpPpm } return 0 } func (x *CheckLuckyGiftResponse) GetExperiencePool() string { if x != nil { return x.ExperiencePool } return "" } func (x *CheckLuckyGiftResponse) GetPoolId() string { if x != nil { return x.PoolId } return "" } type LuckyGiftDrawResult struct { state protoimpl.MessageState `protogen:"open.v1"` DrawId string `protobuf:"bytes,1,opt,name=draw_id,json=drawId,proto3" json:"draw_id,omitempty"` CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` GiftId string `protobuf:"bytes,3,opt,name=gift_id,json=giftId,proto3" json:"gift_id,omitempty"` RuleVersion int64 `protobuf:"varint,4,opt,name=rule_version,json=ruleVersion,proto3" json:"rule_version,omitempty"` ExperiencePool string `protobuf:"bytes,5,opt,name=experience_pool,json=experiencePool,proto3" json:"experience_pool,omitempty"` SelectedTierId string `protobuf:"bytes,6,opt,name=selected_tier_id,json=selectedTierId,proto3" json:"selected_tier_id,omitempty"` BaseRewardCoins int64 `protobuf:"varint,7,opt,name=base_reward_coins,json=baseRewardCoins,proto3" json:"base_reward_coins,omitempty"` EffectiveRewardCoins int64 `protobuf:"varint,8,opt,name=effective_reward_coins,json=effectiveRewardCoins,proto3" json:"effective_reward_coins,omitempty"` RewardStatus string `protobuf:"bytes,9,opt,name=reward_status,json=rewardStatus,proto3" json:"reward_status,omitempty"` RtpWindowIndex int64 `protobuf:"varint,10,opt,name=rtp_window_index,json=rtpWindowIndex,proto3" json:"rtp_window_index,omitempty"` GiftRtpWindowIndex int64 `protobuf:"varint,11,opt,name=gift_rtp_window_index,json=giftRtpWindowIndex,proto3" json:"gift_rtp_window_index,omitempty"` GlobalBaseRtpPpm int64 `protobuf:"varint,12,opt,name=global_base_rtp_ppm,json=globalBaseRtpPpm,proto3" json:"global_base_rtp_ppm,omitempty"` GiftBaseRtpPpm int64 `protobuf:"varint,13,opt,name=gift_base_rtp_ppm,json=giftBaseRtpPpm,proto3" json:"gift_base_rtp_ppm,omitempty"` StageFeedback bool `protobuf:"varint,14,opt,name=stage_feedback,json=stageFeedback,proto3" json:"stage_feedback,omitempty"` HighMultiplier bool `protobuf:"varint,15,opt,name=high_multiplier,json=highMultiplier,proto3" json:"high_multiplier,omitempty"` CreatedAtMs int64 `protobuf:"varint,16,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"` PoolId string `protobuf:"bytes,17,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` MultiplierPpm int64 `protobuf:"varint,18,opt,name=multiplier_ppm,json=multiplierPpm,proto3" json:"multiplier_ppm,omitempty"` WalletTransactionId string `protobuf:"bytes,19,opt,name=wallet_transaction_id,json=walletTransactionId,proto3" json:"wallet_transaction_id,omitempty"` CoinBalanceAfter int64 `protobuf:"varint,20,opt,name=coin_balance_after,json=coinBalanceAfter,proto3" json:"coin_balance_after,omitempty"` UserId int64 `protobuf:"varint,21,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ExternalUserId string `protobuf:"bytes,22,opt,name=external_user_id,json=externalUserId,proto3" json:"external_user_id,omitempty"` AppCode string `protobuf:"bytes,23,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"` Hits []*LuckyGiftHit `protobuf:"bytes,24,rep,name=hits,proto3" json:"hits,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LuckyGiftDrawResult) Reset() { *x = LuckyGiftDrawResult{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LuckyGiftDrawResult) String() string { return protoimpl.X.MessageStringOf(x) } func (*LuckyGiftDrawResult) ProtoMessage() {} func (x *LuckyGiftDrawResult) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 LuckyGiftDrawResult.ProtoReflect.Descriptor instead. func (*LuckyGiftDrawResult) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{7} } func (x *LuckyGiftDrawResult) GetDrawId() string { if x != nil { return x.DrawId } return "" } func (x *LuckyGiftDrawResult) GetCommandId() string { if x != nil { return x.CommandId } return "" } func (x *LuckyGiftDrawResult) GetGiftId() string { if x != nil { return x.GiftId } return "" } func (x *LuckyGiftDrawResult) GetRuleVersion() int64 { if x != nil { return x.RuleVersion } return 0 } func (x *LuckyGiftDrawResult) GetExperiencePool() string { if x != nil { return x.ExperiencePool } return "" } func (x *LuckyGiftDrawResult) GetSelectedTierId() string { if x != nil { return x.SelectedTierId } return "" } func (x *LuckyGiftDrawResult) GetBaseRewardCoins() int64 { if x != nil { return x.BaseRewardCoins } return 0 } func (x *LuckyGiftDrawResult) GetEffectiveRewardCoins() int64 { if x != nil { return x.EffectiveRewardCoins } return 0 } func (x *LuckyGiftDrawResult) GetRewardStatus() string { if x != nil { return x.RewardStatus } return "" } func (x *LuckyGiftDrawResult) GetRtpWindowIndex() int64 { if x != nil { return x.RtpWindowIndex } return 0 } func (x *LuckyGiftDrawResult) GetGiftRtpWindowIndex() int64 { if x != nil { return x.GiftRtpWindowIndex } return 0 } func (x *LuckyGiftDrawResult) GetGlobalBaseRtpPpm() int64 { if x != nil { return x.GlobalBaseRtpPpm } return 0 } func (x *LuckyGiftDrawResult) GetGiftBaseRtpPpm() int64 { if x != nil { return x.GiftBaseRtpPpm } return 0 } func (x *LuckyGiftDrawResult) GetStageFeedback() bool { if x != nil { return x.StageFeedback } return false } func (x *LuckyGiftDrawResult) GetHighMultiplier() bool { if x != nil { return x.HighMultiplier } return false } func (x *LuckyGiftDrawResult) GetCreatedAtMs() int64 { if x != nil { return x.CreatedAtMs } return 0 } func (x *LuckyGiftDrawResult) GetPoolId() string { if x != nil { return x.PoolId } return "" } func (x *LuckyGiftDrawResult) GetMultiplierPpm() int64 { if x != nil { return x.MultiplierPpm } return 0 } func (x *LuckyGiftDrawResult) GetWalletTransactionId() string { if x != nil { return x.WalletTransactionId } return "" } func (x *LuckyGiftDrawResult) GetCoinBalanceAfter() int64 { if x != nil { return x.CoinBalanceAfter } return 0 } func (x *LuckyGiftDrawResult) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *LuckyGiftDrawResult) GetExternalUserId() string { if x != nil { return x.ExternalUserId } return "" } func (x *LuckyGiftDrawResult) GetAppCode() string { if x != nil { return x.AppCode } return "" } func (x *LuckyGiftDrawResult) GetHits() []*LuckyGiftHit { if x != nil { return x.Hits } return nil } type ExecuteLuckyGiftDrawRequest struct { state protoimpl.MessageState `protogen:"open.v1"` LuckyGift *LuckyGiftMeta `protobuf:"bytes,1,opt,name=lucky_gift,json=luckyGift,proto3" json:"lucky_gift,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExecuteLuckyGiftDrawRequest) Reset() { *x = ExecuteLuckyGiftDrawRequest{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExecuteLuckyGiftDrawRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExecuteLuckyGiftDrawRequest) ProtoMessage() {} func (x *ExecuteLuckyGiftDrawRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 ExecuteLuckyGiftDrawRequest.ProtoReflect.Descriptor instead. func (*ExecuteLuckyGiftDrawRequest) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{8} } func (x *ExecuteLuckyGiftDrawRequest) GetLuckyGift() *LuckyGiftMeta { if x != nil { return x.LuckyGift } return nil } type ExecuteLuckyGiftDrawResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Result *LuckyGiftDrawResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExecuteLuckyGiftDrawResponse) Reset() { *x = ExecuteLuckyGiftDrawResponse{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExecuteLuckyGiftDrawResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExecuteLuckyGiftDrawResponse) ProtoMessage() {} func (x *ExecuteLuckyGiftDrawResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 ExecuteLuckyGiftDrawResponse.ProtoReflect.Descriptor instead. func (*ExecuteLuckyGiftDrawResponse) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{9} } func (x *ExecuteLuckyGiftDrawResponse) GetResult() *LuckyGiftDrawResult { if x != nil { return x.Result } return nil } type BatchExecuteLuckyGiftDrawRequest struct { state protoimpl.MessageState `protogen:"open.v1"` LuckyGifts []*LuckyGiftMeta `protobuf:"bytes,1,rep,name=lucky_gifts,json=luckyGifts,proto3" json:"lucky_gifts,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BatchExecuteLuckyGiftDrawRequest) Reset() { *x = BatchExecuteLuckyGiftDrawRequest{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BatchExecuteLuckyGiftDrawRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*BatchExecuteLuckyGiftDrawRequest) ProtoMessage() {} func (x *BatchExecuteLuckyGiftDrawRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 BatchExecuteLuckyGiftDrawRequest.ProtoReflect.Descriptor instead. func (*BatchExecuteLuckyGiftDrawRequest) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{10} } func (x *BatchExecuteLuckyGiftDrawRequest) GetLuckyGifts() []*LuckyGiftMeta { if x != nil { return x.LuckyGifts } return nil } type BatchExecuteLuckyGiftDrawResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Results []*LuckyGiftDrawResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BatchExecuteLuckyGiftDrawResponse) Reset() { *x = BatchExecuteLuckyGiftDrawResponse{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BatchExecuteLuckyGiftDrawResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*BatchExecuteLuckyGiftDrawResponse) ProtoMessage() {} func (x *BatchExecuteLuckyGiftDrawResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 BatchExecuteLuckyGiftDrawResponse.ProtoReflect.Descriptor instead. func (*BatchExecuteLuckyGiftDrawResponse) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{11} } func (x *BatchExecuteLuckyGiftDrawResponse) GetResults() []*LuckyGiftDrawResult { if x != nil { return x.Results } return nil } // ExternalGiftDrawRequest 是外部 App 接入的抽奖输入。 // App 调用前必须已经完成自己的扣费,lucky-gift-service 只校验金额事实并返回中奖结果。 type ExternalGiftDrawRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` AppCode string `protobuf:"bytes,3,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"` ExternalUserId string `protobuf:"bytes,4,opt,name=external_user_id,json=externalUserId,proto3" json:"external_user_id,omitempty"` RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` GiftCount int64 `protobuf:"varint,6,opt,name=gift_count,json=giftCount,proto3" json:"gift_count,omitempty"` UnitAmount int64 `protobuf:"varint,7,opt,name=unit_amount,json=unitAmount,proto3" json:"unit_amount,omitempty"` TotalAmount int64 `protobuf:"varint,8,opt,name=total_amount,json=totalAmount,proto3" json:"total_amount,omitempty"` Currency string `protobuf:"bytes,9,opt,name=currency,proto3" json:"currency,omitempty"` PaidAtMs int64 `protobuf:"varint,10,opt,name=paid_at_ms,json=paidAtMs,proto3" json:"paid_at_ms,omitempty"` MetadataJson string `protobuf:"bytes,11,opt,name=metadata_json,json=metadataJson,proto3" json:"metadata_json,omitempty"` PoolId string `protobuf:"bytes,12,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExternalGiftDrawRequest) Reset() { *x = ExternalGiftDrawRequest{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExternalGiftDrawRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExternalGiftDrawRequest) ProtoMessage() {} func (x *ExternalGiftDrawRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 ExternalGiftDrawRequest.ProtoReflect.Descriptor instead. func (*ExternalGiftDrawRequest) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{12} } func (x *ExternalGiftDrawRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *ExternalGiftDrawRequest) GetAppCode() string { if x != nil { return x.AppCode } return "" } func (x *ExternalGiftDrawRequest) GetExternalUserId() string { if x != nil { return x.ExternalUserId } return "" } func (x *ExternalGiftDrawRequest) GetRequestId() string { if x != nil { return x.RequestId } return "" } func (x *ExternalGiftDrawRequest) GetGiftCount() int64 { if x != nil { return x.GiftCount } return 0 } func (x *ExternalGiftDrawRequest) GetUnitAmount() int64 { if x != nil { return x.UnitAmount } return 0 } func (x *ExternalGiftDrawRequest) GetTotalAmount() int64 { if x != nil { return x.TotalAmount } return 0 } func (x *ExternalGiftDrawRequest) GetCurrency() string { if x != nil { return x.Currency } return "" } func (x *ExternalGiftDrawRequest) GetPaidAtMs() int64 { if x != nil { return x.PaidAtMs } return 0 } func (x *ExternalGiftDrawRequest) GetMetadataJson() string { if x != nil { return x.MetadataJson } return "" } func (x *ExternalGiftDrawRequest) GetPoolId() string { if x != nil { return x.PoolId } return "" } type ExternalGiftDrawResponse struct { state protoimpl.MessageState `protogen:"open.v1"` DrawId string `protobuf:"bytes,1,opt,name=draw_id,json=drawId,proto3" json:"draw_id,omitempty"` RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` AppCode string `protobuf:"bytes,4,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"` ExternalUserId string `protobuf:"bytes,5,opt,name=external_user_id,json=externalUserId,proto3" json:"external_user_id,omitempty"` GiftCount int64 `protobuf:"varint,6,opt,name=gift_count,json=giftCount,proto3" json:"gift_count,omitempty"` UnitAmount int64 `protobuf:"varint,7,opt,name=unit_amount,json=unitAmount,proto3" json:"unit_amount,omitempty"` TotalAmount int64 `protobuf:"varint,8,opt,name=total_amount,json=totalAmount,proto3" json:"total_amount,omitempty"` RewardAmount int64 `protobuf:"varint,9,opt,name=reward_amount,json=rewardAmount,proto3" json:"reward_amount,omitempty"` MultiplierPpm int64 `protobuf:"varint,10,opt,name=multiplier_ppm,json=multiplierPpm,proto3" json:"multiplier_ppm,omitempty"` RewardStatus string `protobuf:"bytes,11,opt,name=reward_status,json=rewardStatus,proto3" json:"reward_status,omitempty"` RuleVersion int64 `protobuf:"varint,12,opt,name=rule_version,json=ruleVersion,proto3" json:"rule_version,omitempty"` CreatedAtMs int64 `protobuf:"varint,13,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExternalGiftDrawResponse) Reset() { *x = ExternalGiftDrawResponse{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExternalGiftDrawResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExternalGiftDrawResponse) ProtoMessage() {} func (x *ExternalGiftDrawResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 ExternalGiftDrawResponse.ProtoReflect.Descriptor instead. func (*ExternalGiftDrawResponse) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{13} } func (x *ExternalGiftDrawResponse) GetDrawId() string { if x != nil { return x.DrawId } return "" } func (x *ExternalGiftDrawResponse) GetRequestId() string { if x != nil { return x.RequestId } return "" } func (x *ExternalGiftDrawResponse) GetAppCode() string { if x != nil { return x.AppCode } return "" } func (x *ExternalGiftDrawResponse) GetExternalUserId() string { if x != nil { return x.ExternalUserId } return "" } func (x *ExternalGiftDrawResponse) GetGiftCount() int64 { if x != nil { return x.GiftCount } return 0 } func (x *ExternalGiftDrawResponse) GetUnitAmount() int64 { if x != nil { return x.UnitAmount } return 0 } func (x *ExternalGiftDrawResponse) GetTotalAmount() int64 { if x != nil { return x.TotalAmount } return 0 } func (x *ExternalGiftDrawResponse) GetRewardAmount() int64 { if x != nil { return x.RewardAmount } return 0 } func (x *ExternalGiftDrawResponse) GetMultiplierPpm() int64 { if x != nil { return x.MultiplierPpm } return 0 } func (x *ExternalGiftDrawResponse) GetRewardStatus() string { if x != nil { return x.RewardStatus } return "" } func (x *ExternalGiftDrawResponse) GetRuleVersion() int64 { if x != nil { return x.RuleVersion } return 0 } func (x *ExternalGiftDrawResponse) GetCreatedAtMs() int64 { if x != nil { return x.CreatedAtMs } return 0 } type GetLuckyGiftConfigRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` PoolId string `protobuf:"bytes,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetLuckyGiftConfigRequest) Reset() { *x = GetLuckyGiftConfigRequest{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetLuckyGiftConfigRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetLuckyGiftConfigRequest) ProtoMessage() {} func (x *GetLuckyGiftConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 GetLuckyGiftConfigRequest.ProtoReflect.Descriptor instead. func (*GetLuckyGiftConfigRequest) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{14} } func (x *GetLuckyGiftConfigRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *GetLuckyGiftConfigRequest) GetPoolId() string { if x != nil { return x.PoolId } return "" } type GetLuckyGiftConfigResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Config *LuckyGiftRuleConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetLuckyGiftConfigResponse) Reset() { *x = GetLuckyGiftConfigResponse{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetLuckyGiftConfigResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetLuckyGiftConfigResponse) ProtoMessage() {} func (x *GetLuckyGiftConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 GetLuckyGiftConfigResponse.ProtoReflect.Descriptor instead. func (*GetLuckyGiftConfigResponse) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{15} } func (x *GetLuckyGiftConfigResponse) GetConfig() *LuckyGiftRuleConfig { if x != nil { return x.Config } return nil } type UpsertLuckyGiftConfigRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Config *LuckyGiftRuleConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` OperatorAdminId int64 `protobuf:"varint,3,opt,name=operator_admin_id,json=operatorAdminId,proto3" json:"operator_admin_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpsertLuckyGiftConfigRequest) Reset() { *x = UpsertLuckyGiftConfigRequest{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpsertLuckyGiftConfigRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpsertLuckyGiftConfigRequest) ProtoMessage() {} func (x *UpsertLuckyGiftConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 UpsertLuckyGiftConfigRequest.ProtoReflect.Descriptor instead. func (*UpsertLuckyGiftConfigRequest) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{16} } func (x *UpsertLuckyGiftConfigRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *UpsertLuckyGiftConfigRequest) GetConfig() *LuckyGiftRuleConfig { if x != nil { return x.Config } return nil } func (x *UpsertLuckyGiftConfigRequest) GetOperatorAdminId() int64 { if x != nil { return x.OperatorAdminId } return 0 } type UpsertLuckyGiftConfigResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Config *LuckyGiftRuleConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpsertLuckyGiftConfigResponse) Reset() { *x = UpsertLuckyGiftConfigResponse{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpsertLuckyGiftConfigResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpsertLuckyGiftConfigResponse) ProtoMessage() {} func (x *UpsertLuckyGiftConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 UpsertLuckyGiftConfigResponse.ProtoReflect.Descriptor instead. func (*UpsertLuckyGiftConfigResponse) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{17} } func (x *UpsertLuckyGiftConfigResponse) GetConfig() *LuckyGiftRuleConfig { if x != nil { return x.Config } return nil } type ListLuckyGiftConfigsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListLuckyGiftConfigsRequest) Reset() { *x = ListLuckyGiftConfigsRequest{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListLuckyGiftConfigsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListLuckyGiftConfigsRequest) ProtoMessage() {} func (x *ListLuckyGiftConfigsRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 ListLuckyGiftConfigsRequest.ProtoReflect.Descriptor instead. func (*ListLuckyGiftConfigsRequest) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{18} } func (x *ListLuckyGiftConfigsRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } type ListLuckyGiftConfigsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Configs []*LuckyGiftRuleConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListLuckyGiftConfigsResponse) Reset() { *x = ListLuckyGiftConfigsResponse{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListLuckyGiftConfigsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListLuckyGiftConfigsResponse) ProtoMessage() {} func (x *ListLuckyGiftConfigsResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 ListLuckyGiftConfigsResponse.ProtoReflect.Descriptor instead. func (*ListLuckyGiftConfigsResponse) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{19} } func (x *ListLuckyGiftConfigsResponse) GetConfigs() []*LuckyGiftRuleConfig { if x != nil { return x.Configs } return nil } type ListLuckyGiftDrawsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` GiftId string `protobuf:"bytes,2,opt,name=gift_id,json=giftId,proto3" json:"gift_id,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,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"` PoolId string `protobuf:"bytes,8,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` ExternalUserId string `protobuf:"bytes,10,opt,name=external_user_id,json=externalUserId,proto3" json:"external_user_id,omitempty"` ExternalOnly bool `protobuf:"varint,11,opt,name=external_only,json=externalOnly,proto3" json:"external_only,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListLuckyGiftDrawsRequest) Reset() { *x = ListLuckyGiftDrawsRequest{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListLuckyGiftDrawsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListLuckyGiftDrawsRequest) ProtoMessage() {} func (x *ListLuckyGiftDrawsRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 ListLuckyGiftDrawsRequest.ProtoReflect.Descriptor instead. func (*ListLuckyGiftDrawsRequest) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{20} } func (x *ListLuckyGiftDrawsRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *ListLuckyGiftDrawsRequest) GetGiftId() string { if x != nil { return x.GiftId } return "" } func (x *ListLuckyGiftDrawsRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *ListLuckyGiftDrawsRequest) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *ListLuckyGiftDrawsRequest) GetStatus() string { if x != nil { return x.Status } return "" } func (x *ListLuckyGiftDrawsRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *ListLuckyGiftDrawsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *ListLuckyGiftDrawsRequest) GetPoolId() string { if x != nil { return x.PoolId } return "" } func (x *ListLuckyGiftDrawsRequest) GetExternalUserId() string { if x != nil { return x.ExternalUserId } return "" } func (x *ListLuckyGiftDrawsRequest) GetExternalOnly() bool { if x != nil { return x.ExternalOnly } return false } type ListLuckyGiftDrawsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Draws []*LuckyGiftDrawResult `protobuf:"bytes,1,rep,name=draws,proto3" json:"draws,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListLuckyGiftDrawsResponse) Reset() { *x = ListLuckyGiftDrawsResponse{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListLuckyGiftDrawsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListLuckyGiftDrawsResponse) ProtoMessage() {} func (x *ListLuckyGiftDrawsResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 ListLuckyGiftDrawsResponse.ProtoReflect.Descriptor instead. func (*ListLuckyGiftDrawsResponse) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{21} } func (x *ListLuckyGiftDrawsResponse) GetDraws() []*LuckyGiftDrawResult { if x != nil { return x.Draws } return nil } func (x *ListLuckyGiftDrawsResponse) GetTotal() int64 { if x != nil { return x.Total } return 0 } type LuckyGiftDrawSummary struct { state protoimpl.MessageState `protogen:"open.v1"` PoolId string `protobuf:"bytes,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` TotalDraws int64 `protobuf:"varint,2,opt,name=total_draws,json=totalDraws,proto3" json:"total_draws,omitempty"` UniqueUsers int64 `protobuf:"varint,3,opt,name=unique_users,json=uniqueUsers,proto3" json:"unique_users,omitempty"` UniqueRooms int64 `protobuf:"varint,4,opt,name=unique_rooms,json=uniqueRooms,proto3" json:"unique_rooms,omitempty"` TotalSpentCoins int64 `protobuf:"varint,5,opt,name=total_spent_coins,json=totalSpentCoins,proto3" json:"total_spent_coins,omitempty"` TotalRewardCoins int64 `protobuf:"varint,6,opt,name=total_reward_coins,json=totalRewardCoins,proto3" json:"total_reward_coins,omitempty"` BaseRewardCoins int64 `protobuf:"varint,7,opt,name=base_reward_coins,json=baseRewardCoins,proto3" json:"base_reward_coins,omitempty"` ActualRtpPpm int64 `protobuf:"varint,8,opt,name=actual_rtp_ppm,json=actualRtpPpm,proto3" json:"actual_rtp_ppm,omitempty"` PendingDraws int64 `protobuf:"varint,9,opt,name=pending_draws,json=pendingDraws,proto3" json:"pending_draws,omitempty"` GrantedDraws int64 `protobuf:"varint,10,opt,name=granted_draws,json=grantedDraws,proto3" json:"granted_draws,omitempty"` FailedDraws int64 `protobuf:"varint,11,opt,name=failed_draws,json=failedDraws,proto3" json:"failed_draws,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LuckyGiftDrawSummary) Reset() { *x = LuckyGiftDrawSummary{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LuckyGiftDrawSummary) String() string { return protoimpl.X.MessageStringOf(x) } func (*LuckyGiftDrawSummary) ProtoMessage() {} func (x *LuckyGiftDrawSummary) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 LuckyGiftDrawSummary.ProtoReflect.Descriptor instead. func (*LuckyGiftDrawSummary) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{22} } func (x *LuckyGiftDrawSummary) GetPoolId() string { if x != nil { return x.PoolId } return "" } func (x *LuckyGiftDrawSummary) GetTotalDraws() int64 { if x != nil { return x.TotalDraws } return 0 } func (x *LuckyGiftDrawSummary) GetUniqueUsers() int64 { if x != nil { return x.UniqueUsers } return 0 } func (x *LuckyGiftDrawSummary) GetUniqueRooms() int64 { if x != nil { return x.UniqueRooms } return 0 } func (x *LuckyGiftDrawSummary) GetTotalSpentCoins() int64 { if x != nil { return x.TotalSpentCoins } return 0 } func (x *LuckyGiftDrawSummary) GetTotalRewardCoins() int64 { if x != nil { return x.TotalRewardCoins } return 0 } func (x *LuckyGiftDrawSummary) GetBaseRewardCoins() int64 { if x != nil { return x.BaseRewardCoins } return 0 } func (x *LuckyGiftDrawSummary) GetActualRtpPpm() int64 { if x != nil { return x.ActualRtpPpm } return 0 } func (x *LuckyGiftDrawSummary) GetPendingDraws() int64 { if x != nil { return x.PendingDraws } return 0 } func (x *LuckyGiftDrawSummary) GetGrantedDraws() int64 { if x != nil { return x.GrantedDraws } return 0 } func (x *LuckyGiftDrawSummary) GetFailedDraws() int64 { if x != nil { return x.FailedDraws } return 0 } type LuckyGiftPoolBalance struct { state protoimpl.MessageState `protogen:"open.v1"` AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"` PoolId string `protobuf:"bytes,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` ReserveFloor int64 `protobuf:"varint,4,opt,name=reserve_floor,json=reserveFloor,proto3" json:"reserve_floor,omitempty"` AvailableBalance int64 `protobuf:"varint,5,opt,name=available_balance,json=availableBalance,proto3" json:"available_balance,omitempty"` TotalIn int64 `protobuf:"varint,6,opt,name=total_in,json=totalIn,proto3" json:"total_in,omitempty"` TotalOut int64 `protobuf:"varint,7,opt,name=total_out,json=totalOut,proto3" json:"total_out,omitempty"` Materialized bool `protobuf:"varint,8,opt,name=materialized,proto3" json:"materialized,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 *LuckyGiftPoolBalance) Reset() { *x = LuckyGiftPoolBalance{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LuckyGiftPoolBalance) String() string { return protoimpl.X.MessageStringOf(x) } func (*LuckyGiftPoolBalance) ProtoMessage() {} func (x *LuckyGiftPoolBalance) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 LuckyGiftPoolBalance.ProtoReflect.Descriptor instead. func (*LuckyGiftPoolBalance) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{23} } func (x *LuckyGiftPoolBalance) GetAppCode() string { if x != nil { return x.AppCode } return "" } func (x *LuckyGiftPoolBalance) GetPoolId() string { if x != nil { return x.PoolId } return "" } func (x *LuckyGiftPoolBalance) GetBalance() int64 { if x != nil { return x.Balance } return 0 } func (x *LuckyGiftPoolBalance) GetReserveFloor() int64 { if x != nil { return x.ReserveFloor } return 0 } func (x *LuckyGiftPoolBalance) GetAvailableBalance() int64 { if x != nil { return x.AvailableBalance } return 0 } func (x *LuckyGiftPoolBalance) GetTotalIn() int64 { if x != nil { return x.TotalIn } return 0 } func (x *LuckyGiftPoolBalance) GetTotalOut() int64 { if x != nil { return x.TotalOut } return 0 } func (x *LuckyGiftPoolBalance) GetMaterialized() bool { if x != nil { return x.Materialized } return false } func (x *LuckyGiftPoolBalance) GetUpdatedAtMs() int64 { if x != nil { return x.UpdatedAtMs } return 0 } type GetLuckyGiftDrawSummaryRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` GiftId string `protobuf:"bytes,2,opt,name=gift_id,json=giftId,proto3" json:"gift_id,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` PoolId string `protobuf:"bytes,6,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` ExternalUserId string `protobuf:"bytes,8,opt,name=external_user_id,json=externalUserId,proto3" json:"external_user_id,omitempty"` ExternalOnly bool `protobuf:"varint,9,opt,name=external_only,json=externalOnly,proto3" json:"external_only,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetLuckyGiftDrawSummaryRequest) Reset() { *x = GetLuckyGiftDrawSummaryRequest{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetLuckyGiftDrawSummaryRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetLuckyGiftDrawSummaryRequest) ProtoMessage() {} func (x *GetLuckyGiftDrawSummaryRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 GetLuckyGiftDrawSummaryRequest.ProtoReflect.Descriptor instead. func (*GetLuckyGiftDrawSummaryRequest) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{24} } func (x *GetLuckyGiftDrawSummaryRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *GetLuckyGiftDrawSummaryRequest) GetGiftId() string { if x != nil { return x.GiftId } return "" } func (x *GetLuckyGiftDrawSummaryRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *GetLuckyGiftDrawSummaryRequest) GetRoomId() string { if x != nil { return x.RoomId } return "" } func (x *GetLuckyGiftDrawSummaryRequest) GetStatus() string { if x != nil { return x.Status } return "" } func (x *GetLuckyGiftDrawSummaryRequest) GetPoolId() string { if x != nil { return x.PoolId } return "" } func (x *GetLuckyGiftDrawSummaryRequest) GetExternalUserId() string { if x != nil { return x.ExternalUserId } return "" } func (x *GetLuckyGiftDrawSummaryRequest) GetExternalOnly() bool { if x != nil { return x.ExternalOnly } return false } type GetLuckyGiftDrawSummaryResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Summary *LuckyGiftDrawSummary `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetLuckyGiftDrawSummaryResponse) Reset() { *x = GetLuckyGiftDrawSummaryResponse{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetLuckyGiftDrawSummaryResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetLuckyGiftDrawSummaryResponse) ProtoMessage() {} func (x *GetLuckyGiftDrawSummaryResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 GetLuckyGiftDrawSummaryResponse.ProtoReflect.Descriptor instead. func (*GetLuckyGiftDrawSummaryResponse) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{25} } func (x *GetLuckyGiftDrawSummaryResponse) GetSummary() *LuckyGiftDrawSummary { if x != nil { return x.Summary } return nil } type ListLuckyGiftPoolBalancesRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` PoolId string `protobuf:"bytes,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListLuckyGiftPoolBalancesRequest) Reset() { *x = ListLuckyGiftPoolBalancesRequest{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListLuckyGiftPoolBalancesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListLuckyGiftPoolBalancesRequest) ProtoMessage() {} func (x *ListLuckyGiftPoolBalancesRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 ListLuckyGiftPoolBalancesRequest.ProtoReflect.Descriptor instead. func (*ListLuckyGiftPoolBalancesRequest) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{26} } func (x *ListLuckyGiftPoolBalancesRequest) GetMeta() *RequestMeta { if x != nil { return x.Meta } return nil } func (x *ListLuckyGiftPoolBalancesRequest) GetPoolId() string { if x != nil { return x.PoolId } return "" } type ListLuckyGiftPoolBalancesResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Pools []*LuckyGiftPoolBalance `protobuf:"bytes,1,rep,name=pools,proto3" json:"pools,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListLuckyGiftPoolBalancesResponse) Reset() { *x = ListLuckyGiftPoolBalancesResponse{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListLuckyGiftPoolBalancesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListLuckyGiftPoolBalancesResponse) ProtoMessage() {} func (x *ListLuckyGiftPoolBalancesResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 ListLuckyGiftPoolBalancesResponse.ProtoReflect.Descriptor instead. func (*ListLuckyGiftPoolBalancesResponse) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{27} } func (x *ListLuckyGiftPoolBalancesResponse) GetPools() []*LuckyGiftPoolBalance { if x != nil { return x.Pools } return nil } // LuckyGiftHit 只返回批量逐份开奖中实际中奖的精简位置,不复制全部审计明细。 // 声明追加在文件尾以保持既有 protobuf message index 稳定。 type LuckyGiftHit struct { state protoimpl.MessageState `protogen:"open.v1"` GiftIndex int32 `protobuf:"varint,1,opt,name=gift_index,json=giftIndex,proto3" json:"gift_index,omitempty"` DrawId string `protobuf:"bytes,2,opt,name=draw_id,json=drawId,proto3" json:"draw_id,omitempty"` SelectedTierId string `protobuf:"bytes,3,opt,name=selected_tier_id,json=selectedTierId,proto3" json:"selected_tier_id,omitempty"` MultiplierPpm int64 `protobuf:"varint,4,opt,name=multiplier_ppm,json=multiplierPpm,proto3" json:"multiplier_ppm,omitempty"` RewardCoins int64 `protobuf:"varint,5,opt,name=reward_coins,json=rewardCoins,proto3" json:"reward_coins,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LuckyGiftHit) Reset() { *x = LuckyGiftHit{} mi := &file_proto_luckygift_v1_luckygift_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LuckyGiftHit) String() string { return protoimpl.X.MessageStringOf(x) } func (*LuckyGiftHit) ProtoMessage() {} func (x *LuckyGiftHit) ProtoReflect() protoreflect.Message { mi := &file_proto_luckygift_v1_luckygift_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 LuckyGiftHit.ProtoReflect.Descriptor instead. func (*LuckyGiftHit) Descriptor() ([]byte, []int) { return file_proto_luckygift_v1_luckygift_proto_rawDescGZIP(), []int{28} } func (x *LuckyGiftHit) GetGiftIndex() int32 { if x != nil { return x.GiftIndex } return 0 } func (x *LuckyGiftHit) GetDrawId() string { if x != nil { return x.DrawId } return "" } func (x *LuckyGiftHit) GetSelectedTierId() string { if x != nil { return x.SelectedTierId } return "" } func (x *LuckyGiftHit) GetMultiplierPpm() int64 { if x != nil { return x.MultiplierPpm } return 0 } func (x *LuckyGiftHit) GetRewardCoins() int64 { if x != nil { return x.RewardCoins } return 0 } var File_proto_luckygift_v1_luckygift_proto protoreflect.FileDescriptor const file_proto_luckygift_v1_luckygift_proto_rawDesc = "" + "\n" + "\"proto/luckygift/v1/luckygift.proto\x12\x12hyapp.luckygift.v1\"\xa5\x01\n" + "\vRequestMeta\x12\x1d\n" + "\n" + "request_id\x18\x01 \x01(\tR\trequestId\x12\x16\n" + "\x06caller\x18\x02 \x01(\tR\x06caller\x12&\n" + "\x0fgateway_node_id\x18\x03 \x01(\tR\rgatewayNodeId\x12\x1c\n" + "\n" + "sent_at_ms\x18\x04 \x01(\x03R\bsentAtMs\x12\x19\n" + "\bapp_code\x18\x05 \x01(\tR\aappCode\"\x8b\x05\n" + "\rLuckyGiftMeta\x123\n" + "\x04meta\x18\x01 \x01(\v2\x1f.hyapp.luckygift.v1.RequestMetaR\x04meta\x12\x1d\n" + "\n" + "command_id\x18\x02 \x01(\tR\tcommandId\x12\x17\n" + "\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x1b\n" + "\tdevice_id\x18\x04 \x01(\tR\bdeviceId\x12\x17\n" + "\aroom_id\x18\x05 \x01(\tR\x06roomId\x12\x1b\n" + "\tanchor_id\x18\x06 \x01(\tR\banchorId\x12\x17\n" + "\agift_id\x18\a \x01(\tR\x06giftId\x12\x1d\n" + "\n" + "coin_spent\x18\b \x01(\x03R\tcoinSpent\x12\x1c\n" + "\n" + "paid_at_ms\x18\t \x01(\x03R\bpaidAtMs\x12\x17\n" + "\apool_id\x18\n" + " \x01(\tR\x06poolId\x12$\n" + "\x0etarget_user_id\x18\v \x01(\x03R\ftargetUserId\x12\x1d\n" + "\n" + "gift_count\x18\f \x01(\x05R\tgiftCount\x12*\n" + "\x11visible_region_id\x18\r \x01(\x03R\x0fvisibleRegionId\x12\x1d\n" + "\n" + "country_id\x18\x0e \x01(\x03R\tcountryId\x12\x1f\n" + "\vsender_name\x18\x0f \x01(\tR\n" + "senderName\x12#\n" + "\rsender_avatar\x18\x10 \x01(\tR\fsenderAvatar\x123\n" + "\x16sender_display_user_id\x18\x11 \x01(\tR\x13senderDisplayUserId\x12@\n" + "\x1dsender_pretty_display_user_id\x18\x12 \x01(\tR\x19senderPrettyDisplayUserId\"\xd3\x01\n" + "\x11LuckyGiftRuleTier\x12\x14\n" + "\x05stage\x18\x01 \x01(\tR\x05stage\x12\x17\n" + "\atier_id\x18\x02 \x01(\tR\x06tierId\x12%\n" + "\x0emultiplier_ppm\x18\x03 \x01(\x03R\rmultiplierPpm\x12&\n" + "\x0fbase_weight_ppm\x18\x04 \x01(\x03R\rbaseWeightPpm\x12&\n" + "\x0fhigh_water_only\x18\x05 \x01(\bR\rhighWaterOnly\x12\x18\n" + "\aenabled\x18\x06 \x01(\bR\aenabled\"g\n" + "\x12LuckyGiftRuleStage\x12\x14\n" + "\x05stage\x18\x01 \x01(\tR\x05stage\x12;\n" + "\x05tiers\x18\x02 \x03(\v2%.hyapp.luckygift.v1.LuckyGiftRuleTierR\x05tiers\"\xa1\x05\n" + "\x13LuckyGiftRuleConfig\x12\x19\n" + "\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x17\n" + "\apool_id\x18\x02 \x01(\tR\x06poolId\x12!\n" + "\frule_version\x18\x03 \x01(\x03R\vruleVersion\x12\x18\n" + "\aenabled\x18\x04 \x01(\bR\aenabled\x12$\n" + "\x0etarget_rtp_ppm\x18\x05 \x01(\x03R\ftargetRtpPpm\x12\"\n" + "\rpool_rate_ppm\x18\x06 \x01(\x03R\vpoolRatePpm\x126\n" + "\x17settlement_window_wager\x18\a \x01(\x03R\x15settlementWindowWager\x12(\n" + "\x10control_band_ppm\x18\b \x01(\x03R\x0econtrolBandPpm\x120\n" + "\x14gift_price_reference\x18\t \x01(\x03R\x12giftPriceReference\x12=\n" + "\x1bnovice_max_equivalent_draws\x18\n" + " \x01(\x03R\x18noviceMaxEquivalentDraws\x12=\n" + "\x1bnormal_max_equivalent_draws\x18\v \x01(\x03R\x18normalMaxEquivalentDraws\x12*\n" + "\x11effective_from_ms\x18\f \x01(\x03R\x0feffectiveFromMs\x12-\n" + "\x13created_by_admin_id\x18\r \x01(\x03R\x10createdByAdminId\x12\"\n" + "\rcreated_at_ms\x18\x0e \x01(\x03R\vcreatedAtMs\x12>\n" + "\x06stages\x18\x0f \x03(\v2&.hyapp.luckygift.v1.LuckyGiftRuleStageR\x06stages\"\xb0\x01\n" + "\x15CheckLuckyGiftRequest\x123\n" + "\x04meta\x18\x01 \x01(\v2\x1f.hyapp.luckygift.v1.RequestMetaR\x04meta\x12\x17\n" + "\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x17\n" + "\aroom_id\x18\x03 \x01(\tR\x06roomId\x12\x17\n" + "\agift_id\x18\x04 \x01(\tR\x06giftId\x12\x17\n" + "\apool_id\x18\x05 \x01(\tR\x06poolId\"\x8d\x02\n" + "\x16CheckLuckyGiftResponse\x12\x18\n" + "\aenabled\x18\x01 \x01(\bR\aenabled\x12\x16\n" + "\x06reason\x18\x02 \x01(\tR\x06reason\x12\x17\n" + "\agift_id\x18\x03 \x01(\tR\x06giftId\x12\x1d\n" + "\n" + "gift_price\x18\x04 \x01(\x03R\tgiftPrice\x12!\n" + "\frule_version\x18\x05 \x01(\x03R\vruleVersion\x12$\n" + "\x0etarget_rtp_ppm\x18\x06 \x01(\x03R\ftargetRtpPpm\x12'\n" + "\x0fexperience_pool\x18\a \x01(\tR\x0eexperiencePool\x12\x17\n" + "\apool_id\x18\b \x01(\tR\x06poolId\"\xc4\a\n" + "\x13LuckyGiftDrawResult\x12\x17\n" + "\adraw_id\x18\x01 \x01(\tR\x06drawId\x12\x1d\n" + "\n" + "command_id\x18\x02 \x01(\tR\tcommandId\x12\x17\n" + "\agift_id\x18\x03 \x01(\tR\x06giftId\x12!\n" + "\frule_version\x18\x04 \x01(\x03R\vruleVersion\x12'\n" + "\x0fexperience_pool\x18\x05 \x01(\tR\x0eexperiencePool\x12(\n" + "\x10selected_tier_id\x18\x06 \x01(\tR\x0eselectedTierId\x12*\n" + "\x11base_reward_coins\x18\a \x01(\x03R\x0fbaseRewardCoins\x124\n" + "\x16effective_reward_coins\x18\b \x01(\x03R\x14effectiveRewardCoins\x12#\n" + "\rreward_status\x18\t \x01(\tR\frewardStatus\x12(\n" + "\x10rtp_window_index\x18\n" + " \x01(\x03R\x0ertpWindowIndex\x121\n" + "\x15gift_rtp_window_index\x18\v \x01(\x03R\x12giftRtpWindowIndex\x12-\n" + "\x13global_base_rtp_ppm\x18\f \x01(\x03R\x10globalBaseRtpPpm\x12)\n" + "\x11gift_base_rtp_ppm\x18\r \x01(\x03R\x0egiftBaseRtpPpm\x12%\n" + "\x0estage_feedback\x18\x0e \x01(\bR\rstageFeedback\x12'\n" + "\x0fhigh_multiplier\x18\x0f \x01(\bR\x0ehighMultiplier\x12\"\n" + "\rcreated_at_ms\x18\x10 \x01(\x03R\vcreatedAtMs\x12\x17\n" + "\apool_id\x18\x11 \x01(\tR\x06poolId\x12%\n" + "\x0emultiplier_ppm\x18\x12 \x01(\x03R\rmultiplierPpm\x122\n" + "\x15wallet_transaction_id\x18\x13 \x01(\tR\x13walletTransactionId\x12,\n" + "\x12coin_balance_after\x18\x14 \x01(\x03R\x10coinBalanceAfter\x12\x17\n" + "\auser_id\x18\x15 \x01(\x03R\x06userId\x12(\n" + "\x10external_user_id\x18\x16 \x01(\tR\x0eexternalUserId\x12\x19\n" + "\bapp_code\x18\x17 \x01(\tR\aappCode\x124\n" + "\x04hits\x18\x18 \x03(\v2 .hyapp.luckygift.v1.LuckyGiftHitR\x04hits\"_\n" + "\x1bExecuteLuckyGiftDrawRequest\x12@\n" + "\n" + "lucky_gift\x18\x01 \x01(\v2!.hyapp.luckygift.v1.LuckyGiftMetaR\tluckyGift\"_\n" + "\x1cExecuteLuckyGiftDrawResponse\x12?\n" + "\x06result\x18\x01 \x01(\v2'.hyapp.luckygift.v1.LuckyGiftDrawResultR\x06result\"f\n" + " BatchExecuteLuckyGiftDrawRequest\x12B\n" + "\vlucky_gifts\x18\x01 \x03(\v2!.hyapp.luckygift.v1.LuckyGiftMetaR\n" + "luckyGifts\"f\n" + "!BatchExecuteLuckyGiftDrawResponse\x12A\n" + "\aresults\x18\x01 \x03(\v2'.hyapp.luckygift.v1.LuckyGiftDrawResultR\aresults\"\x8d\x03\n" + "\x17ExternalGiftDrawRequest\x123\n" + "\x04meta\x18\x01 \x01(\v2\x1f.hyapp.luckygift.v1.RequestMetaR\x04meta\x12\x19\n" + "\bapp_code\x18\x03 \x01(\tR\aappCode\x12(\n" + "\x10external_user_id\x18\x04 \x01(\tR\x0eexternalUserId\x12\x1d\n" + "\n" + "request_id\x18\x05 \x01(\tR\trequestId\x12\x1d\n" + "\n" + "gift_count\x18\x06 \x01(\x03R\tgiftCount\x12\x1f\n" + "\vunit_amount\x18\a \x01(\x03R\n" + "unitAmount\x12!\n" + "\ftotal_amount\x18\b \x01(\x03R\vtotalAmount\x12\x1a\n" + "\bcurrency\x18\t \x01(\tR\bcurrency\x12\x1c\n" + "\n" + "paid_at_ms\x18\n" + " \x01(\x03R\bpaidAtMs\x12#\n" + "\rmetadata_json\x18\v \x01(\tR\fmetadataJson\x12\x17\n" + "\apool_id\x18\f \x01(\tR\x06poolId\"\xb2\x03\n" + "\x18ExternalGiftDrawResponse\x12\x17\n" + "\adraw_id\x18\x01 \x01(\tR\x06drawId\x12\x1d\n" + "\n" + "request_id\x18\x02 \x01(\tR\trequestId\x12\x19\n" + "\bapp_code\x18\x04 \x01(\tR\aappCode\x12(\n" + "\x10external_user_id\x18\x05 \x01(\tR\x0eexternalUserId\x12\x1d\n" + "\n" + "gift_count\x18\x06 \x01(\x03R\tgiftCount\x12\x1f\n" + "\vunit_amount\x18\a \x01(\x03R\n" + "unitAmount\x12!\n" + "\ftotal_amount\x18\b \x01(\x03R\vtotalAmount\x12#\n" + "\rreward_amount\x18\t \x01(\x03R\frewardAmount\x12%\n" + "\x0emultiplier_ppm\x18\n" + " \x01(\x03R\rmultiplierPpm\x12#\n" + "\rreward_status\x18\v \x01(\tR\frewardStatus\x12!\n" + "\frule_version\x18\f \x01(\x03R\vruleVersion\x12\"\n" + "\rcreated_at_ms\x18\r \x01(\x03R\vcreatedAtMs\"i\n" + "\x19GetLuckyGiftConfigRequest\x123\n" + "\x04meta\x18\x01 \x01(\v2\x1f.hyapp.luckygift.v1.RequestMetaR\x04meta\x12\x17\n" + "\apool_id\x18\x02 \x01(\tR\x06poolId\"]\n" + "\x1aGetLuckyGiftConfigResponse\x12?\n" + "\x06config\x18\x01 \x01(\v2'.hyapp.luckygift.v1.LuckyGiftRuleConfigR\x06config\"\xc0\x01\n" + "\x1cUpsertLuckyGiftConfigRequest\x123\n" + "\x04meta\x18\x01 \x01(\v2\x1f.hyapp.luckygift.v1.RequestMetaR\x04meta\x12?\n" + "\x06config\x18\x02 \x01(\v2'.hyapp.luckygift.v1.LuckyGiftRuleConfigR\x06config\x12*\n" + "\x11operator_admin_id\x18\x03 \x01(\x03R\x0foperatorAdminId\"`\n" + "\x1dUpsertLuckyGiftConfigResponse\x12?\n" + "\x06config\x18\x01 \x01(\v2'.hyapp.luckygift.v1.LuckyGiftRuleConfigR\x06config\"R\n" + "\x1bListLuckyGiftConfigsRequest\x123\n" + "\x04meta\x18\x01 \x01(\v2\x1f.hyapp.luckygift.v1.RequestMetaR\x04meta\"a\n" + "\x1cListLuckyGiftConfigsResponse\x12A\n" + "\aconfigs\x18\x01 \x03(\v2'.hyapp.luckygift.v1.LuckyGiftRuleConfigR\aconfigs\"\xcc\x02\n" + "\x19ListLuckyGiftDrawsRequest\x123\n" + "\x04meta\x18\x01 \x01(\v2\x1f.hyapp.luckygift.v1.RequestMetaR\x04meta\x12\x17\n" + "\agift_id\x18\x02 \x01(\tR\x06giftId\x12\x17\n" + "\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x17\n" + "\aroom_id\x18\x04 \x01(\tR\x06roomId\x12\x16\n" + "\x06status\x18\x05 \x01(\tR\x06status\x12\x12\n" + "\x04page\x18\x06 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\a \x01(\x05R\bpageSize\x12\x17\n" + "\apool_id\x18\b \x01(\tR\x06poolId\x12(\n" + "\x10external_user_id\x18\n" + " \x01(\tR\x0eexternalUserId\x12#\n" + "\rexternal_only\x18\v \x01(\bR\fexternalOnly\"q\n" + "\x1aListLuckyGiftDrawsResponse\x12=\n" + "\x05draws\x18\x01 \x03(\v2'.hyapp.luckygift.v1.LuckyGiftDrawResultR\x05draws\x12\x14\n" + "\x05total\x18\x02 \x01(\x03R\x05total\"\xaf\x03\n" + "\x14LuckyGiftDrawSummary\x12\x17\n" + "\apool_id\x18\x01 \x01(\tR\x06poolId\x12\x1f\n" + "\vtotal_draws\x18\x02 \x01(\x03R\n" + "totalDraws\x12!\n" + "\funique_users\x18\x03 \x01(\x03R\vuniqueUsers\x12!\n" + "\funique_rooms\x18\x04 \x01(\x03R\vuniqueRooms\x12*\n" + "\x11total_spent_coins\x18\x05 \x01(\x03R\x0ftotalSpentCoins\x12,\n" + "\x12total_reward_coins\x18\x06 \x01(\x03R\x10totalRewardCoins\x12*\n" + "\x11base_reward_coins\x18\a \x01(\x03R\x0fbaseRewardCoins\x12$\n" + "\x0eactual_rtp_ppm\x18\b \x01(\x03R\factualRtpPpm\x12#\n" + "\rpending_draws\x18\t \x01(\x03R\fpendingDraws\x12#\n" + "\rgranted_draws\x18\n" + " \x01(\x03R\fgrantedDraws\x12!\n" + "\ffailed_draws\x18\v \x01(\x03R\vfailedDraws\"\xb6\x02\n" + "\x14LuckyGiftPoolBalance\x12\x19\n" + "\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x17\n" + "\apool_id\x18\x02 \x01(\tR\x06poolId\x12\x18\n" + "\abalance\x18\x03 \x01(\x03R\abalance\x12#\n" + "\rreserve_floor\x18\x04 \x01(\x03R\freserveFloor\x12+\n" + "\x11available_balance\x18\x05 \x01(\x03R\x10availableBalance\x12\x19\n" + "\btotal_in\x18\x06 \x01(\x03R\atotalIn\x12\x1b\n" + "\ttotal_out\x18\a \x01(\x03R\btotalOut\x12\"\n" + "\fmaterialized\x18\b \x01(\bR\fmaterialized\x12\"\n" + "\rupdated_at_ms\x18\t \x01(\x03R\vupdatedAtMs\"\xa0\x02\n" + "\x1eGetLuckyGiftDrawSummaryRequest\x123\n" + "\x04meta\x18\x01 \x01(\v2\x1f.hyapp.luckygift.v1.RequestMetaR\x04meta\x12\x17\n" + "\agift_id\x18\x02 \x01(\tR\x06giftId\x12\x17\n" + "\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x17\n" + "\aroom_id\x18\x04 \x01(\tR\x06roomId\x12\x16\n" + "\x06status\x18\x05 \x01(\tR\x06status\x12\x17\n" + "\apool_id\x18\x06 \x01(\tR\x06poolId\x12(\n" + "\x10external_user_id\x18\b \x01(\tR\x0eexternalUserId\x12#\n" + "\rexternal_only\x18\t \x01(\bR\fexternalOnly\"e\n" + "\x1fGetLuckyGiftDrawSummaryResponse\x12B\n" + "\asummary\x18\x01 \x01(\v2(.hyapp.luckygift.v1.LuckyGiftDrawSummaryR\asummary\"p\n" + " ListLuckyGiftPoolBalancesRequest\x123\n" + "\x04meta\x18\x01 \x01(\v2\x1f.hyapp.luckygift.v1.RequestMetaR\x04meta\x12\x17\n" + "\apool_id\x18\x02 \x01(\tR\x06poolId\"c\n" + "!ListLuckyGiftPoolBalancesResponse\x12>\n" + "\x05pools\x18\x01 \x03(\v2(.hyapp.luckygift.v1.LuckyGiftPoolBalanceR\x05pools\"\xba\x01\n" + "\fLuckyGiftHit\x12\x1d\n" + "\n" + "gift_index\x18\x01 \x01(\x05R\tgiftIndex\x12\x17\n" + "\adraw_id\x18\x02 \x01(\tR\x06drawId\x12(\n" + "\x10selected_tier_id\x18\x03 \x01(\tR\x0eselectedTierId\x12%\n" + "\x0emultiplier_ppm\x18\x04 \x01(\x03R\rmultiplierPpm\x12!\n" + "\freward_coins\x18\x05 \x01(\x03R\vrewardCoins2\xf7\x03\n" + "\x10LuckyGiftService\x12g\n" + "\x0eCheckLuckyGift\x12).hyapp.luckygift.v1.CheckLuckyGiftRequest\x1a*.hyapp.luckygift.v1.CheckLuckyGiftResponse\x12y\n" + "\x14ExecuteLuckyGiftDraw\x12/.hyapp.luckygift.v1.ExecuteLuckyGiftDrawRequest\x1a0.hyapp.luckygift.v1.ExecuteLuckyGiftDrawResponse\x12\x88\x01\n" + "\x19BatchExecuteLuckyGiftDraw\x124.hyapp.luckygift.v1.BatchExecuteLuckyGiftDrawRequest\x1a5.hyapp.luckygift.v1.BatchExecuteLuckyGiftDrawResponse\x12t\n" + "\x17ExecuteExternalGiftDraw\x12+.hyapp.luckygift.v1.ExternalGiftDrawRequest\x1a,.hyapp.luckygift.v1.ExternalGiftDrawResponse2\x8a\x06\n" + "\x15AdminLuckyGiftService\x12s\n" + "\x12GetLuckyGiftConfig\x12-.hyapp.luckygift.v1.GetLuckyGiftConfigRequest\x1a..hyapp.luckygift.v1.GetLuckyGiftConfigResponse\x12|\n" + "\x15UpsertLuckyGiftConfig\x120.hyapp.luckygift.v1.UpsertLuckyGiftConfigRequest\x1a1.hyapp.luckygift.v1.UpsertLuckyGiftConfigResponse\x12y\n" + "\x14ListLuckyGiftConfigs\x12/.hyapp.luckygift.v1.ListLuckyGiftConfigsRequest\x1a0.hyapp.luckygift.v1.ListLuckyGiftConfigsResponse\x12s\n" + "\x12ListLuckyGiftDraws\x12-.hyapp.luckygift.v1.ListLuckyGiftDrawsRequest\x1a..hyapp.luckygift.v1.ListLuckyGiftDrawsResponse\x12\x82\x01\n" + "\x17GetLuckyGiftDrawSummary\x122.hyapp.luckygift.v1.GetLuckyGiftDrawSummaryRequest\x1a3.hyapp.luckygift.v1.GetLuckyGiftDrawSummaryResponse\x12\x88\x01\n" + "\x19ListLuckyGiftPoolBalances\x124.hyapp.luckygift.v1.ListLuckyGiftPoolBalancesRequest\x1a5.hyapp.luckygift.v1.ListLuckyGiftPoolBalancesResponseB0Z.hyapp.local/api/proto/luckygift/v1;luckygiftv1b\x06proto3" var ( file_proto_luckygift_v1_luckygift_proto_rawDescOnce sync.Once file_proto_luckygift_v1_luckygift_proto_rawDescData []byte ) func file_proto_luckygift_v1_luckygift_proto_rawDescGZIP() []byte { file_proto_luckygift_v1_luckygift_proto_rawDescOnce.Do(func() { file_proto_luckygift_v1_luckygift_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_luckygift_v1_luckygift_proto_rawDesc), len(file_proto_luckygift_v1_luckygift_proto_rawDesc))) }) return file_proto_luckygift_v1_luckygift_proto_rawDescData } var file_proto_luckygift_v1_luckygift_proto_msgTypes = make([]protoimpl.MessageInfo, 29) var file_proto_luckygift_v1_luckygift_proto_goTypes = []any{ (*RequestMeta)(nil), // 0: hyapp.luckygift.v1.RequestMeta (*LuckyGiftMeta)(nil), // 1: hyapp.luckygift.v1.LuckyGiftMeta (*LuckyGiftRuleTier)(nil), // 2: hyapp.luckygift.v1.LuckyGiftRuleTier (*LuckyGiftRuleStage)(nil), // 3: hyapp.luckygift.v1.LuckyGiftRuleStage (*LuckyGiftRuleConfig)(nil), // 4: hyapp.luckygift.v1.LuckyGiftRuleConfig (*CheckLuckyGiftRequest)(nil), // 5: hyapp.luckygift.v1.CheckLuckyGiftRequest (*CheckLuckyGiftResponse)(nil), // 6: hyapp.luckygift.v1.CheckLuckyGiftResponse (*LuckyGiftDrawResult)(nil), // 7: hyapp.luckygift.v1.LuckyGiftDrawResult (*ExecuteLuckyGiftDrawRequest)(nil), // 8: hyapp.luckygift.v1.ExecuteLuckyGiftDrawRequest (*ExecuteLuckyGiftDrawResponse)(nil), // 9: hyapp.luckygift.v1.ExecuteLuckyGiftDrawResponse (*BatchExecuteLuckyGiftDrawRequest)(nil), // 10: hyapp.luckygift.v1.BatchExecuteLuckyGiftDrawRequest (*BatchExecuteLuckyGiftDrawResponse)(nil), // 11: hyapp.luckygift.v1.BatchExecuteLuckyGiftDrawResponse (*ExternalGiftDrawRequest)(nil), // 12: hyapp.luckygift.v1.ExternalGiftDrawRequest (*ExternalGiftDrawResponse)(nil), // 13: hyapp.luckygift.v1.ExternalGiftDrawResponse (*GetLuckyGiftConfigRequest)(nil), // 14: hyapp.luckygift.v1.GetLuckyGiftConfigRequest (*GetLuckyGiftConfigResponse)(nil), // 15: hyapp.luckygift.v1.GetLuckyGiftConfigResponse (*UpsertLuckyGiftConfigRequest)(nil), // 16: hyapp.luckygift.v1.UpsertLuckyGiftConfigRequest (*UpsertLuckyGiftConfigResponse)(nil), // 17: hyapp.luckygift.v1.UpsertLuckyGiftConfigResponse (*ListLuckyGiftConfigsRequest)(nil), // 18: hyapp.luckygift.v1.ListLuckyGiftConfigsRequest (*ListLuckyGiftConfigsResponse)(nil), // 19: hyapp.luckygift.v1.ListLuckyGiftConfigsResponse (*ListLuckyGiftDrawsRequest)(nil), // 20: hyapp.luckygift.v1.ListLuckyGiftDrawsRequest (*ListLuckyGiftDrawsResponse)(nil), // 21: hyapp.luckygift.v1.ListLuckyGiftDrawsResponse (*LuckyGiftDrawSummary)(nil), // 22: hyapp.luckygift.v1.LuckyGiftDrawSummary (*LuckyGiftPoolBalance)(nil), // 23: hyapp.luckygift.v1.LuckyGiftPoolBalance (*GetLuckyGiftDrawSummaryRequest)(nil), // 24: hyapp.luckygift.v1.GetLuckyGiftDrawSummaryRequest (*GetLuckyGiftDrawSummaryResponse)(nil), // 25: hyapp.luckygift.v1.GetLuckyGiftDrawSummaryResponse (*ListLuckyGiftPoolBalancesRequest)(nil), // 26: hyapp.luckygift.v1.ListLuckyGiftPoolBalancesRequest (*ListLuckyGiftPoolBalancesResponse)(nil), // 27: hyapp.luckygift.v1.ListLuckyGiftPoolBalancesResponse (*LuckyGiftHit)(nil), // 28: hyapp.luckygift.v1.LuckyGiftHit } var file_proto_luckygift_v1_luckygift_proto_depIdxs = []int32{ 0, // 0: hyapp.luckygift.v1.LuckyGiftMeta.meta:type_name -> hyapp.luckygift.v1.RequestMeta 2, // 1: hyapp.luckygift.v1.LuckyGiftRuleStage.tiers:type_name -> hyapp.luckygift.v1.LuckyGiftRuleTier 3, // 2: hyapp.luckygift.v1.LuckyGiftRuleConfig.stages:type_name -> hyapp.luckygift.v1.LuckyGiftRuleStage 0, // 3: hyapp.luckygift.v1.CheckLuckyGiftRequest.meta:type_name -> hyapp.luckygift.v1.RequestMeta 28, // 4: hyapp.luckygift.v1.LuckyGiftDrawResult.hits:type_name -> hyapp.luckygift.v1.LuckyGiftHit 1, // 5: hyapp.luckygift.v1.ExecuteLuckyGiftDrawRequest.lucky_gift:type_name -> hyapp.luckygift.v1.LuckyGiftMeta 7, // 6: hyapp.luckygift.v1.ExecuteLuckyGiftDrawResponse.result:type_name -> hyapp.luckygift.v1.LuckyGiftDrawResult 1, // 7: hyapp.luckygift.v1.BatchExecuteLuckyGiftDrawRequest.lucky_gifts:type_name -> hyapp.luckygift.v1.LuckyGiftMeta 7, // 8: hyapp.luckygift.v1.BatchExecuteLuckyGiftDrawResponse.results:type_name -> hyapp.luckygift.v1.LuckyGiftDrawResult 0, // 9: hyapp.luckygift.v1.ExternalGiftDrawRequest.meta:type_name -> hyapp.luckygift.v1.RequestMeta 0, // 10: hyapp.luckygift.v1.GetLuckyGiftConfigRequest.meta:type_name -> hyapp.luckygift.v1.RequestMeta 4, // 11: hyapp.luckygift.v1.GetLuckyGiftConfigResponse.config:type_name -> hyapp.luckygift.v1.LuckyGiftRuleConfig 0, // 12: hyapp.luckygift.v1.UpsertLuckyGiftConfigRequest.meta:type_name -> hyapp.luckygift.v1.RequestMeta 4, // 13: hyapp.luckygift.v1.UpsertLuckyGiftConfigRequest.config:type_name -> hyapp.luckygift.v1.LuckyGiftRuleConfig 4, // 14: hyapp.luckygift.v1.UpsertLuckyGiftConfigResponse.config:type_name -> hyapp.luckygift.v1.LuckyGiftRuleConfig 0, // 15: hyapp.luckygift.v1.ListLuckyGiftConfigsRequest.meta:type_name -> hyapp.luckygift.v1.RequestMeta 4, // 16: hyapp.luckygift.v1.ListLuckyGiftConfigsResponse.configs:type_name -> hyapp.luckygift.v1.LuckyGiftRuleConfig 0, // 17: hyapp.luckygift.v1.ListLuckyGiftDrawsRequest.meta:type_name -> hyapp.luckygift.v1.RequestMeta 7, // 18: hyapp.luckygift.v1.ListLuckyGiftDrawsResponse.draws:type_name -> hyapp.luckygift.v1.LuckyGiftDrawResult 0, // 19: hyapp.luckygift.v1.GetLuckyGiftDrawSummaryRequest.meta:type_name -> hyapp.luckygift.v1.RequestMeta 22, // 20: hyapp.luckygift.v1.GetLuckyGiftDrawSummaryResponse.summary:type_name -> hyapp.luckygift.v1.LuckyGiftDrawSummary 0, // 21: hyapp.luckygift.v1.ListLuckyGiftPoolBalancesRequest.meta:type_name -> hyapp.luckygift.v1.RequestMeta 23, // 22: hyapp.luckygift.v1.ListLuckyGiftPoolBalancesResponse.pools:type_name -> hyapp.luckygift.v1.LuckyGiftPoolBalance 5, // 23: hyapp.luckygift.v1.LuckyGiftService.CheckLuckyGift:input_type -> hyapp.luckygift.v1.CheckLuckyGiftRequest 8, // 24: hyapp.luckygift.v1.LuckyGiftService.ExecuteLuckyGiftDraw:input_type -> hyapp.luckygift.v1.ExecuteLuckyGiftDrawRequest 10, // 25: hyapp.luckygift.v1.LuckyGiftService.BatchExecuteLuckyGiftDraw:input_type -> hyapp.luckygift.v1.BatchExecuteLuckyGiftDrawRequest 12, // 26: hyapp.luckygift.v1.LuckyGiftService.ExecuteExternalGiftDraw:input_type -> hyapp.luckygift.v1.ExternalGiftDrawRequest 14, // 27: hyapp.luckygift.v1.AdminLuckyGiftService.GetLuckyGiftConfig:input_type -> hyapp.luckygift.v1.GetLuckyGiftConfigRequest 16, // 28: hyapp.luckygift.v1.AdminLuckyGiftService.UpsertLuckyGiftConfig:input_type -> hyapp.luckygift.v1.UpsertLuckyGiftConfigRequest 18, // 29: hyapp.luckygift.v1.AdminLuckyGiftService.ListLuckyGiftConfigs:input_type -> hyapp.luckygift.v1.ListLuckyGiftConfigsRequest 20, // 30: hyapp.luckygift.v1.AdminLuckyGiftService.ListLuckyGiftDraws:input_type -> hyapp.luckygift.v1.ListLuckyGiftDrawsRequest 24, // 31: hyapp.luckygift.v1.AdminLuckyGiftService.GetLuckyGiftDrawSummary:input_type -> hyapp.luckygift.v1.GetLuckyGiftDrawSummaryRequest 26, // 32: hyapp.luckygift.v1.AdminLuckyGiftService.ListLuckyGiftPoolBalances:input_type -> hyapp.luckygift.v1.ListLuckyGiftPoolBalancesRequest 6, // 33: hyapp.luckygift.v1.LuckyGiftService.CheckLuckyGift:output_type -> hyapp.luckygift.v1.CheckLuckyGiftResponse 9, // 34: hyapp.luckygift.v1.LuckyGiftService.ExecuteLuckyGiftDraw:output_type -> hyapp.luckygift.v1.ExecuteLuckyGiftDrawResponse 11, // 35: hyapp.luckygift.v1.LuckyGiftService.BatchExecuteLuckyGiftDraw:output_type -> hyapp.luckygift.v1.BatchExecuteLuckyGiftDrawResponse 13, // 36: hyapp.luckygift.v1.LuckyGiftService.ExecuteExternalGiftDraw:output_type -> hyapp.luckygift.v1.ExternalGiftDrawResponse 15, // 37: hyapp.luckygift.v1.AdminLuckyGiftService.GetLuckyGiftConfig:output_type -> hyapp.luckygift.v1.GetLuckyGiftConfigResponse 17, // 38: hyapp.luckygift.v1.AdminLuckyGiftService.UpsertLuckyGiftConfig:output_type -> hyapp.luckygift.v1.UpsertLuckyGiftConfigResponse 19, // 39: hyapp.luckygift.v1.AdminLuckyGiftService.ListLuckyGiftConfigs:output_type -> hyapp.luckygift.v1.ListLuckyGiftConfigsResponse 21, // 40: hyapp.luckygift.v1.AdminLuckyGiftService.ListLuckyGiftDraws:output_type -> hyapp.luckygift.v1.ListLuckyGiftDrawsResponse 25, // 41: hyapp.luckygift.v1.AdminLuckyGiftService.GetLuckyGiftDrawSummary:output_type -> hyapp.luckygift.v1.GetLuckyGiftDrawSummaryResponse 27, // 42: hyapp.luckygift.v1.AdminLuckyGiftService.ListLuckyGiftPoolBalances:output_type -> hyapp.luckygift.v1.ListLuckyGiftPoolBalancesResponse 33, // [33:43] is the sub-list for method output_type 23, // [23:33] is the sub-list for method input_type 23, // [23:23] is the sub-list for extension type_name 23, // [23:23] is the sub-list for extension extendee 0, // [0:23] is the sub-list for field type_name } func init() { file_proto_luckygift_v1_luckygift_proto_init() } func file_proto_luckygift_v1_luckygift_proto_init() { if File_proto_luckygift_v1_luckygift_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_luckygift_v1_luckygift_proto_rawDesc), len(file_proto_luckygift_v1_luckygift_proto_rawDesc)), NumEnums: 0, NumMessages: 29, NumExtensions: 0, NumServices: 2, }, GoTypes: file_proto_luckygift_v1_luckygift_proto_goTypes, DependencyIndexes: file_proto_luckygift_v1_luckygift_proto_depIdxs, MessageInfos: file_proto_luckygift_v1_luckygift_proto_msgTypes, }.Build() File_proto_luckygift_v1_luckygift_proto = out.File file_proto_luckygift_v1_luckygift_proto_goTypes = nil file_proto_luckygift_v1_luckygift_proto_depIdxs = nil }