hyapp-server/api/proto/activity/v1/activity.pb.go
2026-05-29 12:52:58 +08:00

13698 lines
476 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v7.35.0
// source: proto/activity/v1/activity.proto
package activityv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
v1 "hyapp.local/api/proto/events/room/v1"
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 是 activity-service 内部 RPC 的最小追踪元信息。
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_activity_v1_activity_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_activity_v1_activity_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_activity_v1_activity_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 ""
}
// PingActivityRequest 用于验证 activity-service gRPC 链路可用。
type PingActivityRequest 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 *PingActivityRequest) Reset() {
*x = PingActivityRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PingActivityRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PingActivityRequest) ProtoMessage() {}
func (x *PingActivityRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 PingActivityRequest.ProtoReflect.Descriptor instead.
func (*PingActivityRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{1}
}
func (x *PingActivityRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
// PingActivityResponse 返回服务是否接受请求。
type PingActivityResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PingActivityResponse) Reset() {
*x = PingActivityResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PingActivityResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PingActivityResponse) ProtoMessage() {}
func (x *PingActivityResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 PingActivityResponse.ProtoReflect.Descriptor instead.
func (*PingActivityResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{2}
}
func (x *PingActivityResponse) GetOk() bool {
if x != nil {
return x.Ok
}
return false
}
func (x *PingActivityResponse) GetNodeId() string {
if x != nil {
return x.NodeId
}
return ""
}
// GetActivityStatusRequest 查询活动服务底座状态。
type GetActivityStatusRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
ActivityId string `protobuf:"bytes,2,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetActivityStatusRequest) Reset() {
*x = GetActivityStatusRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetActivityStatusRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetActivityStatusRequest) ProtoMessage() {}
func (x *GetActivityStatusRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetActivityStatusRequest.ProtoReflect.Descriptor instead.
func (*GetActivityStatusRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{3}
}
func (x *GetActivityStatusRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetActivityStatusRequest) GetActivityId() string {
if x != nil {
return x.ActivityId
}
return ""
}
// GetActivityStatusResponse 返回活动是否启用。
type GetActivityStatusResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetActivityStatusResponse) Reset() {
*x = GetActivityStatusResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetActivityStatusResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetActivityStatusResponse) ProtoMessage() {}
func (x *GetActivityStatusResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetActivityStatusResponse.ProtoReflect.Descriptor instead.
func (*GetActivityStatusResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{4}
}
func (x *GetActivityStatusResponse) GetActivityId() string {
if x != nil {
return x.ActivityId
}
return ""
}
func (x *GetActivityStatusResponse) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
// MessageTabSection 是 App 消息 tab 的一个分区摘要。
type MessageTabSection struct {
state protoimpl.MessageState `protogen:"open.v1"`
Section string `protobuf:"bytes,1,opt,name=section,proto3" json:"section,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
UnreadCount int64 `protobuf:"varint,3,opt,name=unread_count,json=unreadCount,proto3" json:"unread_count,omitempty"`
Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *MessageTabSection) Reset() {
*x = MessageTabSection{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MessageTabSection) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MessageTabSection) ProtoMessage() {}
func (x *MessageTabSection) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 MessageTabSection.ProtoReflect.Descriptor instead.
func (*MessageTabSection) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{5}
}
func (x *MessageTabSection) GetSection() string {
if x != nil {
return x.Section
}
return ""
}
func (x *MessageTabSection) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *MessageTabSection) GetUnreadCount() int64 {
if x != nil {
return x.UnreadCount
}
return 0
}
func (x *MessageTabSection) GetSource() string {
if x != nil {
return x.Source
}
return ""
}
// ListMessageTabsRequest 查询当前用户消息 tab 摘要。
type ListMessageTabsRequest 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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListMessageTabsRequest) Reset() {
*x = ListMessageTabsRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListMessageTabsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListMessageTabsRequest) ProtoMessage() {}
func (x *ListMessageTabsRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ListMessageTabsRequest.ProtoReflect.Descriptor instead.
func (*ListMessageTabsRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{6}
}
func (x *ListMessageTabsRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ListMessageTabsRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
// ListMessageTabsResponse 固定返回 user/system/activity 三个分区。
type ListMessageTabsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Sections []*MessageTabSection `protobuf:"bytes,1,rep,name=sections,proto3" json:"sections,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListMessageTabsResponse) Reset() {
*x = ListMessageTabsResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListMessageTabsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListMessageTabsResponse) ProtoMessage() {}
func (x *ListMessageTabsResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ListMessageTabsResponse.ProtoReflect.Descriptor instead.
func (*ListMessageTabsResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{7}
}
func (x *ListMessageTabsResponse) GetSections() []*MessageTabSection {
if x != nil {
return x.Sections
}
return nil
}
// InboxMessage 是 system/activity 分区列表可展示的消息快照。
type InboxMessage struct {
state protoimpl.MessageState `protogen:"open.v1"`
MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
Section string `protobuf:"bytes,2,opt,name=section,proto3" json:"section,omitempty"`
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
Summary string `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty"`
Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
IconUrl string `protobuf:"bytes,6,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"`
ImageUrl string `protobuf:"bytes,7,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
ActionType string `protobuf:"bytes,8,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty"`
ActionParam string `protobuf:"bytes,9,opt,name=action_param,json=actionParam,proto3" json:"action_param,omitempty"`
Read bool `protobuf:"varint,10,opt,name=read,proto3" json:"read,omitempty"`
SentAtMs int64 `protobuf:"varint,11,opt,name=sent_at_ms,json=sentAtMs,proto3" json:"sent_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InboxMessage) Reset() {
*x = InboxMessage{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InboxMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InboxMessage) ProtoMessage() {}
func (x *InboxMessage) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 InboxMessage.ProtoReflect.Descriptor instead.
func (*InboxMessage) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{8}
}
func (x *InboxMessage) GetMessageId() string {
if x != nil {
return x.MessageId
}
return ""
}
func (x *InboxMessage) GetSection() string {
if x != nil {
return x.Section
}
return ""
}
func (x *InboxMessage) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *InboxMessage) GetSummary() string {
if x != nil {
return x.Summary
}
return ""
}
func (x *InboxMessage) GetBody() string {
if x != nil {
return x.Body
}
return ""
}
func (x *InboxMessage) GetIconUrl() string {
if x != nil {
return x.IconUrl
}
return ""
}
func (x *InboxMessage) GetImageUrl() string {
if x != nil {
return x.ImageUrl
}
return ""
}
func (x *InboxMessage) GetActionType() string {
if x != nil {
return x.ActionType
}
return ""
}
func (x *InboxMessage) GetActionParam() string {
if x != nil {
return x.ActionParam
}
return ""
}
func (x *InboxMessage) GetRead() bool {
if x != nil {
return x.Read
}
return false
}
func (x *InboxMessage) GetSentAtMs() int64 {
if x != nil {
return x.SentAtMs
}
return 0
}
// ListInboxMessagesRequest 按 section 和游标分页读取当前用户 inbox。
type ListInboxMessagesRequest 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"`
Section string `protobuf:"bytes,3,opt,name=section,proto3" json:"section,omitempty"`
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListInboxMessagesRequest) Reset() {
*x = ListInboxMessagesRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListInboxMessagesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListInboxMessagesRequest) ProtoMessage() {}
func (x *ListInboxMessagesRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ListInboxMessagesRequest.ProtoReflect.Descriptor instead.
func (*ListInboxMessagesRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{9}
}
func (x *ListInboxMessagesRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ListInboxMessagesRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *ListInboxMessagesRequest) GetSection() string {
if x != nil {
return x.Section
}
return ""
}
func (x *ListInboxMessagesRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *ListInboxMessagesRequest) GetPageToken() string {
if x != nil {
return x.PageToken
}
return ""
}
// ListInboxMessagesResponse 返回当前页列表和下一页不透明游标。
type ListInboxMessagesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Section string `protobuf:"bytes,1,opt,name=section,proto3" json:"section,omitempty"`
Items []*InboxMessage `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListInboxMessagesResponse) Reset() {
*x = ListInboxMessagesResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListInboxMessagesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListInboxMessagesResponse) ProtoMessage() {}
func (x *ListInboxMessagesResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ListInboxMessagesResponse.ProtoReflect.Descriptor instead.
func (*ListInboxMessagesResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{10}
}
func (x *ListInboxMessagesResponse) GetSection() string {
if x != nil {
return x.Section
}
return ""
}
func (x *ListInboxMessagesResponse) GetItems() []*InboxMessage {
if x != nil {
return x.Items
}
return nil
}
func (x *ListInboxMessagesResponse) GetNextPageToken() string {
if x != nil {
return x.NextPageToken
}
return ""
}
// MarkInboxMessageReadRequest 标记单条消息已读。
type MarkInboxMessageReadRequest 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"`
MessageId string `protobuf:"bytes,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *MarkInboxMessageReadRequest) Reset() {
*x = MarkInboxMessageReadRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MarkInboxMessageReadRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MarkInboxMessageReadRequest) ProtoMessage() {}
func (x *MarkInboxMessageReadRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 MarkInboxMessageReadRequest.ProtoReflect.Descriptor instead.
func (*MarkInboxMessageReadRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{11}
}
func (x *MarkInboxMessageReadRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *MarkInboxMessageReadRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *MarkInboxMessageReadRequest) GetMessageId() string {
if x != nil {
return x.MessageId
}
return ""
}
// MarkInboxMessageReadResponse 返回消息首次已读时间;重复请求不覆盖该时间。
type MarkInboxMessageReadResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
Read bool `protobuf:"varint,2,opt,name=read,proto3" json:"read,omitempty"`
ReadAtMs int64 `protobuf:"varint,3,opt,name=read_at_ms,json=readAtMs,proto3" json:"read_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *MarkInboxMessageReadResponse) Reset() {
*x = MarkInboxMessageReadResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MarkInboxMessageReadResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MarkInboxMessageReadResponse) ProtoMessage() {}
func (x *MarkInboxMessageReadResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 MarkInboxMessageReadResponse.ProtoReflect.Descriptor instead.
func (*MarkInboxMessageReadResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{12}
}
func (x *MarkInboxMessageReadResponse) GetMessageId() string {
if x != nil {
return x.MessageId
}
return ""
}
func (x *MarkInboxMessageReadResponse) GetRead() bool {
if x != nil {
return x.Read
}
return false
}
func (x *MarkInboxMessageReadResponse) GetReadAtMs() int64 {
if x != nil {
return x.ReadAtMs
}
return 0
}
// MarkInboxSectionReadRequest 标记一个 section 下当前可见未读消息全部已读。
type MarkInboxSectionReadRequest 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"`
Section string `protobuf:"bytes,3,opt,name=section,proto3" json:"section,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *MarkInboxSectionReadRequest) Reset() {
*x = MarkInboxSectionReadRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MarkInboxSectionReadRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MarkInboxSectionReadRequest) ProtoMessage() {}
func (x *MarkInboxSectionReadRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 MarkInboxSectionReadRequest.ProtoReflect.Descriptor instead.
func (*MarkInboxSectionReadRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{13}
}
func (x *MarkInboxSectionReadRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *MarkInboxSectionReadRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *MarkInboxSectionReadRequest) GetSection() string {
if x != nil {
return x.Section
}
return ""
}
// MarkInboxSectionReadResponse 返回本次实际变更的消息数量。
type MarkInboxSectionReadResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Section string `protobuf:"bytes,1,opt,name=section,proto3" json:"section,omitempty"`
ReadCount int64 `protobuf:"varint,2,opt,name=read_count,json=readCount,proto3" json:"read_count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *MarkInboxSectionReadResponse) Reset() {
*x = MarkInboxSectionReadResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MarkInboxSectionReadResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MarkInboxSectionReadResponse) ProtoMessage() {}
func (x *MarkInboxSectionReadResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 MarkInboxSectionReadResponse.ProtoReflect.Descriptor instead.
func (*MarkInboxSectionReadResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{14}
}
func (x *MarkInboxSectionReadResponse) GetSection() string {
if x != nil {
return x.Section
}
return ""
}
func (x *MarkInboxSectionReadResponse) GetReadCount() int64 {
if x != nil {
return x.ReadCount
}
return 0
}
// DeleteInboxMessageRequest 删除当前用户可见消息,删除是用户侧隐藏。
type DeleteInboxMessageRequest 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"`
MessageId string `protobuf:"bytes,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteInboxMessageRequest) Reset() {
*x = DeleteInboxMessageRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteInboxMessageRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteInboxMessageRequest) ProtoMessage() {}
func (x *DeleteInboxMessageRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 DeleteInboxMessageRequest.ProtoReflect.Descriptor instead.
func (*DeleteInboxMessageRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{15}
}
func (x *DeleteInboxMessageRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *DeleteInboxMessageRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *DeleteInboxMessageRequest) GetMessageId() string {
if x != nil {
return x.MessageId
}
return ""
}
// DeleteInboxMessageResponse 返回被隐藏的消息 ID。
type DeleteInboxMessageResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
Deleted bool `protobuf:"varint,2,opt,name=deleted,proto3" json:"deleted,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteInboxMessageResponse) Reset() {
*x = DeleteInboxMessageResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteInboxMessageResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteInboxMessageResponse) ProtoMessage() {}
func (x *DeleteInboxMessageResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 DeleteInboxMessageResponse.ProtoReflect.Descriptor instead.
func (*DeleteInboxMessageResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{16}
}
func (x *DeleteInboxMessageResponse) GetMessageId() string {
if x != nil {
return x.MessageId
}
return ""
}
func (x *DeleteInboxMessageResponse) GetDeleted() bool {
if x != nil {
return x.Deleted
}
return false
}
// CreateInboxMessageRequest 是生产者入箱命令producer_event_id 是幂等键。
type CreateInboxMessageRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
TargetUserId int64 `protobuf:"varint,2,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
Producer string `protobuf:"bytes,3,opt,name=producer,proto3" json:"producer,omitempty"`
ProducerEventId string `protobuf:"bytes,4,opt,name=producer_event_id,json=producerEventId,proto3" json:"producer_event_id,omitempty"`
ProducerEventType string `protobuf:"bytes,5,opt,name=producer_event_type,json=producerEventType,proto3" json:"producer_event_type,omitempty"`
MessageType string `protobuf:"bytes,6,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"`
AggregateType string `protobuf:"bytes,7,opt,name=aggregate_type,json=aggregateType,proto3" json:"aggregate_type,omitempty"`
AggregateId string `protobuf:"bytes,8,opt,name=aggregate_id,json=aggregateId,proto3" json:"aggregate_id,omitempty"`
TemplateId string `protobuf:"bytes,9,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
TemplateVersion string `protobuf:"bytes,10,opt,name=template_version,json=templateVersion,proto3" json:"template_version,omitempty"`
Title string `protobuf:"bytes,11,opt,name=title,proto3" json:"title,omitempty"`
Summary string `protobuf:"bytes,12,opt,name=summary,proto3" json:"summary,omitempty"`
Body string `protobuf:"bytes,13,opt,name=body,proto3" json:"body,omitempty"`
IconUrl string `protobuf:"bytes,14,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"`
ImageUrl string `protobuf:"bytes,15,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
ActionType string `protobuf:"bytes,16,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty"`
ActionParam string `protobuf:"bytes,17,opt,name=action_param,json=actionParam,proto3" json:"action_param,omitempty"`
Priority int32 `protobuf:"varint,18,opt,name=priority,proto3" json:"priority,omitempty"`
SentAtMs int64 `protobuf:"varint,19,opt,name=sent_at_ms,json=sentAtMs,proto3" json:"sent_at_ms,omitempty"`
ExpireAtMs int64 `protobuf:"varint,20,opt,name=expire_at_ms,json=expireAtMs,proto3" json:"expire_at_ms,omitempty"`
MetadataJson string `protobuf:"bytes,21,opt,name=metadata_json,json=metadataJson,proto3" json:"metadata_json,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateInboxMessageRequest) Reset() {
*x = CreateInboxMessageRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateInboxMessageRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateInboxMessageRequest) ProtoMessage() {}
func (x *CreateInboxMessageRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 CreateInboxMessageRequest.ProtoReflect.Descriptor instead.
func (*CreateInboxMessageRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{17}
}
func (x *CreateInboxMessageRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *CreateInboxMessageRequest) GetTargetUserId() int64 {
if x != nil {
return x.TargetUserId
}
return 0
}
func (x *CreateInboxMessageRequest) GetProducer() string {
if x != nil {
return x.Producer
}
return ""
}
func (x *CreateInboxMessageRequest) GetProducerEventId() string {
if x != nil {
return x.ProducerEventId
}
return ""
}
func (x *CreateInboxMessageRequest) GetProducerEventType() string {
if x != nil {
return x.ProducerEventType
}
return ""
}
func (x *CreateInboxMessageRequest) GetMessageType() string {
if x != nil {
return x.MessageType
}
return ""
}
func (x *CreateInboxMessageRequest) GetAggregateType() string {
if x != nil {
return x.AggregateType
}
return ""
}
func (x *CreateInboxMessageRequest) GetAggregateId() string {
if x != nil {
return x.AggregateId
}
return ""
}
func (x *CreateInboxMessageRequest) GetTemplateId() string {
if x != nil {
return x.TemplateId
}
return ""
}
func (x *CreateInboxMessageRequest) GetTemplateVersion() string {
if x != nil {
return x.TemplateVersion
}
return ""
}
func (x *CreateInboxMessageRequest) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *CreateInboxMessageRequest) GetSummary() string {
if x != nil {
return x.Summary
}
return ""
}
func (x *CreateInboxMessageRequest) GetBody() string {
if x != nil {
return x.Body
}
return ""
}
func (x *CreateInboxMessageRequest) GetIconUrl() string {
if x != nil {
return x.IconUrl
}
return ""
}
func (x *CreateInboxMessageRequest) GetImageUrl() string {
if x != nil {
return x.ImageUrl
}
return ""
}
func (x *CreateInboxMessageRequest) GetActionType() string {
if x != nil {
return x.ActionType
}
return ""
}
func (x *CreateInboxMessageRequest) GetActionParam() string {
if x != nil {
return x.ActionParam
}
return ""
}
func (x *CreateInboxMessageRequest) GetPriority() int32 {
if x != nil {
return x.Priority
}
return 0
}
func (x *CreateInboxMessageRequest) GetSentAtMs() int64 {
if x != nil {
return x.SentAtMs
}
return 0
}
func (x *CreateInboxMessageRequest) GetExpireAtMs() int64 {
if x != nil {
return x.ExpireAtMs
}
return 0
}
func (x *CreateInboxMessageRequest) GetMetadataJson() string {
if x != nil {
return x.MetadataJson
}
return ""
}
// CreateInboxMessageResponse 返回入箱结果;重复同一 producer_event_id 时 created=false。
type CreateInboxMessageResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
Created bool `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateInboxMessageResponse) Reset() {
*x = CreateInboxMessageResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateInboxMessageResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateInboxMessageResponse) ProtoMessage() {}
func (x *CreateInboxMessageResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 CreateInboxMessageResponse.ProtoReflect.Descriptor instead.
func (*CreateInboxMessageResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{18}
}
func (x *CreateInboxMessageResponse) GetMessageId() string {
if x != nil {
return x.MessageId
}
return ""
}
func (x *CreateInboxMessageResponse) GetCreated() bool {
if x != nil {
return x.Created
}
return false
}
// CreateFanoutJobRequest 创建后台 fanout 任务command_id 是后台命令幂等键。
type CreateFanoutJobRequest 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"`
MessageType string `protobuf:"bytes,3,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"`
TargetScope string `protobuf:"bytes,4,opt,name=target_scope,json=targetScope,proto3" json:"target_scope,omitempty"`
TargetFilterJson string `protobuf:"bytes,5,opt,name=target_filter_json,json=targetFilterJson,proto3" json:"target_filter_json,omitempty"`
TemplateSnapshotJson string `protobuf:"bytes,6,opt,name=template_snapshot_json,json=templateSnapshotJson,proto3" json:"template_snapshot_json,omitempty"`
BatchSize int32 `protobuf:"varint,7,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
CreatedBy string `protobuf:"bytes,8,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateFanoutJobRequest) Reset() {
*x = CreateFanoutJobRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateFanoutJobRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateFanoutJobRequest) ProtoMessage() {}
func (x *CreateFanoutJobRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 CreateFanoutJobRequest.ProtoReflect.Descriptor instead.
func (*CreateFanoutJobRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{19}
}
func (x *CreateFanoutJobRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *CreateFanoutJobRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *CreateFanoutJobRequest) GetMessageType() string {
if x != nil {
return x.MessageType
}
return ""
}
func (x *CreateFanoutJobRequest) GetTargetScope() string {
if x != nil {
return x.TargetScope
}
return ""
}
func (x *CreateFanoutJobRequest) GetTargetFilterJson() string {
if x != nil {
return x.TargetFilterJson
}
return ""
}
func (x *CreateFanoutJobRequest) GetTemplateSnapshotJson() string {
if x != nil {
return x.TemplateSnapshotJson
}
return ""
}
func (x *CreateFanoutJobRequest) GetBatchSize() int32 {
if x != nil {
return x.BatchSize
}
return 0
}
func (x *CreateFanoutJobRequest) GetCreatedBy() string {
if x != nil {
return x.CreatedBy
}
return ""
}
// CreateFanoutJobResponse 返回 fanout job 幂等创建结果。
type CreateFanoutJobResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
Created bool `protobuf:"varint,3,opt,name=created,proto3" json:"created,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateFanoutJobResponse) Reset() {
*x = CreateFanoutJobResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateFanoutJobResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateFanoutJobResponse) ProtoMessage() {}
func (x *CreateFanoutJobResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 CreateFanoutJobResponse.ProtoReflect.Descriptor instead.
func (*CreateFanoutJobResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{20}
}
func (x *CreateFanoutJobResponse) GetJobId() string {
if x != nil {
return x.JobId
}
return ""
}
func (x *CreateFanoutJobResponse) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *CreateFanoutJobResponse) GetCreated() bool {
if x != nil {
return x.Created
}
return false
}
// CronBatchRequest 是 cron-service 触发 activity-service 后台批处理的统一请求。
type CronBatchRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
WorkerId string `protobuf:"bytes,3,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"`
BatchSize int32 `protobuf:"varint,4,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
LockTtlMs int64 `protobuf:"varint,5,opt,name=lock_ttl_ms,json=lockTtlMs,proto3" json:"lock_ttl_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CronBatchRequest) Reset() {
*x = CronBatchRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CronBatchRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CronBatchRequest) ProtoMessage() {}
func (x *CronBatchRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 CronBatchRequest.ProtoReflect.Descriptor instead.
func (*CronBatchRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{21}
}
func (x *CronBatchRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *CronBatchRequest) GetRunId() string {
if x != nil {
return x.RunId
}
return ""
}
func (x *CronBatchRequest) GetWorkerId() string {
if x != nil {
return x.WorkerId
}
return ""
}
func (x *CronBatchRequest) GetBatchSize() int32 {
if x != nil {
return x.BatchSize
}
return 0
}
func (x *CronBatchRequest) GetLockTtlMs() int64 {
if x != nil {
return x.LockTtlMs
}
return 0
}
// CronBatchResponse 返回一个批处理 run 的执行摘要。
type CronBatchResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClaimedCount int32 `protobuf:"varint,1,opt,name=claimed_count,json=claimedCount,proto3" json:"claimed_count,omitempty"`
ProcessedCount int32 `protobuf:"varint,2,opt,name=processed_count,json=processedCount,proto3" json:"processed_count,omitempty"`
SuccessCount int32 `protobuf:"varint,3,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"`
FailureCount int32 `protobuf:"varint,4,opt,name=failure_count,json=failureCount,proto3" json:"failure_count,omitempty"`
HasMore bool `protobuf:"varint,5,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CronBatchResponse) Reset() {
*x = CronBatchResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CronBatchResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CronBatchResponse) ProtoMessage() {}
func (x *CronBatchResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 CronBatchResponse.ProtoReflect.Descriptor instead.
func (*CronBatchResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{22}
}
func (x *CronBatchResponse) GetClaimedCount() int32 {
if x != nil {
return x.ClaimedCount
}
return 0
}
func (x *CronBatchResponse) GetProcessedCount() int32 {
if x != nil {
return x.ProcessedCount
}
return 0
}
func (x *CronBatchResponse) GetSuccessCount() int32 {
if x != nil {
return x.SuccessCount
}
return 0
}
func (x *CronBatchResponse) GetFailureCount() int32 {
if x != nil {
return x.FailureCount
}
return 0
}
func (x *CronBatchResponse) GetHasMore() bool {
if x != nil {
return x.HasMore
}
return false
}
// TaskItem 是 App 每日任务/专属任务列表里的单个可展示任务快照。
type TaskItem struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
TaskType string `protobuf:"bytes,2,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"`
Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
MetricType string `protobuf:"bytes,4,opt,name=metric_type,json=metricType,proto3" json:"metric_type,omitempty"`
Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
TargetValue int64 `protobuf:"varint,7,opt,name=target_value,json=targetValue,proto3" json:"target_value,omitempty"`
TargetUnit string `protobuf:"bytes,8,opt,name=target_unit,json=targetUnit,proto3" json:"target_unit,omitempty"`
ProgressValue int64 `protobuf:"varint,9,opt,name=progress_value,json=progressValue,proto3" json:"progress_value,omitempty"`
RewardCoinAmount int64 `protobuf:"varint,10,opt,name=reward_coin_amount,json=rewardCoinAmount,proto3" json:"reward_coin_amount,omitempty"`
Status string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
Claimable bool `protobuf:"varint,12,opt,name=claimable,proto3" json:"claimable,omitempty"`
TaskDay string `protobuf:"bytes,13,opt,name=task_day,json=taskDay,proto3" json:"task_day,omitempty"`
ServerTimeMs int64 `protobuf:"varint,14,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
NextRefreshAtMs int64 `protobuf:"varint,15,opt,name=next_refresh_at_ms,json=nextRefreshAtMs,proto3" json:"next_refresh_at_ms,omitempty"`
SortOrder int32 `protobuf:"varint,16,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
Version int64 `protobuf:"varint,17,opt,name=version,proto3" json:"version,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TaskItem) Reset() {
*x = TaskItem{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TaskItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TaskItem) ProtoMessage() {}
func (x *TaskItem) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 TaskItem.ProtoReflect.Descriptor instead.
func (*TaskItem) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{23}
}
func (x *TaskItem) GetTaskId() string {
if x != nil {
return x.TaskId
}
return ""
}
func (x *TaskItem) GetTaskType() string {
if x != nil {
return x.TaskType
}
return ""
}
func (x *TaskItem) GetCategory() string {
if x != nil {
return x.Category
}
return ""
}
func (x *TaskItem) GetMetricType() string {
if x != nil {
return x.MetricType
}
return ""
}
func (x *TaskItem) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *TaskItem) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *TaskItem) GetTargetValue() int64 {
if x != nil {
return x.TargetValue
}
return 0
}
func (x *TaskItem) GetTargetUnit() string {
if x != nil {
return x.TargetUnit
}
return ""
}
func (x *TaskItem) GetProgressValue() int64 {
if x != nil {
return x.ProgressValue
}
return 0
}
func (x *TaskItem) GetRewardCoinAmount() int64 {
if x != nil {
return x.RewardCoinAmount
}
return 0
}
func (x *TaskItem) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *TaskItem) GetClaimable() bool {
if x != nil {
return x.Claimable
}
return false
}
func (x *TaskItem) GetTaskDay() string {
if x != nil {
return x.TaskDay
}
return ""
}
func (x *TaskItem) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
func (x *TaskItem) GetNextRefreshAtMs() int64 {
if x != nil {
return x.NextRefreshAtMs
}
return 0
}
func (x *TaskItem) GetSortOrder() int32 {
if x != nil {
return x.SortOrder
}
return 0
}
func (x *TaskItem) GetVersion() int64 {
if x != nil {
return x.Version
}
return 0
}
// TaskSection 固定表达 App 任务页的 daily/exclusive 两个分区。
type TaskSection struct {
state protoimpl.MessageState `protogen:"open.v1"`
Section string `protobuf:"bytes,1,opt,name=section,proto3" json:"section,omitempty"`
Items []*TaskItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
ServerTimeMs int64 `protobuf:"varint,3,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
NextRefreshAtMs int64 `protobuf:"varint,4,opt,name=next_refresh_at_ms,json=nextRefreshAtMs,proto3" json:"next_refresh_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TaskSection) Reset() {
*x = TaskSection{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TaskSection) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TaskSection) ProtoMessage() {}
func (x *TaskSection) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 TaskSection.ProtoReflect.Descriptor instead.
func (*TaskSection) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{24}
}
func (x *TaskSection) GetSection() string {
if x != nil {
return x.Section
}
return ""
}
func (x *TaskSection) GetItems() []*TaskItem {
if x != nil {
return x.Items
}
return nil
}
func (x *TaskSection) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
func (x *TaskSection) GetNextRefreshAtMs() int64 {
if x != nil {
return x.NextRefreshAtMs
}
return 0
}
// ListUserTasksRequest 查询当前用户任务进度;进度必须来自服务端事实事件。
type ListUserTasksRequest 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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListUserTasksRequest) Reset() {
*x = ListUserTasksRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListUserTasksRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListUserTasksRequest) ProtoMessage() {}
func (x *ListUserTasksRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ListUserTasksRequest.ProtoReflect.Descriptor instead.
func (*ListUserTasksRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{25}
}
func (x *ListUserTasksRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ListUserTasksRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
// ListUserTasksResponse 返回 daily/exclusive 分区和服务器刷新时间。
type ListUserTasksResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Sections []*TaskSection `protobuf:"bytes,1,rep,name=sections,proto3" json:"sections,omitempty"`
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
NextRefreshAtMs int64 `protobuf:"varint,3,opt,name=next_refresh_at_ms,json=nextRefreshAtMs,proto3" json:"next_refresh_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListUserTasksResponse) Reset() {
*x = ListUserTasksResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListUserTasksResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListUserTasksResponse) ProtoMessage() {}
func (x *ListUserTasksResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ListUserTasksResponse.ProtoReflect.Descriptor instead.
func (*ListUserTasksResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{26}
}
func (x *ListUserTasksResponse) GetSections() []*TaskSection {
if x != nil {
return x.Sections
}
return nil
}
func (x *ListUserTasksResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
func (x *ListUserTasksResponse) GetNextRefreshAtMs() int64 {
if x != nil {
return x.NextRefreshAtMs
}
return 0
}
// ClaimTaskRewardRequest 领取已完成任务奖励command_id 是领奖幂等键。
type ClaimTaskRewardRequest 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"`
TaskId string `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
TaskType string `protobuf:"bytes,4,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"`
TaskDay string `protobuf:"bytes,5,opt,name=task_day,json=taskDay,proto3" json:"task_day,omitempty"`
CommandId string `protobuf:"bytes,6,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClaimTaskRewardRequest) Reset() {
*x = ClaimTaskRewardRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClaimTaskRewardRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClaimTaskRewardRequest) ProtoMessage() {}
func (x *ClaimTaskRewardRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ClaimTaskRewardRequest.ProtoReflect.Descriptor instead.
func (*ClaimTaskRewardRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{27}
}
func (x *ClaimTaskRewardRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ClaimTaskRewardRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *ClaimTaskRewardRequest) GetTaskId() string {
if x != nil {
return x.TaskId
}
return ""
}
func (x *ClaimTaskRewardRequest) GetTaskType() string {
if x != nil {
return x.TaskType
}
return ""
}
func (x *ClaimTaskRewardRequest) GetTaskDay() string {
if x != nil {
return x.TaskDay
}
return ""
}
func (x *ClaimTaskRewardRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
// ClaimTaskRewardResponse 返回 activity 领奖状态和 wallet 入账回执。
type ClaimTaskRewardResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClaimId string `protobuf:"bytes,1,opt,name=claim_id,json=claimId,proto3" json:"claim_id,omitempty"`
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
TaskType string `protobuf:"bytes,3,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"`
TaskDay string `protobuf:"bytes,4,opt,name=task_day,json=taskDay,proto3" json:"task_day,omitempty"`
RewardCoinAmount int64 `protobuf:"varint,5,opt,name=reward_coin_amount,json=rewardCoinAmount,proto3" json:"reward_coin_amount,omitempty"`
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
WalletTransactionId string `protobuf:"bytes,7,opt,name=wallet_transaction_id,json=walletTransactionId,proto3" json:"wallet_transaction_id,omitempty"`
GrantedAtMs int64 `protobuf:"varint,8,opt,name=granted_at_ms,json=grantedAtMs,proto3" json:"granted_at_ms,omitempty"`
Claimed bool `protobuf:"varint,9,opt,name=claimed,proto3" json:"claimed,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ClaimTaskRewardResponse) Reset() {
*x = ClaimTaskRewardResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ClaimTaskRewardResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ClaimTaskRewardResponse) ProtoMessage() {}
func (x *ClaimTaskRewardResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ClaimTaskRewardResponse.ProtoReflect.Descriptor instead.
func (*ClaimTaskRewardResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{28}
}
func (x *ClaimTaskRewardResponse) GetClaimId() string {
if x != nil {
return x.ClaimId
}
return ""
}
func (x *ClaimTaskRewardResponse) GetTaskId() string {
if x != nil {
return x.TaskId
}
return ""
}
func (x *ClaimTaskRewardResponse) GetTaskType() string {
if x != nil {
return x.TaskType
}
return ""
}
func (x *ClaimTaskRewardResponse) GetTaskDay() string {
if x != nil {
return x.TaskDay
}
return ""
}
func (x *ClaimTaskRewardResponse) GetRewardCoinAmount() int64 {
if x != nil {
return x.RewardCoinAmount
}
return 0
}
func (x *ClaimTaskRewardResponse) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *ClaimTaskRewardResponse) GetWalletTransactionId() string {
if x != nil {
return x.WalletTransactionId
}
return ""
}
func (x *ClaimTaskRewardResponse) GetGrantedAtMs() int64 {
if x != nil {
return x.GrantedAtMs
}
return 0
}
func (x *ClaimTaskRewardResponse) GetClaimed() bool {
if x != nil {
return x.Claimed
}
return false
}
// ConsumeTaskEventRequest 是异步 outbox consumer 投递给任务系统的事实事件。
type ConsumeTaskEventRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
EventType string `protobuf:"bytes,3,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
SourceService string `protobuf:"bytes,4,opt,name=source_service,json=sourceService,proto3" json:"source_service,omitempty"`
UserId int64 `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
MetricType string `protobuf:"bytes,6,opt,name=metric_type,json=metricType,proto3" json:"metric_type,omitempty"`
Value int64 `protobuf:"varint,7,opt,name=value,proto3" json:"value,omitempty"`
OccurredAtMs int64 `protobuf:"varint,8,opt,name=occurred_at_ms,json=occurredAtMs,proto3" json:"occurred_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ConsumeTaskEventRequest) Reset() {
*x = ConsumeTaskEventRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ConsumeTaskEventRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConsumeTaskEventRequest) ProtoMessage() {}
func (x *ConsumeTaskEventRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ConsumeTaskEventRequest.ProtoReflect.Descriptor instead.
func (*ConsumeTaskEventRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{29}
}
func (x *ConsumeTaskEventRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ConsumeTaskEventRequest) GetEventId() string {
if x != nil {
return x.EventId
}
return ""
}
func (x *ConsumeTaskEventRequest) GetEventType() string {
if x != nil {
return x.EventType
}
return ""
}
func (x *ConsumeTaskEventRequest) GetSourceService() string {
if x != nil {
return x.SourceService
}
return ""
}
func (x *ConsumeTaskEventRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *ConsumeTaskEventRequest) GetMetricType() string {
if x != nil {
return x.MetricType
}
return ""
}
func (x *ConsumeTaskEventRequest) GetValue() int64 {
if x != nil {
return x.Value
}
return 0
}
func (x *ConsumeTaskEventRequest) GetOccurredAtMs() int64 {
if x != nil {
return x.OccurredAtMs
}
return 0
}
// ConsumeTaskEventResponse 返回事件消费幂等结果matched_task_count=0 表示合法跳过。
type ConsumeTaskEventResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
MatchedTaskCount int32 `protobuf:"varint,3,opt,name=matched_task_count,json=matchedTaskCount,proto3" json:"matched_task_count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ConsumeTaskEventResponse) Reset() {
*x = ConsumeTaskEventResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ConsumeTaskEventResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConsumeTaskEventResponse) ProtoMessage() {}
func (x *ConsumeTaskEventResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ConsumeTaskEventResponse.ProtoReflect.Descriptor instead.
func (*ConsumeTaskEventResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{30}
}
func (x *ConsumeTaskEventResponse) GetEventId() string {
if x != nil {
return x.EventId
}
return ""
}
func (x *ConsumeTaskEventResponse) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *ConsumeTaskEventResponse) GetMatchedTaskCount() int32 {
if x != nil {
return x.MatchedTaskCount
}
return 0
}
// BroadcastJoinGroup 是 gateway 下发给客户端的 IM 播报群信息在服务端的同源结构。
type BroadcastJoinGroup struct {
state protoimpl.MessageState `protogen:"open.v1"`
GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
RegionId int64 `protobuf:"varint,3,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *BroadcastJoinGroup) Reset() {
*x = BroadcastJoinGroup{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *BroadcastJoinGroup) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BroadcastJoinGroup) ProtoMessage() {}
func (x *BroadcastJoinGroup) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 BroadcastJoinGroup.ProtoReflect.Descriptor instead.
func (*BroadcastJoinGroup) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{31}
}
func (x *BroadcastJoinGroup) GetGroupId() string {
if x != nil {
return x.GroupId
}
return ""
}
func (x *BroadcastJoinGroup) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *BroadcastJoinGroup) GetRegionId() int64 {
if x != nil {
return x.RegionId
}
return 0
}
type EnsureBroadcastGroupsRequest 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 *EnsureBroadcastGroupsRequest) Reset() {
*x = EnsureBroadcastGroupsRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EnsureBroadcastGroupsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnsureBroadcastGroupsRequest) ProtoMessage() {}
func (x *EnsureBroadcastGroupsRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 EnsureBroadcastGroupsRequest.ProtoReflect.Descriptor instead.
func (*EnsureBroadcastGroupsRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{32}
}
func (x *EnsureBroadcastGroupsRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
type EnsureBroadcastGroupsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
EnsuredCount int32 `protobuf:"varint,1,opt,name=ensured_count,json=ensuredCount,proto3" json:"ensured_count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EnsureBroadcastGroupsResponse) Reset() {
*x = EnsureBroadcastGroupsResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EnsureBroadcastGroupsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnsureBroadcastGroupsResponse) ProtoMessage() {}
func (x *EnsureBroadcastGroupsResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 EnsureBroadcastGroupsResponse.ProtoReflect.Descriptor instead.
func (*EnsureBroadcastGroupsResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{33}
}
func (x *EnsureBroadcastGroupsResponse) GetEnsuredCount() int32 {
if x != nil {
return x.EnsuredCount
}
return 0
}
type PublishRegionBroadcastRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
RegionId int64 `protobuf:"varint,3,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
BroadcastType string `protobuf:"bytes,4,opt,name=broadcast_type,json=broadcastType,proto3" json:"broadcast_type,omitempty"`
PayloadJson string `protobuf:"bytes,5,opt,name=payload_json,json=payloadJson,proto3" json:"payload_json,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PublishRegionBroadcastRequest) Reset() {
*x = PublishRegionBroadcastRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PublishRegionBroadcastRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PublishRegionBroadcastRequest) ProtoMessage() {}
func (x *PublishRegionBroadcastRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 PublishRegionBroadcastRequest.ProtoReflect.Descriptor instead.
func (*PublishRegionBroadcastRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{34}
}
func (x *PublishRegionBroadcastRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *PublishRegionBroadcastRequest) GetEventId() string {
if x != nil {
return x.EventId
}
return ""
}
func (x *PublishRegionBroadcastRequest) GetRegionId() int64 {
if x != nil {
return x.RegionId
}
return 0
}
func (x *PublishRegionBroadcastRequest) GetBroadcastType() string {
if x != nil {
return x.BroadcastType
}
return ""
}
func (x *PublishRegionBroadcastRequest) GetPayloadJson() string {
if x != nil {
return x.PayloadJson
}
return ""
}
type PublishGlobalBroadcastRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
BroadcastType string `protobuf:"bytes,3,opt,name=broadcast_type,json=broadcastType,proto3" json:"broadcast_type,omitempty"`
PayloadJson string `protobuf:"bytes,4,opt,name=payload_json,json=payloadJson,proto3" json:"payload_json,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PublishGlobalBroadcastRequest) Reset() {
*x = PublishGlobalBroadcastRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PublishGlobalBroadcastRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PublishGlobalBroadcastRequest) ProtoMessage() {}
func (x *PublishGlobalBroadcastRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 PublishGlobalBroadcastRequest.ProtoReflect.Descriptor instead.
func (*PublishGlobalBroadcastRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{35}
}
func (x *PublishGlobalBroadcastRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *PublishGlobalBroadcastRequest) GetEventId() string {
if x != nil {
return x.EventId
}
return ""
}
func (x *PublishGlobalBroadcastRequest) GetBroadcastType() string {
if x != nil {
return x.BroadcastType
}
return ""
}
func (x *PublishGlobalBroadcastRequest) GetPayloadJson() string {
if x != nil {
return x.PayloadJson
}
return ""
}
type PublishBroadcastResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
Created bool `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PublishBroadcastResponse) Reset() {
*x = PublishBroadcastResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PublishBroadcastResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PublishBroadcastResponse) ProtoMessage() {}
func (x *PublishBroadcastResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 PublishBroadcastResponse.ProtoReflect.Descriptor instead.
func (*PublishBroadcastResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{36}
}
func (x *PublishBroadcastResponse) GetEventId() string {
if x != nil {
return x.EventId
}
return ""
}
func (x *PublishBroadcastResponse) GetGroupId() string {
if x != nil {
return x.GroupId
}
return ""
}
func (x *PublishBroadcastResponse) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *PublishBroadcastResponse) GetCreated() bool {
if x != nil {
return x.Created
}
return false
}
// RemoveRegionBroadcastMemberRequest 只移除某个用户的旧区域群成员关系,不删除或解散区域群。
type RemoveRegionBroadcastMemberRequest 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"`
RegionId int64 `protobuf:"varint,3,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RemoveRegionBroadcastMemberRequest) Reset() {
*x = RemoveRegionBroadcastMemberRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RemoveRegionBroadcastMemberRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RemoveRegionBroadcastMemberRequest) ProtoMessage() {}
func (x *RemoveRegionBroadcastMemberRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 RemoveRegionBroadcastMemberRequest.ProtoReflect.Descriptor instead.
func (*RemoveRegionBroadcastMemberRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{37}
}
func (x *RemoveRegionBroadcastMemberRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *RemoveRegionBroadcastMemberRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *RemoveRegionBroadcastMemberRequest) GetRegionId() int64 {
if x != nil {
return x.RegionId
}
return 0
}
func (x *RemoveRegionBroadcastMemberRequest) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type RemoveRegionBroadcastMemberResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Removed bool `protobuf:"varint,2,opt,name=removed,proto3" json:"removed,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RemoveRegionBroadcastMemberResponse) Reset() {
*x = RemoveRegionBroadcastMemberResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RemoveRegionBroadcastMemberResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RemoveRegionBroadcastMemberResponse) ProtoMessage() {}
func (x *RemoveRegionBroadcastMemberResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 RemoveRegionBroadcastMemberResponse.ProtoReflect.Descriptor instead.
func (*RemoveRegionBroadcastMemberResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{38}
}
func (x *RemoveRegionBroadcastMemberResponse) GetGroupId() string {
if x != nil {
return x.GroupId
}
return ""
}
func (x *RemoveRegionBroadcastMemberResponse) GetRemoved() bool {
if x != nil {
return x.Removed
}
return false
}
type ProcessBroadcastOutboxBatchResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClaimedCount int32 `protobuf:"varint,1,opt,name=claimed_count,json=claimedCount,proto3" json:"claimed_count,omitempty"`
SuccessCount int32 `protobuf:"varint,2,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"`
FailureCount int32 `protobuf:"varint,3,opt,name=failure_count,json=failureCount,proto3" json:"failure_count,omitempty"`
HasMore bool `protobuf:"varint,4,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ProcessBroadcastOutboxBatchResponse) Reset() {
*x = ProcessBroadcastOutboxBatchResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ProcessBroadcastOutboxBatchResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ProcessBroadcastOutboxBatchResponse) ProtoMessage() {}
func (x *ProcessBroadcastOutboxBatchResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ProcessBroadcastOutboxBatchResponse.ProtoReflect.Descriptor instead.
func (*ProcessBroadcastOutboxBatchResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{39}
}
func (x *ProcessBroadcastOutboxBatchResponse) GetClaimedCount() int32 {
if x != nil {
return x.ClaimedCount
}
return 0
}
func (x *ProcessBroadcastOutboxBatchResponse) GetSuccessCount() int32 {
if x != nil {
return x.SuccessCount
}
return 0
}
func (x *ProcessBroadcastOutboxBatchResponse) GetFailureCount() int32 {
if x != nil {
return x.FailureCount
}
return 0
}
func (x *ProcessBroadcastOutboxBatchResponse) GetHasMore() bool {
if x != nil {
return x.HasMore
}
return false
}
type ConsumeRoomEventRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Envelope *v1.EventEnvelope `protobuf:"bytes,2,opt,name=envelope,proto3" json:"envelope,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ConsumeRoomEventRequest) Reset() {
*x = ConsumeRoomEventRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ConsumeRoomEventRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConsumeRoomEventRequest) ProtoMessage() {}
func (x *ConsumeRoomEventRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ConsumeRoomEventRequest.ProtoReflect.Descriptor instead.
func (*ConsumeRoomEventRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{40}
}
func (x *ConsumeRoomEventRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ConsumeRoomEventRequest) GetEnvelope() *v1.EventEnvelope {
if x != nil {
return x.Envelope
}
return nil
}
type ConsumeRoomEventResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
BroadcastEventId string `protobuf:"bytes,3,opt,name=broadcast_event_id,json=broadcastEventId,proto3" json:"broadcast_event_id,omitempty"`
BroadcastCreated bool `protobuf:"varint,4,opt,name=broadcast_created,json=broadcastCreated,proto3" json:"broadcast_created,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ConsumeRoomEventResponse) Reset() {
*x = ConsumeRoomEventResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ConsumeRoomEventResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConsumeRoomEventResponse) ProtoMessage() {}
func (x *ConsumeRoomEventResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ConsumeRoomEventResponse.ProtoReflect.Descriptor instead.
func (*ConsumeRoomEventResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{41}
}
func (x *ConsumeRoomEventResponse) GetEventId() string {
if x != nil {
return x.EventId
}
return ""
}
func (x *ConsumeRoomEventResponse) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *ConsumeRoomEventResponse) GetBroadcastEventId() string {
if x != nil {
return x.BroadcastEventId
}
return ""
}
func (x *ConsumeRoomEventResponse) GetBroadcastCreated() bool {
if x != nil {
return x.BroadcastCreated
}
return false
}
// TaskDefinition 是后台管理任务配置的当前版本读模型。
type TaskDefinition struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
TaskType string `protobuf:"bytes,2,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"`
Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
MetricType string `protobuf:"bytes,4,opt,name=metric_type,json=metricType,proto3" json:"metric_type,omitempty"`
Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
TargetValue int64 `protobuf:"varint,7,opt,name=target_value,json=targetValue,proto3" json:"target_value,omitempty"`
TargetUnit string `protobuf:"bytes,8,opt,name=target_unit,json=targetUnit,proto3" json:"target_unit,omitempty"`
RewardCoinAmount int64 `protobuf:"varint,9,opt,name=reward_coin_amount,json=rewardCoinAmount,proto3" json:"reward_coin_amount,omitempty"`
Status string `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
SortOrder int32 `protobuf:"varint,11,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
Version int64 `protobuf:"varint,12,opt,name=version,proto3" json:"version,omitempty"`
EffectiveFromMs int64 `protobuf:"varint,13,opt,name=effective_from_ms,json=effectiveFromMs,proto3" json:"effective_from_ms,omitempty"`
EffectiveToMs int64 `protobuf:"varint,14,opt,name=effective_to_ms,json=effectiveToMs,proto3" json:"effective_to_ms,omitempty"`
CreatedByAdminId int64 `protobuf:"varint,15,opt,name=created_by_admin_id,json=createdByAdminId,proto3" json:"created_by_admin_id,omitempty"`
UpdatedByAdminId int64 `protobuf:"varint,16,opt,name=updated_by_admin_id,json=updatedByAdminId,proto3" json:"updated_by_admin_id,omitempty"`
CreatedAtMs int64 `protobuf:"varint,17,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,18,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TaskDefinition) Reset() {
*x = TaskDefinition{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TaskDefinition) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TaskDefinition) ProtoMessage() {}
func (x *TaskDefinition) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 TaskDefinition.ProtoReflect.Descriptor instead.
func (*TaskDefinition) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{42}
}
func (x *TaskDefinition) GetTaskId() string {
if x != nil {
return x.TaskId
}
return ""
}
func (x *TaskDefinition) GetTaskType() string {
if x != nil {
return x.TaskType
}
return ""
}
func (x *TaskDefinition) GetCategory() string {
if x != nil {
return x.Category
}
return ""
}
func (x *TaskDefinition) GetMetricType() string {
if x != nil {
return x.MetricType
}
return ""
}
func (x *TaskDefinition) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *TaskDefinition) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *TaskDefinition) GetTargetValue() int64 {
if x != nil {
return x.TargetValue
}
return 0
}
func (x *TaskDefinition) GetTargetUnit() string {
if x != nil {
return x.TargetUnit
}
return ""
}
func (x *TaskDefinition) GetRewardCoinAmount() int64 {
if x != nil {
return x.RewardCoinAmount
}
return 0
}
func (x *TaskDefinition) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *TaskDefinition) GetSortOrder() int32 {
if x != nil {
return x.SortOrder
}
return 0
}
func (x *TaskDefinition) GetVersion() int64 {
if x != nil {
return x.Version
}
return 0
}
func (x *TaskDefinition) GetEffectiveFromMs() int64 {
if x != nil {
return x.EffectiveFromMs
}
return 0
}
func (x *TaskDefinition) GetEffectiveToMs() int64 {
if x != nil {
return x.EffectiveToMs
}
return 0
}
func (x *TaskDefinition) GetCreatedByAdminId() int64 {
if x != nil {
return x.CreatedByAdminId
}
return 0
}
func (x *TaskDefinition) GetUpdatedByAdminId() int64 {
if x != nil {
return x.UpdatedByAdminId
}
return 0
}
func (x *TaskDefinition) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *TaskDefinition) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
// ListTaskDefinitionsRequest 是后台任务配置列表筛选条件。
type ListTaskDefinitionsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
TaskType string `protobuf:"bytes,2,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"`
Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListTaskDefinitionsRequest) Reset() {
*x = ListTaskDefinitionsRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListTaskDefinitionsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListTaskDefinitionsRequest) ProtoMessage() {}
func (x *ListTaskDefinitionsRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ListTaskDefinitionsRequest.ProtoReflect.Descriptor instead.
func (*ListTaskDefinitionsRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{43}
}
func (x *ListTaskDefinitionsRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ListTaskDefinitionsRequest) GetTaskType() string {
if x != nil {
return x.TaskType
}
return ""
}
func (x *ListTaskDefinitionsRequest) GetCategory() string {
if x != nil {
return x.Category
}
return ""
}
func (x *ListTaskDefinitionsRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *ListTaskDefinitionsRequest) GetKeyword() string {
if x != nil {
return x.Keyword
}
return ""
}
func (x *ListTaskDefinitionsRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListTaskDefinitionsRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
type ListTaskDefinitionsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Tasks []*TaskDefinition `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListTaskDefinitionsResponse) Reset() {
*x = ListTaskDefinitionsResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListTaskDefinitionsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListTaskDefinitionsResponse) ProtoMessage() {}
func (x *ListTaskDefinitionsResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ListTaskDefinitionsResponse.ProtoReflect.Descriptor instead.
func (*ListTaskDefinitionsResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{44}
}
func (x *ListTaskDefinitionsResponse) GetTasks() []*TaskDefinition {
if x != nil {
return x.Tasks
}
return nil
}
func (x *ListTaskDefinitionsResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
// UpsertTaskDefinitionRequest 创建或编辑任务active 关键字段变更由服务端生成新版本。
type UpsertTaskDefinitionRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
TaskType string `protobuf:"bytes,3,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"`
Category string `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty"`
MetricType string `protobuf:"bytes,5,opt,name=metric_type,json=metricType,proto3" json:"metric_type,omitempty"`
Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"`
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
TargetValue int64 `protobuf:"varint,8,opt,name=target_value,json=targetValue,proto3" json:"target_value,omitempty"`
TargetUnit string `protobuf:"bytes,9,opt,name=target_unit,json=targetUnit,proto3" json:"target_unit,omitempty"`
RewardCoinAmount int64 `protobuf:"varint,10,opt,name=reward_coin_amount,json=rewardCoinAmount,proto3" json:"reward_coin_amount,omitempty"`
Status string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
SortOrder int32 `protobuf:"varint,12,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
EffectiveFromMs int64 `protobuf:"varint,13,opt,name=effective_from_ms,json=effectiveFromMs,proto3" json:"effective_from_ms,omitempty"`
EffectiveToMs int64 `protobuf:"varint,14,opt,name=effective_to_ms,json=effectiveToMs,proto3" json:"effective_to_ms,omitempty"`
OperatorAdminId int64 `protobuf:"varint,15,opt,name=operator_admin_id,json=operatorAdminId,proto3" json:"operator_admin_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpsertTaskDefinitionRequest) Reset() {
*x = UpsertTaskDefinitionRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpsertTaskDefinitionRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpsertTaskDefinitionRequest) ProtoMessage() {}
func (x *UpsertTaskDefinitionRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 UpsertTaskDefinitionRequest.ProtoReflect.Descriptor instead.
func (*UpsertTaskDefinitionRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{45}
}
func (x *UpsertTaskDefinitionRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *UpsertTaskDefinitionRequest) GetTaskId() string {
if x != nil {
return x.TaskId
}
return ""
}
func (x *UpsertTaskDefinitionRequest) GetTaskType() string {
if x != nil {
return x.TaskType
}
return ""
}
func (x *UpsertTaskDefinitionRequest) GetCategory() string {
if x != nil {
return x.Category
}
return ""
}
func (x *UpsertTaskDefinitionRequest) GetMetricType() string {
if x != nil {
return x.MetricType
}
return ""
}
func (x *UpsertTaskDefinitionRequest) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *UpsertTaskDefinitionRequest) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *UpsertTaskDefinitionRequest) GetTargetValue() int64 {
if x != nil {
return x.TargetValue
}
return 0
}
func (x *UpsertTaskDefinitionRequest) GetTargetUnit() string {
if x != nil {
return x.TargetUnit
}
return ""
}
func (x *UpsertTaskDefinitionRequest) GetRewardCoinAmount() int64 {
if x != nil {
return x.RewardCoinAmount
}
return 0
}
func (x *UpsertTaskDefinitionRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *UpsertTaskDefinitionRequest) GetSortOrder() int32 {
if x != nil {
return x.SortOrder
}
return 0
}
func (x *UpsertTaskDefinitionRequest) GetEffectiveFromMs() int64 {
if x != nil {
return x.EffectiveFromMs
}
return 0
}
func (x *UpsertTaskDefinitionRequest) GetEffectiveToMs() int64 {
if x != nil {
return x.EffectiveToMs
}
return 0
}
func (x *UpsertTaskDefinitionRequest) GetOperatorAdminId() int64 {
if x != nil {
return x.OperatorAdminId
}
return 0
}
type UpsertTaskDefinitionResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Task *TaskDefinition `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
Created bool `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpsertTaskDefinitionResponse) Reset() {
*x = UpsertTaskDefinitionResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpsertTaskDefinitionResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpsertTaskDefinitionResponse) ProtoMessage() {}
func (x *UpsertTaskDefinitionResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 UpsertTaskDefinitionResponse.ProtoReflect.Descriptor instead.
func (*UpsertTaskDefinitionResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{46}
}
func (x *UpsertTaskDefinitionResponse) GetTask() *TaskDefinition {
if x != nil {
return x.Task
}
return nil
}
func (x *UpsertTaskDefinitionResponse) GetCreated() bool {
if x != nil {
return x.Created
}
return false
}
// SetTaskDefinitionStatusRequest 后台启停或归档任务,不做物理删除。
type SetTaskDefinitionStatusRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
OperatorAdminId int64 `protobuf:"varint,4,opt,name=operator_admin_id,json=operatorAdminId,proto3" json:"operator_admin_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetTaskDefinitionStatusRequest) Reset() {
*x = SetTaskDefinitionStatusRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetTaskDefinitionStatusRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetTaskDefinitionStatusRequest) ProtoMessage() {}
func (x *SetTaskDefinitionStatusRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 SetTaskDefinitionStatusRequest.ProtoReflect.Descriptor instead.
func (*SetTaskDefinitionStatusRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{47}
}
func (x *SetTaskDefinitionStatusRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *SetTaskDefinitionStatusRequest) GetTaskId() string {
if x != nil {
return x.TaskId
}
return ""
}
func (x *SetTaskDefinitionStatusRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *SetTaskDefinitionStatusRequest) GetOperatorAdminId() int64 {
if x != nil {
return x.OperatorAdminId
}
return 0
}
type SetTaskDefinitionStatusResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Task *TaskDefinition `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetTaskDefinitionStatusResponse) Reset() {
*x = SetTaskDefinitionStatusResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetTaskDefinitionStatusResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetTaskDefinitionStatusResponse) ProtoMessage() {}
func (x *SetTaskDefinitionStatusResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 SetTaskDefinitionStatusResponse.ProtoReflect.Descriptor instead.
func (*SetTaskDefinitionStatusResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{48}
}
func (x *SetTaskDefinitionStatusResponse) GetTask() *TaskDefinition {
if x != nil {
return x.Task
}
return nil
}
// RegistrationRewardConfig 是注册奖励的当前配置enabled=false 时保留配置但不自动发放。
type RegistrationRewardConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
RewardType string `protobuf:"bytes,3,opt,name=reward_type,json=rewardType,proto3" json:"reward_type,omitempty"`
CoinAmount int64 `protobuf:"varint,4,opt,name=coin_amount,json=coinAmount,proto3" json:"coin_amount,omitempty"`
ResourceGroupId int64 `protobuf:"varint,5,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"`
DailyLimit int64 `protobuf:"varint,6,opt,name=daily_limit,json=dailyLimit,proto3" json:"daily_limit,omitempty"`
UpdatedByAdminId int64 `protobuf:"varint,7,opt,name=updated_by_admin_id,json=updatedByAdminId,proto3" json:"updated_by_admin_id,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 *RegistrationRewardConfig) Reset() {
*x = RegistrationRewardConfig{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RegistrationRewardConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RegistrationRewardConfig) ProtoMessage() {}
func (x *RegistrationRewardConfig) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 RegistrationRewardConfig.ProtoReflect.Descriptor instead.
func (*RegistrationRewardConfig) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{49}
}
func (x *RegistrationRewardConfig) GetAppCode() string {
if x != nil {
return x.AppCode
}
return ""
}
func (x *RegistrationRewardConfig) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *RegistrationRewardConfig) GetRewardType() string {
if x != nil {
return x.RewardType
}
return ""
}
func (x *RegistrationRewardConfig) GetCoinAmount() int64 {
if x != nil {
return x.CoinAmount
}
return 0
}
func (x *RegistrationRewardConfig) GetResourceGroupId() int64 {
if x != nil {
return x.ResourceGroupId
}
return 0
}
func (x *RegistrationRewardConfig) GetDailyLimit() int64 {
if x != nil {
return x.DailyLimit
}
return 0
}
func (x *RegistrationRewardConfig) GetUpdatedByAdminId() int64 {
if x != nil {
return x.UpdatedByAdminId
}
return 0
}
func (x *RegistrationRewardConfig) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *RegistrationRewardConfig) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
// RegistrationRewardClaim 是每个用户注册奖励的领取事实user_id 唯一保证“没有领过”。
type RegistrationRewardClaim struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClaimId string `protobuf:"bytes,1,opt,name=claim_id,json=claimId,proto3" json:"claim_id,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"`
RewardDay string `protobuf:"bytes,4,opt,name=reward_day,json=rewardDay,proto3" json:"reward_day,omitempty"`
RewardType string `protobuf:"bytes,5,opt,name=reward_type,json=rewardType,proto3" json:"reward_type,omitempty"`
CoinAmount int64 `protobuf:"varint,6,opt,name=coin_amount,json=coinAmount,proto3" json:"coin_amount,omitempty"`
ResourceGroupId int64 `protobuf:"varint,7,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"`
Status string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
WalletCommandId string `protobuf:"bytes,9,opt,name=wallet_command_id,json=walletCommandId,proto3" json:"wallet_command_id,omitempty"`
WalletTransactionId string `protobuf:"bytes,10,opt,name=wallet_transaction_id,json=walletTransactionId,proto3" json:"wallet_transaction_id,omitempty"`
ResourceGrantId string `protobuf:"bytes,11,opt,name=resource_grant_id,json=resourceGrantId,proto3" json:"resource_grant_id,omitempty"`
FailureReason string `protobuf:"bytes,12,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"`
ClaimedAtMs int64 `protobuf:"varint,13,opt,name=claimed_at_ms,json=claimedAtMs,proto3" json:"claimed_at_ms,omitempty"`
CreatedAtMs int64 `protobuf:"varint,14,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,15,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RegistrationRewardClaim) Reset() {
*x = RegistrationRewardClaim{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[50]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RegistrationRewardClaim) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RegistrationRewardClaim) ProtoMessage() {}
func (x *RegistrationRewardClaim) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 RegistrationRewardClaim.ProtoReflect.Descriptor instead.
func (*RegistrationRewardClaim) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{50}
}
func (x *RegistrationRewardClaim) GetClaimId() string {
if x != nil {
return x.ClaimId
}
return ""
}
func (x *RegistrationRewardClaim) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *RegistrationRewardClaim) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *RegistrationRewardClaim) GetRewardDay() string {
if x != nil {
return x.RewardDay
}
return ""
}
func (x *RegistrationRewardClaim) GetRewardType() string {
if x != nil {
return x.RewardType
}
return ""
}
func (x *RegistrationRewardClaim) GetCoinAmount() int64 {
if x != nil {
return x.CoinAmount
}
return 0
}
func (x *RegistrationRewardClaim) GetResourceGroupId() int64 {
if x != nil {
return x.ResourceGroupId
}
return 0
}
func (x *RegistrationRewardClaim) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *RegistrationRewardClaim) GetWalletCommandId() string {
if x != nil {
return x.WalletCommandId
}
return ""
}
func (x *RegistrationRewardClaim) GetWalletTransactionId() string {
if x != nil {
return x.WalletTransactionId
}
return ""
}
func (x *RegistrationRewardClaim) GetResourceGrantId() string {
if x != nil {
return x.ResourceGrantId
}
return ""
}
func (x *RegistrationRewardClaim) GetFailureReason() string {
if x != nil {
return x.FailureReason
}
return ""
}
func (x *RegistrationRewardClaim) GetClaimedAtMs() int64 {
if x != nil {
return x.ClaimedAtMs
}
return 0
}
func (x *RegistrationRewardClaim) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *RegistrationRewardClaim) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
// RegistrationRewardEligibility 返回 App 可直接展示的资格判断;每日份数按 UTC reward_day 统计。
type RegistrationRewardEligibility struct {
state protoimpl.MessageState `protogen:"open.v1"`
CanReceive bool `protobuf:"varint,1,opt,name=can_receive,json=canReceive,proto3" json:"can_receive,omitempty"`
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
RewardType string `protobuf:"bytes,4,opt,name=reward_type,json=rewardType,proto3" json:"reward_type,omitempty"`
CoinAmount int64 `protobuf:"varint,5,opt,name=coin_amount,json=coinAmount,proto3" json:"coin_amount,omitempty"`
ResourceGroupId int64 `protobuf:"varint,6,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"`
DailyLimit int64 `protobuf:"varint,7,opt,name=daily_limit,json=dailyLimit,proto3" json:"daily_limit,omitempty"`
DailyUsed int64 `protobuf:"varint,8,opt,name=daily_used,json=dailyUsed,proto3" json:"daily_used,omitempty"`
DailyRemaining int64 `protobuf:"varint,9,opt,name=daily_remaining,json=dailyRemaining,proto3" json:"daily_remaining,omitempty"`
RewardDay string `protobuf:"bytes,10,opt,name=reward_day,json=rewardDay,proto3" json:"reward_day,omitempty"`
ServerTimeMs int64 `protobuf:"varint,11,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RegistrationRewardEligibility) Reset() {
*x = RegistrationRewardEligibility{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RegistrationRewardEligibility) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RegistrationRewardEligibility) ProtoMessage() {}
func (x *RegistrationRewardEligibility) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 RegistrationRewardEligibility.ProtoReflect.Descriptor instead.
func (*RegistrationRewardEligibility) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{51}
}
func (x *RegistrationRewardEligibility) GetCanReceive() bool {
if x != nil {
return x.CanReceive
}
return false
}
func (x *RegistrationRewardEligibility) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
func (x *RegistrationRewardEligibility) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *RegistrationRewardEligibility) GetRewardType() string {
if x != nil {
return x.RewardType
}
return ""
}
func (x *RegistrationRewardEligibility) GetCoinAmount() int64 {
if x != nil {
return x.CoinAmount
}
return 0
}
func (x *RegistrationRewardEligibility) GetResourceGroupId() int64 {
if x != nil {
return x.ResourceGroupId
}
return 0
}
func (x *RegistrationRewardEligibility) GetDailyLimit() int64 {
if x != nil {
return x.DailyLimit
}
return 0
}
func (x *RegistrationRewardEligibility) GetDailyUsed() int64 {
if x != nil {
return x.DailyUsed
}
return 0
}
func (x *RegistrationRewardEligibility) GetDailyRemaining() int64 {
if x != nil {
return x.DailyRemaining
}
return 0
}
func (x *RegistrationRewardEligibility) GetRewardDay() string {
if x != nil {
return x.RewardDay
}
return ""
}
func (x *RegistrationRewardEligibility) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
// GetRegistrationRewardEligibilityRequest 给 App 查询当前用户是否还有注册奖励资格。
type GetRegistrationRewardEligibilityRequest 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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetRegistrationRewardEligibilityRequest) Reset() {
*x = GetRegistrationRewardEligibilityRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetRegistrationRewardEligibilityRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetRegistrationRewardEligibilityRequest) ProtoMessage() {}
func (x *GetRegistrationRewardEligibilityRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetRegistrationRewardEligibilityRequest.ProtoReflect.Descriptor instead.
func (*GetRegistrationRewardEligibilityRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{52}
}
func (x *GetRegistrationRewardEligibilityRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetRegistrationRewardEligibilityRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
type GetRegistrationRewardEligibilityResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Eligibility *RegistrationRewardEligibility `protobuf:"bytes,1,opt,name=eligibility,proto3" json:"eligibility,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetRegistrationRewardEligibilityResponse) Reset() {
*x = GetRegistrationRewardEligibilityResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[53]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetRegistrationRewardEligibilityResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetRegistrationRewardEligibilityResponse) ProtoMessage() {}
func (x *GetRegistrationRewardEligibilityResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetRegistrationRewardEligibilityResponse.ProtoReflect.Descriptor instead.
func (*GetRegistrationRewardEligibilityResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{53}
}
func (x *GetRegistrationRewardEligibilityResponse) GetEligibility() *RegistrationRewardEligibility {
if x != nil {
return x.Eligibility
}
return nil
}
// IssueRegistrationRewardRequest 是 user-service 注册成功后调用的幂等发放命令。
type IssueRegistrationRewardRequest 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"`
CommandId string `protobuf:"bytes,3,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IssueRegistrationRewardRequest) Reset() {
*x = IssueRegistrationRewardRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[54]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IssueRegistrationRewardRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IssueRegistrationRewardRequest) ProtoMessage() {}
func (x *IssueRegistrationRewardRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 IssueRegistrationRewardRequest.ProtoReflect.Descriptor instead.
func (*IssueRegistrationRewardRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{54}
}
func (x *IssueRegistrationRewardRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *IssueRegistrationRewardRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *IssueRegistrationRewardRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
type IssueRegistrationRewardResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Claim *RegistrationRewardClaim `protobuf:"bytes,1,opt,name=claim,proto3" json:"claim,omitempty"`
Eligibility *RegistrationRewardEligibility `protobuf:"bytes,2,opt,name=eligibility,proto3" json:"eligibility,omitempty"`
Issued bool `protobuf:"varint,3,opt,name=issued,proto3" json:"issued,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IssueRegistrationRewardResponse) Reset() {
*x = IssueRegistrationRewardResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[55]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IssueRegistrationRewardResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IssueRegistrationRewardResponse) ProtoMessage() {}
func (x *IssueRegistrationRewardResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 IssueRegistrationRewardResponse.ProtoReflect.Descriptor instead.
func (*IssueRegistrationRewardResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{55}
}
func (x *IssueRegistrationRewardResponse) GetClaim() *RegistrationRewardClaim {
if x != nil {
return x.Claim
}
return nil
}
func (x *IssueRegistrationRewardResponse) GetEligibility() *RegistrationRewardEligibility {
if x != nil {
return x.Eligibility
}
return nil
}
func (x *IssueRegistrationRewardResponse) GetIssued() bool {
if x != nil {
return x.Issued
}
return false
}
// GetRegistrationRewardConfigRequest 返回后台注册奖励配置;未配置时服务端返回默认 disabled 配置。
type GetRegistrationRewardConfigRequest 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 *GetRegistrationRewardConfigRequest) Reset() {
*x = GetRegistrationRewardConfigRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[56]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetRegistrationRewardConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetRegistrationRewardConfigRequest) ProtoMessage() {}
func (x *GetRegistrationRewardConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetRegistrationRewardConfigRequest.ProtoReflect.Descriptor instead.
func (*GetRegistrationRewardConfigRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{56}
}
func (x *GetRegistrationRewardConfigRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
type GetRegistrationRewardConfigResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Config *RegistrationRewardConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetRegistrationRewardConfigResponse) Reset() {
*x = GetRegistrationRewardConfigResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[57]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetRegistrationRewardConfigResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetRegistrationRewardConfigResponse) ProtoMessage() {}
func (x *GetRegistrationRewardConfigResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetRegistrationRewardConfigResponse.ProtoReflect.Descriptor instead.
func (*GetRegistrationRewardConfigResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{57}
}
func (x *GetRegistrationRewardConfigResponse) GetConfig() *RegistrationRewardConfig {
if x != nil {
return x.Config
}
return nil
}
// UpdateRegistrationRewardConfigRequest 更新注册奖励开关、奖励内容和每日限制。
type UpdateRegistrationRewardConfigRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
RewardType string `protobuf:"bytes,3,opt,name=reward_type,json=rewardType,proto3" json:"reward_type,omitempty"`
CoinAmount int64 `protobuf:"varint,4,opt,name=coin_amount,json=coinAmount,proto3" json:"coin_amount,omitempty"`
ResourceGroupId int64 `protobuf:"varint,5,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"`
DailyLimit int64 `protobuf:"varint,6,opt,name=daily_limit,json=dailyLimit,proto3" json:"daily_limit,omitempty"`
OperatorAdminId int64 `protobuf:"varint,7,opt,name=operator_admin_id,json=operatorAdminId,proto3" json:"operator_admin_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateRegistrationRewardConfigRequest) Reset() {
*x = UpdateRegistrationRewardConfigRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[58]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateRegistrationRewardConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateRegistrationRewardConfigRequest) ProtoMessage() {}
func (x *UpdateRegistrationRewardConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 UpdateRegistrationRewardConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateRegistrationRewardConfigRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{58}
}
func (x *UpdateRegistrationRewardConfigRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *UpdateRegistrationRewardConfigRequest) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *UpdateRegistrationRewardConfigRequest) GetRewardType() string {
if x != nil {
return x.RewardType
}
return ""
}
func (x *UpdateRegistrationRewardConfigRequest) GetCoinAmount() int64 {
if x != nil {
return x.CoinAmount
}
return 0
}
func (x *UpdateRegistrationRewardConfigRequest) GetResourceGroupId() int64 {
if x != nil {
return x.ResourceGroupId
}
return 0
}
func (x *UpdateRegistrationRewardConfigRequest) GetDailyLimit() int64 {
if x != nil {
return x.DailyLimit
}
return 0
}
func (x *UpdateRegistrationRewardConfigRequest) GetOperatorAdminId() int64 {
if x != nil {
return x.OperatorAdminId
}
return 0
}
type UpdateRegistrationRewardConfigResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Config *RegistrationRewardConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateRegistrationRewardConfigResponse) Reset() {
*x = UpdateRegistrationRewardConfigResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[59]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateRegistrationRewardConfigResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateRegistrationRewardConfigResponse) ProtoMessage() {}
func (x *UpdateRegistrationRewardConfigResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 UpdateRegistrationRewardConfigResponse.ProtoReflect.Descriptor instead.
func (*UpdateRegistrationRewardConfigResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{59}
}
func (x *UpdateRegistrationRewardConfigResponse) GetConfig() *RegistrationRewardConfig {
if x != nil {
return x.Config
}
return nil
}
// ListRegistrationRewardClaimsRequest 是后台领取记录分页筛选keyword 由 admin-server 结合用户库扩展。
type ListRegistrationRewardClaimsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListRegistrationRewardClaimsRequest) Reset() {
*x = ListRegistrationRewardClaimsRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[60]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListRegistrationRewardClaimsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListRegistrationRewardClaimsRequest) ProtoMessage() {}
func (x *ListRegistrationRewardClaimsRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ListRegistrationRewardClaimsRequest.ProtoReflect.Descriptor instead.
func (*ListRegistrationRewardClaimsRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{60}
}
func (x *ListRegistrationRewardClaimsRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ListRegistrationRewardClaimsRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *ListRegistrationRewardClaimsRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *ListRegistrationRewardClaimsRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListRegistrationRewardClaimsRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
type ListRegistrationRewardClaimsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Claims []*RegistrationRewardClaim `protobuf:"bytes,1,rep,name=claims,proto3" json:"claims,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListRegistrationRewardClaimsResponse) Reset() {
*x = ListRegistrationRewardClaimsResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[61]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListRegistrationRewardClaimsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListRegistrationRewardClaimsResponse) ProtoMessage() {}
func (x *ListRegistrationRewardClaimsResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ListRegistrationRewardClaimsResponse.ProtoReflect.Descriptor instead.
func (*ListRegistrationRewardClaimsResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{61}
}
func (x *ListRegistrationRewardClaimsResponse) GetClaims() []*RegistrationRewardClaim {
if x != nil {
return x.Claims
}
return nil
}
func (x *ListRegistrationRewardClaimsResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
// FirstRechargeRewardTier 是首冲奖励的一个金币充值档位max_coin_amount=0 表示无上限。
type FirstRechargeRewardTier struct {
state protoimpl.MessageState `protogen:"open.v1"`
TierId int64 `protobuf:"varint,1,opt,name=tier_id,json=tierId,proto3" json:"tier_id,omitempty"`
TierCode string `protobuf:"bytes,2,opt,name=tier_code,json=tierCode,proto3" json:"tier_code,omitempty"`
TierName string `protobuf:"bytes,3,opt,name=tier_name,json=tierName,proto3" json:"tier_name,omitempty"`
MinCoinAmount int64 `protobuf:"varint,4,opt,name=min_coin_amount,json=minCoinAmount,proto3" json:"min_coin_amount,omitempty"`
MaxCoinAmount int64 `protobuf:"varint,5,opt,name=max_coin_amount,json=maxCoinAmount,proto3" json:"max_coin_amount,omitempty"`
ResourceGroupId int64 `protobuf:"varint,6,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"`
Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
SortOrder int32 `protobuf:"varint,8,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,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 *FirstRechargeRewardTier) Reset() {
*x = FirstRechargeRewardTier{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[62]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *FirstRechargeRewardTier) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FirstRechargeRewardTier) ProtoMessage() {}
func (x *FirstRechargeRewardTier) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 FirstRechargeRewardTier.ProtoReflect.Descriptor instead.
func (*FirstRechargeRewardTier) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{62}
}
func (x *FirstRechargeRewardTier) GetTierId() int64 {
if x != nil {
return x.TierId
}
return 0
}
func (x *FirstRechargeRewardTier) GetTierCode() string {
if x != nil {
return x.TierCode
}
return ""
}
func (x *FirstRechargeRewardTier) GetTierName() string {
if x != nil {
return x.TierName
}
return ""
}
func (x *FirstRechargeRewardTier) GetMinCoinAmount() int64 {
if x != nil {
return x.MinCoinAmount
}
return 0
}
func (x *FirstRechargeRewardTier) GetMaxCoinAmount() int64 {
if x != nil {
return x.MaxCoinAmount
}
return 0
}
func (x *FirstRechargeRewardTier) GetResourceGroupId() int64 {
if x != nil {
return x.ResourceGroupId
}
return 0
}
func (x *FirstRechargeRewardTier) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *FirstRechargeRewardTier) GetSortOrder() int32 {
if x != nil {
return x.SortOrder
}
return 0
}
func (x *FirstRechargeRewardTier) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *FirstRechargeRewardTier) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
// FirstRechargeRewardConfig 是当前 App 的首冲奖励配置;档位内容在 activity-service 内保持版本一致。
type FirstRechargeRewardConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
Tiers []*FirstRechargeRewardTier `protobuf:"bytes,3,rep,name=tiers,proto3" json:"tiers,omitempty"`
UpdatedByAdminId int64 `protobuf:"varint,4,opt,name=updated_by_admin_id,json=updatedByAdminId,proto3" json:"updated_by_admin_id,omitempty"`
CreatedAtMs int64 `protobuf:"varint,5,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,6,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FirstRechargeRewardConfig) Reset() {
*x = FirstRechargeRewardConfig{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[63]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *FirstRechargeRewardConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FirstRechargeRewardConfig) ProtoMessage() {}
func (x *FirstRechargeRewardConfig) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 FirstRechargeRewardConfig.ProtoReflect.Descriptor instead.
func (*FirstRechargeRewardConfig) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{63}
}
func (x *FirstRechargeRewardConfig) GetAppCode() string {
if x != nil {
return x.AppCode
}
return ""
}
func (x *FirstRechargeRewardConfig) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *FirstRechargeRewardConfig) GetTiers() []*FirstRechargeRewardTier {
if x != nil {
return x.Tiers
}
return nil
}
func (x *FirstRechargeRewardConfig) GetUpdatedByAdminId() int64 {
if x != nil {
return x.UpdatedByAdminId
}
return 0
}
func (x *FirstRechargeRewardConfig) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *FirstRechargeRewardConfig) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
// FirstRechargeRewardClaim 是某个用户首笔充值触发后的发奖事实user_id 唯一保证一生只处理一次。
type FirstRechargeRewardClaim struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClaimId string `protobuf:"bytes,1,opt,name=claim_id,json=claimId,proto3" json:"claim_id,omitempty"`
EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
TransactionId string `protobuf:"bytes,3,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
CommandId string `protobuf:"bytes,4,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
UserId int64 `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
TierId int64 `protobuf:"varint,6,opt,name=tier_id,json=tierId,proto3" json:"tier_id,omitempty"`
TierCode string `protobuf:"bytes,7,opt,name=tier_code,json=tierCode,proto3" json:"tier_code,omitempty"`
ResourceGroupId int64 `protobuf:"varint,8,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"`
RechargeCoinAmount int64 `protobuf:"varint,9,opt,name=recharge_coin_amount,json=rechargeCoinAmount,proto3" json:"recharge_coin_amount,omitempty"`
RechargeSequence int64 `protobuf:"varint,10,opt,name=recharge_sequence,json=rechargeSequence,proto3" json:"recharge_sequence,omitempty"`
RechargeType string `protobuf:"bytes,11,opt,name=recharge_type,json=rechargeType,proto3" json:"recharge_type,omitempty"`
Status string `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"`
WalletCommandId string `protobuf:"bytes,13,opt,name=wallet_command_id,json=walletCommandId,proto3" json:"wallet_command_id,omitempty"`
WalletGrantId string `protobuf:"bytes,14,opt,name=wallet_grant_id,json=walletGrantId,proto3" json:"wallet_grant_id,omitempty"`
FailureReason string `protobuf:"bytes,15,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"`
RechargedAtMs int64 `protobuf:"varint,16,opt,name=recharged_at_ms,json=rechargedAtMs,proto3" json:"recharged_at_ms,omitempty"`
GrantedAtMs int64 `protobuf:"varint,17,opt,name=granted_at_ms,json=grantedAtMs,proto3" json:"granted_at_ms,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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FirstRechargeRewardClaim) Reset() {
*x = FirstRechargeRewardClaim{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[64]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *FirstRechargeRewardClaim) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FirstRechargeRewardClaim) ProtoMessage() {}
func (x *FirstRechargeRewardClaim) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 FirstRechargeRewardClaim.ProtoReflect.Descriptor instead.
func (*FirstRechargeRewardClaim) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{64}
}
func (x *FirstRechargeRewardClaim) GetClaimId() string {
if x != nil {
return x.ClaimId
}
return ""
}
func (x *FirstRechargeRewardClaim) GetEventId() string {
if x != nil {
return x.EventId
}
return ""
}
func (x *FirstRechargeRewardClaim) GetTransactionId() string {
if x != nil {
return x.TransactionId
}
return ""
}
func (x *FirstRechargeRewardClaim) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *FirstRechargeRewardClaim) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *FirstRechargeRewardClaim) GetTierId() int64 {
if x != nil {
return x.TierId
}
return 0
}
func (x *FirstRechargeRewardClaim) GetTierCode() string {
if x != nil {
return x.TierCode
}
return ""
}
func (x *FirstRechargeRewardClaim) GetResourceGroupId() int64 {
if x != nil {
return x.ResourceGroupId
}
return 0
}
func (x *FirstRechargeRewardClaim) GetRechargeCoinAmount() int64 {
if x != nil {
return x.RechargeCoinAmount
}
return 0
}
func (x *FirstRechargeRewardClaim) GetRechargeSequence() int64 {
if x != nil {
return x.RechargeSequence
}
return 0
}
func (x *FirstRechargeRewardClaim) GetRechargeType() string {
if x != nil {
return x.RechargeType
}
return ""
}
func (x *FirstRechargeRewardClaim) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *FirstRechargeRewardClaim) GetWalletCommandId() string {
if x != nil {
return x.WalletCommandId
}
return ""
}
func (x *FirstRechargeRewardClaim) GetWalletGrantId() string {
if x != nil {
return x.WalletGrantId
}
return ""
}
func (x *FirstRechargeRewardClaim) GetFailureReason() string {
if x != nil {
return x.FailureReason
}
return ""
}
func (x *FirstRechargeRewardClaim) GetRechargedAtMs() int64 {
if x != nil {
return x.RechargedAtMs
}
return 0
}
func (x *FirstRechargeRewardClaim) GetGrantedAtMs() int64 {
if x != nil {
return x.GrantedAtMs
}
return 0
}
func (x *FirstRechargeRewardClaim) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *FirstRechargeRewardClaim) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
// FirstRechargeRewardStatus 是 App 首冲奖励面板可直接展示的当前状态。
type FirstRechargeRewardStatus struct {
state protoimpl.MessageState `protogen:"open.v1"`
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
Tiers []*FirstRechargeRewardTier `protobuf:"bytes,2,rep,name=tiers,proto3" json:"tiers,omitempty"`
Rewarded bool `protobuf:"varint,3,opt,name=rewarded,proto3" json:"rewarded,omitempty"`
Claim *FirstRechargeRewardClaim `protobuf:"bytes,4,opt,name=claim,proto3" json:"claim,omitempty"`
ServerTimeMs int64 `protobuf:"varint,5,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *FirstRechargeRewardStatus) Reset() {
*x = FirstRechargeRewardStatus{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[65]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *FirstRechargeRewardStatus) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FirstRechargeRewardStatus) ProtoMessage() {}
func (x *FirstRechargeRewardStatus) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 FirstRechargeRewardStatus.ProtoReflect.Descriptor instead.
func (*FirstRechargeRewardStatus) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{65}
}
func (x *FirstRechargeRewardStatus) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *FirstRechargeRewardStatus) GetTiers() []*FirstRechargeRewardTier {
if x != nil {
return x.Tiers
}
return nil
}
func (x *FirstRechargeRewardStatus) GetRewarded() bool {
if x != nil {
return x.Rewarded
}
return false
}
func (x *FirstRechargeRewardStatus) GetClaim() *FirstRechargeRewardClaim {
if x != nil {
return x.Claim
}
return nil
}
func (x *FirstRechargeRewardStatus) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type GetFirstRechargeRewardStatusRequest 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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetFirstRechargeRewardStatusRequest) Reset() {
*x = GetFirstRechargeRewardStatusRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[66]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetFirstRechargeRewardStatusRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetFirstRechargeRewardStatusRequest) ProtoMessage() {}
func (x *GetFirstRechargeRewardStatusRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetFirstRechargeRewardStatusRequest.ProtoReflect.Descriptor instead.
func (*GetFirstRechargeRewardStatusRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{66}
}
func (x *GetFirstRechargeRewardStatusRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetFirstRechargeRewardStatusRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
type GetFirstRechargeRewardStatusResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Status *FirstRechargeRewardStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetFirstRechargeRewardStatusResponse) Reset() {
*x = GetFirstRechargeRewardStatusResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[67]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetFirstRechargeRewardStatusResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetFirstRechargeRewardStatusResponse) ProtoMessage() {}
func (x *GetFirstRechargeRewardStatusResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetFirstRechargeRewardStatusResponse.ProtoReflect.Descriptor instead.
func (*GetFirstRechargeRewardStatusResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{67}
}
func (x *GetFirstRechargeRewardStatusResponse) GetStatus() *FirstRechargeRewardStatus {
if x != nil {
return x.Status
}
return nil
}
// ConsumeFirstRechargeRewardRequest 是 wallet 充值事实消费入口;只处理 recharge_sequence=1 的成功充值。
type ConsumeFirstRechargeRewardRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
TransactionId string `protobuf:"bytes,3,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
CommandId string `protobuf:"bytes,4,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
UserId int64 `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
RechargeCoinAmount int64 `protobuf:"varint,6,opt,name=recharge_coin_amount,json=rechargeCoinAmount,proto3" json:"recharge_coin_amount,omitempty"`
RechargeSequence int64 `protobuf:"varint,7,opt,name=recharge_sequence,json=rechargeSequence,proto3" json:"recharge_sequence,omitempty"`
RechargeType string `protobuf:"bytes,8,opt,name=recharge_type,json=rechargeType,proto3" json:"recharge_type,omitempty"`
OccurredAtMs int64 `protobuf:"varint,9,opt,name=occurred_at_ms,json=occurredAtMs,proto3" json:"occurred_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ConsumeFirstRechargeRewardRequest) Reset() {
*x = ConsumeFirstRechargeRewardRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[68]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ConsumeFirstRechargeRewardRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConsumeFirstRechargeRewardRequest) ProtoMessage() {}
func (x *ConsumeFirstRechargeRewardRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ConsumeFirstRechargeRewardRequest.ProtoReflect.Descriptor instead.
func (*ConsumeFirstRechargeRewardRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{68}
}
func (x *ConsumeFirstRechargeRewardRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ConsumeFirstRechargeRewardRequest) GetEventId() string {
if x != nil {
return x.EventId
}
return ""
}
func (x *ConsumeFirstRechargeRewardRequest) GetTransactionId() string {
if x != nil {
return x.TransactionId
}
return ""
}
func (x *ConsumeFirstRechargeRewardRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *ConsumeFirstRechargeRewardRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *ConsumeFirstRechargeRewardRequest) GetRechargeCoinAmount() int64 {
if x != nil {
return x.RechargeCoinAmount
}
return 0
}
func (x *ConsumeFirstRechargeRewardRequest) GetRechargeSequence() int64 {
if x != nil {
return x.RechargeSequence
}
return 0
}
func (x *ConsumeFirstRechargeRewardRequest) GetRechargeType() string {
if x != nil {
return x.RechargeType
}
return ""
}
func (x *ConsumeFirstRechargeRewardRequest) GetOccurredAtMs() int64 {
if x != nil {
return x.OccurredAtMs
}
return 0
}
type ConsumeFirstRechargeRewardResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Claim *FirstRechargeRewardClaim `protobuf:"bytes,1,opt,name=claim,proto3" json:"claim,omitempty"`
Consumed bool `protobuf:"varint,2,opt,name=consumed,proto3" json:"consumed,omitempty"`
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ConsumeFirstRechargeRewardResponse) Reset() {
*x = ConsumeFirstRechargeRewardResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[69]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ConsumeFirstRechargeRewardResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConsumeFirstRechargeRewardResponse) ProtoMessage() {}
func (x *ConsumeFirstRechargeRewardResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ConsumeFirstRechargeRewardResponse.ProtoReflect.Descriptor instead.
func (*ConsumeFirstRechargeRewardResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{69}
}
func (x *ConsumeFirstRechargeRewardResponse) GetClaim() *FirstRechargeRewardClaim {
if x != nil {
return x.Claim
}
return nil
}
func (x *ConsumeFirstRechargeRewardResponse) GetConsumed() bool {
if x != nil {
return x.Consumed
}
return false
}
func (x *ConsumeFirstRechargeRewardResponse) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type GetFirstRechargeRewardConfigRequest 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 *GetFirstRechargeRewardConfigRequest) Reset() {
*x = GetFirstRechargeRewardConfigRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[70]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetFirstRechargeRewardConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetFirstRechargeRewardConfigRequest) ProtoMessage() {}
func (x *GetFirstRechargeRewardConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetFirstRechargeRewardConfigRequest.ProtoReflect.Descriptor instead.
func (*GetFirstRechargeRewardConfigRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{70}
}
func (x *GetFirstRechargeRewardConfigRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
type GetFirstRechargeRewardConfigResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Config *FirstRechargeRewardConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetFirstRechargeRewardConfigResponse) Reset() {
*x = GetFirstRechargeRewardConfigResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[71]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetFirstRechargeRewardConfigResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetFirstRechargeRewardConfigResponse) ProtoMessage() {}
func (x *GetFirstRechargeRewardConfigResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetFirstRechargeRewardConfigResponse.ProtoReflect.Descriptor instead.
func (*GetFirstRechargeRewardConfigResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{71}
}
func (x *GetFirstRechargeRewardConfigResponse) GetConfig() *FirstRechargeRewardConfig {
if x != nil {
return x.Config
}
return nil
}
type UpdateFirstRechargeRewardConfigRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
Tiers []*FirstRechargeRewardTier `protobuf:"bytes,3,rep,name=tiers,proto3" json:"tiers,omitempty"`
OperatorAdminId int64 `protobuf:"varint,4,opt,name=operator_admin_id,json=operatorAdminId,proto3" json:"operator_admin_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateFirstRechargeRewardConfigRequest) Reset() {
*x = UpdateFirstRechargeRewardConfigRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[72]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateFirstRechargeRewardConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateFirstRechargeRewardConfigRequest) ProtoMessage() {}
func (x *UpdateFirstRechargeRewardConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 UpdateFirstRechargeRewardConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateFirstRechargeRewardConfigRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{72}
}
func (x *UpdateFirstRechargeRewardConfigRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *UpdateFirstRechargeRewardConfigRequest) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *UpdateFirstRechargeRewardConfigRequest) GetTiers() []*FirstRechargeRewardTier {
if x != nil {
return x.Tiers
}
return nil
}
func (x *UpdateFirstRechargeRewardConfigRequest) GetOperatorAdminId() int64 {
if x != nil {
return x.OperatorAdminId
}
return 0
}
type UpdateFirstRechargeRewardConfigResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Config *FirstRechargeRewardConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateFirstRechargeRewardConfigResponse) Reset() {
*x = UpdateFirstRechargeRewardConfigResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[73]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateFirstRechargeRewardConfigResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateFirstRechargeRewardConfigResponse) ProtoMessage() {}
func (x *UpdateFirstRechargeRewardConfigResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 UpdateFirstRechargeRewardConfigResponse.ProtoReflect.Descriptor instead.
func (*UpdateFirstRechargeRewardConfigResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{73}
}
func (x *UpdateFirstRechargeRewardConfigResponse) GetConfig() *FirstRechargeRewardConfig {
if x != nil {
return x.Config
}
return nil
}
type ListFirstRechargeRewardClaimsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListFirstRechargeRewardClaimsRequest) Reset() {
*x = ListFirstRechargeRewardClaimsRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[74]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListFirstRechargeRewardClaimsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListFirstRechargeRewardClaimsRequest) ProtoMessage() {}
func (x *ListFirstRechargeRewardClaimsRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ListFirstRechargeRewardClaimsRequest.ProtoReflect.Descriptor instead.
func (*ListFirstRechargeRewardClaimsRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{74}
}
func (x *ListFirstRechargeRewardClaimsRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ListFirstRechargeRewardClaimsRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *ListFirstRechargeRewardClaimsRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *ListFirstRechargeRewardClaimsRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListFirstRechargeRewardClaimsRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
type ListFirstRechargeRewardClaimsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Claims []*FirstRechargeRewardClaim `protobuf:"bytes,1,rep,name=claims,proto3" json:"claims,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListFirstRechargeRewardClaimsResponse) Reset() {
*x = ListFirstRechargeRewardClaimsResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[75]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListFirstRechargeRewardClaimsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListFirstRechargeRewardClaimsResponse) ProtoMessage() {}
func (x *ListFirstRechargeRewardClaimsResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ListFirstRechargeRewardClaimsResponse.ProtoReflect.Descriptor instead.
func (*ListFirstRechargeRewardClaimsResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{75}
}
func (x *ListFirstRechargeRewardClaimsResponse) GetClaims() []*FirstRechargeRewardClaim {
if x != nil {
return x.Claims
}
return nil
}
func (x *ListFirstRechargeRewardClaimsResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
// SevenDayCheckInReward 是七日签到配置中某一天的资源组奖励。
type SevenDayCheckInReward struct {
state protoimpl.MessageState `protogen:"open.v1"`
DayIndex int32 `protobuf:"varint,1,opt,name=day_index,json=dayIndex,proto3" json:"day_index,omitempty"`
ResourceGroupId int64 `protobuf:"varint,2,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SevenDayCheckInReward) Reset() {
*x = SevenDayCheckInReward{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[76]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SevenDayCheckInReward) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SevenDayCheckInReward) ProtoMessage() {}
func (x *SevenDayCheckInReward) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 SevenDayCheckInReward.ProtoReflect.Descriptor instead.
func (*SevenDayCheckInReward) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{76}
}
func (x *SevenDayCheckInReward) GetDayIndex() int32 {
if x != nil {
return x.DayIndex
}
return 0
}
func (x *SevenDayCheckInReward) GetResourceGroupId() int64 {
if x != nil {
return x.ResourceGroupId
}
return 0
}
// SevenDayCheckInConfig 是当前 App 的七日签到配置;资源组内容仍由 wallet-service 拥有。
type SevenDayCheckInConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
ConfigVersion int64 `protobuf:"varint,3,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"`
Rewards []*SevenDayCheckInReward `protobuf:"bytes,4,rep,name=rewards,proto3" json:"rewards,omitempty"`
UpdatedByAdminId int64 `protobuf:"varint,5,opt,name=updated_by_admin_id,json=updatedByAdminId,proto3" json:"updated_by_admin_id,omitempty"`
CreatedAtMs int64 `protobuf:"varint,6,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_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 *SevenDayCheckInConfig) Reset() {
*x = SevenDayCheckInConfig{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[77]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SevenDayCheckInConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SevenDayCheckInConfig) ProtoMessage() {}
func (x *SevenDayCheckInConfig) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 SevenDayCheckInConfig.ProtoReflect.Descriptor instead.
func (*SevenDayCheckInConfig) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{77}
}
func (x *SevenDayCheckInConfig) GetAppCode() string {
if x != nil {
return x.AppCode
}
return ""
}
func (x *SevenDayCheckInConfig) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *SevenDayCheckInConfig) GetConfigVersion() int64 {
if x != nil {
return x.ConfigVersion
}
return 0
}
func (x *SevenDayCheckInConfig) GetRewards() []*SevenDayCheckInReward {
if x != nil {
return x.Rewards
}
return nil
}
func (x *SevenDayCheckInConfig) GetUpdatedByAdminId() int64 {
if x != nil {
return x.UpdatedByAdminId
}
return 0
}
func (x *SevenDayCheckInConfig) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *SevenDayCheckInConfig) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
// SevenDayCheckInRewardStatus 是 App 面板中某一天奖励的用户侧状态。
type SevenDayCheckInRewardStatus struct {
state protoimpl.MessageState `protogen:"open.v1"`
DayIndex int32 `protobuf:"varint,1,opt,name=day_index,json=dayIndex,proto3" json:"day_index,omitempty"`
ResourceGroupId int64 `protobuf:"varint,2,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
ClaimId string `protobuf:"bytes,4,opt,name=claim_id,json=claimId,proto3" json:"claim_id,omitempty"`
WalletGrantId string `protobuf:"bytes,5,opt,name=wallet_grant_id,json=walletGrantId,proto3" json:"wallet_grant_id,omitempty"`
GrantedAtMs int64 `protobuf:"varint,6,opt,name=granted_at_ms,json=grantedAtMs,proto3" json:"granted_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SevenDayCheckInRewardStatus) Reset() {
*x = SevenDayCheckInRewardStatus{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[78]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SevenDayCheckInRewardStatus) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SevenDayCheckInRewardStatus) ProtoMessage() {}
func (x *SevenDayCheckInRewardStatus) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 SevenDayCheckInRewardStatus.ProtoReflect.Descriptor instead.
func (*SevenDayCheckInRewardStatus) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{78}
}
func (x *SevenDayCheckInRewardStatus) GetDayIndex() int32 {
if x != nil {
return x.DayIndex
}
return 0
}
func (x *SevenDayCheckInRewardStatus) GetResourceGroupId() int64 {
if x != nil {
return x.ResourceGroupId
}
return 0
}
func (x *SevenDayCheckInRewardStatus) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *SevenDayCheckInRewardStatus) GetClaimId() string {
if x != nil {
return x.ClaimId
}
return ""
}
func (x *SevenDayCheckInRewardStatus) GetWalletGrantId() string {
if x != nil {
return x.WalletGrantId
}
return ""
}
func (x *SevenDayCheckInRewardStatus) GetGrantedAtMs() int64 {
if x != nil {
return x.GrantedAtMs
}
return 0
}
type GetSevenDayCheckInStatusRequest 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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetSevenDayCheckInStatusRequest) Reset() {
*x = GetSevenDayCheckInStatusRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[79]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetSevenDayCheckInStatusRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSevenDayCheckInStatusRequest) ProtoMessage() {}
func (x *GetSevenDayCheckInStatusRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetSevenDayCheckInStatusRequest.ProtoReflect.Descriptor instead.
func (*GetSevenDayCheckInStatusRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{79}
}
func (x *GetSevenDayCheckInStatusRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetSevenDayCheckInStatusRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
type GetSevenDayCheckInStatusResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
CanSign bool `protobuf:"varint,2,opt,name=can_sign,json=canSign,proto3" json:"can_sign,omitempty"`
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
CycleNo int64 `protobuf:"varint,4,opt,name=cycle_no,json=cycleNo,proto3" json:"cycle_no,omitempty"`
CurrentDayIndex int32 `protobuf:"varint,5,opt,name=current_day_index,json=currentDayIndex,proto3" json:"current_day_index,omitempty"`
NextDayIndex int32 `protobuf:"varint,6,opt,name=next_day_index,json=nextDayIndex,proto3" json:"next_day_index,omitempty"`
CheckinDay string `protobuf:"bytes,7,opt,name=checkin_day,json=checkinDay,proto3" json:"checkin_day,omitempty"`
LastCheckinDay string `protobuf:"bytes,8,opt,name=last_checkin_day,json=lastCheckinDay,proto3" json:"last_checkin_day,omitempty"`
ConfigVersion int64 `protobuf:"varint,9,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"`
Rewards []*SevenDayCheckInRewardStatus `protobuf:"bytes,10,rep,name=rewards,proto3" json:"rewards,omitempty"`
ServerTimeMs int64 `protobuf:"varint,11,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
NextRefreshAtMs int64 `protobuf:"varint,12,opt,name=next_refresh_at_ms,json=nextRefreshAtMs,proto3" json:"next_refresh_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetSevenDayCheckInStatusResponse) Reset() {
*x = GetSevenDayCheckInStatusResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[80]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetSevenDayCheckInStatusResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSevenDayCheckInStatusResponse) ProtoMessage() {}
func (x *GetSevenDayCheckInStatusResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetSevenDayCheckInStatusResponse.ProtoReflect.Descriptor instead.
func (*GetSevenDayCheckInStatusResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{80}
}
func (x *GetSevenDayCheckInStatusResponse) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *GetSevenDayCheckInStatusResponse) GetCanSign() bool {
if x != nil {
return x.CanSign
}
return false
}
func (x *GetSevenDayCheckInStatusResponse) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
func (x *GetSevenDayCheckInStatusResponse) GetCycleNo() int64 {
if x != nil {
return x.CycleNo
}
return 0
}
func (x *GetSevenDayCheckInStatusResponse) GetCurrentDayIndex() int32 {
if x != nil {
return x.CurrentDayIndex
}
return 0
}
func (x *GetSevenDayCheckInStatusResponse) GetNextDayIndex() int32 {
if x != nil {
return x.NextDayIndex
}
return 0
}
func (x *GetSevenDayCheckInStatusResponse) GetCheckinDay() string {
if x != nil {
return x.CheckinDay
}
return ""
}
func (x *GetSevenDayCheckInStatusResponse) GetLastCheckinDay() string {
if x != nil {
return x.LastCheckinDay
}
return ""
}
func (x *GetSevenDayCheckInStatusResponse) GetConfigVersion() int64 {
if x != nil {
return x.ConfigVersion
}
return 0
}
func (x *GetSevenDayCheckInStatusResponse) GetRewards() []*SevenDayCheckInRewardStatus {
if x != nil {
return x.Rewards
}
return nil
}
func (x *GetSevenDayCheckInStatusResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
func (x *GetSevenDayCheckInStatusResponse) GetNextRefreshAtMs() int64 {
if x != nil {
return x.NextRefreshAtMs
}
return 0
}
type SignSevenDayCheckInRequest 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"`
CommandId string `protobuf:"bytes,3,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SignSevenDayCheckInRequest) Reset() {
*x = SignSevenDayCheckInRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[81]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SignSevenDayCheckInRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SignSevenDayCheckInRequest) ProtoMessage() {}
func (x *SignSevenDayCheckInRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 SignSevenDayCheckInRequest.ProtoReflect.Descriptor instead.
func (*SignSevenDayCheckInRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{81}
}
func (x *SignSevenDayCheckInRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *SignSevenDayCheckInRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *SignSevenDayCheckInRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
type SignSevenDayCheckInResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClaimId string `protobuf:"bytes,1,opt,name=claim_id,json=claimId,proto3" json:"claim_id,omitempty"`
CycleNo int64 `protobuf:"varint,2,opt,name=cycle_no,json=cycleNo,proto3" json:"cycle_no,omitempty"`
CheckinDay string `protobuf:"bytes,3,opt,name=checkin_day,json=checkinDay,proto3" json:"checkin_day,omitempty"`
DayIndex int32 `protobuf:"varint,4,opt,name=day_index,json=dayIndex,proto3" json:"day_index,omitempty"`
ResourceGroupId int64 `protobuf:"varint,5,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"`
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
WalletGrantId string `protobuf:"bytes,7,opt,name=wallet_grant_id,json=walletGrantId,proto3" json:"wallet_grant_id,omitempty"`
GrantedAtMs int64 `protobuf:"varint,8,opt,name=granted_at_ms,json=grantedAtMs,proto3" json:"granted_at_ms,omitempty"`
ServerTimeMs int64 `protobuf:"varint,9,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SignSevenDayCheckInResponse) Reset() {
*x = SignSevenDayCheckInResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[82]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SignSevenDayCheckInResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SignSevenDayCheckInResponse) ProtoMessage() {}
func (x *SignSevenDayCheckInResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 SignSevenDayCheckInResponse.ProtoReflect.Descriptor instead.
func (*SignSevenDayCheckInResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{82}
}
func (x *SignSevenDayCheckInResponse) GetClaimId() string {
if x != nil {
return x.ClaimId
}
return ""
}
func (x *SignSevenDayCheckInResponse) GetCycleNo() int64 {
if x != nil {
return x.CycleNo
}
return 0
}
func (x *SignSevenDayCheckInResponse) GetCheckinDay() string {
if x != nil {
return x.CheckinDay
}
return ""
}
func (x *SignSevenDayCheckInResponse) GetDayIndex() int32 {
if x != nil {
return x.DayIndex
}
return 0
}
func (x *SignSevenDayCheckInResponse) GetResourceGroupId() int64 {
if x != nil {
return x.ResourceGroupId
}
return 0
}
func (x *SignSevenDayCheckInResponse) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *SignSevenDayCheckInResponse) GetWalletGrantId() string {
if x != nil {
return x.WalletGrantId
}
return ""
}
func (x *SignSevenDayCheckInResponse) GetGrantedAtMs() int64 {
if x != nil {
return x.GrantedAtMs
}
return 0
}
func (x *SignSevenDayCheckInResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type GetSevenDayCheckInConfigRequest 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 *GetSevenDayCheckInConfigRequest) Reset() {
*x = GetSevenDayCheckInConfigRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[83]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetSevenDayCheckInConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSevenDayCheckInConfigRequest) ProtoMessage() {}
func (x *GetSevenDayCheckInConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetSevenDayCheckInConfigRequest.ProtoReflect.Descriptor instead.
func (*GetSevenDayCheckInConfigRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{83}
}
func (x *GetSevenDayCheckInConfigRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
type GetSevenDayCheckInConfigResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Config *SevenDayCheckInConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetSevenDayCheckInConfigResponse) Reset() {
*x = GetSevenDayCheckInConfigResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[84]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetSevenDayCheckInConfigResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSevenDayCheckInConfigResponse) ProtoMessage() {}
func (x *GetSevenDayCheckInConfigResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetSevenDayCheckInConfigResponse.ProtoReflect.Descriptor instead.
func (*GetSevenDayCheckInConfigResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{84}
}
func (x *GetSevenDayCheckInConfigResponse) GetConfig() *SevenDayCheckInConfig {
if x != nil {
return x.Config
}
return nil
}
type UpdateSevenDayCheckInConfigRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
Rewards []*SevenDayCheckInReward `protobuf:"bytes,3,rep,name=rewards,proto3" json:"rewards,omitempty"`
OperatorAdminId int64 `protobuf:"varint,4,opt,name=operator_admin_id,json=operatorAdminId,proto3" json:"operator_admin_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateSevenDayCheckInConfigRequest) Reset() {
*x = UpdateSevenDayCheckInConfigRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[85]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateSevenDayCheckInConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateSevenDayCheckInConfigRequest) ProtoMessage() {}
func (x *UpdateSevenDayCheckInConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 UpdateSevenDayCheckInConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateSevenDayCheckInConfigRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{85}
}
func (x *UpdateSevenDayCheckInConfigRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *UpdateSevenDayCheckInConfigRequest) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *UpdateSevenDayCheckInConfigRequest) GetRewards() []*SevenDayCheckInReward {
if x != nil {
return x.Rewards
}
return nil
}
func (x *UpdateSevenDayCheckInConfigRequest) GetOperatorAdminId() int64 {
if x != nil {
return x.OperatorAdminId
}
return 0
}
type UpdateSevenDayCheckInConfigResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Config *SevenDayCheckInConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateSevenDayCheckInConfigResponse) Reset() {
*x = UpdateSevenDayCheckInConfigResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[86]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateSevenDayCheckInConfigResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateSevenDayCheckInConfigResponse) ProtoMessage() {}
func (x *UpdateSevenDayCheckInConfigResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 UpdateSevenDayCheckInConfigResponse.ProtoReflect.Descriptor instead.
func (*UpdateSevenDayCheckInConfigResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{86}
}
func (x *UpdateSevenDayCheckInConfigResponse) GetConfig() *SevenDayCheckInConfig {
if x != nil {
return x.Config
}
return nil
}
// SevenDayCheckInClaim 是后台领取记录页使用的签到和资源组发放事实。
type SevenDayCheckInClaim struct {
state protoimpl.MessageState `protogen:"open.v1"`
ClaimId string `protobuf:"bytes,1,opt,name=claim_id,json=claimId,proto3" json:"claim_id,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"`
CycleNo int64 `protobuf:"varint,4,opt,name=cycle_no,json=cycleNo,proto3" json:"cycle_no,omitempty"`
CheckinDay string `protobuf:"bytes,5,opt,name=checkin_day,json=checkinDay,proto3" json:"checkin_day,omitempty"`
DayIndex int32 `protobuf:"varint,6,opt,name=day_index,json=dayIndex,proto3" json:"day_index,omitempty"`
ConfigVersion int64 `protobuf:"varint,7,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"`
ResourceGroupId int64 `protobuf:"varint,8,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"`
WalletCommandId string `protobuf:"bytes,9,opt,name=wallet_command_id,json=walletCommandId,proto3" json:"wallet_command_id,omitempty"`
WalletGrantId string `protobuf:"bytes,10,opt,name=wallet_grant_id,json=walletGrantId,proto3" json:"wallet_grant_id,omitempty"`
Status string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
FailureReason string `protobuf:"bytes,12,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"`
SignedAtMs int64 `protobuf:"varint,13,opt,name=signed_at_ms,json=signedAtMs,proto3" json:"signed_at_ms,omitempty"`
GrantedAtMs int64 `protobuf:"varint,14,opt,name=granted_at_ms,json=grantedAtMs,proto3" json:"granted_at_ms,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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SevenDayCheckInClaim) Reset() {
*x = SevenDayCheckInClaim{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[87]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SevenDayCheckInClaim) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SevenDayCheckInClaim) ProtoMessage() {}
func (x *SevenDayCheckInClaim) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 SevenDayCheckInClaim.ProtoReflect.Descriptor instead.
func (*SevenDayCheckInClaim) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{87}
}
func (x *SevenDayCheckInClaim) GetClaimId() string {
if x != nil {
return x.ClaimId
}
return ""
}
func (x *SevenDayCheckInClaim) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
func (x *SevenDayCheckInClaim) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *SevenDayCheckInClaim) GetCycleNo() int64 {
if x != nil {
return x.CycleNo
}
return 0
}
func (x *SevenDayCheckInClaim) GetCheckinDay() string {
if x != nil {
return x.CheckinDay
}
return ""
}
func (x *SevenDayCheckInClaim) GetDayIndex() int32 {
if x != nil {
return x.DayIndex
}
return 0
}
func (x *SevenDayCheckInClaim) GetConfigVersion() int64 {
if x != nil {
return x.ConfigVersion
}
return 0
}
func (x *SevenDayCheckInClaim) GetResourceGroupId() int64 {
if x != nil {
return x.ResourceGroupId
}
return 0
}
func (x *SevenDayCheckInClaim) GetWalletCommandId() string {
if x != nil {
return x.WalletCommandId
}
return ""
}
func (x *SevenDayCheckInClaim) GetWalletGrantId() string {
if x != nil {
return x.WalletGrantId
}
return ""
}
func (x *SevenDayCheckInClaim) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *SevenDayCheckInClaim) GetFailureReason() string {
if x != nil {
return x.FailureReason
}
return ""
}
func (x *SevenDayCheckInClaim) GetSignedAtMs() int64 {
if x != nil {
return x.SignedAtMs
}
return 0
}
func (x *SevenDayCheckInClaim) GetGrantedAtMs() int64 {
if x != nil {
return x.GrantedAtMs
}
return 0
}
func (x *SevenDayCheckInClaim) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *SevenDayCheckInClaim) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
type ListSevenDayCheckInClaimsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
CheckinDay string `protobuf:"bytes,4,opt,name=checkin_day,json=checkinDay,proto3" json:"checkin_day,omitempty"`
DayIndex int32 `protobuf:"varint,5,opt,name=day_index,json=dayIndex,proto3" json:"day_index,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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListSevenDayCheckInClaimsRequest) Reset() {
*x = ListSevenDayCheckInClaimsRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[88]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListSevenDayCheckInClaimsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSevenDayCheckInClaimsRequest) ProtoMessage() {}
func (x *ListSevenDayCheckInClaimsRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ListSevenDayCheckInClaimsRequest.ProtoReflect.Descriptor instead.
func (*ListSevenDayCheckInClaimsRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{88}
}
func (x *ListSevenDayCheckInClaimsRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ListSevenDayCheckInClaimsRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *ListSevenDayCheckInClaimsRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *ListSevenDayCheckInClaimsRequest) GetCheckinDay() string {
if x != nil {
return x.CheckinDay
}
return ""
}
func (x *ListSevenDayCheckInClaimsRequest) GetDayIndex() int32 {
if x != nil {
return x.DayIndex
}
return 0
}
func (x *ListSevenDayCheckInClaimsRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListSevenDayCheckInClaimsRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
type ListSevenDayCheckInClaimsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Claims []*SevenDayCheckInClaim `protobuf:"bytes,1,rep,name=claims,proto3" json:"claims,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListSevenDayCheckInClaimsResponse) Reset() {
*x = ListSevenDayCheckInClaimsResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[89]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListSevenDayCheckInClaimsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSevenDayCheckInClaimsResponse) ProtoMessage() {}
func (x *ListSevenDayCheckInClaimsResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 ListSevenDayCheckInClaimsResponse.ProtoReflect.Descriptor instead.
func (*ListSevenDayCheckInClaimsResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{89}
}
func (x *ListSevenDayCheckInClaimsResponse) GetClaims() []*SevenDayCheckInClaim {
if x != nil {
return x.Claims
}
return nil
}
func (x *ListSevenDayCheckInClaimsResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
// LevelTrack 是等级体系的一条成长轨道,例如 wealth/game/charm。
type LevelTrack struct {
state protoimpl.MessageState `protogen:"open.v1"`
Track string `protobuf:"bytes,1,opt,name=track,proto3" json:"track,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"`
SortOrder int32 `protobuf:"varint,4,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
DisplayConfigJson string `protobuf:"bytes,5,opt,name=display_config_json,json=displayConfigJson,proto3" json:"display_config_json,omitempty"`
CreatedAtMs int64 `protobuf:"varint,6,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_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 *LevelTrack) Reset() {
*x = LevelTrack{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[90]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *LevelTrack) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LevelTrack) ProtoMessage() {}
func (x *LevelTrack) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 LevelTrack.ProtoReflect.Descriptor instead.
func (*LevelTrack) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{90}
}
func (x *LevelTrack) GetTrack() string {
if x != nil {
return x.Track
}
return ""
}
func (x *LevelTrack) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *LevelTrack) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *LevelTrack) GetSortOrder() int32 {
if x != nil {
return x.SortOrder
}
return 0
}
func (x *LevelTrack) GetDisplayConfigJson() string {
if x != nil {
return x.DisplayConfigJson
}
return ""
}
func (x *LevelTrack) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *LevelTrack) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
// LevelRule 是某条轨道的单级阈值和可选奖励配置。
type LevelRule struct {
state protoimpl.MessageState `protogen:"open.v1"`
Track string `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"`
Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
RequiredValue int64 `protobuf:"varint,3,opt,name=required_value,json=requiredValue,proto3" json:"required_value,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"`
RewardResourceGroupId int64 `protobuf:"varint,6,opt,name=reward_resource_group_id,json=rewardResourceGroupId,proto3" json:"reward_resource_group_id,omitempty"`
SortOrder int32 `protobuf:"varint,7,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
DisplayConfigJson string `protobuf:"bytes,8,opt,name=display_config_json,json=displayConfigJson,proto3" json:"display_config_json,omitempty"`
CreatedByAdminId int64 `protobuf:"varint,9,opt,name=created_by_admin_id,json=createdByAdminId,proto3" json:"created_by_admin_id,omitempty"`
UpdatedByAdminId int64 `protobuf:"varint,10,opt,name=updated_by_admin_id,json=updatedByAdminId,proto3" json:"updated_by_admin_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 *LevelRule) Reset() {
*x = LevelRule{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[91]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *LevelRule) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LevelRule) ProtoMessage() {}
func (x *LevelRule) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 LevelRule.ProtoReflect.Descriptor instead.
func (*LevelRule) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{91}
}
func (x *LevelRule) GetTrack() string {
if x != nil {
return x.Track
}
return ""
}
func (x *LevelRule) GetLevel() int32 {
if x != nil {
return x.Level
}
return 0
}
func (x *LevelRule) GetRequiredValue() int64 {
if x != nil {
return x.RequiredValue
}
return 0
}
func (x *LevelRule) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *LevelRule) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *LevelRule) GetRewardResourceGroupId() int64 {
if x != nil {
return x.RewardResourceGroupId
}
return 0
}
func (x *LevelRule) GetSortOrder() int32 {
if x != nil {
return x.SortOrder
}
return 0
}
func (x *LevelRule) GetDisplayConfigJson() string {
if x != nil {
return x.DisplayConfigJson
}
return ""
}
func (x *LevelRule) GetCreatedByAdminId() int64 {
if x != nil {
return x.CreatedByAdminId
}
return 0
}
func (x *LevelRule) GetUpdatedByAdminId() int64 {
if x != nil {
return x.UpdatedByAdminId
}
return 0
}
func (x *LevelRule) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *LevelRule) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
// LevelTier 是等级段展示和等级段奖励配置,例如 1-10 或 11-20。
type LevelTier struct {
state protoimpl.MessageState `protogen:"open.v1"`
TierId int64 `protobuf:"varint,1,opt,name=tier_id,json=tierId,proto3" json:"tier_id,omitempty"`
Track string `protobuf:"bytes,2,opt,name=track,proto3" json:"track,omitempty"`
MinLevel int32 `protobuf:"varint,3,opt,name=min_level,json=minLevel,proto3" json:"min_level,omitempty"`
MaxLevel int32 `protobuf:"varint,4,opt,name=max_level,json=maxLevel,proto3" json:"max_level,omitempty"`
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
DisplayAvatarFrameResourceId int64 `protobuf:"varint,6,opt,name=display_avatar_frame_resource_id,json=displayAvatarFrameResourceId,proto3" json:"display_avatar_frame_resource_id,omitempty"`
DisplayBadgeResourceId int64 `protobuf:"varint,7,opt,name=display_badge_resource_id,json=displayBadgeResourceId,proto3" json:"display_badge_resource_id,omitempty"`
RewardResourceGroupId int64 `protobuf:"varint,8,opt,name=reward_resource_group_id,json=rewardResourceGroupId,proto3" json:"reward_resource_group_id,omitempty"`
Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
DisplayConfigJson string `protobuf:"bytes,10,opt,name=display_config_json,json=displayConfigJson,proto3" json:"display_config_json,omitempty"`
CreatedByAdminId int64 `protobuf:"varint,11,opt,name=created_by_admin_id,json=createdByAdminId,proto3" json:"created_by_admin_id,omitempty"`
UpdatedByAdminId int64 `protobuf:"varint,12,opt,name=updated_by_admin_id,json=updatedByAdminId,proto3" json:"updated_by_admin_id,omitempty"`
CreatedAtMs int64 `protobuf:"varint,13,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,14,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LevelTier) Reset() {
*x = LevelTier{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[92]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *LevelTier) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LevelTier) ProtoMessage() {}
func (x *LevelTier) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 LevelTier.ProtoReflect.Descriptor instead.
func (*LevelTier) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{92}
}
func (x *LevelTier) GetTierId() int64 {
if x != nil {
return x.TierId
}
return 0
}
func (x *LevelTier) GetTrack() string {
if x != nil {
return x.Track
}
return ""
}
func (x *LevelTier) GetMinLevel() int32 {
if x != nil {
return x.MinLevel
}
return 0
}
func (x *LevelTier) GetMaxLevel() int32 {
if x != nil {
return x.MaxLevel
}
return 0
}
func (x *LevelTier) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *LevelTier) GetDisplayAvatarFrameResourceId() int64 {
if x != nil {
return x.DisplayAvatarFrameResourceId
}
return 0
}
func (x *LevelTier) GetDisplayBadgeResourceId() int64 {
if x != nil {
return x.DisplayBadgeResourceId
}
return 0
}
func (x *LevelTier) GetRewardResourceGroupId() int64 {
if x != nil {
return x.RewardResourceGroupId
}
return 0
}
func (x *LevelTier) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *LevelTier) GetDisplayConfigJson() string {
if x != nil {
return x.DisplayConfigJson
}
return ""
}
func (x *LevelTier) GetCreatedByAdminId() int64 {
if x != nil {
return x.CreatedByAdminId
}
return 0
}
func (x *LevelTier) GetUpdatedByAdminId() int64 {
if x != nil {
return x.UpdatedByAdminId
}
return 0
}
func (x *LevelTier) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *LevelTier) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
// LevelTrackOverview 是 App 等级总览里的单轨道进度。
type LevelTrackOverview struct {
state protoimpl.MessageState `protogen:"open.v1"`
Track string `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Level int32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
TierId int64 `protobuf:"varint,4,opt,name=tier_id,json=tierId,proto3" json:"tier_id,omitempty"`
TotalValue int64 `protobuf:"varint,5,opt,name=total_value,json=totalValue,proto3" json:"total_value,omitempty"`
CurrentLevelRequiredValue int64 `protobuf:"varint,6,opt,name=current_level_required_value,json=currentLevelRequiredValue,proto3" json:"current_level_required_value,omitempty"`
NextLevel int32 `protobuf:"varint,7,opt,name=next_level,json=nextLevel,proto3" json:"next_level,omitempty"`
NextLevelRequiredValue int64 `protobuf:"varint,8,opt,name=next_level_required_value,json=nextLevelRequiredValue,proto3" json:"next_level_required_value,omitempty"`
DisplayAvatarFrameResourceId int64 `protobuf:"varint,9,opt,name=display_avatar_frame_resource_id,json=displayAvatarFrameResourceId,proto3" json:"display_avatar_frame_resource_id,omitempty"`
DisplayBadgeResourceId int64 `protobuf:"varint,10,opt,name=display_badge_resource_id,json=displayBadgeResourceId,proto3" json:"display_badge_resource_id,omitempty"`
RewardPendingCount int64 `protobuf:"varint,11,opt,name=reward_pending_count,json=rewardPendingCount,proto3" json:"reward_pending_count,omitempty"`
SortOrder int32 `protobuf:"varint,12,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LevelTrackOverview) Reset() {
*x = LevelTrackOverview{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[93]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *LevelTrackOverview) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LevelTrackOverview) ProtoMessage() {}
func (x *LevelTrackOverview) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 LevelTrackOverview.ProtoReflect.Descriptor instead.
func (*LevelTrackOverview) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{93}
}
func (x *LevelTrackOverview) GetTrack() string {
if x != nil {
return x.Track
}
return ""
}
func (x *LevelTrackOverview) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *LevelTrackOverview) GetLevel() int32 {
if x != nil {
return x.Level
}
return 0
}
func (x *LevelTrackOverview) GetTierId() int64 {
if x != nil {
return x.TierId
}
return 0
}
func (x *LevelTrackOverview) GetTotalValue() int64 {
if x != nil {
return x.TotalValue
}
return 0
}
func (x *LevelTrackOverview) GetCurrentLevelRequiredValue() int64 {
if x != nil {
return x.CurrentLevelRequiredValue
}
return 0
}
func (x *LevelTrackOverview) GetNextLevel() int32 {
if x != nil {
return x.NextLevel
}
return 0
}
func (x *LevelTrackOverview) GetNextLevelRequiredValue() int64 {
if x != nil {
return x.NextLevelRequiredValue
}
return 0
}
func (x *LevelTrackOverview) GetDisplayAvatarFrameResourceId() int64 {
if x != nil {
return x.DisplayAvatarFrameResourceId
}
return 0
}
func (x *LevelTrackOverview) GetDisplayBadgeResourceId() int64 {
if x != nil {
return x.DisplayBadgeResourceId
}
return 0
}
func (x *LevelTrackOverview) GetRewardPendingCount() int64 {
if x != nil {
return x.RewardPendingCount
}
return 0
}
func (x *LevelTrackOverview) GetSortOrder() int32 {
if x != nil {
return x.SortOrder
}
return 0
}
type GetMyLevelOverviewRequest 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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetMyLevelOverviewRequest) Reset() {
*x = GetMyLevelOverviewRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[94]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetMyLevelOverviewRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMyLevelOverviewRequest) ProtoMessage() {}
func (x *GetMyLevelOverviewRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetMyLevelOverviewRequest.ProtoReflect.Descriptor instead.
func (*GetMyLevelOverviewRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{94}
}
func (x *GetMyLevelOverviewRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetMyLevelOverviewRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
type GetMyLevelOverviewResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Tracks []*LevelTrackOverview `protobuf:"bytes,1,rep,name=tracks,proto3" json:"tracks,omitempty"`
ServerTimeMs int64 `protobuf:"varint,2,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetMyLevelOverviewResponse) Reset() {
*x = GetMyLevelOverviewResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[95]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetMyLevelOverviewResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMyLevelOverviewResponse) ProtoMessage() {}
func (x *GetMyLevelOverviewResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetMyLevelOverviewResponse.ProtoReflect.Descriptor instead.
func (*GetMyLevelOverviewResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{95}
}
func (x *GetMyLevelOverviewResponse) GetTracks() []*LevelTrackOverview {
if x != nil {
return x.Tracks
}
return nil
}
func (x *GetMyLevelOverviewResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type GetLevelTrackRequest 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"`
Track string `protobuf:"bytes,3,opt,name=track,proto3" json:"track,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetLevelTrackRequest) Reset() {
*x = GetLevelTrackRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[96]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetLevelTrackRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetLevelTrackRequest) ProtoMessage() {}
func (x *GetLevelTrackRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetLevelTrackRequest.ProtoReflect.Descriptor instead.
func (*GetLevelTrackRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{96}
}
func (x *GetLevelTrackRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetLevelTrackRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *GetLevelTrackRequest) GetTrack() string {
if x != nil {
return x.Track
}
return ""
}
type GetLevelTrackResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Overview *LevelTrackOverview `protobuf:"bytes,1,opt,name=overview,proto3" json:"overview,omitempty"`
Rules []*LevelRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
Tiers []*LevelTier `protobuf:"bytes,3,rep,name=tiers,proto3" json:"tiers,omitempty"`
ServerTimeMs int64 `protobuf:"varint,4,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetLevelTrackResponse) Reset() {
*x = GetLevelTrackResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[97]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetLevelTrackResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetLevelTrackResponse) ProtoMessage() {}
func (x *GetLevelTrackResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 GetLevelTrackResponse.ProtoReflect.Descriptor instead.
func (*GetLevelTrackResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{97}
}
func (x *GetLevelTrackResponse) GetOverview() *LevelTrackOverview {
if x != nil {
return x.Overview
}
return nil
}
func (x *GetLevelTrackResponse) GetRules() []*LevelRule {
if x != nil {
return x.Rules
}
return nil
}
func (x *GetLevelTrackResponse) GetTiers() []*LevelTier {
if x != nil {
return x.Tiers
}
return nil
}
func (x *GetLevelTrackResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
// LevelRewardJob 是等级或等级段奖励的发放状态。
type LevelRewardJob struct {
state protoimpl.MessageState `protogen:"open.v1"`
RewardJobId string `protobuf:"bytes,1,opt,name=reward_job_id,json=rewardJobId,proto3" json:"reward_job_id,omitempty"`
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Track string `protobuf:"bytes,3,opt,name=track,proto3" json:"track,omitempty"`
RewardSourceType string `protobuf:"bytes,4,opt,name=reward_source_type,json=rewardSourceType,proto3" json:"reward_source_type,omitempty"`
RewardSourceId string `protobuf:"bytes,5,opt,name=reward_source_id,json=rewardSourceId,proto3" json:"reward_source_id,omitempty"`
ResourceGroupId int64 `protobuf:"varint,6,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"`
WalletCommandId string `protobuf:"bytes,7,opt,name=wallet_command_id,json=walletCommandId,proto3" json:"wallet_command_id,omitempty"`
WalletGrantId string `protobuf:"bytes,8,opt,name=wallet_grant_id,json=walletGrantId,proto3" json:"wallet_grant_id,omitempty"`
Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
AttemptCount int32 `protobuf:"varint,10,opt,name=attempt_count,json=attemptCount,proto3" json:"attempt_count,omitempty"`
FailureReason string `protobuf:"bytes,11,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,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 *LevelRewardJob) Reset() {
*x = LevelRewardJob{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[98]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *LevelRewardJob) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LevelRewardJob) ProtoMessage() {}
func (x *LevelRewardJob) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_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 LevelRewardJob.ProtoReflect.Descriptor instead.
func (*LevelRewardJob) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{98}
}
func (x *LevelRewardJob) GetRewardJobId() string {
if x != nil {
return x.RewardJobId
}
return ""
}
func (x *LevelRewardJob) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *LevelRewardJob) GetTrack() string {
if x != nil {
return x.Track
}
return ""
}
func (x *LevelRewardJob) GetRewardSourceType() string {
if x != nil {
return x.RewardSourceType
}
return ""
}
func (x *LevelRewardJob) GetRewardSourceId() string {
if x != nil {
return x.RewardSourceId
}
return ""
}
func (x *LevelRewardJob) GetResourceGroupId() int64 {
if x != nil {
return x.ResourceGroupId
}
return 0
}
func (x *LevelRewardJob) GetWalletCommandId() string {
if x != nil {
return x.WalletCommandId
}
return ""
}
func (x *LevelRewardJob) GetWalletGrantId() string {
if x != nil {
return x.WalletGrantId
}
return ""
}
func (x *LevelRewardJob) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *LevelRewardJob) GetAttemptCount() int32 {
if x != nil {
return x.AttemptCount
}
return 0
}
func (x *LevelRewardJob) GetFailureReason() string {
if x != nil {
return x.FailureReason
}
return ""
}
func (x *LevelRewardJob) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *LevelRewardJob) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
type ListLevelRewardsRequest 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"`
Track string `protobuf:"bytes,3,opt,name=track,proto3" json:"track,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 *ListLevelRewardsRequest) Reset() {
*x = ListLevelRewardsRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[99]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListLevelRewardsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListLevelRewardsRequest) ProtoMessage() {}
func (x *ListLevelRewardsRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[99]
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 ListLevelRewardsRequest.ProtoReflect.Descriptor instead.
func (*ListLevelRewardsRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{99}
}
func (x *ListLevelRewardsRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ListLevelRewardsRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *ListLevelRewardsRequest) GetTrack() string {
if x != nil {
return x.Track
}
return ""
}
func (x *ListLevelRewardsRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *ListLevelRewardsRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListLevelRewardsRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
type ListLevelRewardsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Rewards []*LevelRewardJob `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListLevelRewardsResponse) Reset() {
*x = ListLevelRewardsResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[100]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListLevelRewardsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListLevelRewardsResponse) ProtoMessage() {}
func (x *ListLevelRewardsResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[100]
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 ListLevelRewardsResponse.ProtoReflect.Descriptor instead.
func (*ListLevelRewardsResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{100}
}
func (x *ListLevelRewardsResponse) GetRewards() []*LevelRewardJob {
if x != nil {
return x.Rewards
}
return nil
}
func (x *ListLevelRewardsResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
// ConsumeLevelEventRequest 是内部事件 relay 投递给等级系统的幂等增量。
type ConsumeLevelEventRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
SourceEventId string `protobuf:"bytes,3,opt,name=source_event_id,json=sourceEventId,proto3" json:"source_event_id,omitempty"`
SourceService string `protobuf:"bytes,4,opt,name=source_service,json=sourceService,proto3" json:"source_service,omitempty"`
SourceEventType string `protobuf:"bytes,5,opt,name=source_event_type,json=sourceEventType,proto3" json:"source_event_type,omitempty"`
UserId int64 `protobuf:"varint,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Track string `protobuf:"bytes,7,opt,name=track,proto3" json:"track,omitempty"`
MetricType string `protobuf:"bytes,8,opt,name=metric_type,json=metricType,proto3" json:"metric_type,omitempty"`
ValueDelta int64 `protobuf:"varint,9,opt,name=value_delta,json=valueDelta,proto3" json:"value_delta,omitempty"`
OccurredAtMs int64 `protobuf:"varint,10,opt,name=occurred_at_ms,json=occurredAtMs,proto3" json:"occurred_at_ms,omitempty"`
DimensionsJson string `protobuf:"bytes,11,opt,name=dimensions_json,json=dimensionsJson,proto3" json:"dimensions_json,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ConsumeLevelEventRequest) Reset() {
*x = ConsumeLevelEventRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[101]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ConsumeLevelEventRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConsumeLevelEventRequest) ProtoMessage() {}
func (x *ConsumeLevelEventRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[101]
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 ConsumeLevelEventRequest.ProtoReflect.Descriptor instead.
func (*ConsumeLevelEventRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{101}
}
func (x *ConsumeLevelEventRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ConsumeLevelEventRequest) GetEventId() string {
if x != nil {
return x.EventId
}
return ""
}
func (x *ConsumeLevelEventRequest) GetSourceEventId() string {
if x != nil {
return x.SourceEventId
}
return ""
}
func (x *ConsumeLevelEventRequest) GetSourceService() string {
if x != nil {
return x.SourceService
}
return ""
}
func (x *ConsumeLevelEventRequest) GetSourceEventType() string {
if x != nil {
return x.SourceEventType
}
return ""
}
func (x *ConsumeLevelEventRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *ConsumeLevelEventRequest) GetTrack() string {
if x != nil {
return x.Track
}
return ""
}
func (x *ConsumeLevelEventRequest) GetMetricType() string {
if x != nil {
return x.MetricType
}
return ""
}
func (x *ConsumeLevelEventRequest) GetValueDelta() int64 {
if x != nil {
return x.ValueDelta
}
return 0
}
func (x *ConsumeLevelEventRequest) GetOccurredAtMs() int64 {
if x != nil {
return x.OccurredAtMs
}
return 0
}
func (x *ConsumeLevelEventRequest) GetDimensionsJson() string {
if x != nil {
return x.DimensionsJson
}
return ""
}
type ConsumeLevelEventResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
LevelChanged bool `protobuf:"varint,3,opt,name=level_changed,json=levelChanged,proto3" json:"level_changed,omitempty"`
PreviousLevel int32 `protobuf:"varint,4,opt,name=previous_level,json=previousLevel,proto3" json:"previous_level,omitempty"`
NewLevel int32 `protobuf:"varint,5,opt,name=new_level,json=newLevel,proto3" json:"new_level,omitempty"`
RewardJobCount int64 `protobuf:"varint,6,opt,name=reward_job_count,json=rewardJobCount,proto3" json:"reward_job_count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ConsumeLevelEventResponse) Reset() {
*x = ConsumeLevelEventResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[102]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ConsumeLevelEventResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConsumeLevelEventResponse) ProtoMessage() {}
func (x *ConsumeLevelEventResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[102]
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 ConsumeLevelEventResponse.ProtoReflect.Descriptor instead.
func (*ConsumeLevelEventResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{102}
}
func (x *ConsumeLevelEventResponse) GetEventId() string {
if x != nil {
return x.EventId
}
return ""
}
func (x *ConsumeLevelEventResponse) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *ConsumeLevelEventResponse) GetLevelChanged() bool {
if x != nil {
return x.LevelChanged
}
return false
}
func (x *ConsumeLevelEventResponse) GetPreviousLevel() int32 {
if x != nil {
return x.PreviousLevel
}
return 0
}
func (x *ConsumeLevelEventResponse) GetNewLevel() int32 {
if x != nil {
return x.NewLevel
}
return 0
}
func (x *ConsumeLevelEventResponse) GetRewardJobCount() int64 {
if x != nil {
return x.RewardJobCount
}
return 0
}
type UpsertLevelTrackRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Track string `protobuf:"bytes,2,opt,name=track,proto3" json:"track,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
SortOrder int32 `protobuf:"varint,5,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
DisplayConfigJson string `protobuf:"bytes,6,opt,name=display_config_json,json=displayConfigJson,proto3" json:"display_config_json,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpsertLevelTrackRequest) Reset() {
*x = UpsertLevelTrackRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[103]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpsertLevelTrackRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpsertLevelTrackRequest) ProtoMessage() {}
func (x *UpsertLevelTrackRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[103]
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 UpsertLevelTrackRequest.ProtoReflect.Descriptor instead.
func (*UpsertLevelTrackRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{103}
}
func (x *UpsertLevelTrackRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *UpsertLevelTrackRequest) GetTrack() string {
if x != nil {
return x.Track
}
return ""
}
func (x *UpsertLevelTrackRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *UpsertLevelTrackRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *UpsertLevelTrackRequest) GetSortOrder() int32 {
if x != nil {
return x.SortOrder
}
return 0
}
func (x *UpsertLevelTrackRequest) GetDisplayConfigJson() string {
if x != nil {
return x.DisplayConfigJson
}
return ""
}
type UpsertLevelTrackResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Track *LevelTrack `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"`
Created bool `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpsertLevelTrackResponse) Reset() {
*x = UpsertLevelTrackResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[104]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpsertLevelTrackResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpsertLevelTrackResponse) ProtoMessage() {}
func (x *UpsertLevelTrackResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[104]
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 UpsertLevelTrackResponse.ProtoReflect.Descriptor instead.
func (*UpsertLevelTrackResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{104}
}
func (x *UpsertLevelTrackResponse) GetTrack() *LevelTrack {
if x != nil {
return x.Track
}
return nil
}
func (x *UpsertLevelTrackResponse) GetCreated() bool {
if x != nil {
return x.Created
}
return false
}
type UpsertLevelRuleRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Track string `protobuf:"bytes,2,opt,name=track,proto3" json:"track,omitempty"`
Level int32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
RequiredValue int64 `protobuf:"varint,4,opt,name=required_value,json=requiredValue,proto3" json:"required_value,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"`
RewardResourceGroupId int64 `protobuf:"varint,7,opt,name=reward_resource_group_id,json=rewardResourceGroupId,proto3" json:"reward_resource_group_id,omitempty"`
SortOrder int32 `protobuf:"varint,8,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
DisplayConfigJson string `protobuf:"bytes,9,opt,name=display_config_json,json=displayConfigJson,proto3" json:"display_config_json,omitempty"`
OperatorAdminId int64 `protobuf:"varint,10,opt,name=operator_admin_id,json=operatorAdminId,proto3" json:"operator_admin_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpsertLevelRuleRequest) Reset() {
*x = UpsertLevelRuleRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[105]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpsertLevelRuleRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpsertLevelRuleRequest) ProtoMessage() {}
func (x *UpsertLevelRuleRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[105]
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 UpsertLevelRuleRequest.ProtoReflect.Descriptor instead.
func (*UpsertLevelRuleRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{105}
}
func (x *UpsertLevelRuleRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *UpsertLevelRuleRequest) GetTrack() string {
if x != nil {
return x.Track
}
return ""
}
func (x *UpsertLevelRuleRequest) GetLevel() int32 {
if x != nil {
return x.Level
}
return 0
}
func (x *UpsertLevelRuleRequest) GetRequiredValue() int64 {
if x != nil {
return x.RequiredValue
}
return 0
}
func (x *UpsertLevelRuleRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *UpsertLevelRuleRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *UpsertLevelRuleRequest) GetRewardResourceGroupId() int64 {
if x != nil {
return x.RewardResourceGroupId
}
return 0
}
func (x *UpsertLevelRuleRequest) GetSortOrder() int32 {
if x != nil {
return x.SortOrder
}
return 0
}
func (x *UpsertLevelRuleRequest) GetDisplayConfigJson() string {
if x != nil {
return x.DisplayConfigJson
}
return ""
}
func (x *UpsertLevelRuleRequest) GetOperatorAdminId() int64 {
if x != nil {
return x.OperatorAdminId
}
return 0
}
type UpsertLevelRuleResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Rule *LevelRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"`
Created bool `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpsertLevelRuleResponse) Reset() {
*x = UpsertLevelRuleResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[106]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpsertLevelRuleResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpsertLevelRuleResponse) ProtoMessage() {}
func (x *UpsertLevelRuleResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[106]
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 UpsertLevelRuleResponse.ProtoReflect.Descriptor instead.
func (*UpsertLevelRuleResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{106}
}
func (x *UpsertLevelRuleResponse) GetRule() *LevelRule {
if x != nil {
return x.Rule
}
return nil
}
func (x *UpsertLevelRuleResponse) GetCreated() bool {
if x != nil {
return x.Created
}
return false
}
type UpsertLevelTierRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
TierId int64 `protobuf:"varint,2,opt,name=tier_id,json=tierId,proto3" json:"tier_id,omitempty"`
Track string `protobuf:"bytes,3,opt,name=track,proto3" json:"track,omitempty"`
MinLevel int32 `protobuf:"varint,4,opt,name=min_level,json=minLevel,proto3" json:"min_level,omitempty"`
MaxLevel int32 `protobuf:"varint,5,opt,name=max_level,json=maxLevel,proto3" json:"max_level,omitempty"`
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
DisplayAvatarFrameResourceId int64 `protobuf:"varint,7,opt,name=display_avatar_frame_resource_id,json=displayAvatarFrameResourceId,proto3" json:"display_avatar_frame_resource_id,omitempty"`
DisplayBadgeResourceId int64 `protobuf:"varint,8,opt,name=display_badge_resource_id,json=displayBadgeResourceId,proto3" json:"display_badge_resource_id,omitempty"`
RewardResourceGroupId int64 `protobuf:"varint,9,opt,name=reward_resource_group_id,json=rewardResourceGroupId,proto3" json:"reward_resource_group_id,omitempty"`
Status string `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
DisplayConfigJson string `protobuf:"bytes,11,opt,name=display_config_json,json=displayConfigJson,proto3" json:"display_config_json,omitempty"`
OperatorAdminId int64 `protobuf:"varint,12,opt,name=operator_admin_id,json=operatorAdminId,proto3" json:"operator_admin_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpsertLevelTierRequest) Reset() {
*x = UpsertLevelTierRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[107]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpsertLevelTierRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpsertLevelTierRequest) ProtoMessage() {}
func (x *UpsertLevelTierRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[107]
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 UpsertLevelTierRequest.ProtoReflect.Descriptor instead.
func (*UpsertLevelTierRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{107}
}
func (x *UpsertLevelTierRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *UpsertLevelTierRequest) GetTierId() int64 {
if x != nil {
return x.TierId
}
return 0
}
func (x *UpsertLevelTierRequest) GetTrack() string {
if x != nil {
return x.Track
}
return ""
}
func (x *UpsertLevelTierRequest) GetMinLevel() int32 {
if x != nil {
return x.MinLevel
}
return 0
}
func (x *UpsertLevelTierRequest) GetMaxLevel() int32 {
if x != nil {
return x.MaxLevel
}
return 0
}
func (x *UpsertLevelTierRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *UpsertLevelTierRequest) GetDisplayAvatarFrameResourceId() int64 {
if x != nil {
return x.DisplayAvatarFrameResourceId
}
return 0
}
func (x *UpsertLevelTierRequest) GetDisplayBadgeResourceId() int64 {
if x != nil {
return x.DisplayBadgeResourceId
}
return 0
}
func (x *UpsertLevelTierRequest) GetRewardResourceGroupId() int64 {
if x != nil {
return x.RewardResourceGroupId
}
return 0
}
func (x *UpsertLevelTierRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *UpsertLevelTierRequest) GetDisplayConfigJson() string {
if x != nil {
return x.DisplayConfigJson
}
return ""
}
func (x *UpsertLevelTierRequest) GetOperatorAdminId() int64 {
if x != nil {
return x.OperatorAdminId
}
return 0
}
type UpsertLevelTierResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Tier *LevelTier `protobuf:"bytes,1,opt,name=tier,proto3" json:"tier,omitempty"`
Created bool `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpsertLevelTierResponse) Reset() {
*x = UpsertLevelTierResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[108]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpsertLevelTierResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpsertLevelTierResponse) ProtoMessage() {}
func (x *UpsertLevelTierResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[108]
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 UpsertLevelTierResponse.ProtoReflect.Descriptor instead.
func (*UpsertLevelTierResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{108}
}
func (x *UpsertLevelTierResponse) GetTier() *LevelTier {
if x != nil {
return x.Tier
}
return nil
}
func (x *UpsertLevelTierResponse) GetCreated() bool {
if x != nil {
return x.Created
}
return false
}
// ListLevelConfigRequest 是后台等级配置页的配置读取请求;不绑定具体用户进度。
type ListLevelConfigRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Track string `protobuf:"bytes,2,opt,name=track,proto3" json:"track,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListLevelConfigRequest) Reset() {
*x = ListLevelConfigRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[109]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListLevelConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListLevelConfigRequest) ProtoMessage() {}
func (x *ListLevelConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[109]
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 ListLevelConfigRequest.ProtoReflect.Descriptor instead.
func (*ListLevelConfigRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{109}
}
func (x *ListLevelConfigRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ListLevelConfigRequest) GetTrack() string {
if x != nil {
return x.Track
}
return ""
}
func (x *ListLevelConfigRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
type ListLevelConfigResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Tracks []*LevelTrack `protobuf:"bytes,1,rep,name=tracks,proto3" json:"tracks,omitempty"`
Rules []*LevelRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
Tiers []*LevelTier `protobuf:"bytes,3,rep,name=tiers,proto3" json:"tiers,omitempty"`
ServerTimeMs int64 `protobuf:"varint,4,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListLevelConfigResponse) Reset() {
*x = ListLevelConfigResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[110]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListLevelConfigResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListLevelConfigResponse) ProtoMessage() {}
func (x *ListLevelConfigResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[110]
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 ListLevelConfigResponse.ProtoReflect.Descriptor instead.
func (*ListLevelConfigResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{110}
}
func (x *ListLevelConfigResponse) GetTracks() []*LevelTrack {
if x != nil {
return x.Tracks
}
return nil
}
func (x *ListLevelConfigResponse) GetRules() []*LevelRule {
if x != nil {
return x.Rules
}
return nil
}
func (x *ListLevelConfigResponse) GetTiers() []*LevelTier {
if x != nil {
return x.Tiers
}
return nil
}
func (x *ListLevelConfigResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type AchievementCondition struct {
state protoimpl.MessageState `protogen:"open.v1"`
ConditionId string `protobuf:"bytes,1,opt,name=condition_id,json=conditionId,proto3" json:"condition_id,omitempty"`
AchievementId string `protobuf:"bytes,2,opt,name=achievement_id,json=achievementId,proto3" json:"achievement_id,omitempty"`
Version int64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
MetricType string `protobuf:"bytes,4,opt,name=metric_type,json=metricType,proto3" json:"metric_type,omitempty"`
TargetValue int64 `protobuf:"varint,5,opt,name=target_value,json=targetValue,proto3" json:"target_value,omitempty"`
TargetUnit string `protobuf:"bytes,6,opt,name=target_unit,json=targetUnit,proto3" json:"target_unit,omitempty"`
DimensionFilterJson string `protobuf:"bytes,7,opt,name=dimension_filter_json,json=dimensionFilterJson,proto3" json:"dimension_filter_json,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AchievementCondition) Reset() {
*x = AchievementCondition{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[111]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AchievementCondition) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AchievementCondition) ProtoMessage() {}
func (x *AchievementCondition) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[111]
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 AchievementCondition.ProtoReflect.Descriptor instead.
func (*AchievementCondition) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{111}
}
func (x *AchievementCondition) GetConditionId() string {
if x != nil {
return x.ConditionId
}
return ""
}
func (x *AchievementCondition) GetAchievementId() string {
if x != nil {
return x.AchievementId
}
return ""
}
func (x *AchievementCondition) GetVersion() int64 {
if x != nil {
return x.Version
}
return 0
}
func (x *AchievementCondition) GetMetricType() string {
if x != nil {
return x.MetricType
}
return ""
}
func (x *AchievementCondition) GetTargetValue() int64 {
if x != nil {
return x.TargetValue
}
return 0
}
func (x *AchievementCondition) GetTargetUnit() string {
if x != nil {
return x.TargetUnit
}
return ""
}
func (x *AchievementCondition) GetDimensionFilterJson() string {
if x != nil {
return x.DimensionFilterJson
}
return ""
}
type AchievementDefinition struct {
state protoimpl.MessageState `protogen:"open.v1"`
AchievementId string `protobuf:"bytes,1,opt,name=achievement_id,json=achievementId,proto3" json:"achievement_id,omitempty"`
CollectionId string `protobuf:"bytes,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
CollectionType string `protobuf:"bytes,3,opt,name=collection_type,json=collectionType,proto3" json:"collection_type,omitempty"`
AchievementType string `protobuf:"bytes,4,opt,name=achievement_type,json=achievementType,proto3" json:"achievement_type,omitempty"`
Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
Version int64 `protobuf:"varint,8,opt,name=version,proto3" json:"version,omitempty"`
PrimaryBadgeResourceId int64 `protobuf:"varint,9,opt,name=primary_badge_resource_id,json=primaryBadgeResourceId,proto3" json:"primary_badge_resource_id,omitempty"`
RewardResourceGroupId int64 `protobuf:"varint,10,opt,name=reward_resource_group_id,json=rewardResourceGroupId,proto3" json:"reward_resource_group_id,omitempty"`
AutoPinPolicy string `protobuf:"bytes,11,opt,name=auto_pin_policy,json=autoPinPolicy,proto3" json:"auto_pin_policy,omitempty"`
HonorVisibility bool `protobuf:"varint,12,opt,name=honor_visibility,json=honorVisibility,proto3" json:"honor_visibility,omitempty"`
EffectiveFromMs int64 `protobuf:"varint,13,opt,name=effective_from_ms,json=effectiveFromMs,proto3" json:"effective_from_ms,omitempty"`
EffectiveToMs int64 `protobuf:"varint,14,opt,name=effective_to_ms,json=effectiveToMs,proto3" json:"effective_to_ms,omitempty"`
SortOrder int32 `protobuf:"varint,15,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
DisplayConfigJson string `protobuf:"bytes,16,opt,name=display_config_json,json=displayConfigJson,proto3" json:"display_config_json,omitempty"`
CreatedByAdminId int64 `protobuf:"varint,17,opt,name=created_by_admin_id,json=createdByAdminId,proto3" json:"created_by_admin_id,omitempty"`
UpdatedByAdminId int64 `protobuf:"varint,18,opt,name=updated_by_admin_id,json=updatedByAdminId,proto3" json:"updated_by_admin_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"`
Conditions []*AchievementCondition `protobuf:"bytes,21,rep,name=conditions,proto3" json:"conditions,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AchievementDefinition) Reset() {
*x = AchievementDefinition{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[112]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AchievementDefinition) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AchievementDefinition) ProtoMessage() {}
func (x *AchievementDefinition) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[112]
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 AchievementDefinition.ProtoReflect.Descriptor instead.
func (*AchievementDefinition) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{112}
}
func (x *AchievementDefinition) GetAchievementId() string {
if x != nil {
return x.AchievementId
}
return ""
}
func (x *AchievementDefinition) GetCollectionId() string {
if x != nil {
return x.CollectionId
}
return ""
}
func (x *AchievementDefinition) GetCollectionType() string {
if x != nil {
return x.CollectionType
}
return ""
}
func (x *AchievementDefinition) GetAchievementType() string {
if x != nil {
return x.AchievementType
}
return ""
}
func (x *AchievementDefinition) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *AchievementDefinition) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *AchievementDefinition) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *AchievementDefinition) GetVersion() int64 {
if x != nil {
return x.Version
}
return 0
}
func (x *AchievementDefinition) GetPrimaryBadgeResourceId() int64 {
if x != nil {
return x.PrimaryBadgeResourceId
}
return 0
}
func (x *AchievementDefinition) GetRewardResourceGroupId() int64 {
if x != nil {
return x.RewardResourceGroupId
}
return 0
}
func (x *AchievementDefinition) GetAutoPinPolicy() string {
if x != nil {
return x.AutoPinPolicy
}
return ""
}
func (x *AchievementDefinition) GetHonorVisibility() bool {
if x != nil {
return x.HonorVisibility
}
return false
}
func (x *AchievementDefinition) GetEffectiveFromMs() int64 {
if x != nil {
return x.EffectiveFromMs
}
return 0
}
func (x *AchievementDefinition) GetEffectiveToMs() int64 {
if x != nil {
return x.EffectiveToMs
}
return 0
}
func (x *AchievementDefinition) GetSortOrder() int32 {
if x != nil {
return x.SortOrder
}
return 0
}
func (x *AchievementDefinition) GetDisplayConfigJson() string {
if x != nil {
return x.DisplayConfigJson
}
return ""
}
func (x *AchievementDefinition) GetCreatedByAdminId() int64 {
if x != nil {
return x.CreatedByAdminId
}
return 0
}
func (x *AchievementDefinition) GetUpdatedByAdminId() int64 {
if x != nil {
return x.UpdatedByAdminId
}
return 0
}
func (x *AchievementDefinition) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *AchievementDefinition) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
func (x *AchievementDefinition) GetConditions() []*AchievementCondition {
if x != nil {
return x.Conditions
}
return nil
}
type UserAchievement struct {
state protoimpl.MessageState `protogen:"open.v1"`
Definition *AchievementDefinition `protobuf:"bytes,1,opt,name=definition,proto3" json:"definition,omitempty"`
CycleKey string `protobuf:"bytes,2,opt,name=cycle_key,json=cycleKey,proto3" json:"cycle_key,omitempty"`
ProgressValue int64 `protobuf:"varint,3,opt,name=progress_value,json=progressValue,proto3" json:"progress_value,omitempty"`
TargetValue int64 `protobuf:"varint,4,opt,name=target_value,json=targetValue,proto3" json:"target_value,omitempty"`
UserStatus string `protobuf:"bytes,5,opt,name=user_status,json=userStatus,proto3" json:"user_status,omitempty"`
UnlockedAtMs int64 `protobuf:"varint,6,opt,name=unlocked_at_ms,json=unlockedAtMs,proto3" json:"unlocked_at_ms,omitempty"`
RewardStatus string `protobuf:"bytes,7,opt,name=reward_status,json=rewardStatus,proto3" json:"reward_status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UserAchievement) Reset() {
*x = UserAchievement{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[113]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UserAchievement) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UserAchievement) ProtoMessage() {}
func (x *UserAchievement) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[113]
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 UserAchievement.ProtoReflect.Descriptor instead.
func (*UserAchievement) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{113}
}
func (x *UserAchievement) GetDefinition() *AchievementDefinition {
if x != nil {
return x.Definition
}
return nil
}
func (x *UserAchievement) GetCycleKey() string {
if x != nil {
return x.CycleKey
}
return ""
}
func (x *UserAchievement) GetProgressValue() int64 {
if x != nil {
return x.ProgressValue
}
return 0
}
func (x *UserAchievement) GetTargetValue() int64 {
if x != nil {
return x.TargetValue
}
return 0
}
func (x *UserAchievement) GetUserStatus() string {
if x != nil {
return x.UserStatus
}
return ""
}
func (x *UserAchievement) GetUnlockedAtMs() int64 {
if x != nil {
return x.UnlockedAtMs
}
return 0
}
func (x *UserAchievement) GetRewardStatus() string {
if x != nil {
return x.RewardStatus
}
return ""
}
type ListAchievementsRequest 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"`
CollectionType string `protobuf:"bytes,3,opt,name=collection_type,json=collectionType,proto3" json:"collection_type,omitempty"`
CollectionId string `protobuf:"bytes,4,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,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 *ListAchievementsRequest) Reset() {
*x = ListAchievementsRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[114]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAchievementsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAchievementsRequest) ProtoMessage() {}
func (x *ListAchievementsRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[114]
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 ListAchievementsRequest.ProtoReflect.Descriptor instead.
func (*ListAchievementsRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{114}
}
func (x *ListAchievementsRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ListAchievementsRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *ListAchievementsRequest) GetCollectionType() string {
if x != nil {
return x.CollectionType
}
return ""
}
func (x *ListAchievementsRequest) GetCollectionId() string {
if x != nil {
return x.CollectionId
}
return ""
}
func (x *ListAchievementsRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListAchievementsRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
type ListAchievementsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Achievements []*UserAchievement `protobuf:"bytes,1,rep,name=achievements,proto3" json:"achievements,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
ServerTimeMs int64 `protobuf:"varint,3,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAchievementsResponse) Reset() {
*x = ListAchievementsResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[115]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAchievementsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAchievementsResponse) ProtoMessage() {}
func (x *ListAchievementsResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[115]
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 ListAchievementsResponse.ProtoReflect.Descriptor instead.
func (*ListAchievementsResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{115}
}
func (x *ListAchievementsResponse) GetAchievements() []*UserAchievement {
if x != nil {
return x.Achievements
}
return nil
}
func (x *ListAchievementsResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
func (x *ListAchievementsResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type ConsumeAchievementEventRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
EventType string `protobuf:"bytes,3,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
SourceService string `protobuf:"bytes,4,opt,name=source_service,json=sourceService,proto3" json:"source_service,omitempty"`
UserId int64 `protobuf:"varint,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
MetricType string `protobuf:"bytes,6,opt,name=metric_type,json=metricType,proto3" json:"metric_type,omitempty"`
Value int64 `protobuf:"varint,7,opt,name=value,proto3" json:"value,omitempty"`
OccurredAtMs int64 `protobuf:"varint,8,opt,name=occurred_at_ms,json=occurredAtMs,proto3" json:"occurred_at_ms,omitempty"`
DimensionsJson string `protobuf:"bytes,9,opt,name=dimensions_json,json=dimensionsJson,proto3" json:"dimensions_json,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ConsumeAchievementEventRequest) Reset() {
*x = ConsumeAchievementEventRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[116]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ConsumeAchievementEventRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConsumeAchievementEventRequest) ProtoMessage() {}
func (x *ConsumeAchievementEventRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[116]
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 ConsumeAchievementEventRequest.ProtoReflect.Descriptor instead.
func (*ConsumeAchievementEventRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{116}
}
func (x *ConsumeAchievementEventRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ConsumeAchievementEventRequest) GetEventId() string {
if x != nil {
return x.EventId
}
return ""
}
func (x *ConsumeAchievementEventRequest) GetEventType() string {
if x != nil {
return x.EventType
}
return ""
}
func (x *ConsumeAchievementEventRequest) GetSourceService() string {
if x != nil {
return x.SourceService
}
return ""
}
func (x *ConsumeAchievementEventRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *ConsumeAchievementEventRequest) GetMetricType() string {
if x != nil {
return x.MetricType
}
return ""
}
func (x *ConsumeAchievementEventRequest) GetValue() int64 {
if x != nil {
return x.Value
}
return 0
}
func (x *ConsumeAchievementEventRequest) GetOccurredAtMs() int64 {
if x != nil {
return x.OccurredAtMs
}
return 0
}
func (x *ConsumeAchievementEventRequest) GetDimensionsJson() string {
if x != nil {
return x.DimensionsJson
}
return ""
}
type ConsumeAchievementEventResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
MatchedAchievementCount int32 `protobuf:"varint,3,opt,name=matched_achievement_count,json=matchedAchievementCount,proto3" json:"matched_achievement_count,omitempty"`
UnlockedAchievementCount int32 `protobuf:"varint,4,opt,name=unlocked_achievement_count,json=unlockedAchievementCount,proto3" json:"unlocked_achievement_count,omitempty"`
RewardJobCount int64 `protobuf:"varint,5,opt,name=reward_job_count,json=rewardJobCount,proto3" json:"reward_job_count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ConsumeAchievementEventResponse) Reset() {
*x = ConsumeAchievementEventResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[117]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ConsumeAchievementEventResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConsumeAchievementEventResponse) ProtoMessage() {}
func (x *ConsumeAchievementEventResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[117]
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 ConsumeAchievementEventResponse.ProtoReflect.Descriptor instead.
func (*ConsumeAchievementEventResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{117}
}
func (x *ConsumeAchievementEventResponse) GetEventId() string {
if x != nil {
return x.EventId
}
return ""
}
func (x *ConsumeAchievementEventResponse) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *ConsumeAchievementEventResponse) GetMatchedAchievementCount() int32 {
if x != nil {
return x.MatchedAchievementCount
}
return 0
}
func (x *ConsumeAchievementEventResponse) GetUnlockedAchievementCount() int32 {
if x != nil {
return x.UnlockedAchievementCount
}
return 0
}
func (x *ConsumeAchievementEventResponse) GetRewardJobCount() int64 {
if x != nil {
return x.RewardJobCount
}
return 0
}
type BadgeDisplayItem struct {
state protoimpl.MessageState `protogen:"open.v1"`
Slot string `protobuf:"bytes,1,opt,name=slot,proto3" json:"slot,omitempty"`
Position int32 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"`
BadgeForm string `protobuf:"bytes,3,opt,name=badge_form,json=badgeForm,proto3" json:"badge_form,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"`
SourceType string `protobuf:"bytes,6,opt,name=source_type,json=sourceType,proto3" json:"source_type,omitempty"`
SourceId string `protobuf:"bytes,7,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
PinMode string `protobuf:"bytes,8,opt,name=pin_mode,json=pinMode,proto3" json:"pin_mode,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 *BadgeDisplayItem) Reset() {
*x = BadgeDisplayItem{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[118]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *BadgeDisplayItem) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BadgeDisplayItem) ProtoMessage() {}
func (x *BadgeDisplayItem) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[118]
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 BadgeDisplayItem.ProtoReflect.Descriptor instead.
func (*BadgeDisplayItem) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{118}
}
func (x *BadgeDisplayItem) GetSlot() string {
if x != nil {
return x.Slot
}
return ""
}
func (x *BadgeDisplayItem) GetPosition() int32 {
if x != nil {
return x.Position
}
return 0
}
func (x *BadgeDisplayItem) GetBadgeForm() string {
if x != nil {
return x.BadgeForm
}
return ""
}
func (x *BadgeDisplayItem) GetResourceId() int64 {
if x != nil {
return x.ResourceId
}
return 0
}
func (x *BadgeDisplayItem) GetEntitlementId() string {
if x != nil {
return x.EntitlementId
}
return ""
}
func (x *BadgeDisplayItem) GetSourceType() string {
if x != nil {
return x.SourceType
}
return ""
}
func (x *BadgeDisplayItem) GetSourceId() string {
if x != nil {
return x.SourceId
}
return ""
}
func (x *BadgeDisplayItem) GetPinMode() string {
if x != nil {
return x.PinMode
}
return ""
}
func (x *BadgeDisplayItem) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
type ListMyBadgesRequest 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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListMyBadgesRequest) Reset() {
*x = ListMyBadgesRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[119]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListMyBadgesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListMyBadgesRequest) ProtoMessage() {}
func (x *ListMyBadgesRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[119]
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 ListMyBadgesRequest.ProtoReflect.Descriptor instead.
func (*ListMyBadgesRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{119}
}
func (x *ListMyBadgesRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ListMyBadgesRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
type ListMyBadgesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
StripBadges []*BadgeDisplayItem `protobuf:"bytes,1,rep,name=strip_badges,json=stripBadges,proto3" json:"strip_badges,omitempty"`
ProfileTileBadges []*BadgeDisplayItem `protobuf:"bytes,2,rep,name=profile_tile_badges,json=profileTileBadges,proto3" json:"profile_tile_badges,omitempty"`
HonorBadges []*BadgeDisplayItem `protobuf:"bytes,3,rep,name=honor_badges,json=honorBadges,proto3" json:"honor_badges,omitempty"`
ServerTimeMs int64 `protobuf:"varint,4,opt,name=server_time_ms,json=serverTimeMs,proto3" json:"server_time_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListMyBadgesResponse) Reset() {
*x = ListMyBadgesResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[120]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListMyBadgesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListMyBadgesResponse) ProtoMessage() {}
func (x *ListMyBadgesResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[120]
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 ListMyBadgesResponse.ProtoReflect.Descriptor instead.
func (*ListMyBadgesResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{120}
}
func (x *ListMyBadgesResponse) GetStripBadges() []*BadgeDisplayItem {
if x != nil {
return x.StripBadges
}
return nil
}
func (x *ListMyBadgesResponse) GetProfileTileBadges() []*BadgeDisplayItem {
if x != nil {
return x.ProfileTileBadges
}
return nil
}
func (x *ListMyBadgesResponse) GetHonorBadges() []*BadgeDisplayItem {
if x != nil {
return x.HonorBadges
}
return nil
}
func (x *ListMyBadgesResponse) GetServerTimeMs() int64 {
if x != nil {
return x.ServerTimeMs
}
return 0
}
type SetBadgeDisplayRequest 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"`
Slot string `protobuf:"bytes,3,opt,name=slot,proto3" json:"slot,omitempty"`
Items []*BadgeDisplayItem `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"`
CommandId string `protobuf:"bytes,5,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetBadgeDisplayRequest) Reset() {
*x = SetBadgeDisplayRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[121]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetBadgeDisplayRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetBadgeDisplayRequest) ProtoMessage() {}
func (x *SetBadgeDisplayRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[121]
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 SetBadgeDisplayRequest.ProtoReflect.Descriptor instead.
func (*SetBadgeDisplayRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{121}
}
func (x *SetBadgeDisplayRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *SetBadgeDisplayRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *SetBadgeDisplayRequest) GetSlot() string {
if x != nil {
return x.Slot
}
return ""
}
func (x *SetBadgeDisplayRequest) GetItems() []*BadgeDisplayItem {
if x != nil {
return x.Items
}
return nil
}
func (x *SetBadgeDisplayRequest) GetCommandId() string {
if x != nil {
return x.CommandId
}
return ""
}
type SetBadgeDisplayResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Profile *ListMyBadgesResponse `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetBadgeDisplayResponse) Reset() {
*x = SetBadgeDisplayResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[122]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetBadgeDisplayResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetBadgeDisplayResponse) ProtoMessage() {}
func (x *SetBadgeDisplayResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[122]
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 SetBadgeDisplayResponse.ProtoReflect.Descriptor instead.
func (*SetBadgeDisplayResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{122}
}
func (x *SetBadgeDisplayResponse) GetProfile() *ListMyBadgesResponse {
if x != nil {
return x.Profile
}
return nil
}
type UpsertAchievementDefinitionRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
AchievementId string `protobuf:"bytes,2,opt,name=achievement_id,json=achievementId,proto3" json:"achievement_id,omitempty"`
CollectionId string `protobuf:"bytes,3,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
CollectionType string `protobuf:"bytes,4,opt,name=collection_type,json=collectionType,proto3" json:"collection_type,omitempty"`
AchievementType string `protobuf:"bytes,5,opt,name=achievement_type,json=achievementType,proto3" json:"achievement_type,omitempty"`
Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"`
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
Status string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
PrimaryBadgeResourceId int64 `protobuf:"varint,9,opt,name=primary_badge_resource_id,json=primaryBadgeResourceId,proto3" json:"primary_badge_resource_id,omitempty"`
RewardResourceGroupId int64 `protobuf:"varint,10,opt,name=reward_resource_group_id,json=rewardResourceGroupId,proto3" json:"reward_resource_group_id,omitempty"`
AutoPinPolicy string `protobuf:"bytes,11,opt,name=auto_pin_policy,json=autoPinPolicy,proto3" json:"auto_pin_policy,omitempty"`
HonorVisibility bool `protobuf:"varint,12,opt,name=honor_visibility,json=honorVisibility,proto3" json:"honor_visibility,omitempty"`
EffectiveFromMs int64 `protobuf:"varint,13,opt,name=effective_from_ms,json=effectiveFromMs,proto3" json:"effective_from_ms,omitempty"`
EffectiveToMs int64 `protobuf:"varint,14,opt,name=effective_to_ms,json=effectiveToMs,proto3" json:"effective_to_ms,omitempty"`
SortOrder int32 `protobuf:"varint,15,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
DisplayConfigJson string `protobuf:"bytes,16,opt,name=display_config_json,json=displayConfigJson,proto3" json:"display_config_json,omitempty"`
OperatorAdminId int64 `protobuf:"varint,17,opt,name=operator_admin_id,json=operatorAdminId,proto3" json:"operator_admin_id,omitempty"`
Conditions []*AchievementCondition `protobuf:"bytes,18,rep,name=conditions,proto3" json:"conditions,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpsertAchievementDefinitionRequest) Reset() {
*x = UpsertAchievementDefinitionRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[123]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpsertAchievementDefinitionRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpsertAchievementDefinitionRequest) ProtoMessage() {}
func (x *UpsertAchievementDefinitionRequest) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[123]
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 UpsertAchievementDefinitionRequest.ProtoReflect.Descriptor instead.
func (*UpsertAchievementDefinitionRequest) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{123}
}
func (x *UpsertAchievementDefinitionRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *UpsertAchievementDefinitionRequest) GetAchievementId() string {
if x != nil {
return x.AchievementId
}
return ""
}
func (x *UpsertAchievementDefinitionRequest) GetCollectionId() string {
if x != nil {
return x.CollectionId
}
return ""
}
func (x *UpsertAchievementDefinitionRequest) GetCollectionType() string {
if x != nil {
return x.CollectionType
}
return ""
}
func (x *UpsertAchievementDefinitionRequest) GetAchievementType() string {
if x != nil {
return x.AchievementType
}
return ""
}
func (x *UpsertAchievementDefinitionRequest) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *UpsertAchievementDefinitionRequest) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *UpsertAchievementDefinitionRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *UpsertAchievementDefinitionRequest) GetPrimaryBadgeResourceId() int64 {
if x != nil {
return x.PrimaryBadgeResourceId
}
return 0
}
func (x *UpsertAchievementDefinitionRequest) GetRewardResourceGroupId() int64 {
if x != nil {
return x.RewardResourceGroupId
}
return 0
}
func (x *UpsertAchievementDefinitionRequest) GetAutoPinPolicy() string {
if x != nil {
return x.AutoPinPolicy
}
return ""
}
func (x *UpsertAchievementDefinitionRequest) GetHonorVisibility() bool {
if x != nil {
return x.HonorVisibility
}
return false
}
func (x *UpsertAchievementDefinitionRequest) GetEffectiveFromMs() int64 {
if x != nil {
return x.EffectiveFromMs
}
return 0
}
func (x *UpsertAchievementDefinitionRequest) GetEffectiveToMs() int64 {
if x != nil {
return x.EffectiveToMs
}
return 0
}
func (x *UpsertAchievementDefinitionRequest) GetSortOrder() int32 {
if x != nil {
return x.SortOrder
}
return 0
}
func (x *UpsertAchievementDefinitionRequest) GetDisplayConfigJson() string {
if x != nil {
return x.DisplayConfigJson
}
return ""
}
func (x *UpsertAchievementDefinitionRequest) GetOperatorAdminId() int64 {
if x != nil {
return x.OperatorAdminId
}
return 0
}
func (x *UpsertAchievementDefinitionRequest) GetConditions() []*AchievementCondition {
if x != nil {
return x.Conditions
}
return nil
}
type UpsertAchievementDefinitionResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Achievement *AchievementDefinition `protobuf:"bytes,1,opt,name=achievement,proto3" json:"achievement,omitempty"`
Created bool `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpsertAchievementDefinitionResponse) Reset() {
*x = UpsertAchievementDefinitionResponse{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[124]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpsertAchievementDefinitionResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpsertAchievementDefinitionResponse) ProtoMessage() {}
func (x *UpsertAchievementDefinitionResponse) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[124]
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 UpsertAchievementDefinitionResponse.ProtoReflect.Descriptor instead.
func (*UpsertAchievementDefinitionResponse) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{124}
}
func (x *UpsertAchievementDefinitionResponse) GetAchievement() *AchievementDefinition {
if x != nil {
return x.Achievement
}
return nil
}
func (x *UpsertAchievementDefinitionResponse) GetCreated() bool {
if x != nil {
return x.Created
}
return false
}
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"`
// visible_region_id 来自 room-service 的房间可见区域,用于中奖后的区域 IM 飘屏。
VisibleRegionId int64 `protobuf:"varint,13,opt,name=visible_region_id,json=visibleRegionId,proto3" json:"visible_region_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LuckyGiftMeta) Reset() {
*x = LuckyGiftMeta{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[125]
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_activity_v1_activity_proto_msgTypes[125]
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_activity_v1_activity_proto_rawDescGZIP(), []int{125}
}
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
}
type LuckyGiftTier struct {
state protoimpl.MessageState `protogen:"open.v1"`
Pool string `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool,omitempty"`
TierId string `protobuf:"bytes,2,opt,name=tier_id,json=tierId,proto3" json:"tier_id,omitempty"`
RewardCoins int64 `protobuf:"varint,3,opt,name=reward_coins,json=rewardCoins,proto3" json:"reward_coins,omitempty"`
Weight int64 `protobuf:"varint,4,opt,name=weight,proto3" json:"weight,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"`
MultiplierPpm int64 `protobuf:"varint,7,opt,name=multiplier_ppm,json=multiplierPpm,proto3" json:"multiplier_ppm,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LuckyGiftTier) Reset() {
*x = LuckyGiftTier{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[126]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *LuckyGiftTier) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LuckyGiftTier) ProtoMessage() {}
func (x *LuckyGiftTier) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[126]
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 LuckyGiftTier.ProtoReflect.Descriptor instead.
func (*LuckyGiftTier) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{126}
}
func (x *LuckyGiftTier) GetPool() string {
if x != nil {
return x.Pool
}
return ""
}
func (x *LuckyGiftTier) GetTierId() string {
if x != nil {
return x.TierId
}
return ""
}
func (x *LuckyGiftTier) GetRewardCoins() int64 {
if x != nil {
return x.RewardCoins
}
return 0
}
func (x *LuckyGiftTier) GetWeight() int64 {
if x != nil {
return x.Weight
}
return 0
}
func (x *LuckyGiftTier) GetHighWaterOnly() bool {
if x != nil {
return x.HighWaterOnly
}
return false
}
func (x *LuckyGiftTier) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *LuckyGiftTier) GetMultiplierPpm() int64 {
if x != nil {
return x.MultiplierPpm
}
return 0
}
type LuckyGiftConfig 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"`
Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
RuleVersion int64 `protobuf:"varint,4,opt,name=rule_version,json=ruleVersion,proto3" json:"rule_version,omitempty"`
GiftPrice int64 `protobuf:"varint,5,opt,name=gift_price,json=giftPrice,proto3" json:"gift_price,omitempty"`
TargetRtpPpm int64 `protobuf:"varint,6,opt,name=target_rtp_ppm,json=targetRtpPpm,proto3" json:"target_rtp_ppm,omitempty"`
PoolRatePpm int64 `protobuf:"varint,7,opt,name=pool_rate_ppm,json=poolRatePpm,proto3" json:"pool_rate_ppm,omitempty"`
GlobalWindowDraws int64 `protobuf:"varint,8,opt,name=global_window_draws,json=globalWindowDraws,proto3" json:"global_window_draws,omitempty"`
GiftWindowDraws int64 `protobuf:"varint,9,opt,name=gift_window_draws,json=giftWindowDraws,proto3" json:"gift_window_draws,omitempty"`
NoviceDrawLimit int64 `protobuf:"varint,10,opt,name=novice_draw_limit,json=noviceDrawLimit,proto3" json:"novice_draw_limit,omitempty"`
IntermediateDrawLimit int64 `protobuf:"varint,11,opt,name=intermediate_draw_limit,json=intermediateDrawLimit,proto3" json:"intermediate_draw_limit,omitempty"`
HighMultiplier int64 `protobuf:"varint,12,opt,name=high_multiplier,json=highMultiplier,proto3" json:"high_multiplier,omitempty"`
HighWaterPoolMultiple int64 `protobuf:"varint,13,opt,name=high_water_pool_multiple,json=highWaterPoolMultiple,proto3" json:"high_water_pool_multiple,omitempty"`
PlatformPoolWeightPpm int64 `protobuf:"varint,14,opt,name=platform_pool_weight_ppm,json=platformPoolWeightPpm,proto3" json:"platform_pool_weight_ppm,omitempty"`
RoomPoolWeightPpm int64 `protobuf:"varint,15,opt,name=room_pool_weight_ppm,json=roomPoolWeightPpm,proto3" json:"room_pool_weight_ppm,omitempty"`
GiftPoolWeightPpm int64 `protobuf:"varint,16,opt,name=gift_pool_weight_ppm,json=giftPoolWeightPpm,proto3" json:"gift_pool_weight_ppm,omitempty"`
InitialPlatformPool int64 `protobuf:"varint,17,opt,name=initial_platform_pool,json=initialPlatformPool,proto3" json:"initial_platform_pool,omitempty"`
InitialGiftPool int64 `protobuf:"varint,18,opt,name=initial_gift_pool,json=initialGiftPool,proto3" json:"initial_gift_pool,omitempty"`
InitialRoomPool int64 `protobuf:"varint,19,opt,name=initial_room_pool,json=initialRoomPool,proto3" json:"initial_room_pool,omitempty"`
PlatformReserve int64 `protobuf:"varint,20,opt,name=platform_reserve,json=platformReserve,proto3" json:"platform_reserve,omitempty"`
GiftReserve int64 `protobuf:"varint,21,opt,name=gift_reserve,json=giftReserve,proto3" json:"gift_reserve,omitempty"`
RoomReserve int64 `protobuf:"varint,22,opt,name=room_reserve,json=roomReserve,proto3" json:"room_reserve,omitempty"`
MaxSinglePayout int64 `protobuf:"varint,23,opt,name=max_single_payout,json=maxSinglePayout,proto3" json:"max_single_payout,omitempty"`
UserHourlyPayoutCap int64 `protobuf:"varint,24,opt,name=user_hourly_payout_cap,json=userHourlyPayoutCap,proto3" json:"user_hourly_payout_cap,omitempty"`
UserDailyPayoutCap int64 `protobuf:"varint,25,opt,name=user_daily_payout_cap,json=userDailyPayoutCap,proto3" json:"user_daily_payout_cap,omitempty"`
DeviceDailyPayoutCap int64 `protobuf:"varint,26,opt,name=device_daily_payout_cap,json=deviceDailyPayoutCap,proto3" json:"device_daily_payout_cap,omitempty"`
RoomHourlyPayoutCap int64 `protobuf:"varint,27,opt,name=room_hourly_payout_cap,json=roomHourlyPayoutCap,proto3" json:"room_hourly_payout_cap,omitempty"`
AnchorDailyPayoutCap int64 `protobuf:"varint,28,opt,name=anchor_daily_payout_cap,json=anchorDailyPayoutCap,proto3" json:"anchor_daily_payout_cap,omitempty"`
RoomAtmosphereRatePpm int64 `protobuf:"varint,29,opt,name=room_atmosphere_rate_ppm,json=roomAtmosphereRatePpm,proto3" json:"room_atmosphere_rate_ppm,omitempty"`
RoomAtmosphereInitial int64 `protobuf:"varint,30,opt,name=room_atmosphere_initial,json=roomAtmosphereInitial,proto3" json:"room_atmosphere_initial,omitempty"`
RoomAtmosphereReserve int64 `protobuf:"varint,31,opt,name=room_atmosphere_reserve,json=roomAtmosphereReserve,proto3" json:"room_atmosphere_reserve,omitempty"`
ActivityBudget int64 `protobuf:"varint,32,opt,name=activity_budget,json=activityBudget,proto3" json:"activity_budget,omitempty"`
ActivityDailyLimit int64 `protobuf:"varint,33,opt,name=activity_daily_limit,json=activityDailyLimit,proto3" json:"activity_daily_limit,omitempty"`
LargeTierEnabled bool `protobuf:"varint,34,opt,name=large_tier_enabled,json=largeTierEnabled,proto3" json:"large_tier_enabled,omitempty"`
Tiers []*LuckyGiftTier `protobuf:"bytes,35,rep,name=tiers,proto3" json:"tiers,omitempty"`
UpdatedByAdminId int64 `protobuf:"varint,36,opt,name=updated_by_admin_id,json=updatedByAdminId,proto3" json:"updated_by_admin_id,omitempty"`
CreatedAtMs int64 `protobuf:"varint,37,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
UpdatedAtMs int64 `protobuf:"varint,38,opt,name=updated_at_ms,json=updatedAtMs,proto3" json:"updated_at_ms,omitempty"`
PoolId string `protobuf:"bytes,39,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
MultiplierPpms []int64 `protobuf:"varint,40,rep,packed,name=multiplier_ppms,json=multiplierPpms,proto3" json:"multiplier_ppms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LuckyGiftConfig) Reset() {
*x = LuckyGiftConfig{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[127]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *LuckyGiftConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LuckyGiftConfig) ProtoMessage() {}
func (x *LuckyGiftConfig) ProtoReflect() protoreflect.Message {
mi := &file_proto_activity_v1_activity_proto_msgTypes[127]
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 LuckyGiftConfig.ProtoReflect.Descriptor instead.
func (*LuckyGiftConfig) Descriptor() ([]byte, []int) {
return file_proto_activity_v1_activity_proto_rawDescGZIP(), []int{127}
}
func (x *LuckyGiftConfig) GetAppCode() string {
if x != nil {
return x.AppCode
}
return ""
}
func (x *LuckyGiftConfig) GetGiftId() string {
if x != nil {
return x.GiftId
}
return ""
}
func (x *LuckyGiftConfig) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *LuckyGiftConfig) GetRuleVersion() int64 {
if x != nil {
return x.RuleVersion
}
return 0
}
func (x *LuckyGiftConfig) GetGiftPrice() int64 {
if x != nil {
return x.GiftPrice
}
return 0
}
func (x *LuckyGiftConfig) GetTargetRtpPpm() int64 {
if x != nil {
return x.TargetRtpPpm
}
return 0
}
func (x *LuckyGiftConfig) GetPoolRatePpm() int64 {
if x != nil {
return x.PoolRatePpm
}
return 0
}
func (x *LuckyGiftConfig) GetGlobalWindowDraws() int64 {
if x != nil {
return x.GlobalWindowDraws
}
return 0
}
func (x *LuckyGiftConfig) GetGiftWindowDraws() int64 {
if x != nil {
return x.GiftWindowDraws
}
return 0
}
func (x *LuckyGiftConfig) GetNoviceDrawLimit() int64 {
if x != nil {
return x.NoviceDrawLimit
}
return 0
}
func (x *LuckyGiftConfig) GetIntermediateDrawLimit() int64 {
if x != nil {
return x.IntermediateDrawLimit
}
return 0
}
func (x *LuckyGiftConfig) GetHighMultiplier() int64 {
if x != nil {
return x.HighMultiplier
}
return 0
}
func (x *LuckyGiftConfig) GetHighWaterPoolMultiple() int64 {
if x != nil {
return x.HighWaterPoolMultiple
}
return 0
}
func (x *LuckyGiftConfig) GetPlatformPoolWeightPpm() int64 {
if x != nil {
return x.PlatformPoolWeightPpm
}
return 0
}
func (x *LuckyGiftConfig) GetRoomPoolWeightPpm() int64 {
if x != nil {
return x.RoomPoolWeightPpm
}
return 0
}
func (x *LuckyGiftConfig) GetGiftPoolWeightPpm() int64 {
if x != nil {
return x.GiftPoolWeightPpm
}
return 0
}
func (x *LuckyGiftConfig) GetInitialPlatformPool() int64 {
if x != nil {
return x.InitialPlatformPool
}
return 0
}
func (x *LuckyGiftConfig) GetInitialGiftPool() int64 {
if x != nil {
return x.InitialGiftPool
}
return 0
}
func (x *LuckyGiftConfig) GetInitialRoomPool() int64 {
if x != nil {
return x.InitialRoomPool
}
return 0
}
func (x *LuckyGiftConfig) GetPlatformReserve() int64 {
if x != nil {
return x.PlatformReserve
}
return 0
}
func (x *LuckyGiftConfig) GetGiftReserve() int64 {
if x != nil {
return x.GiftReserve
}
return 0
}
func (x *LuckyGiftConfig) GetRoomReserve() int64 {
if x != nil {
return x.RoomReserve
}
return 0
}
func (x *LuckyGiftConfig) GetMaxSinglePayout() int64 {
if x != nil {
return x.MaxSinglePayout
}
return 0
}
func (x *LuckyGiftConfig) GetUserHourlyPayoutCap() int64 {
if x != nil {
return x.UserHourlyPayoutCap
}
return 0
}
func (x *LuckyGiftConfig) GetUserDailyPayoutCap() int64 {
if x != nil {
return x.UserDailyPayoutCap
}
return 0
}
func (x *LuckyGiftConfig) GetDeviceDailyPayoutCap() int64 {
if x != nil {
return x.DeviceDailyPayoutCap
}
return 0
}
func (x *LuckyGiftConfig) GetRoomHourlyPayoutCap() int64 {
if x != nil {
return x.RoomHourlyPayoutCap
}
return 0
}
func (x *LuckyGiftConfig) GetAnchorDailyPayoutCap() int64 {
if x != nil {
return x.AnchorDailyPayoutCap
}
return 0
}
func (x *LuckyGiftConfig) GetRoomAtmosphereRatePpm() int64 {
if x != nil {
return x.RoomAtmosphereRatePpm
}
return 0
}
func (x *LuckyGiftConfig) GetRoomAtmosphereInitial() int64 {
if x != nil {
return x.RoomAtmosphereInitial
}
return 0
}
func (x *LuckyGiftConfig) GetRoomAtmosphereReserve() int64 {
if x != nil {
return x.RoomAtmosphereReserve
}
return 0
}
func (x *LuckyGiftConfig) GetActivityBudget() int64 {
if x != nil {
return x.ActivityBudget
}
return 0
}
func (x *LuckyGiftConfig) GetActivityDailyLimit() int64 {
if x != nil {
return x.ActivityDailyLimit
}
return 0
}
func (x *LuckyGiftConfig) GetLargeTierEnabled() bool {
if x != nil {
return x.LargeTierEnabled
}
return false
}
func (x *LuckyGiftConfig) GetTiers() []*LuckyGiftTier {
if x != nil {
return x.Tiers
}
return nil
}
func (x *LuckyGiftConfig) GetUpdatedByAdminId() int64 {
if x != nil {
return x.UpdatedByAdminId
}
return 0
}
func (x *LuckyGiftConfig) GetCreatedAtMs() int64 {
if x != nil {
return x.CreatedAtMs
}
return 0
}
func (x *LuckyGiftConfig) GetUpdatedAtMs() int64 {
if x != nil {
return x.UpdatedAtMs
}
return 0
}
func (x *LuckyGiftConfig) GetPoolId() string {
if x != nil {
return x.PoolId
}
return ""
}
func (x *LuckyGiftConfig) GetMultiplierPpms() []int64 {
if x != nil {
return x.MultiplierPpms
}
return nil
}
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"`
RewardSource string `protobuf:"bytes,5,opt,name=reward_source,json=rewardSource,proto3" json:"reward_source,omitempty"`
HighWaterOnly bool `protobuf:"varint,6,opt,name=high_water_only,json=highWaterOnly,proto3" json:"high_water_only,omitempty"`
BroadcastLevel string `protobuf:"bytes,7,opt,name=broadcast_level,json=broadcastLevel,proto3" json:"broadcast_level,omitempty"`
Enabled bool `protobuf:"varint,8,opt,name=enabled,proto3" json:"enabled,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LuckyGiftRuleTier) Reset() {
*x = LuckyGiftRuleTier{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[128]
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_activity_v1_activity_proto_msgTypes[128]
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_activity_v1_activity_proto_rawDescGZIP(), []int{128}
}
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) GetRewardSource() string {
if x != nil {
return x.RewardSource
}
return ""
}
func (x *LuckyGiftRuleTier) GetHighWaterOnly() bool {
if x != nil {
return x.HighWaterOnly
}
return false
}
func (x *LuckyGiftRuleTier) GetBroadcastLevel() string {
if x != nil {
return x.BroadcastLevel
}
return ""
}
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_activity_v1_activity_proto_msgTypes[129]
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_activity_v1_activity_proto_msgTypes[129]
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_activity_v1_activity_proto_rawDescGZIP(), []int{129}
}
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"`
MaxSinglePayout int64 `protobuf:"varint,15,opt,name=max_single_payout,json=maxSinglePayout,proto3" json:"max_single_payout,omitempty"`
UserHourlyPayoutCap int64 `protobuf:"varint,16,opt,name=user_hourly_payout_cap,json=userHourlyPayoutCap,proto3" json:"user_hourly_payout_cap,omitempty"`
UserDailyPayoutCap int64 `protobuf:"varint,17,opt,name=user_daily_payout_cap,json=userDailyPayoutCap,proto3" json:"user_daily_payout_cap,omitempty"`
DeviceDailyPayoutCap int64 `protobuf:"varint,18,opt,name=device_daily_payout_cap,json=deviceDailyPayoutCap,proto3" json:"device_daily_payout_cap,omitempty"`
RoomHourlyPayoutCap int64 `protobuf:"varint,19,opt,name=room_hourly_payout_cap,json=roomHourlyPayoutCap,proto3" json:"room_hourly_payout_cap,omitempty"`
AnchorDailyPayoutCap int64 `protobuf:"varint,20,opt,name=anchor_daily_payout_cap,json=anchorDailyPayoutCap,proto3" json:"anchor_daily_payout_cap,omitempty"`
Stages []*LuckyGiftRuleStage `protobuf:"bytes,21,rep,name=stages,proto3" json:"stages,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LuckyGiftRuleConfig) Reset() {
*x = LuckyGiftRuleConfig{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[130]
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_activity_v1_activity_proto_msgTypes[130]
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_activity_v1_activity_proto_rawDescGZIP(), []int{130}
}
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) GetMaxSinglePayout() int64 {
if x != nil {
return x.MaxSinglePayout
}
return 0
}
func (x *LuckyGiftRuleConfig) GetUserHourlyPayoutCap() int64 {
if x != nil {
return x.UserHourlyPayoutCap
}
return 0
}
func (x *LuckyGiftRuleConfig) GetUserDailyPayoutCap() int64 {
if x != nil {
return x.UserDailyPayoutCap
}
return 0
}
func (x *LuckyGiftRuleConfig) GetDeviceDailyPayoutCap() int64 {
if x != nil {
return x.DeviceDailyPayoutCap
}
return 0
}
func (x *LuckyGiftRuleConfig) GetRoomHourlyPayoutCap() int64 {
if x != nil {
return x.RoomHourlyPayoutCap
}
return 0
}
func (x *LuckyGiftRuleConfig) GetAnchorDailyPayoutCap() int64 {
if x != nil {
return x.AnchorDailyPayoutCap
}
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_activity_v1_activity_proto_msgTypes[131]
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_activity_v1_activity_proto_msgTypes[131]
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_activity_v1_activity_proto_rawDescGZIP(), []int{131}
}
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_activity_v1_activity_proto_msgTypes[132]
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_activity_v1_activity_proto_msgTypes[132]
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_activity_v1_activity_proto_rawDescGZIP(), []int{132}
}
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"`
RoomAtmosphereRewardCoins int64 `protobuf:"varint,8,opt,name=room_atmosphere_reward_coins,json=roomAtmosphereRewardCoins,proto3" json:"room_atmosphere_reward_coins,omitempty"`
ActivitySubsidyCoins int64 `protobuf:"varint,9,opt,name=activity_subsidy_coins,json=activitySubsidyCoins,proto3" json:"activity_subsidy_coins,omitempty"`
EffectiveRewardCoins int64 `protobuf:"varint,10,opt,name=effective_reward_coins,json=effectiveRewardCoins,proto3" json:"effective_reward_coins,omitempty"`
BudgetSourcesJson string `protobuf:"bytes,11,opt,name=budget_sources_json,json=budgetSourcesJson,proto3" json:"budget_sources_json,omitempty"`
RewardStatus string `protobuf:"bytes,12,opt,name=reward_status,json=rewardStatus,proto3" json:"reward_status,omitempty"`
RtpWindowIndex int64 `protobuf:"varint,13,opt,name=rtp_window_index,json=rtpWindowIndex,proto3" json:"rtp_window_index,omitempty"`
GiftRtpWindowIndex int64 `protobuf:"varint,14,opt,name=gift_rtp_window_index,json=giftRtpWindowIndex,proto3" json:"gift_rtp_window_index,omitempty"`
GlobalBaseRtpPpm int64 `protobuf:"varint,15,opt,name=global_base_rtp_ppm,json=globalBaseRtpPpm,proto3" json:"global_base_rtp_ppm,omitempty"`
GiftBaseRtpPpm int64 `protobuf:"varint,16,opt,name=gift_base_rtp_ppm,json=giftBaseRtpPpm,proto3" json:"gift_base_rtp_ppm,omitempty"`
StageFeedback bool `protobuf:"varint,17,opt,name=stage_feedback,json=stageFeedback,proto3" json:"stage_feedback,omitempty"`
HighMultiplier bool `protobuf:"varint,18,opt,name=high_multiplier,json=highMultiplier,proto3" json:"high_multiplier,omitempty"`
CreatedAtMs int64 `protobuf:"varint,19,opt,name=created_at_ms,json=createdAtMs,proto3" json:"created_at_ms,omitempty"`
PoolId string `protobuf:"bytes,20,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
MultiplierPpm int64 `protobuf:"varint,21,opt,name=multiplier_ppm,json=multiplierPpm,proto3" json:"multiplier_ppm,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LuckyGiftDrawResult) Reset() {
*x = LuckyGiftDrawResult{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[133]
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_activity_v1_activity_proto_msgTypes[133]
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_activity_v1_activity_proto_rawDescGZIP(), []int{133}
}
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) GetRoomAtmosphereRewardCoins() int64 {
if x != nil {
return x.RoomAtmosphereRewardCoins
}
return 0
}
func (x *LuckyGiftDrawResult) GetActivitySubsidyCoins() int64 {
if x != nil {
return x.ActivitySubsidyCoins
}
return 0
}
func (x *LuckyGiftDrawResult) GetEffectiveRewardCoins() int64 {
if x != nil {
return x.EffectiveRewardCoins
}
return 0
}
func (x *LuckyGiftDrawResult) GetBudgetSourcesJson() string {
if x != nil {
return x.BudgetSourcesJson
}
return ""
}
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
}
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_activity_v1_activity_proto_msgTypes[134]
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_activity_v1_activity_proto_msgTypes[134]
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_activity_v1_activity_proto_rawDescGZIP(), []int{134}
}
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_activity_v1_activity_proto_msgTypes[135]
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_activity_v1_activity_proto_msgTypes[135]
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_activity_v1_activity_proto_rawDescGZIP(), []int{135}
}
func (x *ExecuteLuckyGiftDrawResponse) GetResult() *LuckyGiftDrawResult {
if x != nil {
return x.Result
}
return nil
}
type GetLuckyGiftConfigRequest 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"`
PoolId string `protobuf:"bytes,3,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_activity_v1_activity_proto_msgTypes[136]
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_activity_v1_activity_proto_msgTypes[136]
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_activity_v1_activity_proto_rawDescGZIP(), []int{136}
}
func (x *GetLuckyGiftConfigRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetLuckyGiftConfigRequest) GetGiftId() string {
if x != nil {
return x.GiftId
}
return ""
}
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_activity_v1_activity_proto_msgTypes[137]
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_activity_v1_activity_proto_msgTypes[137]
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_activity_v1_activity_proto_rawDescGZIP(), []int{137}
}
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_activity_v1_activity_proto_msgTypes[138]
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_activity_v1_activity_proto_msgTypes[138]
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_activity_v1_activity_proto_rawDescGZIP(), []int{138}
}
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_activity_v1_activity_proto_msgTypes[139]
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_activity_v1_activity_proto_msgTypes[139]
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_activity_v1_activity_proto_rawDescGZIP(), []int{139}
}
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_activity_v1_activity_proto_msgTypes[140]
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_activity_v1_activity_proto_msgTypes[140]
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_activity_v1_activity_proto_rawDescGZIP(), []int{140}
}
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_activity_v1_activity_proto_msgTypes[141]
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_activity_v1_activity_proto_msgTypes[141]
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_activity_v1_activity_proto_rawDescGZIP(), []int{141}
}
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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListLuckyGiftDrawsRequest) Reset() {
*x = ListLuckyGiftDrawsRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[142]
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_activity_v1_activity_proto_msgTypes[142]
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_activity_v1_activity_proto_rawDescGZIP(), []int{142}
}
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 ""
}
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_activity_v1_activity_proto_msgTypes[143]
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_activity_v1_activity_proto_msgTypes[143]
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_activity_v1_activity_proto_rawDescGZIP(), []int{143}
}
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"`
RoomAtmosphereRewardCoins int64 `protobuf:"varint,8,opt,name=room_atmosphere_reward_coins,json=roomAtmosphereRewardCoins,proto3" json:"room_atmosphere_reward_coins,omitempty"`
ActivitySubsidyCoins int64 `protobuf:"varint,9,opt,name=activity_subsidy_coins,json=activitySubsidyCoins,proto3" json:"activity_subsidy_coins,omitempty"`
ActualRtpPpm int64 `protobuf:"varint,10,opt,name=actual_rtp_ppm,json=actualRtpPpm,proto3" json:"actual_rtp_ppm,omitempty"`
PendingDraws int64 `protobuf:"varint,11,opt,name=pending_draws,json=pendingDraws,proto3" json:"pending_draws,omitempty"`
GrantedDraws int64 `protobuf:"varint,12,opt,name=granted_draws,json=grantedDraws,proto3" json:"granted_draws,omitempty"`
FailedDraws int64 `protobuf:"varint,13,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_activity_v1_activity_proto_msgTypes[144]
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_activity_v1_activity_proto_msgTypes[144]
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_activity_v1_activity_proto_rawDescGZIP(), []int{144}
}
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) GetRoomAtmosphereRewardCoins() int64 {
if x != nil {
return x.RoomAtmosphereRewardCoins
}
return 0
}
func (x *LuckyGiftDrawSummary) GetActivitySubsidyCoins() int64 {
if x != nil {
return x.ActivitySubsidyCoins
}
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 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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetLuckyGiftDrawSummaryRequest) Reset() {
*x = GetLuckyGiftDrawSummaryRequest{}
mi := &file_proto_activity_v1_activity_proto_msgTypes[145]
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_activity_v1_activity_proto_msgTypes[145]
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_activity_v1_activity_proto_rawDescGZIP(), []int{145}
}
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 ""
}
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_activity_v1_activity_proto_msgTypes[146]
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_activity_v1_activity_proto_msgTypes[146]
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_activity_v1_activity_proto_rawDescGZIP(), []int{146}
}
func (x *GetLuckyGiftDrawSummaryResponse) GetSummary() *LuckyGiftDrawSummary {
if x != nil {
return x.Summary
}
return nil
}
var File_proto_activity_v1_activity_proto protoreflect.FileDescriptor
const file_proto_activity_v1_activity_proto_rawDesc = "" +
"\n" +
" proto/activity/v1/activity.proto\x12\x11hyapp.activity.v1\x1a!proto/events/room/v1/events.proto\"\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\"I\n" +
"\x13PingActivityRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\"?\n" +
"\x14PingActivityResponse\x12\x0e\n" +
"\x02ok\x18\x01 \x01(\bR\x02ok\x12\x17\n" +
"\anode_id\x18\x02 \x01(\tR\x06nodeId\"o\n" +
"\x18GetActivityStatusRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x1f\n" +
"\vactivity_id\x18\x02 \x01(\tR\n" +
"activityId\"T\n" +
"\x19GetActivityStatusResponse\x12\x1f\n" +
"\vactivity_id\x18\x01 \x01(\tR\n" +
"activityId\x12\x16\n" +
"\x06status\x18\x02 \x01(\tR\x06status\"~\n" +
"\x11MessageTabSection\x12\x18\n" +
"\asection\x18\x01 \x01(\tR\asection\x12\x14\n" +
"\x05title\x18\x02 \x01(\tR\x05title\x12!\n" +
"\funread_count\x18\x03 \x01(\x03R\vunreadCount\x12\x16\n" +
"\x06source\x18\x04 \x01(\tR\x06source\"e\n" +
"\x16ListMessageTabsRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\"[\n" +
"\x17ListMessageTabsResponse\x12@\n" +
"\bsections\x18\x01 \x03(\v2$.hyapp.activity.v1.MessageTabSectionR\bsections\"\xb9\x02\n" +
"\fInboxMessage\x12\x1d\n" +
"\n" +
"message_id\x18\x01 \x01(\tR\tmessageId\x12\x18\n" +
"\asection\x18\x02 \x01(\tR\asection\x12\x14\n" +
"\x05title\x18\x03 \x01(\tR\x05title\x12\x18\n" +
"\asummary\x18\x04 \x01(\tR\asummary\x12\x12\n" +
"\x04body\x18\x05 \x01(\tR\x04body\x12\x19\n" +
"\bicon_url\x18\x06 \x01(\tR\aiconUrl\x12\x1b\n" +
"\timage_url\x18\a \x01(\tR\bimageUrl\x12\x1f\n" +
"\vaction_type\x18\b \x01(\tR\n" +
"actionType\x12!\n" +
"\faction_param\x18\t \x01(\tR\vactionParam\x12\x12\n" +
"\x04read\x18\n" +
" \x01(\bR\x04read\x12\x1c\n" +
"\n" +
"sent_at_ms\x18\v \x01(\x03R\bsentAtMs\"\xbd\x01\n" +
"\x18ListInboxMessagesRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x18\n" +
"\asection\x18\x03 \x01(\tR\asection\x12\x1b\n" +
"\tpage_size\x18\x04 \x01(\x05R\bpageSize\x12\x1d\n" +
"\n" +
"page_token\x18\x05 \x01(\tR\tpageToken\"\x94\x01\n" +
"\x19ListInboxMessagesResponse\x12\x18\n" +
"\asection\x18\x01 \x01(\tR\asection\x125\n" +
"\x05items\x18\x02 \x03(\v2\x1f.hyapp.activity.v1.InboxMessageR\x05items\x12&\n" +
"\x0fnext_page_token\x18\x03 \x01(\tR\rnextPageToken\"\x89\x01\n" +
"\x1bMarkInboxMessageReadRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1d\n" +
"\n" +
"message_id\x18\x03 \x01(\tR\tmessageId\"o\n" +
"\x1cMarkInboxMessageReadResponse\x12\x1d\n" +
"\n" +
"message_id\x18\x01 \x01(\tR\tmessageId\x12\x12\n" +
"\x04read\x18\x02 \x01(\bR\x04read\x12\x1c\n" +
"\n" +
"read_at_ms\x18\x03 \x01(\x03R\breadAtMs\"\x84\x01\n" +
"\x1bMarkInboxSectionReadRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x18\n" +
"\asection\x18\x03 \x01(\tR\asection\"W\n" +
"\x1cMarkInboxSectionReadResponse\x12\x18\n" +
"\asection\x18\x01 \x01(\tR\asection\x12\x1d\n" +
"\n" +
"read_count\x18\x02 \x01(\x03R\treadCount\"\x87\x01\n" +
"\x19DeleteInboxMessageRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1d\n" +
"\n" +
"message_id\x18\x03 \x01(\tR\tmessageId\"U\n" +
"\x1aDeleteInboxMessageResponse\x12\x1d\n" +
"\n" +
"message_id\x18\x01 \x01(\tR\tmessageId\x12\x18\n" +
"\adeleted\x18\x02 \x01(\bR\adeleted\"\xe7\x05\n" +
"\x19CreateInboxMessageRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12$\n" +
"\x0etarget_user_id\x18\x02 \x01(\x03R\ftargetUserId\x12\x1a\n" +
"\bproducer\x18\x03 \x01(\tR\bproducer\x12*\n" +
"\x11producer_event_id\x18\x04 \x01(\tR\x0fproducerEventId\x12.\n" +
"\x13producer_event_type\x18\x05 \x01(\tR\x11producerEventType\x12!\n" +
"\fmessage_type\x18\x06 \x01(\tR\vmessageType\x12%\n" +
"\x0eaggregate_type\x18\a \x01(\tR\raggregateType\x12!\n" +
"\faggregate_id\x18\b \x01(\tR\vaggregateId\x12\x1f\n" +
"\vtemplate_id\x18\t \x01(\tR\n" +
"templateId\x12)\n" +
"\x10template_version\x18\n" +
" \x01(\tR\x0ftemplateVersion\x12\x14\n" +
"\x05title\x18\v \x01(\tR\x05title\x12\x18\n" +
"\asummary\x18\f \x01(\tR\asummary\x12\x12\n" +
"\x04body\x18\r \x01(\tR\x04body\x12\x19\n" +
"\bicon_url\x18\x0e \x01(\tR\aiconUrl\x12\x1b\n" +
"\timage_url\x18\x0f \x01(\tR\bimageUrl\x12\x1f\n" +
"\vaction_type\x18\x10 \x01(\tR\n" +
"actionType\x12!\n" +
"\faction_param\x18\x11 \x01(\tR\vactionParam\x12\x1a\n" +
"\bpriority\x18\x12 \x01(\x05R\bpriority\x12\x1c\n" +
"\n" +
"sent_at_ms\x18\x13 \x01(\x03R\bsentAtMs\x12 \n" +
"\fexpire_at_ms\x18\x14 \x01(\x03R\n" +
"expireAtMs\x12#\n" +
"\rmetadata_json\x18\x15 \x01(\tR\fmetadataJson\"U\n" +
"\x1aCreateInboxMessageResponse\x12\x1d\n" +
"\n" +
"message_id\x18\x01 \x01(\tR\tmessageId\x12\x18\n" +
"\acreated\x18\x02 \x01(\bR\acreated\"\xd3\x02\n" +
"\x16CreateFanoutJobRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12!\n" +
"\fmessage_type\x18\x03 \x01(\tR\vmessageType\x12!\n" +
"\ftarget_scope\x18\x04 \x01(\tR\vtargetScope\x12,\n" +
"\x12target_filter_json\x18\x05 \x01(\tR\x10targetFilterJson\x124\n" +
"\x16template_snapshot_json\x18\x06 \x01(\tR\x14templateSnapshotJson\x12\x1d\n" +
"\n" +
"batch_size\x18\a \x01(\x05R\tbatchSize\x12\x1d\n" +
"\n" +
"created_by\x18\b \x01(\tR\tcreatedBy\"b\n" +
"\x17CreateFanoutJobResponse\x12\x15\n" +
"\x06job_id\x18\x01 \x01(\tR\x05jobId\x12\x16\n" +
"\x06status\x18\x02 \x01(\tR\x06status\x12\x18\n" +
"\acreated\x18\x03 \x01(\bR\acreated\"\xb9\x01\n" +
"\x10CronBatchRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x15\n" +
"\x06run_id\x18\x02 \x01(\tR\x05runId\x12\x1b\n" +
"\tworker_id\x18\x03 \x01(\tR\bworkerId\x12\x1d\n" +
"\n" +
"batch_size\x18\x04 \x01(\x05R\tbatchSize\x12\x1e\n" +
"\vlock_ttl_ms\x18\x05 \x01(\x03R\tlockTtlMs\"\xc6\x01\n" +
"\x11CronBatchResponse\x12#\n" +
"\rclaimed_count\x18\x01 \x01(\x05R\fclaimedCount\x12'\n" +
"\x0fprocessed_count\x18\x02 \x01(\x05R\x0eprocessedCount\x12#\n" +
"\rsuccess_count\x18\x03 \x01(\x05R\fsuccessCount\x12#\n" +
"\rfailure_count\x18\x04 \x01(\x05R\ffailureCount\x12\x19\n" +
"\bhas_more\x18\x05 \x01(\bR\ahasMore\"\xab\x04\n" +
"\bTaskItem\x12\x17\n" +
"\atask_id\x18\x01 \x01(\tR\x06taskId\x12\x1b\n" +
"\ttask_type\x18\x02 \x01(\tR\btaskType\x12\x1a\n" +
"\bcategory\x18\x03 \x01(\tR\bcategory\x12\x1f\n" +
"\vmetric_type\x18\x04 \x01(\tR\n" +
"metricType\x12\x14\n" +
"\x05title\x18\x05 \x01(\tR\x05title\x12 \n" +
"\vdescription\x18\x06 \x01(\tR\vdescription\x12!\n" +
"\ftarget_value\x18\a \x01(\x03R\vtargetValue\x12\x1f\n" +
"\vtarget_unit\x18\b \x01(\tR\n" +
"targetUnit\x12%\n" +
"\x0eprogress_value\x18\t \x01(\x03R\rprogressValue\x12,\n" +
"\x12reward_coin_amount\x18\n" +
" \x01(\x03R\x10rewardCoinAmount\x12\x16\n" +
"\x06status\x18\v \x01(\tR\x06status\x12\x1c\n" +
"\tclaimable\x18\f \x01(\bR\tclaimable\x12\x19\n" +
"\btask_day\x18\r \x01(\tR\ataskDay\x12$\n" +
"\x0eserver_time_ms\x18\x0e \x01(\x03R\fserverTimeMs\x12+\n" +
"\x12next_refresh_at_ms\x18\x0f \x01(\x03R\x0fnextRefreshAtMs\x12\x1d\n" +
"\n" +
"sort_order\x18\x10 \x01(\x05R\tsortOrder\x12\x18\n" +
"\aversion\x18\x11 \x01(\x03R\aversion\"\xad\x01\n" +
"\vTaskSection\x12\x18\n" +
"\asection\x18\x01 \x01(\tR\asection\x121\n" +
"\x05items\x18\x02 \x03(\v2\x1b.hyapp.activity.v1.TaskItemR\x05items\x12$\n" +
"\x0eserver_time_ms\x18\x03 \x01(\x03R\fserverTimeMs\x12+\n" +
"\x12next_refresh_at_ms\x18\x04 \x01(\x03R\x0fnextRefreshAtMs\"c\n" +
"\x14ListUserTasksRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\"\xa6\x01\n" +
"\x15ListUserTasksResponse\x12:\n" +
"\bsections\x18\x01 \x03(\v2\x1e.hyapp.activity.v1.TaskSectionR\bsections\x12$\n" +
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\x12+\n" +
"\x12next_refresh_at_ms\x18\x03 \x01(\x03R\x0fnextRefreshAtMs\"\xd5\x01\n" +
"\x16ClaimTaskRewardRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x17\n" +
"\atask_id\x18\x03 \x01(\tR\x06taskId\x12\x1b\n" +
"\ttask_type\x18\x04 \x01(\tR\btaskType\x12\x19\n" +
"\btask_day\x18\x05 \x01(\tR\ataskDay\x12\x1d\n" +
"\n" +
"command_id\x18\x06 \x01(\tR\tcommandId\"\xbd\x02\n" +
"\x17ClaimTaskRewardResponse\x12\x19\n" +
"\bclaim_id\x18\x01 \x01(\tR\aclaimId\x12\x17\n" +
"\atask_id\x18\x02 \x01(\tR\x06taskId\x12\x1b\n" +
"\ttask_type\x18\x03 \x01(\tR\btaskType\x12\x19\n" +
"\btask_day\x18\x04 \x01(\tR\ataskDay\x12,\n" +
"\x12reward_coin_amount\x18\x05 \x01(\x03R\x10rewardCoinAmount\x12\x16\n" +
"\x06status\x18\x06 \x01(\tR\x06status\x122\n" +
"\x15wallet_transaction_id\x18\a \x01(\tR\x13walletTransactionId\x12\"\n" +
"\rgranted_at_ms\x18\b \x01(\x03R\vgrantedAtMs\x12\x18\n" +
"\aclaimed\x18\t \x01(\bR\aclaimed\"\xa4\x02\n" +
"\x17ConsumeTaskEventRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x19\n" +
"\bevent_id\x18\x02 \x01(\tR\aeventId\x12\x1d\n" +
"\n" +
"event_type\x18\x03 \x01(\tR\teventType\x12%\n" +
"\x0esource_service\x18\x04 \x01(\tR\rsourceService\x12\x17\n" +
"\auser_id\x18\x05 \x01(\x03R\x06userId\x12\x1f\n" +
"\vmetric_type\x18\x06 \x01(\tR\n" +
"metricType\x12\x14\n" +
"\x05value\x18\a \x01(\x03R\x05value\x12$\n" +
"\x0eoccurred_at_ms\x18\b \x01(\x03R\foccurredAtMs\"{\n" +
"\x18ConsumeTaskEventResponse\x12\x19\n" +
"\bevent_id\x18\x01 \x01(\tR\aeventId\x12\x16\n" +
"\x06status\x18\x02 \x01(\tR\x06status\x12,\n" +
"\x12matched_task_count\x18\x03 \x01(\x05R\x10matchedTaskCount\"`\n" +
"\x12BroadcastJoinGroup\x12\x19\n" +
"\bgroup_id\x18\x01 \x01(\tR\agroupId\x12\x12\n" +
"\x04type\x18\x02 \x01(\tR\x04type\x12\x1b\n" +
"\tregion_id\x18\x03 \x01(\x03R\bregionId\"R\n" +
"\x1cEnsureBroadcastGroupsRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\"D\n" +
"\x1dEnsureBroadcastGroupsResponse\x12#\n" +
"\rensured_count\x18\x01 \x01(\x05R\fensuredCount\"\xd5\x01\n" +
"\x1dPublishRegionBroadcastRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x19\n" +
"\bevent_id\x18\x02 \x01(\tR\aeventId\x12\x1b\n" +
"\tregion_id\x18\x03 \x01(\x03R\bregionId\x12%\n" +
"\x0ebroadcast_type\x18\x04 \x01(\tR\rbroadcastType\x12!\n" +
"\fpayload_json\x18\x05 \x01(\tR\vpayloadJson\"\xb8\x01\n" +
"\x1dPublishGlobalBroadcastRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x19\n" +
"\bevent_id\x18\x02 \x01(\tR\aeventId\x12%\n" +
"\x0ebroadcast_type\x18\x03 \x01(\tR\rbroadcastType\x12!\n" +
"\fpayload_json\x18\x04 \x01(\tR\vpayloadJson\"\x82\x01\n" +
"\x18PublishBroadcastResponse\x12\x19\n" +
"\bevent_id\x18\x01 \x01(\tR\aeventId\x12\x19\n" +
"\bgroup_id\x18\x02 \x01(\tR\agroupId\x12\x16\n" +
"\x06status\x18\x03 \x01(\tR\x06status\x12\x18\n" +
"\acreated\x18\x04 \x01(\bR\acreated\"\xa6\x01\n" +
"\"RemoveRegionBroadcastMemberRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1b\n" +
"\tregion_id\x18\x03 \x01(\x03R\bregionId\x12\x16\n" +
"\x06reason\x18\x04 \x01(\tR\x06reason\"Z\n" +
"#RemoveRegionBroadcastMemberResponse\x12\x19\n" +
"\bgroup_id\x18\x01 \x01(\tR\agroupId\x12\x18\n" +
"\aremoved\x18\x02 \x01(\bR\aremoved\"\xaf\x01\n" +
"#ProcessBroadcastOutboxBatchResponse\x12#\n" +
"\rclaimed_count\x18\x01 \x01(\x05R\fclaimedCount\x12#\n" +
"\rsuccess_count\x18\x02 \x01(\x05R\fsuccessCount\x12#\n" +
"\rfailure_count\x18\x03 \x01(\x05R\ffailureCount\x12\x19\n" +
"\bhas_more\x18\x04 \x01(\bR\ahasMore\"\x8e\x01\n" +
"\x17ConsumeRoomEventRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12?\n" +
"\benvelope\x18\x02 \x01(\v2#.hyapp.events.room.v1.EventEnvelopeR\benvelope\"\xa8\x01\n" +
"\x18ConsumeRoomEventResponse\x12\x19\n" +
"\bevent_id\x18\x01 \x01(\tR\aeventId\x12\x16\n" +
"\x06status\x18\x02 \x01(\tR\x06status\x12,\n" +
"\x12broadcast_event_id\x18\x03 \x01(\tR\x10broadcastEventId\x12+\n" +
"\x11broadcast_created\x18\x04 \x01(\bR\x10broadcastCreated\"\xf8\x04\n" +
"\x0eTaskDefinition\x12\x17\n" +
"\atask_id\x18\x01 \x01(\tR\x06taskId\x12\x1b\n" +
"\ttask_type\x18\x02 \x01(\tR\btaskType\x12\x1a\n" +
"\bcategory\x18\x03 \x01(\tR\bcategory\x12\x1f\n" +
"\vmetric_type\x18\x04 \x01(\tR\n" +
"metricType\x12\x14\n" +
"\x05title\x18\x05 \x01(\tR\x05title\x12 \n" +
"\vdescription\x18\x06 \x01(\tR\vdescription\x12!\n" +
"\ftarget_value\x18\a \x01(\x03R\vtargetValue\x12\x1f\n" +
"\vtarget_unit\x18\b \x01(\tR\n" +
"targetUnit\x12,\n" +
"\x12reward_coin_amount\x18\t \x01(\x03R\x10rewardCoinAmount\x12\x16\n" +
"\x06status\x18\n" +
" \x01(\tR\x06status\x12\x1d\n" +
"\n" +
"sort_order\x18\v \x01(\x05R\tsortOrder\x12\x18\n" +
"\aversion\x18\f \x01(\x03R\aversion\x12*\n" +
"\x11effective_from_ms\x18\r \x01(\x03R\x0feffectiveFromMs\x12&\n" +
"\x0feffective_to_ms\x18\x0e \x01(\x03R\reffectiveToMs\x12-\n" +
"\x13created_by_admin_id\x18\x0f \x01(\x03R\x10createdByAdminId\x12-\n" +
"\x13updated_by_admin_id\x18\x10 \x01(\x03R\x10updatedByAdminId\x12\"\n" +
"\rcreated_at_ms\x18\x11 \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\x12 \x01(\x03R\vupdatedAtMs\"\xec\x01\n" +
"\x1aListTaskDefinitionsRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x1b\n" +
"\ttask_type\x18\x02 \x01(\tR\btaskType\x12\x1a\n" +
"\bcategory\x18\x03 \x01(\tR\bcategory\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\"l\n" +
"\x1bListTaskDefinitionsResponse\x127\n" +
"\x05tasks\x18\x01 \x03(\v2!.hyapp.activity.v1.TaskDefinitionR\x05tasks\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total\"\xa5\x04\n" +
"\x1bUpsertTaskDefinitionRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\atask_id\x18\x02 \x01(\tR\x06taskId\x12\x1b\n" +
"\ttask_type\x18\x03 \x01(\tR\btaskType\x12\x1a\n" +
"\bcategory\x18\x04 \x01(\tR\bcategory\x12\x1f\n" +
"\vmetric_type\x18\x05 \x01(\tR\n" +
"metricType\x12\x14\n" +
"\x05title\x18\x06 \x01(\tR\x05title\x12 \n" +
"\vdescription\x18\a \x01(\tR\vdescription\x12!\n" +
"\ftarget_value\x18\b \x01(\x03R\vtargetValue\x12\x1f\n" +
"\vtarget_unit\x18\t \x01(\tR\n" +
"targetUnit\x12,\n" +
"\x12reward_coin_amount\x18\n" +
" \x01(\x03R\x10rewardCoinAmount\x12\x16\n" +
"\x06status\x18\v \x01(\tR\x06status\x12\x1d\n" +
"\n" +
"sort_order\x18\f \x01(\x05R\tsortOrder\x12*\n" +
"\x11effective_from_ms\x18\r \x01(\x03R\x0feffectiveFromMs\x12&\n" +
"\x0feffective_to_ms\x18\x0e \x01(\x03R\reffectiveToMs\x12*\n" +
"\x11operator_admin_id\x18\x0f \x01(\x03R\x0foperatorAdminId\"o\n" +
"\x1cUpsertTaskDefinitionResponse\x125\n" +
"\x04task\x18\x01 \x01(\v2!.hyapp.activity.v1.TaskDefinitionR\x04task\x12\x18\n" +
"\acreated\x18\x02 \x01(\bR\acreated\"\xb1\x01\n" +
"\x1eSetTaskDefinitionStatusRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\atask_id\x18\x02 \x01(\tR\x06taskId\x12\x16\n" +
"\x06status\x18\x03 \x01(\tR\x06status\x12*\n" +
"\x11operator_admin_id\x18\x04 \x01(\x03R\x0foperatorAdminId\"X\n" +
"\x1fSetTaskDefinitionStatusResponse\x125\n" +
"\x04task\x18\x01 \x01(\v2!.hyapp.activity.v1.TaskDefinitionR\x04task\"\xd5\x02\n" +
"\x18RegistrationRewardConfig\x12\x19\n" +
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x18\n" +
"\aenabled\x18\x02 \x01(\bR\aenabled\x12\x1f\n" +
"\vreward_type\x18\x03 \x01(\tR\n" +
"rewardType\x12\x1f\n" +
"\vcoin_amount\x18\x04 \x01(\x03R\n" +
"coinAmount\x12*\n" +
"\x11resource_group_id\x18\x05 \x01(\x03R\x0fresourceGroupId\x12\x1f\n" +
"\vdaily_limit\x18\x06 \x01(\x03R\n" +
"dailyLimit\x12-\n" +
"\x13updated_by_admin_id\x18\a \x01(\x03R\x10updatedByAdminId\x12\"\n" +
"\rcreated_at_ms\x18\b \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\t \x01(\x03R\vupdatedAtMs\"\xb0\x04\n" +
"\x17RegistrationRewardClaim\x12\x19\n" +
"\bclaim_id\x18\x01 \x01(\tR\aclaimId\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12\x17\n" +
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x1d\n" +
"\n" +
"reward_day\x18\x04 \x01(\tR\trewardDay\x12\x1f\n" +
"\vreward_type\x18\x05 \x01(\tR\n" +
"rewardType\x12\x1f\n" +
"\vcoin_amount\x18\x06 \x01(\x03R\n" +
"coinAmount\x12*\n" +
"\x11resource_group_id\x18\a \x01(\x03R\x0fresourceGroupId\x12\x16\n" +
"\x06status\x18\b \x01(\tR\x06status\x12*\n" +
"\x11wallet_command_id\x18\t \x01(\tR\x0fwalletCommandId\x122\n" +
"\x15wallet_transaction_id\x18\n" +
" \x01(\tR\x13walletTransactionId\x12*\n" +
"\x11resource_grant_id\x18\v \x01(\tR\x0fresourceGrantId\x12%\n" +
"\x0efailure_reason\x18\f \x01(\tR\rfailureReason\x12\"\n" +
"\rclaimed_at_ms\x18\r \x01(\x03R\vclaimedAtMs\x12\"\n" +
"\rcreated_at_ms\x18\x0e \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\x0f \x01(\x03R\vupdatedAtMs\"\x8e\x03\n" +
"\x1dRegistrationRewardEligibility\x12\x1f\n" +
"\vcan_receive\x18\x01 \x01(\bR\n" +
"canReceive\x12\x16\n" +
"\x06reason\x18\x02 \x01(\tR\x06reason\x12\x18\n" +
"\aenabled\x18\x03 \x01(\bR\aenabled\x12\x1f\n" +
"\vreward_type\x18\x04 \x01(\tR\n" +
"rewardType\x12\x1f\n" +
"\vcoin_amount\x18\x05 \x01(\x03R\n" +
"coinAmount\x12*\n" +
"\x11resource_group_id\x18\x06 \x01(\x03R\x0fresourceGroupId\x12\x1f\n" +
"\vdaily_limit\x18\a \x01(\x03R\n" +
"dailyLimit\x12\x1d\n" +
"\n" +
"daily_used\x18\b \x01(\x03R\tdailyUsed\x12'\n" +
"\x0fdaily_remaining\x18\t \x01(\x03R\x0edailyRemaining\x12\x1d\n" +
"\n" +
"reward_day\x18\n" +
" \x01(\tR\trewardDay\x12$\n" +
"\x0eserver_time_ms\x18\v \x01(\x03R\fserverTimeMs\"v\n" +
"'GetRegistrationRewardEligibilityRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\"~\n" +
"(GetRegistrationRewardEligibilityResponse\x12R\n" +
"\veligibility\x18\x01 \x01(\v20.hyapp.activity.v1.RegistrationRewardEligibilityR\veligibility\"\x8c\x01\n" +
"\x1eIssueRegistrationRewardRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1d\n" +
"\n" +
"command_id\x18\x03 \x01(\tR\tcommandId\"\xcf\x01\n" +
"\x1fIssueRegistrationRewardResponse\x12@\n" +
"\x05claim\x18\x01 \x01(\v2*.hyapp.activity.v1.RegistrationRewardClaimR\x05claim\x12R\n" +
"\veligibility\x18\x02 \x01(\v20.hyapp.activity.v1.RegistrationRewardEligibilityR\veligibility\x12\x16\n" +
"\x06issued\x18\x03 \x01(\bR\x06issued\"X\n" +
"\"GetRegistrationRewardConfigRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\"j\n" +
"#GetRegistrationRewardConfigResponse\x12C\n" +
"\x06config\x18\x01 \x01(\v2+.hyapp.activity.v1.RegistrationRewardConfigR\x06config\"\xb0\x02\n" +
"%UpdateRegistrationRewardConfigRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x18\n" +
"\aenabled\x18\x02 \x01(\bR\aenabled\x12\x1f\n" +
"\vreward_type\x18\x03 \x01(\tR\n" +
"rewardType\x12\x1f\n" +
"\vcoin_amount\x18\x04 \x01(\x03R\n" +
"coinAmount\x12*\n" +
"\x11resource_group_id\x18\x05 \x01(\x03R\x0fresourceGroupId\x12\x1f\n" +
"\vdaily_limit\x18\x06 \x01(\x03R\n" +
"dailyLimit\x12*\n" +
"\x11operator_admin_id\x18\a \x01(\x03R\x0foperatorAdminId\"m\n" +
"&UpdateRegistrationRewardConfigResponse\x12C\n" +
"\x06config\x18\x01 \x01(\v2+.hyapp.activity.v1.RegistrationRewardConfigR\x06config\"\xbb\x01\n" +
"#ListRegistrationRewardClaimsRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x16\n" +
"\x06status\x18\x02 \x01(\tR\x06status\x12\x17\n" +
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x12\n" +
"\x04page\x18\x04 \x01(\x05R\x04page\x12\x1b\n" +
"\tpage_size\x18\x05 \x01(\x05R\bpageSize\"\x80\x01\n" +
"$ListRegistrationRewardClaimsResponse\x12B\n" +
"\x06claims\x18\x01 \x03(\v2*.hyapp.activity.v1.RegistrationRewardClaimR\x06claims\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total\"\xe7\x02\n" +
"\x17FirstRechargeRewardTier\x12\x17\n" +
"\atier_id\x18\x01 \x01(\x03R\x06tierId\x12\x1b\n" +
"\ttier_code\x18\x02 \x01(\tR\btierCode\x12\x1b\n" +
"\ttier_name\x18\x03 \x01(\tR\btierName\x12&\n" +
"\x0fmin_coin_amount\x18\x04 \x01(\x03R\rminCoinAmount\x12&\n" +
"\x0fmax_coin_amount\x18\x05 \x01(\x03R\rmaxCoinAmount\x12*\n" +
"\x11resource_group_id\x18\x06 \x01(\x03R\x0fresourceGroupId\x12\x16\n" +
"\x06status\x18\a \x01(\tR\x06status\x12\x1d\n" +
"\n" +
"sort_order\x18\b \x01(\x05R\tsortOrder\x12\"\n" +
"\rcreated_at_ms\x18\t \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\n" +
" \x01(\x03R\vupdatedAtMs\"\x89\x02\n" +
"\x19FirstRechargeRewardConfig\x12\x19\n" +
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x18\n" +
"\aenabled\x18\x02 \x01(\bR\aenabled\x12@\n" +
"\x05tiers\x18\x03 \x03(\v2*.hyapp.activity.v1.FirstRechargeRewardTierR\x05tiers\x12-\n" +
"\x13updated_by_admin_id\x18\x04 \x01(\x03R\x10updatedByAdminId\x12\"\n" +
"\rcreated_at_ms\x18\x05 \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\x06 \x01(\x03R\vupdatedAtMs\"\xbc\x05\n" +
"\x18FirstRechargeRewardClaim\x12\x19\n" +
"\bclaim_id\x18\x01 \x01(\tR\aclaimId\x12\x19\n" +
"\bevent_id\x18\x02 \x01(\tR\aeventId\x12%\n" +
"\x0etransaction_id\x18\x03 \x01(\tR\rtransactionId\x12\x1d\n" +
"\n" +
"command_id\x18\x04 \x01(\tR\tcommandId\x12\x17\n" +
"\auser_id\x18\x05 \x01(\x03R\x06userId\x12\x17\n" +
"\atier_id\x18\x06 \x01(\x03R\x06tierId\x12\x1b\n" +
"\ttier_code\x18\a \x01(\tR\btierCode\x12*\n" +
"\x11resource_group_id\x18\b \x01(\x03R\x0fresourceGroupId\x120\n" +
"\x14recharge_coin_amount\x18\t \x01(\x03R\x12rechargeCoinAmount\x12+\n" +
"\x11recharge_sequence\x18\n" +
" \x01(\x03R\x10rechargeSequence\x12#\n" +
"\rrecharge_type\x18\v \x01(\tR\frechargeType\x12\x16\n" +
"\x06status\x18\f \x01(\tR\x06status\x12*\n" +
"\x11wallet_command_id\x18\r \x01(\tR\x0fwalletCommandId\x12&\n" +
"\x0fwallet_grant_id\x18\x0e \x01(\tR\rwalletGrantId\x12%\n" +
"\x0efailure_reason\x18\x0f \x01(\tR\rfailureReason\x12&\n" +
"\x0frecharged_at_ms\x18\x10 \x01(\x03R\rrechargedAtMs\x12\"\n" +
"\rgranted_at_ms\x18\x11 \x01(\x03R\vgrantedAtMs\x12\"\n" +
"\rcreated_at_ms\x18\x12 \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\x13 \x01(\x03R\vupdatedAtMs\"\xfc\x01\n" +
"\x19FirstRechargeRewardStatus\x12\x18\n" +
"\aenabled\x18\x01 \x01(\bR\aenabled\x12@\n" +
"\x05tiers\x18\x02 \x03(\v2*.hyapp.activity.v1.FirstRechargeRewardTierR\x05tiers\x12\x1a\n" +
"\brewarded\x18\x03 \x01(\bR\brewarded\x12A\n" +
"\x05claim\x18\x04 \x01(\v2+.hyapp.activity.v1.FirstRechargeRewardClaimR\x05claim\x12$\n" +
"\x0eserver_time_ms\x18\x05 \x01(\x03R\fserverTimeMs\"r\n" +
"#GetFirstRechargeRewardStatusRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\"l\n" +
"$GetFirstRechargeRewardStatusResponse\x12D\n" +
"\x06status\x18\x01 \x01(\v2,.hyapp.activity.v1.FirstRechargeRewardStatusR\x06status\"\xfb\x02\n" +
"!ConsumeFirstRechargeRewardRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x19\n" +
"\bevent_id\x18\x02 \x01(\tR\aeventId\x12%\n" +
"\x0etransaction_id\x18\x03 \x01(\tR\rtransactionId\x12\x1d\n" +
"\n" +
"command_id\x18\x04 \x01(\tR\tcommandId\x12\x17\n" +
"\auser_id\x18\x05 \x01(\x03R\x06userId\x120\n" +
"\x14recharge_coin_amount\x18\x06 \x01(\x03R\x12rechargeCoinAmount\x12+\n" +
"\x11recharge_sequence\x18\a \x01(\x03R\x10rechargeSequence\x12#\n" +
"\rrecharge_type\x18\b \x01(\tR\frechargeType\x12$\n" +
"\x0eoccurred_at_ms\x18\t \x01(\x03R\foccurredAtMs\"\x9b\x01\n" +
"\"ConsumeFirstRechargeRewardResponse\x12A\n" +
"\x05claim\x18\x01 \x01(\v2+.hyapp.activity.v1.FirstRechargeRewardClaimR\x05claim\x12\x1a\n" +
"\bconsumed\x18\x02 \x01(\bR\bconsumed\x12\x16\n" +
"\x06reason\x18\x03 \x01(\tR\x06reason\"Y\n" +
"#GetFirstRechargeRewardConfigRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\"l\n" +
"$GetFirstRechargeRewardConfigResponse\x12D\n" +
"\x06config\x18\x01 \x01(\v2,.hyapp.activity.v1.FirstRechargeRewardConfigR\x06config\"\xe4\x01\n" +
"&UpdateFirstRechargeRewardConfigRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x18\n" +
"\aenabled\x18\x02 \x01(\bR\aenabled\x12@\n" +
"\x05tiers\x18\x03 \x03(\v2*.hyapp.activity.v1.FirstRechargeRewardTierR\x05tiers\x12*\n" +
"\x11operator_admin_id\x18\x04 \x01(\x03R\x0foperatorAdminId\"o\n" +
"'UpdateFirstRechargeRewardConfigResponse\x12D\n" +
"\x06config\x18\x01 \x01(\v2,.hyapp.activity.v1.FirstRechargeRewardConfigR\x06config\"\xbc\x01\n" +
"$ListFirstRechargeRewardClaimsRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x16\n" +
"\x06status\x18\x02 \x01(\tR\x06status\x12\x17\n" +
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x12\n" +
"\x04page\x18\x04 \x01(\x05R\x04page\x12\x1b\n" +
"\tpage_size\x18\x05 \x01(\x05R\bpageSize\"\x82\x01\n" +
"%ListFirstRechargeRewardClaimsResponse\x12C\n" +
"\x06claims\x18\x01 \x03(\v2+.hyapp.activity.v1.FirstRechargeRewardClaimR\x06claims\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total\"`\n" +
"\x15SevenDayCheckInReward\x12\x1b\n" +
"\tday_index\x18\x01 \x01(\x05R\bdayIndex\x12*\n" +
"\x11resource_group_id\x18\x02 \x01(\x03R\x0fresourceGroupId\"\xae\x02\n" +
"\x15SevenDayCheckInConfig\x12\x19\n" +
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x18\n" +
"\aenabled\x18\x02 \x01(\bR\aenabled\x12%\n" +
"\x0econfig_version\x18\x03 \x01(\x03R\rconfigVersion\x12B\n" +
"\arewards\x18\x04 \x03(\v2(.hyapp.activity.v1.SevenDayCheckInRewardR\arewards\x12-\n" +
"\x13updated_by_admin_id\x18\x05 \x01(\x03R\x10updatedByAdminId\x12\"\n" +
"\rcreated_at_ms\x18\x06 \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\a \x01(\x03R\vupdatedAtMs\"\xe5\x01\n" +
"\x1bSevenDayCheckInRewardStatus\x12\x1b\n" +
"\tday_index\x18\x01 \x01(\x05R\bdayIndex\x12*\n" +
"\x11resource_group_id\x18\x02 \x01(\x03R\x0fresourceGroupId\x12\x16\n" +
"\x06status\x18\x03 \x01(\tR\x06status\x12\x19\n" +
"\bclaim_id\x18\x04 \x01(\tR\aclaimId\x12&\n" +
"\x0fwallet_grant_id\x18\x05 \x01(\tR\rwalletGrantId\x12\"\n" +
"\rgranted_at_ms\x18\x06 \x01(\x03R\vgrantedAtMs\"n\n" +
"\x1fGetSevenDayCheckInStatusRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\"\xeb\x03\n" +
" GetSevenDayCheckInStatusResponse\x12\x18\n" +
"\aenabled\x18\x01 \x01(\bR\aenabled\x12\x19\n" +
"\bcan_sign\x18\x02 \x01(\bR\acanSign\x12\x16\n" +
"\x06reason\x18\x03 \x01(\tR\x06reason\x12\x19\n" +
"\bcycle_no\x18\x04 \x01(\x03R\acycleNo\x12*\n" +
"\x11current_day_index\x18\x05 \x01(\x05R\x0fcurrentDayIndex\x12$\n" +
"\x0enext_day_index\x18\x06 \x01(\x05R\fnextDayIndex\x12\x1f\n" +
"\vcheckin_day\x18\a \x01(\tR\n" +
"checkinDay\x12(\n" +
"\x10last_checkin_day\x18\b \x01(\tR\x0elastCheckinDay\x12%\n" +
"\x0econfig_version\x18\t \x01(\x03R\rconfigVersion\x12H\n" +
"\arewards\x18\n" +
" \x03(\v2..hyapp.activity.v1.SevenDayCheckInRewardStatusR\arewards\x12$\n" +
"\x0eserver_time_ms\x18\v \x01(\x03R\fserverTimeMs\x12+\n" +
"\x12next_refresh_at_ms\x18\f \x01(\x03R\x0fnextRefreshAtMs\"\x88\x01\n" +
"\x1aSignSevenDayCheckInRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1d\n" +
"\n" +
"command_id\x18\x03 \x01(\tR\tcommandId\"\xc7\x02\n" +
"\x1bSignSevenDayCheckInResponse\x12\x19\n" +
"\bclaim_id\x18\x01 \x01(\tR\aclaimId\x12\x19\n" +
"\bcycle_no\x18\x02 \x01(\x03R\acycleNo\x12\x1f\n" +
"\vcheckin_day\x18\x03 \x01(\tR\n" +
"checkinDay\x12\x1b\n" +
"\tday_index\x18\x04 \x01(\x05R\bdayIndex\x12*\n" +
"\x11resource_group_id\x18\x05 \x01(\x03R\x0fresourceGroupId\x12\x16\n" +
"\x06status\x18\x06 \x01(\tR\x06status\x12&\n" +
"\x0fwallet_grant_id\x18\a \x01(\tR\rwalletGrantId\x12\"\n" +
"\rgranted_at_ms\x18\b \x01(\x03R\vgrantedAtMs\x12$\n" +
"\x0eserver_time_ms\x18\t \x01(\x03R\fserverTimeMs\"U\n" +
"\x1fGetSevenDayCheckInConfigRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\"d\n" +
" GetSevenDayCheckInConfigResponse\x12@\n" +
"\x06config\x18\x01 \x01(\v2(.hyapp.activity.v1.SevenDayCheckInConfigR\x06config\"\xe2\x01\n" +
"\"UpdateSevenDayCheckInConfigRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x18\n" +
"\aenabled\x18\x02 \x01(\bR\aenabled\x12B\n" +
"\arewards\x18\x03 \x03(\v2(.hyapp.activity.v1.SevenDayCheckInRewardR\arewards\x12*\n" +
"\x11operator_admin_id\x18\x04 \x01(\x03R\x0foperatorAdminId\"g\n" +
"#UpdateSevenDayCheckInConfigResponse\x12@\n" +
"\x06config\x18\x01 \x01(\v2(.hyapp.activity.v1.SevenDayCheckInConfigR\x06config\"\xb6\x04\n" +
"\x14SevenDayCheckInClaim\x12\x19\n" +
"\bclaim_id\x18\x01 \x01(\tR\aclaimId\x12\x1d\n" +
"\n" +
"command_id\x18\x02 \x01(\tR\tcommandId\x12\x17\n" +
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x19\n" +
"\bcycle_no\x18\x04 \x01(\x03R\acycleNo\x12\x1f\n" +
"\vcheckin_day\x18\x05 \x01(\tR\n" +
"checkinDay\x12\x1b\n" +
"\tday_index\x18\x06 \x01(\x05R\bdayIndex\x12%\n" +
"\x0econfig_version\x18\a \x01(\x03R\rconfigVersion\x12*\n" +
"\x11resource_group_id\x18\b \x01(\x03R\x0fresourceGroupId\x12*\n" +
"\x11wallet_command_id\x18\t \x01(\tR\x0fwalletCommandId\x12&\n" +
"\x0fwallet_grant_id\x18\n" +
" \x01(\tR\rwalletGrantId\x12\x16\n" +
"\x06status\x18\v \x01(\tR\x06status\x12%\n" +
"\x0efailure_reason\x18\f \x01(\tR\rfailureReason\x12 \n" +
"\fsigned_at_ms\x18\r \x01(\x03R\n" +
"signedAtMs\x12\"\n" +
"\rgranted_at_ms\x18\x0e \x01(\x03R\vgrantedAtMs\x12\"\n" +
"\rcreated_at_ms\x18\x0f \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\x10 \x01(\x03R\vupdatedAtMs\"\xf6\x01\n" +
" ListSevenDayCheckInClaimsRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x16\n" +
"\x06status\x18\x02 \x01(\tR\x06status\x12\x17\n" +
"\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x1f\n" +
"\vcheckin_day\x18\x04 \x01(\tR\n" +
"checkinDay\x12\x1b\n" +
"\tday_index\x18\x05 \x01(\x05R\bdayIndex\x12\x12\n" +
"\x04page\x18\x06 \x01(\x05R\x04page\x12\x1b\n" +
"\tpage_size\x18\a \x01(\x05R\bpageSize\"z\n" +
"!ListSevenDayCheckInClaimsResponse\x12?\n" +
"\x06claims\x18\x01 \x03(\v2'.hyapp.activity.v1.SevenDayCheckInClaimR\x06claims\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total\"\xe5\x01\n" +
"\n" +
"LevelTrack\x12\x14\n" +
"\x05track\x18\x01 \x01(\tR\x05track\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n" +
"\x06status\x18\x03 \x01(\tR\x06status\x12\x1d\n" +
"\n" +
"sort_order\x18\x04 \x01(\x05R\tsortOrder\x12.\n" +
"\x13display_config_json\x18\x05 \x01(\tR\x11displayConfigJson\x12\"\n" +
"\rcreated_at_ms\x18\x06 \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\a \x01(\x03R\vupdatedAtMs\"\xb8\x03\n" +
"\tLevelRule\x12\x14\n" +
"\x05track\x18\x01 \x01(\tR\x05track\x12\x14\n" +
"\x05level\x18\x02 \x01(\x05R\x05level\x12%\n" +
"\x0erequired_value\x18\x03 \x01(\x03R\rrequiredValue\x12\x12\n" +
"\x04name\x18\x04 \x01(\tR\x04name\x12\x16\n" +
"\x06status\x18\x05 \x01(\tR\x06status\x127\n" +
"\x18reward_resource_group_id\x18\x06 \x01(\x03R\x15rewardResourceGroupId\x12\x1d\n" +
"\n" +
"sort_order\x18\a \x01(\x05R\tsortOrder\x12.\n" +
"\x13display_config_json\x18\b \x01(\tR\x11displayConfigJson\x12-\n" +
"\x13created_by_admin_id\x18\t \x01(\x03R\x10createdByAdminId\x12-\n" +
"\x13updated_by_admin_id\x18\n" +
" \x01(\x03R\x10updatedByAdminId\x12\"\n" +
"\rcreated_at_ms\x18\v \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\f \x01(\x03R\vupdatedAtMs\"\xb2\x04\n" +
"\tLevelTier\x12\x17\n" +
"\atier_id\x18\x01 \x01(\x03R\x06tierId\x12\x14\n" +
"\x05track\x18\x02 \x01(\tR\x05track\x12\x1b\n" +
"\tmin_level\x18\x03 \x01(\x05R\bminLevel\x12\x1b\n" +
"\tmax_level\x18\x04 \x01(\x05R\bmaxLevel\x12\x12\n" +
"\x04name\x18\x05 \x01(\tR\x04name\x12F\n" +
" display_avatar_frame_resource_id\x18\x06 \x01(\x03R\x1cdisplayAvatarFrameResourceId\x129\n" +
"\x19display_badge_resource_id\x18\a \x01(\x03R\x16displayBadgeResourceId\x127\n" +
"\x18reward_resource_group_id\x18\b \x01(\x03R\x15rewardResourceGroupId\x12\x16\n" +
"\x06status\x18\t \x01(\tR\x06status\x12.\n" +
"\x13display_config_json\x18\n" +
" \x01(\tR\x11displayConfigJson\x12-\n" +
"\x13created_by_admin_id\x18\v \x01(\x03R\x10createdByAdminId\x12-\n" +
"\x13updated_by_admin_id\x18\f \x01(\x03R\x10updatedByAdminId\x12\"\n" +
"\rcreated_at_ms\x18\r \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\x0e \x01(\x03R\vupdatedAtMs\"\xfd\x03\n" +
"\x12LevelTrackOverview\x12\x14\n" +
"\x05track\x18\x01 \x01(\tR\x05track\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
"\x05level\x18\x03 \x01(\x05R\x05level\x12\x17\n" +
"\atier_id\x18\x04 \x01(\x03R\x06tierId\x12\x1f\n" +
"\vtotal_value\x18\x05 \x01(\x03R\n" +
"totalValue\x12?\n" +
"\x1ccurrent_level_required_value\x18\x06 \x01(\x03R\x19currentLevelRequiredValue\x12\x1d\n" +
"\n" +
"next_level\x18\a \x01(\x05R\tnextLevel\x129\n" +
"\x19next_level_required_value\x18\b \x01(\x03R\x16nextLevelRequiredValue\x12F\n" +
" display_avatar_frame_resource_id\x18\t \x01(\x03R\x1cdisplayAvatarFrameResourceId\x129\n" +
"\x19display_badge_resource_id\x18\n" +
" \x01(\x03R\x16displayBadgeResourceId\x120\n" +
"\x14reward_pending_count\x18\v \x01(\x03R\x12rewardPendingCount\x12\x1d\n" +
"\n" +
"sort_order\x18\f \x01(\x05R\tsortOrder\"h\n" +
"\x19GetMyLevelOverviewRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\"\x81\x01\n" +
"\x1aGetMyLevelOverviewResponse\x12=\n" +
"\x06tracks\x18\x01 \x03(\v2%.hyapp.activity.v1.LevelTrackOverviewR\x06tracks\x12$\n" +
"\x0eserver_time_ms\x18\x02 \x01(\x03R\fserverTimeMs\"y\n" +
"\x14GetLevelTrackRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x14\n" +
"\x05track\x18\x03 \x01(\tR\x05track\"\xe8\x01\n" +
"\x15GetLevelTrackResponse\x12A\n" +
"\boverview\x18\x01 \x01(\v2%.hyapp.activity.v1.LevelTrackOverviewR\boverview\x122\n" +
"\x05rules\x18\x02 \x03(\v2\x1c.hyapp.activity.v1.LevelRuleR\x05rules\x122\n" +
"\x05tiers\x18\x03 \x03(\v2\x1c.hyapp.activity.v1.LevelTierR\x05tiers\x12$\n" +
"\x0eserver_time_ms\x18\x04 \x01(\x03R\fserverTimeMs\"\xe7\x03\n" +
"\x0eLevelRewardJob\x12\"\n" +
"\rreward_job_id\x18\x01 \x01(\tR\vrewardJobId\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x14\n" +
"\x05track\x18\x03 \x01(\tR\x05track\x12,\n" +
"\x12reward_source_type\x18\x04 \x01(\tR\x10rewardSourceType\x12(\n" +
"\x10reward_source_id\x18\x05 \x01(\tR\x0erewardSourceId\x12*\n" +
"\x11resource_group_id\x18\x06 \x01(\x03R\x0fresourceGroupId\x12*\n" +
"\x11wallet_command_id\x18\a \x01(\tR\x0fwalletCommandId\x12&\n" +
"\x0fwallet_grant_id\x18\b \x01(\tR\rwalletGrantId\x12\x16\n" +
"\x06status\x18\t \x01(\tR\x06status\x12#\n" +
"\rattempt_count\x18\n" +
" \x01(\x05R\fattemptCount\x12%\n" +
"\x0efailure_reason\x18\v \x01(\tR\rfailureReason\x12\"\n" +
"\rcreated_at_ms\x18\f \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\r \x01(\x03R\vupdatedAtMs\"\xc5\x01\n" +
"\x17ListLevelRewardsRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x14\n" +
"\x05track\x18\x03 \x01(\tR\x05track\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\"m\n" +
"\x18ListLevelRewardsResponse\x12;\n" +
"\arewards\x18\x01 \x03(\v2!.hyapp.activity.v1.LevelRewardJobR\arewards\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total\"\xa4\x03\n" +
"\x18ConsumeLevelEventRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x19\n" +
"\bevent_id\x18\x02 \x01(\tR\aeventId\x12&\n" +
"\x0fsource_event_id\x18\x03 \x01(\tR\rsourceEventId\x12%\n" +
"\x0esource_service\x18\x04 \x01(\tR\rsourceService\x12*\n" +
"\x11source_event_type\x18\x05 \x01(\tR\x0fsourceEventType\x12\x17\n" +
"\auser_id\x18\x06 \x01(\x03R\x06userId\x12\x14\n" +
"\x05track\x18\a \x01(\tR\x05track\x12\x1f\n" +
"\vmetric_type\x18\b \x01(\tR\n" +
"metricType\x12\x1f\n" +
"\vvalue_delta\x18\t \x01(\x03R\n" +
"valueDelta\x12$\n" +
"\x0eoccurred_at_ms\x18\n" +
" \x01(\x03R\foccurredAtMs\x12'\n" +
"\x0fdimensions_json\x18\v \x01(\tR\x0edimensionsJson\"\xe1\x01\n" +
"\x19ConsumeLevelEventResponse\x12\x19\n" +
"\bevent_id\x18\x01 \x01(\tR\aeventId\x12\x16\n" +
"\x06status\x18\x02 \x01(\tR\x06status\x12#\n" +
"\rlevel_changed\x18\x03 \x01(\bR\flevelChanged\x12%\n" +
"\x0eprevious_level\x18\x04 \x01(\x05R\rpreviousLevel\x12\x1b\n" +
"\tnew_level\x18\x05 \x01(\x05R\bnewLevel\x12(\n" +
"\x10reward_job_count\x18\x06 \x01(\x03R\x0erewardJobCount\"\xde\x01\n" +
"\x17UpsertLevelTrackRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x14\n" +
"\x05track\x18\x02 \x01(\tR\x05track\x12\x12\n" +
"\x04name\x18\x03 \x01(\tR\x04name\x12\x16\n" +
"\x06status\x18\x04 \x01(\tR\x06status\x12\x1d\n" +
"\n" +
"sort_order\x18\x05 \x01(\x05R\tsortOrder\x12.\n" +
"\x13display_config_json\x18\x06 \x01(\tR\x11displayConfigJson\"i\n" +
"\x18UpsertLevelTrackResponse\x123\n" +
"\x05track\x18\x01 \x01(\v2\x1d.hyapp.activity.v1.LevelTrackR\x05track\x12\x18\n" +
"\acreated\x18\x02 \x01(\bR\acreated\"\xff\x02\n" +
"\x16UpsertLevelRuleRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x14\n" +
"\x05track\x18\x02 \x01(\tR\x05track\x12\x14\n" +
"\x05level\x18\x03 \x01(\x05R\x05level\x12%\n" +
"\x0erequired_value\x18\x04 \x01(\x03R\rrequiredValue\x12\x12\n" +
"\x04name\x18\x05 \x01(\tR\x04name\x12\x16\n" +
"\x06status\x18\x06 \x01(\tR\x06status\x127\n" +
"\x18reward_resource_group_id\x18\a \x01(\x03R\x15rewardResourceGroupId\x12\x1d\n" +
"\n" +
"sort_order\x18\b \x01(\x05R\tsortOrder\x12.\n" +
"\x13display_config_json\x18\t \x01(\tR\x11displayConfigJson\x12*\n" +
"\x11operator_admin_id\x18\n" +
" \x01(\x03R\x0foperatorAdminId\"e\n" +
"\x17UpsertLevelRuleResponse\x120\n" +
"\x04rule\x18\x01 \x01(\v2\x1c.hyapp.activity.v1.LevelRuleR\x04rule\x12\x18\n" +
"\acreated\x18\x02 \x01(\bR\acreated\"\xf9\x03\n" +
"\x16UpsertLevelTierRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\atier_id\x18\x02 \x01(\x03R\x06tierId\x12\x14\n" +
"\x05track\x18\x03 \x01(\tR\x05track\x12\x1b\n" +
"\tmin_level\x18\x04 \x01(\x05R\bminLevel\x12\x1b\n" +
"\tmax_level\x18\x05 \x01(\x05R\bmaxLevel\x12\x12\n" +
"\x04name\x18\x06 \x01(\tR\x04name\x12F\n" +
" display_avatar_frame_resource_id\x18\a \x01(\x03R\x1cdisplayAvatarFrameResourceId\x129\n" +
"\x19display_badge_resource_id\x18\b \x01(\x03R\x16displayBadgeResourceId\x127\n" +
"\x18reward_resource_group_id\x18\t \x01(\x03R\x15rewardResourceGroupId\x12\x16\n" +
"\x06status\x18\n" +
" \x01(\tR\x06status\x12.\n" +
"\x13display_config_json\x18\v \x01(\tR\x11displayConfigJson\x12*\n" +
"\x11operator_admin_id\x18\f \x01(\x03R\x0foperatorAdminId\"e\n" +
"\x17UpsertLevelTierResponse\x120\n" +
"\x04tier\x18\x01 \x01(\v2\x1c.hyapp.activity.v1.LevelTierR\x04tier\x12\x18\n" +
"\acreated\x18\x02 \x01(\bR\acreated\"z\n" +
"\x16ListLevelConfigRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x14\n" +
"\x05track\x18\x02 \x01(\tR\x05track\x12\x16\n" +
"\x06status\x18\x03 \x01(\tR\x06status\"\xde\x01\n" +
"\x17ListLevelConfigResponse\x125\n" +
"\x06tracks\x18\x01 \x03(\v2\x1d.hyapp.activity.v1.LevelTrackR\x06tracks\x122\n" +
"\x05rules\x18\x02 \x03(\v2\x1c.hyapp.activity.v1.LevelRuleR\x05rules\x122\n" +
"\x05tiers\x18\x03 \x03(\v2\x1c.hyapp.activity.v1.LevelTierR\x05tiers\x12$\n" +
"\x0eserver_time_ms\x18\x04 \x01(\x03R\fserverTimeMs\"\x93\x02\n" +
"\x14AchievementCondition\x12!\n" +
"\fcondition_id\x18\x01 \x01(\tR\vconditionId\x12%\n" +
"\x0eachievement_id\x18\x02 \x01(\tR\rachievementId\x12\x18\n" +
"\aversion\x18\x03 \x01(\x03R\aversion\x12\x1f\n" +
"\vmetric_type\x18\x04 \x01(\tR\n" +
"metricType\x12!\n" +
"\ftarget_value\x18\x05 \x01(\x03R\vtargetValue\x12\x1f\n" +
"\vtarget_unit\x18\x06 \x01(\tR\n" +
"targetUnit\x122\n" +
"\x15dimension_filter_json\x18\a \x01(\tR\x13dimensionFilterJson\"\xfa\x06\n" +
"\x15AchievementDefinition\x12%\n" +
"\x0eachievement_id\x18\x01 \x01(\tR\rachievementId\x12#\n" +
"\rcollection_id\x18\x02 \x01(\tR\fcollectionId\x12'\n" +
"\x0fcollection_type\x18\x03 \x01(\tR\x0ecollectionType\x12)\n" +
"\x10achievement_type\x18\x04 \x01(\tR\x0fachievementType\x12\x14\n" +
"\x05title\x18\x05 \x01(\tR\x05title\x12 \n" +
"\vdescription\x18\x06 \x01(\tR\vdescription\x12\x16\n" +
"\x06status\x18\a \x01(\tR\x06status\x12\x18\n" +
"\aversion\x18\b \x01(\x03R\aversion\x129\n" +
"\x19primary_badge_resource_id\x18\t \x01(\x03R\x16primaryBadgeResourceId\x127\n" +
"\x18reward_resource_group_id\x18\n" +
" \x01(\x03R\x15rewardResourceGroupId\x12&\n" +
"\x0fauto_pin_policy\x18\v \x01(\tR\rautoPinPolicy\x12)\n" +
"\x10honor_visibility\x18\f \x01(\bR\x0fhonorVisibility\x12*\n" +
"\x11effective_from_ms\x18\r \x01(\x03R\x0feffectiveFromMs\x12&\n" +
"\x0feffective_to_ms\x18\x0e \x01(\x03R\reffectiveToMs\x12\x1d\n" +
"\n" +
"sort_order\x18\x0f \x01(\x05R\tsortOrder\x12.\n" +
"\x13display_config_json\x18\x10 \x01(\tR\x11displayConfigJson\x12-\n" +
"\x13created_by_admin_id\x18\x11 \x01(\x03R\x10createdByAdminId\x12-\n" +
"\x13updated_by_admin_id\x18\x12 \x01(\x03R\x10updatedByAdminId\x12\"\n" +
"\rcreated_at_ms\x18\x13 \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18\x14 \x01(\x03R\vupdatedAtMs\x12G\n" +
"\n" +
"conditions\x18\x15 \x03(\v2'.hyapp.activity.v1.AchievementConditionR\n" +
"conditions\"\xae\x02\n" +
"\x0fUserAchievement\x12H\n" +
"\n" +
"definition\x18\x01 \x01(\v2(.hyapp.activity.v1.AchievementDefinitionR\n" +
"definition\x12\x1b\n" +
"\tcycle_key\x18\x02 \x01(\tR\bcycleKey\x12%\n" +
"\x0eprogress_value\x18\x03 \x01(\x03R\rprogressValue\x12!\n" +
"\ftarget_value\x18\x04 \x01(\x03R\vtargetValue\x12\x1f\n" +
"\vuser_status\x18\x05 \x01(\tR\n" +
"userStatus\x12$\n" +
"\x0eunlocked_at_ms\x18\x06 \x01(\x03R\funlockedAtMs\x12#\n" +
"\rreward_status\x18\a \x01(\tR\frewardStatus\"\xe5\x01\n" +
"\x17ListAchievementsRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12'\n" +
"\x0fcollection_type\x18\x03 \x01(\tR\x0ecollectionType\x12#\n" +
"\rcollection_id\x18\x04 \x01(\tR\fcollectionId\x12\x12\n" +
"\x04page\x18\x05 \x01(\x05R\x04page\x12\x1b\n" +
"\tpage_size\x18\x06 \x01(\x05R\bpageSize\"\x9e\x01\n" +
"\x18ListAchievementsResponse\x12F\n" +
"\fachievements\x18\x01 \x03(\v2\".hyapp.activity.v1.UserAchievementR\fachievements\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total\x12$\n" +
"\x0eserver_time_ms\x18\x03 \x01(\x03R\fserverTimeMs\"\xd4\x02\n" +
"\x1eConsumeAchievementEventRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x19\n" +
"\bevent_id\x18\x02 \x01(\tR\aeventId\x12\x1d\n" +
"\n" +
"event_type\x18\x03 \x01(\tR\teventType\x12%\n" +
"\x0esource_service\x18\x04 \x01(\tR\rsourceService\x12\x17\n" +
"\auser_id\x18\x05 \x01(\x03R\x06userId\x12\x1f\n" +
"\vmetric_type\x18\x06 \x01(\tR\n" +
"metricType\x12\x14\n" +
"\x05value\x18\a \x01(\x03R\x05value\x12$\n" +
"\x0eoccurred_at_ms\x18\b \x01(\x03R\foccurredAtMs\x12'\n" +
"\x0fdimensions_json\x18\t \x01(\tR\x0edimensionsJson\"\xf8\x01\n" +
"\x1fConsumeAchievementEventResponse\x12\x19\n" +
"\bevent_id\x18\x01 \x01(\tR\aeventId\x12\x16\n" +
"\x06status\x18\x02 \x01(\tR\x06status\x12:\n" +
"\x19matched_achievement_count\x18\x03 \x01(\x05R\x17matchedAchievementCount\x12<\n" +
"\x1aunlocked_achievement_count\x18\x04 \x01(\x05R\x18unlockedAchievementCount\x12(\n" +
"\x10reward_job_count\x18\x05 \x01(\x03R\x0erewardJobCount\"\xa6\x02\n" +
"\x10BadgeDisplayItem\x12\x12\n" +
"\x04slot\x18\x01 \x01(\tR\x04slot\x12\x1a\n" +
"\bposition\x18\x02 \x01(\x05R\bposition\x12\x1d\n" +
"\n" +
"badge_form\x18\x03 \x01(\tR\tbadgeForm\x12\x1f\n" +
"\vresource_id\x18\x04 \x01(\x03R\n" +
"resourceId\x12%\n" +
"\x0eentitlement_id\x18\x05 \x01(\tR\rentitlementId\x12\x1f\n" +
"\vsource_type\x18\x06 \x01(\tR\n" +
"sourceType\x12\x1b\n" +
"\tsource_id\x18\a \x01(\tR\bsourceId\x12\x19\n" +
"\bpin_mode\x18\b \x01(\tR\apinMode\x12\"\n" +
"\rupdated_at_ms\x18\t \x01(\x03R\vupdatedAtMs\"b\n" +
"\x13ListMyBadgesRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\"\xa1\x02\n" +
"\x14ListMyBadgesResponse\x12F\n" +
"\fstrip_badges\x18\x01 \x03(\v2#.hyapp.activity.v1.BadgeDisplayItemR\vstripBadges\x12S\n" +
"\x13profile_tile_badges\x18\x02 \x03(\v2#.hyapp.activity.v1.BadgeDisplayItemR\x11profileTileBadges\x12F\n" +
"\fhonor_badges\x18\x03 \x03(\v2#.hyapp.activity.v1.BadgeDisplayItemR\vhonorBadges\x12$\n" +
"\x0eserver_time_ms\x18\x04 \x01(\x03R\fserverTimeMs\"\xd3\x01\n" +
"\x16SetBadgeDisplayRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x12\n" +
"\x04slot\x18\x03 \x01(\tR\x04slot\x129\n" +
"\x05items\x18\x04 \x03(\v2#.hyapp.activity.v1.BadgeDisplayItemR\x05items\x12\x1d\n" +
"\n" +
"command_id\x18\x05 \x01(\tR\tcommandId\"\\\n" +
"\x17SetBadgeDisplayResponse\x12A\n" +
"\aprofile\x18\x01 \x01(\v2'.hyapp.activity.v1.ListMyBadgesResponseR\aprofile\"\xa7\x06\n" +
"\"UpsertAchievementDefinitionRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12%\n" +
"\x0eachievement_id\x18\x02 \x01(\tR\rachievementId\x12#\n" +
"\rcollection_id\x18\x03 \x01(\tR\fcollectionId\x12'\n" +
"\x0fcollection_type\x18\x04 \x01(\tR\x0ecollectionType\x12)\n" +
"\x10achievement_type\x18\x05 \x01(\tR\x0fachievementType\x12\x14\n" +
"\x05title\x18\x06 \x01(\tR\x05title\x12 \n" +
"\vdescription\x18\a \x01(\tR\vdescription\x12\x16\n" +
"\x06status\x18\b \x01(\tR\x06status\x129\n" +
"\x19primary_badge_resource_id\x18\t \x01(\x03R\x16primaryBadgeResourceId\x127\n" +
"\x18reward_resource_group_id\x18\n" +
" \x01(\x03R\x15rewardResourceGroupId\x12&\n" +
"\x0fauto_pin_policy\x18\v \x01(\tR\rautoPinPolicy\x12)\n" +
"\x10honor_visibility\x18\f \x01(\bR\x0fhonorVisibility\x12*\n" +
"\x11effective_from_ms\x18\r \x01(\x03R\x0feffectiveFromMs\x12&\n" +
"\x0feffective_to_ms\x18\x0e \x01(\x03R\reffectiveToMs\x12\x1d\n" +
"\n" +
"sort_order\x18\x0f \x01(\x05R\tsortOrder\x12.\n" +
"\x13display_config_json\x18\x10 \x01(\tR\x11displayConfigJson\x12*\n" +
"\x11operator_admin_id\x18\x11 \x01(\x03R\x0foperatorAdminId\x12G\n" +
"\n" +
"conditions\x18\x12 \x03(\v2'.hyapp.activity.v1.AchievementConditionR\n" +
"conditions\"\x8b\x01\n" +
"#UpsertAchievementDefinitionResponse\x12J\n" +
"\vachievement\x18\x01 \x01(\v2(.hyapp.activity.v1.AchievementDefinitionR\vachievement\x12\x18\n" +
"\acreated\x18\x02 \x01(\bR\acreated\"\xae\x03\n" +
"\rLuckyGiftMeta\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.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\"\xe0\x01\n" +
"\rLuckyGiftTier\x12\x12\n" +
"\x04pool\x18\x01 \x01(\tR\x04pool\x12\x17\n" +
"\atier_id\x18\x02 \x01(\tR\x06tierId\x12!\n" +
"\freward_coins\x18\x03 \x01(\x03R\vrewardCoins\x12\x16\n" +
"\x06weight\x18\x04 \x01(\x03R\x06weight\x12&\n" +
"\x0fhigh_water_only\x18\x05 \x01(\bR\rhighWaterOnly\x12\x18\n" +
"\aenabled\x18\x06 \x01(\bR\aenabled\x12%\n" +
"\x0emultiplier_ppm\x18\a \x01(\x03R\rmultiplierPpm\"\xff\r\n" +
"\x0fLuckyGiftConfig\x12\x19\n" +
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x17\n" +
"\agift_id\x18\x02 \x01(\tR\x06giftId\x12\x18\n" +
"\aenabled\x18\x03 \x01(\bR\aenabled\x12!\n" +
"\frule_version\x18\x04 \x01(\x03R\vruleVersion\x12\x1d\n" +
"\n" +
"gift_price\x18\x05 \x01(\x03R\tgiftPrice\x12$\n" +
"\x0etarget_rtp_ppm\x18\x06 \x01(\x03R\ftargetRtpPpm\x12\"\n" +
"\rpool_rate_ppm\x18\a \x01(\x03R\vpoolRatePpm\x12.\n" +
"\x13global_window_draws\x18\b \x01(\x03R\x11globalWindowDraws\x12*\n" +
"\x11gift_window_draws\x18\t \x01(\x03R\x0fgiftWindowDraws\x12*\n" +
"\x11novice_draw_limit\x18\n" +
" \x01(\x03R\x0fnoviceDrawLimit\x126\n" +
"\x17intermediate_draw_limit\x18\v \x01(\x03R\x15intermediateDrawLimit\x12'\n" +
"\x0fhigh_multiplier\x18\f \x01(\x03R\x0ehighMultiplier\x127\n" +
"\x18high_water_pool_multiple\x18\r \x01(\x03R\x15highWaterPoolMultiple\x127\n" +
"\x18platform_pool_weight_ppm\x18\x0e \x01(\x03R\x15platformPoolWeightPpm\x12/\n" +
"\x14room_pool_weight_ppm\x18\x0f \x01(\x03R\x11roomPoolWeightPpm\x12/\n" +
"\x14gift_pool_weight_ppm\x18\x10 \x01(\x03R\x11giftPoolWeightPpm\x122\n" +
"\x15initial_platform_pool\x18\x11 \x01(\x03R\x13initialPlatformPool\x12*\n" +
"\x11initial_gift_pool\x18\x12 \x01(\x03R\x0finitialGiftPool\x12*\n" +
"\x11initial_room_pool\x18\x13 \x01(\x03R\x0finitialRoomPool\x12)\n" +
"\x10platform_reserve\x18\x14 \x01(\x03R\x0fplatformReserve\x12!\n" +
"\fgift_reserve\x18\x15 \x01(\x03R\vgiftReserve\x12!\n" +
"\froom_reserve\x18\x16 \x01(\x03R\vroomReserve\x12*\n" +
"\x11max_single_payout\x18\x17 \x01(\x03R\x0fmaxSinglePayout\x123\n" +
"\x16user_hourly_payout_cap\x18\x18 \x01(\x03R\x13userHourlyPayoutCap\x121\n" +
"\x15user_daily_payout_cap\x18\x19 \x01(\x03R\x12userDailyPayoutCap\x125\n" +
"\x17device_daily_payout_cap\x18\x1a \x01(\x03R\x14deviceDailyPayoutCap\x123\n" +
"\x16room_hourly_payout_cap\x18\x1b \x01(\x03R\x13roomHourlyPayoutCap\x125\n" +
"\x17anchor_daily_payout_cap\x18\x1c \x01(\x03R\x14anchorDailyPayoutCap\x127\n" +
"\x18room_atmosphere_rate_ppm\x18\x1d \x01(\x03R\x15roomAtmosphereRatePpm\x126\n" +
"\x17room_atmosphere_initial\x18\x1e \x01(\x03R\x15roomAtmosphereInitial\x126\n" +
"\x17room_atmosphere_reserve\x18\x1f \x01(\x03R\x15roomAtmosphereReserve\x12'\n" +
"\x0factivity_budget\x18 \x01(\x03R\x0eactivityBudget\x120\n" +
"\x14activity_daily_limit\x18! \x01(\x03R\x12activityDailyLimit\x12,\n" +
"\x12large_tier_enabled\x18\" \x01(\bR\x10largeTierEnabled\x126\n" +
"\x05tiers\x18# \x03(\v2 .hyapp.activity.v1.LuckyGiftTierR\x05tiers\x12-\n" +
"\x13updated_by_admin_id\x18$ \x01(\x03R\x10updatedByAdminId\x12\"\n" +
"\rcreated_at_ms\x18% \x01(\x03R\vcreatedAtMs\x12\"\n" +
"\rupdated_at_ms\x18& \x01(\x03R\vupdatedAtMs\x12\x17\n" +
"\apool_id\x18' \x01(\tR\x06poolId\x12'\n" +
"\x0fmultiplier_ppms\x18( \x03(\x03R\x0emultiplierPpms\"\xa1\x02\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" +
"\rreward_source\x18\x05 \x01(\tR\frewardSource\x12&\n" +
"\x0fhigh_water_only\x18\x06 \x01(\bR\rhighWaterOnly\x12'\n" +
"\x0fbroadcast_level\x18\a \x01(\tR\x0ebroadcastLevel\x12\x18\n" +
"\aenabled\x18\b \x01(\bR\aenabled\"f\n" +
"\x12LuckyGiftRuleStage\x12\x14\n" +
"\x05stage\x18\x01 \x01(\tR\x05stage\x12:\n" +
"\x05tiers\x18\x02 \x03(\v2$.hyapp.activity.v1.LuckyGiftRuleTierR\x05tiers\"\xd7\a\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" +
"\x11max_single_payout\x18\x0f \x01(\x03R\x0fmaxSinglePayout\x123\n" +
"\x16user_hourly_payout_cap\x18\x10 \x01(\x03R\x13userHourlyPayoutCap\x121\n" +
"\x15user_daily_payout_cap\x18\x11 \x01(\x03R\x12userDailyPayoutCap\x125\n" +
"\x17device_daily_payout_cap\x18\x12 \x01(\x03R\x14deviceDailyPayoutCap\x123\n" +
"\x16room_hourly_payout_cap\x18\x13 \x01(\x03R\x13roomHourlyPayoutCap\x125\n" +
"\x17anchor_daily_payout_cap\x18\x14 \x01(\x03R\x14anchorDailyPayoutCap\x12=\n" +
"\x06stages\x18\x15 \x03(\v2%.hyapp.activity.v1.LuckyGiftRuleStageR\x06stages\"\xaf\x01\n" +
"\x15CheckLuckyGiftRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.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\"\xf5\x06\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\x12?\n" +
"\x1croom_atmosphere_reward_coins\x18\b \x01(\x03R\x19roomAtmosphereRewardCoins\x124\n" +
"\x16activity_subsidy_coins\x18\t \x01(\x03R\x14activitySubsidyCoins\x124\n" +
"\x16effective_reward_coins\x18\n" +
" \x01(\x03R\x14effectiveRewardCoins\x12.\n" +
"\x13budget_sources_json\x18\v \x01(\tR\x11budgetSourcesJson\x12#\n" +
"\rreward_status\x18\f \x01(\tR\frewardStatus\x12(\n" +
"\x10rtp_window_index\x18\r \x01(\x03R\x0ertpWindowIndex\x121\n" +
"\x15gift_rtp_window_index\x18\x0e \x01(\x03R\x12giftRtpWindowIndex\x12-\n" +
"\x13global_base_rtp_ppm\x18\x0f \x01(\x03R\x10globalBaseRtpPpm\x12)\n" +
"\x11gift_base_rtp_ppm\x18\x10 \x01(\x03R\x0egiftBaseRtpPpm\x12%\n" +
"\x0estage_feedback\x18\x11 \x01(\bR\rstageFeedback\x12'\n" +
"\x0fhigh_multiplier\x18\x12 \x01(\bR\x0ehighMultiplier\x12\"\n" +
"\rcreated_at_ms\x18\x13 \x01(\x03R\vcreatedAtMs\x12\x17\n" +
"\apool_id\x18\x14 \x01(\tR\x06poolId\x12%\n" +
"\x0emultiplier_ppm\x18\x15 \x01(\x03R\rmultiplierPpm\"^\n" +
"\x1bExecuteLuckyGiftDrawRequest\x12?\n" +
"\n" +
"lucky_gift\x18\x01 \x01(\v2 .hyapp.activity.v1.LuckyGiftMetaR\tluckyGift\"^\n" +
"\x1cExecuteLuckyGiftDrawResponse\x12>\n" +
"\x06result\x18\x01 \x01(\v2&.hyapp.activity.v1.LuckyGiftDrawResultR\x06result\"\x81\x01\n" +
"\x19GetLuckyGiftConfigRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12\x17\n" +
"\agift_id\x18\x02 \x01(\tR\x06giftId\x12\x17\n" +
"\apool_id\x18\x03 \x01(\tR\x06poolId\"\\\n" +
"\x1aGetLuckyGiftConfigResponse\x12>\n" +
"\x06config\x18\x01 \x01(\v2&.hyapp.activity.v1.LuckyGiftRuleConfigR\x06config\"\xbe\x01\n" +
"\x1cUpsertLuckyGiftConfigRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\x12>\n" +
"\x06config\x18\x02 \x01(\v2&.hyapp.activity.v1.LuckyGiftRuleConfigR\x06config\x12*\n" +
"\x11operator_admin_id\x18\x03 \x01(\x03R\x0foperatorAdminId\"_\n" +
"\x1dUpsertLuckyGiftConfigResponse\x12>\n" +
"\x06config\x18\x01 \x01(\v2&.hyapp.activity.v1.LuckyGiftRuleConfigR\x06config\"Q\n" +
"\x1bListLuckyGiftConfigsRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.v1.RequestMetaR\x04meta\"`\n" +
"\x1cListLuckyGiftConfigsResponse\x12@\n" +
"\aconfigs\x18\x01 \x03(\v2&.hyapp.activity.v1.LuckyGiftRuleConfigR\aconfigs\"\xfc\x01\n" +
"\x19ListLuckyGiftDrawsRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.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\"p\n" +
"\x1aListLuckyGiftDrawsResponse\x12<\n" +
"\x05draws\x18\x01 \x03(\v2&.hyapp.activity.v1.LuckyGiftDrawResultR\x05draws\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total\"\xa6\x04\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" +
"\x1croom_atmosphere_reward_coins\x18\b \x01(\x03R\x19roomAtmosphereRewardCoins\x124\n" +
"\x16activity_subsidy_coins\x18\t \x01(\x03R\x14activitySubsidyCoins\x12$\n" +
"\x0eactual_rtp_ppm\x18\n" +
" \x01(\x03R\factualRtpPpm\x12#\n" +
"\rpending_draws\x18\v \x01(\x03R\fpendingDraws\x12#\n" +
"\rgranted_draws\x18\f \x01(\x03R\fgrantedDraws\x12!\n" +
"\ffailed_draws\x18\r \x01(\x03R\vfailedDraws\"\xd0\x01\n" +
"\x1eGetLuckyGiftDrawSummaryRequest\x122\n" +
"\x04meta\x18\x01 \x01(\v2\x1e.hyapp.activity.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\"d\n" +
"\x1fGetLuckyGiftDrawSummaryResponse\x12A\n" +
"\asummary\x18\x01 \x01(\v2'.hyapp.activity.v1.LuckyGiftDrawSummaryR\asummary2\xe2\x01\n" +
"\x0fActivityService\x12_\n" +
"\fPingActivity\x12&.hyapp.activity.v1.PingActivityRequest\x1a'.hyapp.activity.v1.PingActivityResponse\x12n\n" +
"\x11GetActivityStatus\x12+.hyapp.activity.v1.GetActivityStatusRequest\x1a,.hyapp.activity.v1.GetActivityStatusResponse2\xb1\x06\n" +
"\x13MessageInboxService\x12h\n" +
"\x0fListMessageTabs\x12).hyapp.activity.v1.ListMessageTabsRequest\x1a*.hyapp.activity.v1.ListMessageTabsResponse\x12n\n" +
"\x11ListInboxMessages\x12+.hyapp.activity.v1.ListInboxMessagesRequest\x1a,.hyapp.activity.v1.ListInboxMessagesResponse\x12w\n" +
"\x14MarkInboxMessageRead\x12..hyapp.activity.v1.MarkInboxMessageReadRequest\x1a/.hyapp.activity.v1.MarkInboxMessageReadResponse\x12w\n" +
"\x14MarkInboxSectionRead\x12..hyapp.activity.v1.MarkInboxSectionReadRequest\x1a/.hyapp.activity.v1.MarkInboxSectionReadResponse\x12q\n" +
"\x12DeleteInboxMessage\x12,.hyapp.activity.v1.DeleteInboxMessageRequest\x1a-.hyapp.activity.v1.DeleteInboxMessageResponse\x12q\n" +
"\x12CreateInboxMessage\x12,.hyapp.activity.v1.CreateInboxMessageRequest\x1a-.hyapp.activity.v1.CreateInboxMessageResponse\x12h\n" +
"\x0fCreateFanoutJob\x12).hyapp.activity.v1.CreateFanoutJobRequest\x1a*.hyapp.activity.v1.CreateFanoutJobResponse2\xcf\x02\n" +
"\x13ActivityCronService\x12f\n" +
"\x19ProcessMessageFanoutBatch\x12#.hyapp.activity.v1.CronBatchRequest\x1a$.hyapp.activity.v1.CronBatchResponse\x12d\n" +
"\x17ProcessLevelRewardBatch\x12#.hyapp.activity.v1.CronBatchRequest\x1a$.hyapp.activity.v1.CronBatchResponse\x12j\n" +
"\x1dProcessAchievementRewardBatch\x12#.hyapp.activity.v1.CronBatchRequest\x1a$.hyapp.activity.v1.CronBatchResponse2\xc8\x02\n" +
"\vTaskService\x12b\n" +
"\rListUserTasks\x12'.hyapp.activity.v1.ListUserTasksRequest\x1a(.hyapp.activity.v1.ListUserTasksResponse\x12h\n" +
"\x0fClaimTaskReward\x12).hyapp.activity.v1.ClaimTaskRewardRequest\x1a*.hyapp.activity.v1.ClaimTaskRewardResponse\x12k\n" +
"\x10ConsumeTaskEvent\x12*.hyapp.activity.v1.ConsumeTaskEventRequest\x1a+.hyapp.activity.v1.ConsumeTaskEventResponse2\xc8\x03\n" +
"\x12GrowthLevelService\x12q\n" +
"\x12GetMyLevelOverview\x12,.hyapp.activity.v1.GetMyLevelOverviewRequest\x1a-.hyapp.activity.v1.GetMyLevelOverviewResponse\x12b\n" +
"\rGetLevelTrack\x12'.hyapp.activity.v1.GetLevelTrackRequest\x1a(.hyapp.activity.v1.GetLevelTrackResponse\x12k\n" +
"\x10ListLevelRewards\x12*.hyapp.activity.v1.ListLevelRewardsRequest\x1a+.hyapp.activity.v1.ListLevelRewardsResponse\x12n\n" +
"\x11ConsumeLevelEvent\x12+.hyapp.activity.v1.ConsumeLevelEventRequest\x1a,.hyapp.activity.v1.ConsumeLevelEventResponse2\xcf\x03\n" +
"\x12AchievementService\x12k\n" +
"\x10ListAchievements\x12*.hyapp.activity.v1.ListAchievementsRequest\x1a+.hyapp.activity.v1.ListAchievementsResponse\x12\x80\x01\n" +
"\x17ConsumeAchievementEvent\x121.hyapp.activity.v1.ConsumeAchievementEventRequest\x1a2.hyapp.activity.v1.ConsumeAchievementEventResponse\x12_\n" +
"\fListMyBadges\x12&.hyapp.activity.v1.ListMyBadgesRequest\x1a'.hyapp.activity.v1.ListMyBadgesResponse\x12h\n" +
"\x0fSetBadgeDisplay\x12).hyapp.activity.v1.SetBadgeDisplayRequest\x1a*.hyapp.activity.v1.SetBadgeDisplayResponse2\xf2\x01\n" +
"\x10LuckyGiftService\x12e\n" +
"\x0eCheckLuckyGift\x12(.hyapp.activity.v1.CheckLuckyGiftRequest\x1a).hyapp.activity.v1.CheckLuckyGiftResponse\x12w\n" +
"\x14ExecuteLuckyGiftDraw\x12..hyapp.activity.v1.ExecuteLuckyGiftDrawRequest\x1a/.hyapp.activity.v1.ExecuteLuckyGiftDrawResponse2\x8b\x05\n" +
"\x10BroadcastService\x12z\n" +
"\x15EnsureBroadcastGroups\x12/.hyapp.activity.v1.EnsureBroadcastGroupsRequest\x1a0.hyapp.activity.v1.EnsureBroadcastGroupsResponse\x12w\n" +
"\x16PublishRegionBroadcast\x120.hyapp.activity.v1.PublishRegionBroadcastRequest\x1a+.hyapp.activity.v1.PublishBroadcastResponse\x12w\n" +
"\x16PublishGlobalBroadcast\x120.hyapp.activity.v1.PublishGlobalBroadcastRequest\x1a+.hyapp.activity.v1.PublishBroadcastResponse\x12\x8c\x01\n" +
"\x1bRemoveRegionBroadcastMember\x125.hyapp.activity.v1.RemoveRegionBroadcastMemberRequest\x1a6.hyapp.activity.v1.RemoveRegionBroadcastMemberResponse\x12z\n" +
"\x1bProcessBroadcastOutboxBatch\x12#.hyapp.activity.v1.CronBatchRequest\x1a6.hyapp.activity.v1.ProcessBroadcastOutboxBatchResponse2\x87\x01\n" +
"\x18RoomEventConsumerService\x12k\n" +
"\x10ConsumeRoomEvent\x12*.hyapp.activity.v1.ConsumeRoomEventRequest\x1a+.hyapp.activity.v1.ConsumeRoomEventResponse2\x84\x03\n" +
"\x10AdminTaskService\x12t\n" +
"\x13ListTaskDefinitions\x12-.hyapp.activity.v1.ListTaskDefinitionsRequest\x1a..hyapp.activity.v1.ListTaskDefinitionsResponse\x12w\n" +
"\x14UpsertTaskDefinition\x12..hyapp.activity.v1.UpsertTaskDefinitionRequest\x1a/.hyapp.activity.v1.UpsertTaskDefinitionResponse\x12\x80\x01\n" +
"\x17SetTaskDefinitionStatus\x121.hyapp.activity.v1.SetTaskDefinitionStatusRequest\x1a2.hyapp.activity.v1.SetTaskDefinitionStatusResponse2\xbc\x02\n" +
"\x19RegistrationRewardService\x12\x9b\x01\n" +
" GetRegistrationRewardEligibility\x12:.hyapp.activity.v1.GetRegistrationRewardEligibilityRequest\x1a;.hyapp.activity.v1.GetRegistrationRewardEligibilityResponse\x12\x80\x01\n" +
"\x17IssueRegistrationReward\x121.hyapp.activity.v1.IssueRegistrationRewardRequest\x1a2.hyapp.activity.v1.IssueRegistrationRewardResponse2\xd9\x03\n" +
"\x1eAdminRegistrationRewardService\x12\x8c\x01\n" +
"\x1bGetRegistrationRewardConfig\x125.hyapp.activity.v1.GetRegistrationRewardConfigRequest\x1a6.hyapp.activity.v1.GetRegistrationRewardConfigResponse\x12\x95\x01\n" +
"\x1eUpdateRegistrationRewardConfig\x128.hyapp.activity.v1.UpdateRegistrationRewardConfigRequest\x1a9.hyapp.activity.v1.UpdateRegistrationRewardConfigResponse\x12\x8f\x01\n" +
"\x1cListRegistrationRewardClaims\x126.hyapp.activity.v1.ListRegistrationRewardClaimsRequest\x1a7.hyapp.activity.v1.ListRegistrationRewardClaimsResponse2\xba\x02\n" +
"\x1aFirstRechargeRewardService\x12\x8f\x01\n" +
"\x1cGetFirstRechargeRewardStatus\x126.hyapp.activity.v1.GetFirstRechargeRewardStatusRequest\x1a7.hyapp.activity.v1.GetFirstRechargeRewardStatusResponse\x12\x89\x01\n" +
"\x1aConsumeFirstRechargeReward\x124.hyapp.activity.v1.ConsumeFirstRechargeRewardRequest\x1a5.hyapp.activity.v1.ConsumeFirstRechargeRewardResponse2\xe3\x03\n" +
"\x1fAdminFirstRechargeRewardService\x12\x8f\x01\n" +
"\x1cGetFirstRechargeRewardConfig\x126.hyapp.activity.v1.GetFirstRechargeRewardConfigRequest\x1a7.hyapp.activity.v1.GetFirstRechargeRewardConfigResponse\x12\x98\x01\n" +
"\x1fUpdateFirstRechargeRewardConfig\x129.hyapp.activity.v1.UpdateFirstRechargeRewardConfigRequest\x1a:.hyapp.activity.v1.UpdateFirstRechargeRewardConfigResponse\x12\x92\x01\n" +
"\x1dListFirstRechargeRewardClaims\x127.hyapp.activity.v1.ListFirstRechargeRewardClaimsRequest\x1a8.hyapp.activity.v1.ListFirstRechargeRewardClaimsResponse2\x94\x02\n" +
"\x16SevenDayCheckInService\x12\x83\x01\n" +
"\x18GetSevenDayCheckInStatus\x122.hyapp.activity.v1.GetSevenDayCheckInStatusRequest\x1a3.hyapp.activity.v1.GetSevenDayCheckInStatusResponse\x12t\n" +
"\x13SignSevenDayCheckIn\x12-.hyapp.activity.v1.SignSevenDayCheckInRequest\x1a..hyapp.activity.v1.SignSevenDayCheckInResponse2\xbb\x03\n" +
"\x1bAdminSevenDayCheckInService\x12\x83\x01\n" +
"\x18GetSevenDayCheckInConfig\x122.hyapp.activity.v1.GetSevenDayCheckInConfigRequest\x1a3.hyapp.activity.v1.GetSevenDayCheckInConfigResponse\x12\x8c\x01\n" +
"\x1bUpdateSevenDayCheckInConfig\x125.hyapp.activity.v1.UpdateSevenDayCheckInConfigRequest\x1a6.hyapp.activity.v1.UpdateSevenDayCheckInConfigResponse\x12\x86\x01\n" +
"\x19ListSevenDayCheckInClaims\x123.hyapp.activity.v1.ListSevenDayCheckInClaimsRequest\x1a4.hyapp.activity.v1.ListSevenDayCheckInClaimsResponse2\xc4\x03\n" +
"\x17AdminGrowthLevelService\x12h\n" +
"\x0fListLevelConfig\x12).hyapp.activity.v1.ListLevelConfigRequest\x1a*.hyapp.activity.v1.ListLevelConfigResponse\x12k\n" +
"\x10UpsertLevelTrack\x12*.hyapp.activity.v1.UpsertLevelTrackRequest\x1a+.hyapp.activity.v1.UpsertLevelTrackResponse\x12h\n" +
"\x0fUpsertLevelRule\x12).hyapp.activity.v1.UpsertLevelRuleRequest\x1a*.hyapp.activity.v1.UpsertLevelRuleResponse\x12h\n" +
"\x0fUpsertLevelTier\x12).hyapp.activity.v1.UpsertLevelTierRequest\x1a*.hyapp.activity.v1.UpsertLevelTierResponse2\x9f\x02\n" +
"\x17AdminAchievementService\x12u\n" +
"\x1aListAchievementDefinitions\x12*.hyapp.activity.v1.ListAchievementsRequest\x1a+.hyapp.activity.v1.ListAchievementsResponse\x12\x8c\x01\n" +
"\x1bUpsertAchievementDefinition\x125.hyapp.activity.v1.UpsertAchievementDefinitionRequest\x1a6.hyapp.activity.v1.UpsertAchievementDefinitionResponse2\xf5\x04\n" +
"\x15AdminLuckyGiftService\x12q\n" +
"\x12GetLuckyGiftConfig\x12,.hyapp.activity.v1.GetLuckyGiftConfigRequest\x1a-.hyapp.activity.v1.GetLuckyGiftConfigResponse\x12z\n" +
"\x15UpsertLuckyGiftConfig\x12/.hyapp.activity.v1.UpsertLuckyGiftConfigRequest\x1a0.hyapp.activity.v1.UpsertLuckyGiftConfigResponse\x12w\n" +
"\x14ListLuckyGiftConfigs\x12..hyapp.activity.v1.ListLuckyGiftConfigsRequest\x1a/.hyapp.activity.v1.ListLuckyGiftConfigsResponse\x12q\n" +
"\x12ListLuckyGiftDraws\x12,.hyapp.activity.v1.ListLuckyGiftDrawsRequest\x1a-.hyapp.activity.v1.ListLuckyGiftDrawsResponse\x12\x80\x01\n" +
"\x17GetLuckyGiftDrawSummary\x121.hyapp.activity.v1.GetLuckyGiftDrawSummaryRequest\x1a2.hyapp.activity.v1.GetLuckyGiftDrawSummaryResponseB.Z,hyapp.local/api/proto/activity/v1;activityv1b\x06proto3"
var (
file_proto_activity_v1_activity_proto_rawDescOnce sync.Once
file_proto_activity_v1_activity_proto_rawDescData []byte
)
func file_proto_activity_v1_activity_proto_rawDescGZIP() []byte {
file_proto_activity_v1_activity_proto_rawDescOnce.Do(func() {
file_proto_activity_v1_activity_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_activity_v1_activity_proto_rawDesc), len(file_proto_activity_v1_activity_proto_rawDesc)))
})
return file_proto_activity_v1_activity_proto_rawDescData
}
var file_proto_activity_v1_activity_proto_msgTypes = make([]protoimpl.MessageInfo, 147)
var file_proto_activity_v1_activity_proto_goTypes = []any{
(*RequestMeta)(nil), // 0: hyapp.activity.v1.RequestMeta
(*PingActivityRequest)(nil), // 1: hyapp.activity.v1.PingActivityRequest
(*PingActivityResponse)(nil), // 2: hyapp.activity.v1.PingActivityResponse
(*GetActivityStatusRequest)(nil), // 3: hyapp.activity.v1.GetActivityStatusRequest
(*GetActivityStatusResponse)(nil), // 4: hyapp.activity.v1.GetActivityStatusResponse
(*MessageTabSection)(nil), // 5: hyapp.activity.v1.MessageTabSection
(*ListMessageTabsRequest)(nil), // 6: hyapp.activity.v1.ListMessageTabsRequest
(*ListMessageTabsResponse)(nil), // 7: hyapp.activity.v1.ListMessageTabsResponse
(*InboxMessage)(nil), // 8: hyapp.activity.v1.InboxMessage
(*ListInboxMessagesRequest)(nil), // 9: hyapp.activity.v1.ListInboxMessagesRequest
(*ListInboxMessagesResponse)(nil), // 10: hyapp.activity.v1.ListInboxMessagesResponse
(*MarkInboxMessageReadRequest)(nil), // 11: hyapp.activity.v1.MarkInboxMessageReadRequest
(*MarkInboxMessageReadResponse)(nil), // 12: hyapp.activity.v1.MarkInboxMessageReadResponse
(*MarkInboxSectionReadRequest)(nil), // 13: hyapp.activity.v1.MarkInboxSectionReadRequest
(*MarkInboxSectionReadResponse)(nil), // 14: hyapp.activity.v1.MarkInboxSectionReadResponse
(*DeleteInboxMessageRequest)(nil), // 15: hyapp.activity.v1.DeleteInboxMessageRequest
(*DeleteInboxMessageResponse)(nil), // 16: hyapp.activity.v1.DeleteInboxMessageResponse
(*CreateInboxMessageRequest)(nil), // 17: hyapp.activity.v1.CreateInboxMessageRequest
(*CreateInboxMessageResponse)(nil), // 18: hyapp.activity.v1.CreateInboxMessageResponse
(*CreateFanoutJobRequest)(nil), // 19: hyapp.activity.v1.CreateFanoutJobRequest
(*CreateFanoutJobResponse)(nil), // 20: hyapp.activity.v1.CreateFanoutJobResponse
(*CronBatchRequest)(nil), // 21: hyapp.activity.v1.CronBatchRequest
(*CronBatchResponse)(nil), // 22: hyapp.activity.v1.CronBatchResponse
(*TaskItem)(nil), // 23: hyapp.activity.v1.TaskItem
(*TaskSection)(nil), // 24: hyapp.activity.v1.TaskSection
(*ListUserTasksRequest)(nil), // 25: hyapp.activity.v1.ListUserTasksRequest
(*ListUserTasksResponse)(nil), // 26: hyapp.activity.v1.ListUserTasksResponse
(*ClaimTaskRewardRequest)(nil), // 27: hyapp.activity.v1.ClaimTaskRewardRequest
(*ClaimTaskRewardResponse)(nil), // 28: hyapp.activity.v1.ClaimTaskRewardResponse
(*ConsumeTaskEventRequest)(nil), // 29: hyapp.activity.v1.ConsumeTaskEventRequest
(*ConsumeTaskEventResponse)(nil), // 30: hyapp.activity.v1.ConsumeTaskEventResponse
(*BroadcastJoinGroup)(nil), // 31: hyapp.activity.v1.BroadcastJoinGroup
(*EnsureBroadcastGroupsRequest)(nil), // 32: hyapp.activity.v1.EnsureBroadcastGroupsRequest
(*EnsureBroadcastGroupsResponse)(nil), // 33: hyapp.activity.v1.EnsureBroadcastGroupsResponse
(*PublishRegionBroadcastRequest)(nil), // 34: hyapp.activity.v1.PublishRegionBroadcastRequest
(*PublishGlobalBroadcastRequest)(nil), // 35: hyapp.activity.v1.PublishGlobalBroadcastRequest
(*PublishBroadcastResponse)(nil), // 36: hyapp.activity.v1.PublishBroadcastResponse
(*RemoveRegionBroadcastMemberRequest)(nil), // 37: hyapp.activity.v1.RemoveRegionBroadcastMemberRequest
(*RemoveRegionBroadcastMemberResponse)(nil), // 38: hyapp.activity.v1.RemoveRegionBroadcastMemberResponse
(*ProcessBroadcastOutboxBatchResponse)(nil), // 39: hyapp.activity.v1.ProcessBroadcastOutboxBatchResponse
(*ConsumeRoomEventRequest)(nil), // 40: hyapp.activity.v1.ConsumeRoomEventRequest
(*ConsumeRoomEventResponse)(nil), // 41: hyapp.activity.v1.ConsumeRoomEventResponse
(*TaskDefinition)(nil), // 42: hyapp.activity.v1.TaskDefinition
(*ListTaskDefinitionsRequest)(nil), // 43: hyapp.activity.v1.ListTaskDefinitionsRequest
(*ListTaskDefinitionsResponse)(nil), // 44: hyapp.activity.v1.ListTaskDefinitionsResponse
(*UpsertTaskDefinitionRequest)(nil), // 45: hyapp.activity.v1.UpsertTaskDefinitionRequest
(*UpsertTaskDefinitionResponse)(nil), // 46: hyapp.activity.v1.UpsertTaskDefinitionResponse
(*SetTaskDefinitionStatusRequest)(nil), // 47: hyapp.activity.v1.SetTaskDefinitionStatusRequest
(*SetTaskDefinitionStatusResponse)(nil), // 48: hyapp.activity.v1.SetTaskDefinitionStatusResponse
(*RegistrationRewardConfig)(nil), // 49: hyapp.activity.v1.RegistrationRewardConfig
(*RegistrationRewardClaim)(nil), // 50: hyapp.activity.v1.RegistrationRewardClaim
(*RegistrationRewardEligibility)(nil), // 51: hyapp.activity.v1.RegistrationRewardEligibility
(*GetRegistrationRewardEligibilityRequest)(nil), // 52: hyapp.activity.v1.GetRegistrationRewardEligibilityRequest
(*GetRegistrationRewardEligibilityResponse)(nil), // 53: hyapp.activity.v1.GetRegistrationRewardEligibilityResponse
(*IssueRegistrationRewardRequest)(nil), // 54: hyapp.activity.v1.IssueRegistrationRewardRequest
(*IssueRegistrationRewardResponse)(nil), // 55: hyapp.activity.v1.IssueRegistrationRewardResponse
(*GetRegistrationRewardConfigRequest)(nil), // 56: hyapp.activity.v1.GetRegistrationRewardConfigRequest
(*GetRegistrationRewardConfigResponse)(nil), // 57: hyapp.activity.v1.GetRegistrationRewardConfigResponse
(*UpdateRegistrationRewardConfigRequest)(nil), // 58: hyapp.activity.v1.UpdateRegistrationRewardConfigRequest
(*UpdateRegistrationRewardConfigResponse)(nil), // 59: hyapp.activity.v1.UpdateRegistrationRewardConfigResponse
(*ListRegistrationRewardClaimsRequest)(nil), // 60: hyapp.activity.v1.ListRegistrationRewardClaimsRequest
(*ListRegistrationRewardClaimsResponse)(nil), // 61: hyapp.activity.v1.ListRegistrationRewardClaimsResponse
(*FirstRechargeRewardTier)(nil), // 62: hyapp.activity.v1.FirstRechargeRewardTier
(*FirstRechargeRewardConfig)(nil), // 63: hyapp.activity.v1.FirstRechargeRewardConfig
(*FirstRechargeRewardClaim)(nil), // 64: hyapp.activity.v1.FirstRechargeRewardClaim
(*FirstRechargeRewardStatus)(nil), // 65: hyapp.activity.v1.FirstRechargeRewardStatus
(*GetFirstRechargeRewardStatusRequest)(nil), // 66: hyapp.activity.v1.GetFirstRechargeRewardStatusRequest
(*GetFirstRechargeRewardStatusResponse)(nil), // 67: hyapp.activity.v1.GetFirstRechargeRewardStatusResponse
(*ConsumeFirstRechargeRewardRequest)(nil), // 68: hyapp.activity.v1.ConsumeFirstRechargeRewardRequest
(*ConsumeFirstRechargeRewardResponse)(nil), // 69: hyapp.activity.v1.ConsumeFirstRechargeRewardResponse
(*GetFirstRechargeRewardConfigRequest)(nil), // 70: hyapp.activity.v1.GetFirstRechargeRewardConfigRequest
(*GetFirstRechargeRewardConfigResponse)(nil), // 71: hyapp.activity.v1.GetFirstRechargeRewardConfigResponse
(*UpdateFirstRechargeRewardConfigRequest)(nil), // 72: hyapp.activity.v1.UpdateFirstRechargeRewardConfigRequest
(*UpdateFirstRechargeRewardConfigResponse)(nil), // 73: hyapp.activity.v1.UpdateFirstRechargeRewardConfigResponse
(*ListFirstRechargeRewardClaimsRequest)(nil), // 74: hyapp.activity.v1.ListFirstRechargeRewardClaimsRequest
(*ListFirstRechargeRewardClaimsResponse)(nil), // 75: hyapp.activity.v1.ListFirstRechargeRewardClaimsResponse
(*SevenDayCheckInReward)(nil), // 76: hyapp.activity.v1.SevenDayCheckInReward
(*SevenDayCheckInConfig)(nil), // 77: hyapp.activity.v1.SevenDayCheckInConfig
(*SevenDayCheckInRewardStatus)(nil), // 78: hyapp.activity.v1.SevenDayCheckInRewardStatus
(*GetSevenDayCheckInStatusRequest)(nil), // 79: hyapp.activity.v1.GetSevenDayCheckInStatusRequest
(*GetSevenDayCheckInStatusResponse)(nil), // 80: hyapp.activity.v1.GetSevenDayCheckInStatusResponse
(*SignSevenDayCheckInRequest)(nil), // 81: hyapp.activity.v1.SignSevenDayCheckInRequest
(*SignSevenDayCheckInResponse)(nil), // 82: hyapp.activity.v1.SignSevenDayCheckInResponse
(*GetSevenDayCheckInConfigRequest)(nil), // 83: hyapp.activity.v1.GetSevenDayCheckInConfigRequest
(*GetSevenDayCheckInConfigResponse)(nil), // 84: hyapp.activity.v1.GetSevenDayCheckInConfigResponse
(*UpdateSevenDayCheckInConfigRequest)(nil), // 85: hyapp.activity.v1.UpdateSevenDayCheckInConfigRequest
(*UpdateSevenDayCheckInConfigResponse)(nil), // 86: hyapp.activity.v1.UpdateSevenDayCheckInConfigResponse
(*SevenDayCheckInClaim)(nil), // 87: hyapp.activity.v1.SevenDayCheckInClaim
(*ListSevenDayCheckInClaimsRequest)(nil), // 88: hyapp.activity.v1.ListSevenDayCheckInClaimsRequest
(*ListSevenDayCheckInClaimsResponse)(nil), // 89: hyapp.activity.v1.ListSevenDayCheckInClaimsResponse
(*LevelTrack)(nil), // 90: hyapp.activity.v1.LevelTrack
(*LevelRule)(nil), // 91: hyapp.activity.v1.LevelRule
(*LevelTier)(nil), // 92: hyapp.activity.v1.LevelTier
(*LevelTrackOverview)(nil), // 93: hyapp.activity.v1.LevelTrackOverview
(*GetMyLevelOverviewRequest)(nil), // 94: hyapp.activity.v1.GetMyLevelOverviewRequest
(*GetMyLevelOverviewResponse)(nil), // 95: hyapp.activity.v1.GetMyLevelOverviewResponse
(*GetLevelTrackRequest)(nil), // 96: hyapp.activity.v1.GetLevelTrackRequest
(*GetLevelTrackResponse)(nil), // 97: hyapp.activity.v1.GetLevelTrackResponse
(*LevelRewardJob)(nil), // 98: hyapp.activity.v1.LevelRewardJob
(*ListLevelRewardsRequest)(nil), // 99: hyapp.activity.v1.ListLevelRewardsRequest
(*ListLevelRewardsResponse)(nil), // 100: hyapp.activity.v1.ListLevelRewardsResponse
(*ConsumeLevelEventRequest)(nil), // 101: hyapp.activity.v1.ConsumeLevelEventRequest
(*ConsumeLevelEventResponse)(nil), // 102: hyapp.activity.v1.ConsumeLevelEventResponse
(*UpsertLevelTrackRequest)(nil), // 103: hyapp.activity.v1.UpsertLevelTrackRequest
(*UpsertLevelTrackResponse)(nil), // 104: hyapp.activity.v1.UpsertLevelTrackResponse
(*UpsertLevelRuleRequest)(nil), // 105: hyapp.activity.v1.UpsertLevelRuleRequest
(*UpsertLevelRuleResponse)(nil), // 106: hyapp.activity.v1.UpsertLevelRuleResponse
(*UpsertLevelTierRequest)(nil), // 107: hyapp.activity.v1.UpsertLevelTierRequest
(*UpsertLevelTierResponse)(nil), // 108: hyapp.activity.v1.UpsertLevelTierResponse
(*ListLevelConfigRequest)(nil), // 109: hyapp.activity.v1.ListLevelConfigRequest
(*ListLevelConfigResponse)(nil), // 110: hyapp.activity.v1.ListLevelConfigResponse
(*AchievementCondition)(nil), // 111: hyapp.activity.v1.AchievementCondition
(*AchievementDefinition)(nil), // 112: hyapp.activity.v1.AchievementDefinition
(*UserAchievement)(nil), // 113: hyapp.activity.v1.UserAchievement
(*ListAchievementsRequest)(nil), // 114: hyapp.activity.v1.ListAchievementsRequest
(*ListAchievementsResponse)(nil), // 115: hyapp.activity.v1.ListAchievementsResponse
(*ConsumeAchievementEventRequest)(nil), // 116: hyapp.activity.v1.ConsumeAchievementEventRequest
(*ConsumeAchievementEventResponse)(nil), // 117: hyapp.activity.v1.ConsumeAchievementEventResponse
(*BadgeDisplayItem)(nil), // 118: hyapp.activity.v1.BadgeDisplayItem
(*ListMyBadgesRequest)(nil), // 119: hyapp.activity.v1.ListMyBadgesRequest
(*ListMyBadgesResponse)(nil), // 120: hyapp.activity.v1.ListMyBadgesResponse
(*SetBadgeDisplayRequest)(nil), // 121: hyapp.activity.v1.SetBadgeDisplayRequest
(*SetBadgeDisplayResponse)(nil), // 122: hyapp.activity.v1.SetBadgeDisplayResponse
(*UpsertAchievementDefinitionRequest)(nil), // 123: hyapp.activity.v1.UpsertAchievementDefinitionRequest
(*UpsertAchievementDefinitionResponse)(nil), // 124: hyapp.activity.v1.UpsertAchievementDefinitionResponse
(*LuckyGiftMeta)(nil), // 125: hyapp.activity.v1.LuckyGiftMeta
(*LuckyGiftTier)(nil), // 126: hyapp.activity.v1.LuckyGiftTier
(*LuckyGiftConfig)(nil), // 127: hyapp.activity.v1.LuckyGiftConfig
(*LuckyGiftRuleTier)(nil), // 128: hyapp.activity.v1.LuckyGiftRuleTier
(*LuckyGiftRuleStage)(nil), // 129: hyapp.activity.v1.LuckyGiftRuleStage
(*LuckyGiftRuleConfig)(nil), // 130: hyapp.activity.v1.LuckyGiftRuleConfig
(*CheckLuckyGiftRequest)(nil), // 131: hyapp.activity.v1.CheckLuckyGiftRequest
(*CheckLuckyGiftResponse)(nil), // 132: hyapp.activity.v1.CheckLuckyGiftResponse
(*LuckyGiftDrawResult)(nil), // 133: hyapp.activity.v1.LuckyGiftDrawResult
(*ExecuteLuckyGiftDrawRequest)(nil), // 134: hyapp.activity.v1.ExecuteLuckyGiftDrawRequest
(*ExecuteLuckyGiftDrawResponse)(nil), // 135: hyapp.activity.v1.ExecuteLuckyGiftDrawResponse
(*GetLuckyGiftConfigRequest)(nil), // 136: hyapp.activity.v1.GetLuckyGiftConfigRequest
(*GetLuckyGiftConfigResponse)(nil), // 137: hyapp.activity.v1.GetLuckyGiftConfigResponse
(*UpsertLuckyGiftConfigRequest)(nil), // 138: hyapp.activity.v1.UpsertLuckyGiftConfigRequest
(*UpsertLuckyGiftConfigResponse)(nil), // 139: hyapp.activity.v1.UpsertLuckyGiftConfigResponse
(*ListLuckyGiftConfigsRequest)(nil), // 140: hyapp.activity.v1.ListLuckyGiftConfigsRequest
(*ListLuckyGiftConfigsResponse)(nil), // 141: hyapp.activity.v1.ListLuckyGiftConfigsResponse
(*ListLuckyGiftDrawsRequest)(nil), // 142: hyapp.activity.v1.ListLuckyGiftDrawsRequest
(*ListLuckyGiftDrawsResponse)(nil), // 143: hyapp.activity.v1.ListLuckyGiftDrawsResponse
(*LuckyGiftDrawSummary)(nil), // 144: hyapp.activity.v1.LuckyGiftDrawSummary
(*GetLuckyGiftDrawSummaryRequest)(nil), // 145: hyapp.activity.v1.GetLuckyGiftDrawSummaryRequest
(*GetLuckyGiftDrawSummaryResponse)(nil), // 146: hyapp.activity.v1.GetLuckyGiftDrawSummaryResponse
(*v1.EventEnvelope)(nil), // 147: hyapp.events.room.v1.EventEnvelope
}
var file_proto_activity_v1_activity_proto_depIdxs = []int32{
0, // 0: hyapp.activity.v1.PingActivityRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
0, // 1: hyapp.activity.v1.GetActivityStatusRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
0, // 2: hyapp.activity.v1.ListMessageTabsRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
5, // 3: hyapp.activity.v1.ListMessageTabsResponse.sections:type_name -> hyapp.activity.v1.MessageTabSection
0, // 4: hyapp.activity.v1.ListInboxMessagesRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
8, // 5: hyapp.activity.v1.ListInboxMessagesResponse.items:type_name -> hyapp.activity.v1.InboxMessage
0, // 6: hyapp.activity.v1.MarkInboxMessageReadRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
0, // 7: hyapp.activity.v1.MarkInboxSectionReadRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
0, // 8: hyapp.activity.v1.DeleteInboxMessageRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
0, // 9: hyapp.activity.v1.CreateInboxMessageRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
0, // 10: hyapp.activity.v1.CreateFanoutJobRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
0, // 11: hyapp.activity.v1.CronBatchRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
23, // 12: hyapp.activity.v1.TaskSection.items:type_name -> hyapp.activity.v1.TaskItem
0, // 13: hyapp.activity.v1.ListUserTasksRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
24, // 14: hyapp.activity.v1.ListUserTasksResponse.sections:type_name -> hyapp.activity.v1.TaskSection
0, // 15: hyapp.activity.v1.ClaimTaskRewardRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
0, // 16: hyapp.activity.v1.ConsumeTaskEventRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
0, // 17: hyapp.activity.v1.EnsureBroadcastGroupsRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
0, // 18: hyapp.activity.v1.PublishRegionBroadcastRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
0, // 19: hyapp.activity.v1.PublishGlobalBroadcastRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
0, // 20: hyapp.activity.v1.RemoveRegionBroadcastMemberRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
0, // 21: hyapp.activity.v1.ConsumeRoomEventRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
147, // 22: hyapp.activity.v1.ConsumeRoomEventRequest.envelope:type_name -> hyapp.events.room.v1.EventEnvelope
0, // 23: hyapp.activity.v1.ListTaskDefinitionsRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
42, // 24: hyapp.activity.v1.ListTaskDefinitionsResponse.tasks:type_name -> hyapp.activity.v1.TaskDefinition
0, // 25: hyapp.activity.v1.UpsertTaskDefinitionRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
42, // 26: hyapp.activity.v1.UpsertTaskDefinitionResponse.task:type_name -> hyapp.activity.v1.TaskDefinition
0, // 27: hyapp.activity.v1.SetTaskDefinitionStatusRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
42, // 28: hyapp.activity.v1.SetTaskDefinitionStatusResponse.task:type_name -> hyapp.activity.v1.TaskDefinition
0, // 29: hyapp.activity.v1.GetRegistrationRewardEligibilityRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
51, // 30: hyapp.activity.v1.GetRegistrationRewardEligibilityResponse.eligibility:type_name -> hyapp.activity.v1.RegistrationRewardEligibility
0, // 31: hyapp.activity.v1.IssueRegistrationRewardRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
50, // 32: hyapp.activity.v1.IssueRegistrationRewardResponse.claim:type_name -> hyapp.activity.v1.RegistrationRewardClaim
51, // 33: hyapp.activity.v1.IssueRegistrationRewardResponse.eligibility:type_name -> hyapp.activity.v1.RegistrationRewardEligibility
0, // 34: hyapp.activity.v1.GetRegistrationRewardConfigRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
49, // 35: hyapp.activity.v1.GetRegistrationRewardConfigResponse.config:type_name -> hyapp.activity.v1.RegistrationRewardConfig
0, // 36: hyapp.activity.v1.UpdateRegistrationRewardConfigRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
49, // 37: hyapp.activity.v1.UpdateRegistrationRewardConfigResponse.config:type_name -> hyapp.activity.v1.RegistrationRewardConfig
0, // 38: hyapp.activity.v1.ListRegistrationRewardClaimsRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
50, // 39: hyapp.activity.v1.ListRegistrationRewardClaimsResponse.claims:type_name -> hyapp.activity.v1.RegistrationRewardClaim
62, // 40: hyapp.activity.v1.FirstRechargeRewardConfig.tiers:type_name -> hyapp.activity.v1.FirstRechargeRewardTier
62, // 41: hyapp.activity.v1.FirstRechargeRewardStatus.tiers:type_name -> hyapp.activity.v1.FirstRechargeRewardTier
64, // 42: hyapp.activity.v1.FirstRechargeRewardStatus.claim:type_name -> hyapp.activity.v1.FirstRechargeRewardClaim
0, // 43: hyapp.activity.v1.GetFirstRechargeRewardStatusRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
65, // 44: hyapp.activity.v1.GetFirstRechargeRewardStatusResponse.status:type_name -> hyapp.activity.v1.FirstRechargeRewardStatus
0, // 45: hyapp.activity.v1.ConsumeFirstRechargeRewardRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
64, // 46: hyapp.activity.v1.ConsumeFirstRechargeRewardResponse.claim:type_name -> hyapp.activity.v1.FirstRechargeRewardClaim
0, // 47: hyapp.activity.v1.GetFirstRechargeRewardConfigRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
63, // 48: hyapp.activity.v1.GetFirstRechargeRewardConfigResponse.config:type_name -> hyapp.activity.v1.FirstRechargeRewardConfig
0, // 49: hyapp.activity.v1.UpdateFirstRechargeRewardConfigRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
62, // 50: hyapp.activity.v1.UpdateFirstRechargeRewardConfigRequest.tiers:type_name -> hyapp.activity.v1.FirstRechargeRewardTier
63, // 51: hyapp.activity.v1.UpdateFirstRechargeRewardConfigResponse.config:type_name -> hyapp.activity.v1.FirstRechargeRewardConfig
0, // 52: hyapp.activity.v1.ListFirstRechargeRewardClaimsRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
64, // 53: hyapp.activity.v1.ListFirstRechargeRewardClaimsResponse.claims:type_name -> hyapp.activity.v1.FirstRechargeRewardClaim
76, // 54: hyapp.activity.v1.SevenDayCheckInConfig.rewards:type_name -> hyapp.activity.v1.SevenDayCheckInReward
0, // 55: hyapp.activity.v1.GetSevenDayCheckInStatusRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
78, // 56: hyapp.activity.v1.GetSevenDayCheckInStatusResponse.rewards:type_name -> hyapp.activity.v1.SevenDayCheckInRewardStatus
0, // 57: hyapp.activity.v1.SignSevenDayCheckInRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
0, // 58: hyapp.activity.v1.GetSevenDayCheckInConfigRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
77, // 59: hyapp.activity.v1.GetSevenDayCheckInConfigResponse.config:type_name -> hyapp.activity.v1.SevenDayCheckInConfig
0, // 60: hyapp.activity.v1.UpdateSevenDayCheckInConfigRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
76, // 61: hyapp.activity.v1.UpdateSevenDayCheckInConfigRequest.rewards:type_name -> hyapp.activity.v1.SevenDayCheckInReward
77, // 62: hyapp.activity.v1.UpdateSevenDayCheckInConfigResponse.config:type_name -> hyapp.activity.v1.SevenDayCheckInConfig
0, // 63: hyapp.activity.v1.ListSevenDayCheckInClaimsRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
87, // 64: hyapp.activity.v1.ListSevenDayCheckInClaimsResponse.claims:type_name -> hyapp.activity.v1.SevenDayCheckInClaim
0, // 65: hyapp.activity.v1.GetMyLevelOverviewRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
93, // 66: hyapp.activity.v1.GetMyLevelOverviewResponse.tracks:type_name -> hyapp.activity.v1.LevelTrackOverview
0, // 67: hyapp.activity.v1.GetLevelTrackRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
93, // 68: hyapp.activity.v1.GetLevelTrackResponse.overview:type_name -> hyapp.activity.v1.LevelTrackOverview
91, // 69: hyapp.activity.v1.GetLevelTrackResponse.rules:type_name -> hyapp.activity.v1.LevelRule
92, // 70: hyapp.activity.v1.GetLevelTrackResponse.tiers:type_name -> hyapp.activity.v1.LevelTier
0, // 71: hyapp.activity.v1.ListLevelRewardsRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
98, // 72: hyapp.activity.v1.ListLevelRewardsResponse.rewards:type_name -> hyapp.activity.v1.LevelRewardJob
0, // 73: hyapp.activity.v1.ConsumeLevelEventRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
0, // 74: hyapp.activity.v1.UpsertLevelTrackRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
90, // 75: hyapp.activity.v1.UpsertLevelTrackResponse.track:type_name -> hyapp.activity.v1.LevelTrack
0, // 76: hyapp.activity.v1.UpsertLevelRuleRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
91, // 77: hyapp.activity.v1.UpsertLevelRuleResponse.rule:type_name -> hyapp.activity.v1.LevelRule
0, // 78: hyapp.activity.v1.UpsertLevelTierRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
92, // 79: hyapp.activity.v1.UpsertLevelTierResponse.tier:type_name -> hyapp.activity.v1.LevelTier
0, // 80: hyapp.activity.v1.ListLevelConfigRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
90, // 81: hyapp.activity.v1.ListLevelConfigResponse.tracks:type_name -> hyapp.activity.v1.LevelTrack
91, // 82: hyapp.activity.v1.ListLevelConfigResponse.rules:type_name -> hyapp.activity.v1.LevelRule
92, // 83: hyapp.activity.v1.ListLevelConfigResponse.tiers:type_name -> hyapp.activity.v1.LevelTier
111, // 84: hyapp.activity.v1.AchievementDefinition.conditions:type_name -> hyapp.activity.v1.AchievementCondition
112, // 85: hyapp.activity.v1.UserAchievement.definition:type_name -> hyapp.activity.v1.AchievementDefinition
0, // 86: hyapp.activity.v1.ListAchievementsRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
113, // 87: hyapp.activity.v1.ListAchievementsResponse.achievements:type_name -> hyapp.activity.v1.UserAchievement
0, // 88: hyapp.activity.v1.ConsumeAchievementEventRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
0, // 89: hyapp.activity.v1.ListMyBadgesRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
118, // 90: hyapp.activity.v1.ListMyBadgesResponse.strip_badges:type_name -> hyapp.activity.v1.BadgeDisplayItem
118, // 91: hyapp.activity.v1.ListMyBadgesResponse.profile_tile_badges:type_name -> hyapp.activity.v1.BadgeDisplayItem
118, // 92: hyapp.activity.v1.ListMyBadgesResponse.honor_badges:type_name -> hyapp.activity.v1.BadgeDisplayItem
0, // 93: hyapp.activity.v1.SetBadgeDisplayRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
118, // 94: hyapp.activity.v1.SetBadgeDisplayRequest.items:type_name -> hyapp.activity.v1.BadgeDisplayItem
120, // 95: hyapp.activity.v1.SetBadgeDisplayResponse.profile:type_name -> hyapp.activity.v1.ListMyBadgesResponse
0, // 96: hyapp.activity.v1.UpsertAchievementDefinitionRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
111, // 97: hyapp.activity.v1.UpsertAchievementDefinitionRequest.conditions:type_name -> hyapp.activity.v1.AchievementCondition
112, // 98: hyapp.activity.v1.UpsertAchievementDefinitionResponse.achievement:type_name -> hyapp.activity.v1.AchievementDefinition
0, // 99: hyapp.activity.v1.LuckyGiftMeta.meta:type_name -> hyapp.activity.v1.RequestMeta
126, // 100: hyapp.activity.v1.LuckyGiftConfig.tiers:type_name -> hyapp.activity.v1.LuckyGiftTier
128, // 101: hyapp.activity.v1.LuckyGiftRuleStage.tiers:type_name -> hyapp.activity.v1.LuckyGiftRuleTier
129, // 102: hyapp.activity.v1.LuckyGiftRuleConfig.stages:type_name -> hyapp.activity.v1.LuckyGiftRuleStage
0, // 103: hyapp.activity.v1.CheckLuckyGiftRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
125, // 104: hyapp.activity.v1.ExecuteLuckyGiftDrawRequest.lucky_gift:type_name -> hyapp.activity.v1.LuckyGiftMeta
133, // 105: hyapp.activity.v1.ExecuteLuckyGiftDrawResponse.result:type_name -> hyapp.activity.v1.LuckyGiftDrawResult
0, // 106: hyapp.activity.v1.GetLuckyGiftConfigRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
130, // 107: hyapp.activity.v1.GetLuckyGiftConfigResponse.config:type_name -> hyapp.activity.v1.LuckyGiftRuleConfig
0, // 108: hyapp.activity.v1.UpsertLuckyGiftConfigRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
130, // 109: hyapp.activity.v1.UpsertLuckyGiftConfigRequest.config:type_name -> hyapp.activity.v1.LuckyGiftRuleConfig
130, // 110: hyapp.activity.v1.UpsertLuckyGiftConfigResponse.config:type_name -> hyapp.activity.v1.LuckyGiftRuleConfig
0, // 111: hyapp.activity.v1.ListLuckyGiftConfigsRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
130, // 112: hyapp.activity.v1.ListLuckyGiftConfigsResponse.configs:type_name -> hyapp.activity.v1.LuckyGiftRuleConfig
0, // 113: hyapp.activity.v1.ListLuckyGiftDrawsRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
133, // 114: hyapp.activity.v1.ListLuckyGiftDrawsResponse.draws:type_name -> hyapp.activity.v1.LuckyGiftDrawResult
0, // 115: hyapp.activity.v1.GetLuckyGiftDrawSummaryRequest.meta:type_name -> hyapp.activity.v1.RequestMeta
144, // 116: hyapp.activity.v1.GetLuckyGiftDrawSummaryResponse.summary:type_name -> hyapp.activity.v1.LuckyGiftDrawSummary
1, // 117: hyapp.activity.v1.ActivityService.PingActivity:input_type -> hyapp.activity.v1.PingActivityRequest
3, // 118: hyapp.activity.v1.ActivityService.GetActivityStatus:input_type -> hyapp.activity.v1.GetActivityStatusRequest
6, // 119: hyapp.activity.v1.MessageInboxService.ListMessageTabs:input_type -> hyapp.activity.v1.ListMessageTabsRequest
9, // 120: hyapp.activity.v1.MessageInboxService.ListInboxMessages:input_type -> hyapp.activity.v1.ListInboxMessagesRequest
11, // 121: hyapp.activity.v1.MessageInboxService.MarkInboxMessageRead:input_type -> hyapp.activity.v1.MarkInboxMessageReadRequest
13, // 122: hyapp.activity.v1.MessageInboxService.MarkInboxSectionRead:input_type -> hyapp.activity.v1.MarkInboxSectionReadRequest
15, // 123: hyapp.activity.v1.MessageInboxService.DeleteInboxMessage:input_type -> hyapp.activity.v1.DeleteInboxMessageRequest
17, // 124: hyapp.activity.v1.MessageInboxService.CreateInboxMessage:input_type -> hyapp.activity.v1.CreateInboxMessageRequest
19, // 125: hyapp.activity.v1.MessageInboxService.CreateFanoutJob:input_type -> hyapp.activity.v1.CreateFanoutJobRequest
21, // 126: hyapp.activity.v1.ActivityCronService.ProcessMessageFanoutBatch:input_type -> hyapp.activity.v1.CronBatchRequest
21, // 127: hyapp.activity.v1.ActivityCronService.ProcessLevelRewardBatch:input_type -> hyapp.activity.v1.CronBatchRequest
21, // 128: hyapp.activity.v1.ActivityCronService.ProcessAchievementRewardBatch:input_type -> hyapp.activity.v1.CronBatchRequest
25, // 129: hyapp.activity.v1.TaskService.ListUserTasks:input_type -> hyapp.activity.v1.ListUserTasksRequest
27, // 130: hyapp.activity.v1.TaskService.ClaimTaskReward:input_type -> hyapp.activity.v1.ClaimTaskRewardRequest
29, // 131: hyapp.activity.v1.TaskService.ConsumeTaskEvent:input_type -> hyapp.activity.v1.ConsumeTaskEventRequest
94, // 132: hyapp.activity.v1.GrowthLevelService.GetMyLevelOverview:input_type -> hyapp.activity.v1.GetMyLevelOverviewRequest
96, // 133: hyapp.activity.v1.GrowthLevelService.GetLevelTrack:input_type -> hyapp.activity.v1.GetLevelTrackRequest
99, // 134: hyapp.activity.v1.GrowthLevelService.ListLevelRewards:input_type -> hyapp.activity.v1.ListLevelRewardsRequest
101, // 135: hyapp.activity.v1.GrowthLevelService.ConsumeLevelEvent:input_type -> hyapp.activity.v1.ConsumeLevelEventRequest
114, // 136: hyapp.activity.v1.AchievementService.ListAchievements:input_type -> hyapp.activity.v1.ListAchievementsRequest
116, // 137: hyapp.activity.v1.AchievementService.ConsumeAchievementEvent:input_type -> hyapp.activity.v1.ConsumeAchievementEventRequest
119, // 138: hyapp.activity.v1.AchievementService.ListMyBadges:input_type -> hyapp.activity.v1.ListMyBadgesRequest
121, // 139: hyapp.activity.v1.AchievementService.SetBadgeDisplay:input_type -> hyapp.activity.v1.SetBadgeDisplayRequest
131, // 140: hyapp.activity.v1.LuckyGiftService.CheckLuckyGift:input_type -> hyapp.activity.v1.CheckLuckyGiftRequest
134, // 141: hyapp.activity.v1.LuckyGiftService.ExecuteLuckyGiftDraw:input_type -> hyapp.activity.v1.ExecuteLuckyGiftDrawRequest
32, // 142: hyapp.activity.v1.BroadcastService.EnsureBroadcastGroups:input_type -> hyapp.activity.v1.EnsureBroadcastGroupsRequest
34, // 143: hyapp.activity.v1.BroadcastService.PublishRegionBroadcast:input_type -> hyapp.activity.v1.PublishRegionBroadcastRequest
35, // 144: hyapp.activity.v1.BroadcastService.PublishGlobalBroadcast:input_type -> hyapp.activity.v1.PublishGlobalBroadcastRequest
37, // 145: hyapp.activity.v1.BroadcastService.RemoveRegionBroadcastMember:input_type -> hyapp.activity.v1.RemoveRegionBroadcastMemberRequest
21, // 146: hyapp.activity.v1.BroadcastService.ProcessBroadcastOutboxBatch:input_type -> hyapp.activity.v1.CronBatchRequest
40, // 147: hyapp.activity.v1.RoomEventConsumerService.ConsumeRoomEvent:input_type -> hyapp.activity.v1.ConsumeRoomEventRequest
43, // 148: hyapp.activity.v1.AdminTaskService.ListTaskDefinitions:input_type -> hyapp.activity.v1.ListTaskDefinitionsRequest
45, // 149: hyapp.activity.v1.AdminTaskService.UpsertTaskDefinition:input_type -> hyapp.activity.v1.UpsertTaskDefinitionRequest
47, // 150: hyapp.activity.v1.AdminTaskService.SetTaskDefinitionStatus:input_type -> hyapp.activity.v1.SetTaskDefinitionStatusRequest
52, // 151: hyapp.activity.v1.RegistrationRewardService.GetRegistrationRewardEligibility:input_type -> hyapp.activity.v1.GetRegistrationRewardEligibilityRequest
54, // 152: hyapp.activity.v1.RegistrationRewardService.IssueRegistrationReward:input_type -> hyapp.activity.v1.IssueRegistrationRewardRequest
56, // 153: hyapp.activity.v1.AdminRegistrationRewardService.GetRegistrationRewardConfig:input_type -> hyapp.activity.v1.GetRegistrationRewardConfigRequest
58, // 154: hyapp.activity.v1.AdminRegistrationRewardService.UpdateRegistrationRewardConfig:input_type -> hyapp.activity.v1.UpdateRegistrationRewardConfigRequest
60, // 155: hyapp.activity.v1.AdminRegistrationRewardService.ListRegistrationRewardClaims:input_type -> hyapp.activity.v1.ListRegistrationRewardClaimsRequest
66, // 156: hyapp.activity.v1.FirstRechargeRewardService.GetFirstRechargeRewardStatus:input_type -> hyapp.activity.v1.GetFirstRechargeRewardStatusRequest
68, // 157: hyapp.activity.v1.FirstRechargeRewardService.ConsumeFirstRechargeReward:input_type -> hyapp.activity.v1.ConsumeFirstRechargeRewardRequest
70, // 158: hyapp.activity.v1.AdminFirstRechargeRewardService.GetFirstRechargeRewardConfig:input_type -> hyapp.activity.v1.GetFirstRechargeRewardConfigRequest
72, // 159: hyapp.activity.v1.AdminFirstRechargeRewardService.UpdateFirstRechargeRewardConfig:input_type -> hyapp.activity.v1.UpdateFirstRechargeRewardConfigRequest
74, // 160: hyapp.activity.v1.AdminFirstRechargeRewardService.ListFirstRechargeRewardClaims:input_type -> hyapp.activity.v1.ListFirstRechargeRewardClaimsRequest
79, // 161: hyapp.activity.v1.SevenDayCheckInService.GetSevenDayCheckInStatus:input_type -> hyapp.activity.v1.GetSevenDayCheckInStatusRequest
81, // 162: hyapp.activity.v1.SevenDayCheckInService.SignSevenDayCheckIn:input_type -> hyapp.activity.v1.SignSevenDayCheckInRequest
83, // 163: hyapp.activity.v1.AdminSevenDayCheckInService.GetSevenDayCheckInConfig:input_type -> hyapp.activity.v1.GetSevenDayCheckInConfigRequest
85, // 164: hyapp.activity.v1.AdminSevenDayCheckInService.UpdateSevenDayCheckInConfig:input_type -> hyapp.activity.v1.UpdateSevenDayCheckInConfigRequest
88, // 165: hyapp.activity.v1.AdminSevenDayCheckInService.ListSevenDayCheckInClaims:input_type -> hyapp.activity.v1.ListSevenDayCheckInClaimsRequest
109, // 166: hyapp.activity.v1.AdminGrowthLevelService.ListLevelConfig:input_type -> hyapp.activity.v1.ListLevelConfigRequest
103, // 167: hyapp.activity.v1.AdminGrowthLevelService.UpsertLevelTrack:input_type -> hyapp.activity.v1.UpsertLevelTrackRequest
105, // 168: hyapp.activity.v1.AdminGrowthLevelService.UpsertLevelRule:input_type -> hyapp.activity.v1.UpsertLevelRuleRequest
107, // 169: hyapp.activity.v1.AdminGrowthLevelService.UpsertLevelTier:input_type -> hyapp.activity.v1.UpsertLevelTierRequest
114, // 170: hyapp.activity.v1.AdminAchievementService.ListAchievementDefinitions:input_type -> hyapp.activity.v1.ListAchievementsRequest
123, // 171: hyapp.activity.v1.AdminAchievementService.UpsertAchievementDefinition:input_type -> hyapp.activity.v1.UpsertAchievementDefinitionRequest
136, // 172: hyapp.activity.v1.AdminLuckyGiftService.GetLuckyGiftConfig:input_type -> hyapp.activity.v1.GetLuckyGiftConfigRequest
138, // 173: hyapp.activity.v1.AdminLuckyGiftService.UpsertLuckyGiftConfig:input_type -> hyapp.activity.v1.UpsertLuckyGiftConfigRequest
140, // 174: hyapp.activity.v1.AdminLuckyGiftService.ListLuckyGiftConfigs:input_type -> hyapp.activity.v1.ListLuckyGiftConfigsRequest
142, // 175: hyapp.activity.v1.AdminLuckyGiftService.ListLuckyGiftDraws:input_type -> hyapp.activity.v1.ListLuckyGiftDrawsRequest
145, // 176: hyapp.activity.v1.AdminLuckyGiftService.GetLuckyGiftDrawSummary:input_type -> hyapp.activity.v1.GetLuckyGiftDrawSummaryRequest
2, // 177: hyapp.activity.v1.ActivityService.PingActivity:output_type -> hyapp.activity.v1.PingActivityResponse
4, // 178: hyapp.activity.v1.ActivityService.GetActivityStatus:output_type -> hyapp.activity.v1.GetActivityStatusResponse
7, // 179: hyapp.activity.v1.MessageInboxService.ListMessageTabs:output_type -> hyapp.activity.v1.ListMessageTabsResponse
10, // 180: hyapp.activity.v1.MessageInboxService.ListInboxMessages:output_type -> hyapp.activity.v1.ListInboxMessagesResponse
12, // 181: hyapp.activity.v1.MessageInboxService.MarkInboxMessageRead:output_type -> hyapp.activity.v1.MarkInboxMessageReadResponse
14, // 182: hyapp.activity.v1.MessageInboxService.MarkInboxSectionRead:output_type -> hyapp.activity.v1.MarkInboxSectionReadResponse
16, // 183: hyapp.activity.v1.MessageInboxService.DeleteInboxMessage:output_type -> hyapp.activity.v1.DeleteInboxMessageResponse
18, // 184: hyapp.activity.v1.MessageInboxService.CreateInboxMessage:output_type -> hyapp.activity.v1.CreateInboxMessageResponse
20, // 185: hyapp.activity.v1.MessageInboxService.CreateFanoutJob:output_type -> hyapp.activity.v1.CreateFanoutJobResponse
22, // 186: hyapp.activity.v1.ActivityCronService.ProcessMessageFanoutBatch:output_type -> hyapp.activity.v1.CronBatchResponse
22, // 187: hyapp.activity.v1.ActivityCronService.ProcessLevelRewardBatch:output_type -> hyapp.activity.v1.CronBatchResponse
22, // 188: hyapp.activity.v1.ActivityCronService.ProcessAchievementRewardBatch:output_type -> hyapp.activity.v1.CronBatchResponse
26, // 189: hyapp.activity.v1.TaskService.ListUserTasks:output_type -> hyapp.activity.v1.ListUserTasksResponse
28, // 190: hyapp.activity.v1.TaskService.ClaimTaskReward:output_type -> hyapp.activity.v1.ClaimTaskRewardResponse
30, // 191: hyapp.activity.v1.TaskService.ConsumeTaskEvent:output_type -> hyapp.activity.v1.ConsumeTaskEventResponse
95, // 192: hyapp.activity.v1.GrowthLevelService.GetMyLevelOverview:output_type -> hyapp.activity.v1.GetMyLevelOverviewResponse
97, // 193: hyapp.activity.v1.GrowthLevelService.GetLevelTrack:output_type -> hyapp.activity.v1.GetLevelTrackResponse
100, // 194: hyapp.activity.v1.GrowthLevelService.ListLevelRewards:output_type -> hyapp.activity.v1.ListLevelRewardsResponse
102, // 195: hyapp.activity.v1.GrowthLevelService.ConsumeLevelEvent:output_type -> hyapp.activity.v1.ConsumeLevelEventResponse
115, // 196: hyapp.activity.v1.AchievementService.ListAchievements:output_type -> hyapp.activity.v1.ListAchievementsResponse
117, // 197: hyapp.activity.v1.AchievementService.ConsumeAchievementEvent:output_type -> hyapp.activity.v1.ConsumeAchievementEventResponse
120, // 198: hyapp.activity.v1.AchievementService.ListMyBadges:output_type -> hyapp.activity.v1.ListMyBadgesResponse
122, // 199: hyapp.activity.v1.AchievementService.SetBadgeDisplay:output_type -> hyapp.activity.v1.SetBadgeDisplayResponse
132, // 200: hyapp.activity.v1.LuckyGiftService.CheckLuckyGift:output_type -> hyapp.activity.v1.CheckLuckyGiftResponse
135, // 201: hyapp.activity.v1.LuckyGiftService.ExecuteLuckyGiftDraw:output_type -> hyapp.activity.v1.ExecuteLuckyGiftDrawResponse
33, // 202: hyapp.activity.v1.BroadcastService.EnsureBroadcastGroups:output_type -> hyapp.activity.v1.EnsureBroadcastGroupsResponse
36, // 203: hyapp.activity.v1.BroadcastService.PublishRegionBroadcast:output_type -> hyapp.activity.v1.PublishBroadcastResponse
36, // 204: hyapp.activity.v1.BroadcastService.PublishGlobalBroadcast:output_type -> hyapp.activity.v1.PublishBroadcastResponse
38, // 205: hyapp.activity.v1.BroadcastService.RemoveRegionBroadcastMember:output_type -> hyapp.activity.v1.RemoveRegionBroadcastMemberResponse
39, // 206: hyapp.activity.v1.BroadcastService.ProcessBroadcastOutboxBatch:output_type -> hyapp.activity.v1.ProcessBroadcastOutboxBatchResponse
41, // 207: hyapp.activity.v1.RoomEventConsumerService.ConsumeRoomEvent:output_type -> hyapp.activity.v1.ConsumeRoomEventResponse
44, // 208: hyapp.activity.v1.AdminTaskService.ListTaskDefinitions:output_type -> hyapp.activity.v1.ListTaskDefinitionsResponse
46, // 209: hyapp.activity.v1.AdminTaskService.UpsertTaskDefinition:output_type -> hyapp.activity.v1.UpsertTaskDefinitionResponse
48, // 210: hyapp.activity.v1.AdminTaskService.SetTaskDefinitionStatus:output_type -> hyapp.activity.v1.SetTaskDefinitionStatusResponse
53, // 211: hyapp.activity.v1.RegistrationRewardService.GetRegistrationRewardEligibility:output_type -> hyapp.activity.v1.GetRegistrationRewardEligibilityResponse
55, // 212: hyapp.activity.v1.RegistrationRewardService.IssueRegistrationReward:output_type -> hyapp.activity.v1.IssueRegistrationRewardResponse
57, // 213: hyapp.activity.v1.AdminRegistrationRewardService.GetRegistrationRewardConfig:output_type -> hyapp.activity.v1.GetRegistrationRewardConfigResponse
59, // 214: hyapp.activity.v1.AdminRegistrationRewardService.UpdateRegistrationRewardConfig:output_type -> hyapp.activity.v1.UpdateRegistrationRewardConfigResponse
61, // 215: hyapp.activity.v1.AdminRegistrationRewardService.ListRegistrationRewardClaims:output_type -> hyapp.activity.v1.ListRegistrationRewardClaimsResponse
67, // 216: hyapp.activity.v1.FirstRechargeRewardService.GetFirstRechargeRewardStatus:output_type -> hyapp.activity.v1.GetFirstRechargeRewardStatusResponse
69, // 217: hyapp.activity.v1.FirstRechargeRewardService.ConsumeFirstRechargeReward:output_type -> hyapp.activity.v1.ConsumeFirstRechargeRewardResponse
71, // 218: hyapp.activity.v1.AdminFirstRechargeRewardService.GetFirstRechargeRewardConfig:output_type -> hyapp.activity.v1.GetFirstRechargeRewardConfigResponse
73, // 219: hyapp.activity.v1.AdminFirstRechargeRewardService.UpdateFirstRechargeRewardConfig:output_type -> hyapp.activity.v1.UpdateFirstRechargeRewardConfigResponse
75, // 220: hyapp.activity.v1.AdminFirstRechargeRewardService.ListFirstRechargeRewardClaims:output_type -> hyapp.activity.v1.ListFirstRechargeRewardClaimsResponse
80, // 221: hyapp.activity.v1.SevenDayCheckInService.GetSevenDayCheckInStatus:output_type -> hyapp.activity.v1.GetSevenDayCheckInStatusResponse
82, // 222: hyapp.activity.v1.SevenDayCheckInService.SignSevenDayCheckIn:output_type -> hyapp.activity.v1.SignSevenDayCheckInResponse
84, // 223: hyapp.activity.v1.AdminSevenDayCheckInService.GetSevenDayCheckInConfig:output_type -> hyapp.activity.v1.GetSevenDayCheckInConfigResponse
86, // 224: hyapp.activity.v1.AdminSevenDayCheckInService.UpdateSevenDayCheckInConfig:output_type -> hyapp.activity.v1.UpdateSevenDayCheckInConfigResponse
89, // 225: hyapp.activity.v1.AdminSevenDayCheckInService.ListSevenDayCheckInClaims:output_type -> hyapp.activity.v1.ListSevenDayCheckInClaimsResponse
110, // 226: hyapp.activity.v1.AdminGrowthLevelService.ListLevelConfig:output_type -> hyapp.activity.v1.ListLevelConfigResponse
104, // 227: hyapp.activity.v1.AdminGrowthLevelService.UpsertLevelTrack:output_type -> hyapp.activity.v1.UpsertLevelTrackResponse
106, // 228: hyapp.activity.v1.AdminGrowthLevelService.UpsertLevelRule:output_type -> hyapp.activity.v1.UpsertLevelRuleResponse
108, // 229: hyapp.activity.v1.AdminGrowthLevelService.UpsertLevelTier:output_type -> hyapp.activity.v1.UpsertLevelTierResponse
115, // 230: hyapp.activity.v1.AdminAchievementService.ListAchievementDefinitions:output_type -> hyapp.activity.v1.ListAchievementsResponse
124, // 231: hyapp.activity.v1.AdminAchievementService.UpsertAchievementDefinition:output_type -> hyapp.activity.v1.UpsertAchievementDefinitionResponse
137, // 232: hyapp.activity.v1.AdminLuckyGiftService.GetLuckyGiftConfig:output_type -> hyapp.activity.v1.GetLuckyGiftConfigResponse
139, // 233: hyapp.activity.v1.AdminLuckyGiftService.UpsertLuckyGiftConfig:output_type -> hyapp.activity.v1.UpsertLuckyGiftConfigResponse
141, // 234: hyapp.activity.v1.AdminLuckyGiftService.ListLuckyGiftConfigs:output_type -> hyapp.activity.v1.ListLuckyGiftConfigsResponse
143, // 235: hyapp.activity.v1.AdminLuckyGiftService.ListLuckyGiftDraws:output_type -> hyapp.activity.v1.ListLuckyGiftDrawsResponse
146, // 236: hyapp.activity.v1.AdminLuckyGiftService.GetLuckyGiftDrawSummary:output_type -> hyapp.activity.v1.GetLuckyGiftDrawSummaryResponse
177, // [177:237] is the sub-list for method output_type
117, // [117:177] is the sub-list for method input_type
117, // [117:117] is the sub-list for extension type_name
117, // [117:117] is the sub-list for extension extendee
0, // [0:117] is the sub-list for field type_name
}
func init() { file_proto_activity_v1_activity_proto_init() }
func file_proto_activity_v1_activity_proto_init() {
if File_proto_activity_v1_activity_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_activity_v1_activity_proto_rawDesc), len(file_proto_activity_v1_activity_proto_rawDesc)),
NumEnums: 0,
NumMessages: 147,
NumExtensions: 0,
NumServices: 19,
},
GoTypes: file_proto_activity_v1_activity_proto_goTypes,
DependencyIndexes: file_proto_activity_v1_activity_proto_depIdxs,
MessageInfos: file_proto_activity_v1_activity_proto_msgTypes,
}.Build()
File_proto_activity_v1_activity_proto = out.File
file_proto_activity_v1_activity_proto_goTypes = nil
file_proto_activity_v1_activity_proto_depIdxs = nil
}