1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
| // Code generated by protoc-gen-go. DO NOT EDIT.
| // source: statistic.proto
|
| package shop
|
| import (
| fmt "fmt"
| proto "github.com/golang/protobuf/proto"
| math "math"
| )
|
| // Reference imports to suppress errors if they are not otherwise used.
| var _ = proto.Marshal
| var _ = fmt.Errorf
| var _ = math.Inf
|
| // This is a compile-time assertion to ensure that this generated file
| // is compatible with the proto package it is being compiled against.
| // A compilation error at this line likely means your copy of the
| // proto package needs to be updated.
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
| type StatisticByUserReq struct {
| UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
| XXX_NoUnkeyedLiteral struct{} `json:"-"`
| XXX_unrecognized []byte `json:"-"`
| XXX_sizecache int32 `json:"-"`
| }
|
| func (m *StatisticByUserReq) Reset() { *m = StatisticByUserReq{} }
| func (m *StatisticByUserReq) String() string { return proto.CompactTextString(m) }
| func (*StatisticByUserReq) ProtoMessage() {}
| func (*StatisticByUserReq) Descriptor() ([]byte, []int) {
| return fileDescriptor_405f6cee9ed2da7e, []int{0}
| }
|
| func (m *StatisticByUserReq) XXX_Unmarshal(b []byte) error {
| return xxx_messageInfo_StatisticByUserReq.Unmarshal(m, b)
| }
| func (m *StatisticByUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
| return xxx_messageInfo_StatisticByUserReq.Marshal(b, m, deterministic)
| }
| func (m *StatisticByUserReq) XXX_Merge(src proto.Message) {
| xxx_messageInfo_StatisticByUserReq.Merge(m, src)
| }
| func (m *StatisticByUserReq) XXX_Size() int {
| return xxx_messageInfo_StatisticByUserReq.Size(m)
| }
| func (m *StatisticByUserReq) XXX_DiscardUnknown() {
| xxx_messageInfo_StatisticByUserReq.DiscardUnknown(m)
| }
|
| var xxx_messageInfo_StatisticByUserReq proto.InternalMessageInfo
|
| func (m *StatisticByUserReq) GetUserId() string {
| if m != nil {
| return m.UserId
| }
| return ""
| }
|
| type StatisticByUserReply struct {
| Monetary float32 `protobuf:"fixed32,1,opt,name=monetary,proto3" json:"monetary,omitempty"`
| OrderAmount int32 `protobuf:"varint,2,opt,name=orderAmount,proto3" json:"orderAmount,omitempty"`
| LoginTimes int32 `protobuf:"varint,3,opt,name=loginTimes,proto3" json:"loginTimes,omitempty"`
| InstallDevAmount int32 `protobuf:"varint,4,opt,name=installDevAmount,proto3" json:"installDevAmount,omitempty"`
| BuySdkAmount int32 `protobuf:"varint,5,opt,name=buySdkAmount,proto3" json:"buySdkAmount,omitempty"`
| AvgLoginDur int32 `protobuf:"varint,6,opt,name=avgLoginDur,proto3" json:"avgLoginDur,omitempty"`
| ProductViews int32 `protobuf:"varint,7,opt,name=productViews,proto3" json:"productViews,omitempty"`
| XXX_NoUnkeyedLiteral struct{} `json:"-"`
| XXX_unrecognized []byte `json:"-"`
| XXX_sizecache int32 `json:"-"`
| }
|
| func (m *StatisticByUserReply) Reset() { *m = StatisticByUserReply{} }
| func (m *StatisticByUserReply) String() string { return proto.CompactTextString(m) }
| func (*StatisticByUserReply) ProtoMessage() {}
| func (*StatisticByUserReply) Descriptor() ([]byte, []int) {
| return fileDescriptor_405f6cee9ed2da7e, []int{1}
| }
|
| func (m *StatisticByUserReply) XXX_Unmarshal(b []byte) error {
| return xxx_messageInfo_StatisticByUserReply.Unmarshal(m, b)
| }
| func (m *StatisticByUserReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
| return xxx_messageInfo_StatisticByUserReply.Marshal(b, m, deterministic)
| }
| func (m *StatisticByUserReply) XXX_Merge(src proto.Message) {
| xxx_messageInfo_StatisticByUserReply.Merge(m, src)
| }
| func (m *StatisticByUserReply) XXX_Size() int {
| return xxx_messageInfo_StatisticByUserReply.Size(m)
| }
| func (m *StatisticByUserReply) XXX_DiscardUnknown() {
| xxx_messageInfo_StatisticByUserReply.DiscardUnknown(m)
| }
|
| var xxx_messageInfo_StatisticByUserReply proto.InternalMessageInfo
|
| func (m *StatisticByUserReply) GetMonetary() float32 {
| if m != nil {
| return m.Monetary
| }
| return 0
| }
|
| func (m *StatisticByUserReply) GetOrderAmount() int32 {
| if m != nil {
| return m.OrderAmount
| }
| return 0
| }
|
| func (m *StatisticByUserReply) GetLoginTimes() int32 {
| if m != nil {
| return m.LoginTimes
| }
| return 0
| }
|
| func (m *StatisticByUserReply) GetInstallDevAmount() int32 {
| if m != nil {
| return m.InstallDevAmount
| }
| return 0
| }
|
| func (m *StatisticByUserReply) GetBuySdkAmount() int32 {
| if m != nil {
| return m.BuySdkAmount
| }
| return 0
| }
|
| func (m *StatisticByUserReply) GetAvgLoginDur() int32 {
| if m != nil {
| return m.AvgLoginDur
| }
| return 0
| }
|
| func (m *StatisticByUserReply) GetProductViews() int32 {
| if m != nil {
| return m.ProductViews
| }
| return 0
| }
|
| func init() {
| proto.RegisterType((*StatisticByUserReq)(nil), "shop.StatisticByUserReq")
| proto.RegisterType((*StatisticByUserReply)(nil), "shop.StatisticByUserReply")
| }
|
| func init() { proto.RegisterFile("statistic.proto", fileDescriptor_405f6cee9ed2da7e) }
|
| var fileDescriptor_405f6cee9ed2da7e = []byte{
| // 267 bytes of a gzipped FileDescriptorProto
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0x4f, 0x4f, 0xb3, 0x40,
| 0x10, 0xc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