-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccount.pb.go
397 lines (354 loc) · 14.8 KB
/
account.pb.go
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: douyin-webapp/account.proto
package douyin_webapp // import "github.com/dev-openapi/douyin-webapp"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
type GetUserInfoReq struct {
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken" json:"access_token,omitempty"`
OpenId string `protobuf:"bytes,2,opt,name=open_id,json=openId" json:"open_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetUserInfoReq) Reset() { *m = GetUserInfoReq{} }
func (m *GetUserInfoReq) String() string { return proto.CompactTextString(m) }
func (*GetUserInfoReq) ProtoMessage() {}
func (*GetUserInfoReq) Descriptor() ([]byte, []int) {
return fileDescriptor_account_84294f619ecb4a71, []int{0}
}
func (m *GetUserInfoReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetUserInfoReq.Unmarshal(m, b)
}
func (m *GetUserInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetUserInfoReq.Marshal(b, m, deterministic)
}
func (dst *GetUserInfoReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetUserInfoReq.Merge(dst, src)
}
func (m *GetUserInfoReq) XXX_Size() int {
return xxx_messageInfo_GetUserInfoReq.Size(m)
}
func (m *GetUserInfoReq) XXX_DiscardUnknown() {
xxx_messageInfo_GetUserInfoReq.DiscardUnknown(m)
}
var xxx_messageInfo_GetUserInfoReq proto.InternalMessageInfo
func (m *GetUserInfoReq) GetAccessToken() string {
if m != nil {
return m.AccessToken
}
return ""
}
func (m *GetUserInfoReq) GetOpenId() string {
if m != nil {
return m.OpenId
}
return ""
}
type UserInfo struct {
Avatar string `protobuf:"bytes,1,opt,name=avatar" json:"avatar,omitempty"`
Nickname string `protobuf:"bytes,2,opt,name=nickname" json:"nickname,omitempty"`
OpenId string `protobuf:"bytes,5,opt,name=open_id,json=openId" json:"open_id,omitempty"`
Description string `protobuf:"bytes,6,opt,name=description" json:"description,omitempty"`
EAccountRole string `protobuf:"bytes,7,opt,name=e_account_role,json=eAccountRole" json:"e_account_role,omitempty"`
ErrorCode int32 `protobuf:"varint,8,opt,name=error_code,json=errorCode" json:"error_code,omitempty"`
UnionId string `protobuf:"bytes,9,opt,name=union_id,json=unionId" json:"union_id,omitempty"`
EncryptMobile string `protobuf:"bytes,100,opt,name=encrypt_mobile,json=encryptMobile" json:"encrypt_mobile,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UserInfo) Reset() { *m = UserInfo{} }
func (m *UserInfo) String() string { return proto.CompactTextString(m) }
func (*UserInfo) ProtoMessage() {}
func (*UserInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_account_84294f619ecb4a71, []int{1}
}
func (m *UserInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UserInfo.Unmarshal(m, b)
}
func (m *UserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UserInfo.Marshal(b, m, deterministic)
}
func (dst *UserInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_UserInfo.Merge(dst, src)
}
func (m *UserInfo) XXX_Size() int {
return xxx_messageInfo_UserInfo.Size(m)
}
func (m *UserInfo) XXX_DiscardUnknown() {
xxx_messageInfo_UserInfo.DiscardUnknown(m)
}
var xxx_messageInfo_UserInfo proto.InternalMessageInfo
func (m *UserInfo) GetAvatar() string {
if m != nil {
return m.Avatar
}
return ""
}
func (m *UserInfo) GetNickname() string {
if m != nil {
return m.Nickname
}
return ""
}
func (m *UserInfo) GetOpenId() string {
if m != nil {
return m.OpenId
}
return ""
}
func (m *UserInfo) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *UserInfo) GetEAccountRole() string {
if m != nil {
return m.EAccountRole
}
return ""
}
func (m *UserInfo) GetErrorCode() int32 {
if m != nil {
return m.ErrorCode
}
return 0
}
func (m *UserInfo) GetUnionId() string {
if m != nil {
return m.UnionId
}
return ""
}
func (m *UserInfo) GetEncryptMobile() string {
if m != nil {
return m.EncryptMobile
}
return ""
}
type GetUserInfoRes struct {
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
Data *UserInfo `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetUserInfoRes) Reset() { *m = GetUserInfoRes{} }
func (m *GetUserInfoRes) String() string { return proto.CompactTextString(m) }
func (*GetUserInfoRes) ProtoMessage() {}
func (*GetUserInfoRes) Descriptor() ([]byte, []int) {
return fileDescriptor_account_84294f619ecb4a71, []int{2}
}
func (m *GetUserInfoRes) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetUserInfoRes.Unmarshal(m, b)
}
func (m *GetUserInfoRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetUserInfoRes.Marshal(b, m, deterministic)
}
func (dst *GetUserInfoRes) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetUserInfoRes.Merge(dst, src)
}
func (m *GetUserInfoRes) XXX_Size() int {
return xxx_messageInfo_GetUserInfoRes.Size(m)
}
func (m *GetUserInfoRes) XXX_DiscardUnknown() {
xxx_messageInfo_GetUserInfoRes.DiscardUnknown(m)
}
var xxx_messageInfo_GetUserInfoRes proto.InternalMessageInfo
func (m *GetUserInfoRes) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func (m *GetUserInfoRes) GetData() *UserInfo {
if m != nil {
return m.Data
}
return nil
}
type FansCheckReq struct {
FollowerOpenId string `protobuf:"bytes,1,opt,name=follower_open_id,json=followerOpenId" json:"follower_open_id,omitempty"`
OpenId string `protobuf:"bytes,2,opt,name=open_id,json=openId" json:"open_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FansCheckReq) Reset() { *m = FansCheckReq{} }
func (m *FansCheckReq) String() string { return proto.CompactTextString(m) }
func (*FansCheckReq) ProtoMessage() {}
func (*FansCheckReq) Descriptor() ([]byte, []int) {
return fileDescriptor_account_84294f619ecb4a71, []int{3}
}
func (m *FansCheckReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FansCheckReq.Unmarshal(m, b)
}
func (m *FansCheckReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FansCheckReq.Marshal(b, m, deterministic)
}
func (dst *FansCheckReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_FansCheckReq.Merge(dst, src)
}
func (m *FansCheckReq) XXX_Size() int {
return xxx_messageInfo_FansCheckReq.Size(m)
}
func (m *FansCheckReq) XXX_DiscardUnknown() {
xxx_messageInfo_FansCheckReq.DiscardUnknown(m)
}
var xxx_messageInfo_FansCheckReq proto.InternalMessageInfo
func (m *FansCheckReq) GetFollowerOpenId() string {
if m != nil {
return m.FollowerOpenId
}
return ""
}
func (m *FansCheckReq) GetOpenId() string {
if m != nil {
return m.OpenId
}
return ""
}
type FansCheckRes struct {
Extra *Extra `protobuf:"bytes,1,opt,name=extra" json:"extra,omitempty"`
Data *FansCheckRes_Data `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FansCheckRes) Reset() { *m = FansCheckRes{} }
func (m *FansCheckRes) String() string { return proto.CompactTextString(m) }
func (*FansCheckRes) ProtoMessage() {}
func (*FansCheckRes) Descriptor() ([]byte, []int) {
return fileDescriptor_account_84294f619ecb4a71, []int{4}
}
func (m *FansCheckRes) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FansCheckRes.Unmarshal(m, b)
}
func (m *FansCheckRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FansCheckRes.Marshal(b, m, deterministic)
}
func (dst *FansCheckRes) XXX_Merge(src proto.Message) {
xxx_messageInfo_FansCheckRes.Merge(dst, src)
}
func (m *FansCheckRes) XXX_Size() int {
return xxx_messageInfo_FansCheckRes.Size(m)
}
func (m *FansCheckRes) XXX_DiscardUnknown() {
xxx_messageInfo_FansCheckRes.DiscardUnknown(m)
}
var xxx_messageInfo_FansCheckRes proto.InternalMessageInfo
func (m *FansCheckRes) GetExtra() *Extra {
if m != nil {
return m.Extra
}
return nil
}
func (m *FansCheckRes) GetData() *FansCheckRes_Data {
if m != nil {
return m.Data
}
return nil
}
type FansCheckRes_Data struct {
IsFollower bool `protobuf:"varint,1,opt,name=is_follower,json=isFollower" json:"is_follower,omitempty"`
FollowTime int64 `protobuf:"varint,2,opt,name=follow_time,json=followTime" json:"follow_time,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FansCheckRes_Data) Reset() { *m = FansCheckRes_Data{} }
func (m *FansCheckRes_Data) String() string { return proto.CompactTextString(m) }
func (*FansCheckRes_Data) ProtoMessage() {}
func (*FansCheckRes_Data) Descriptor() ([]byte, []int) {
return fileDescriptor_account_84294f619ecb4a71, []int{4, 0}
}
func (m *FansCheckRes_Data) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FansCheckRes_Data.Unmarshal(m, b)
}
func (m *FansCheckRes_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FansCheckRes_Data.Marshal(b, m, deterministic)
}
func (dst *FansCheckRes_Data) XXX_Merge(src proto.Message) {
xxx_messageInfo_FansCheckRes_Data.Merge(dst, src)
}
func (m *FansCheckRes_Data) XXX_Size() int {
return xxx_messageInfo_FansCheckRes_Data.Size(m)
}
func (m *FansCheckRes_Data) XXX_DiscardUnknown() {
xxx_messageInfo_FansCheckRes_Data.DiscardUnknown(m)
}
var xxx_messageInfo_FansCheckRes_Data proto.InternalMessageInfo
func (m *FansCheckRes_Data) GetIsFollower() bool {
if m != nil {
return m.IsFollower
}
return false
}
func (m *FansCheckRes_Data) GetFollowTime() int64 {
if m != nil {
return m.FollowTime
}
return 0
}
func init() {
proto.RegisterType((*GetUserInfoReq)(nil), "open.douyin.com.GetUserInfoReq")
proto.RegisterType((*UserInfo)(nil), "open.douyin.com.UserInfo")
proto.RegisterType((*GetUserInfoRes)(nil), "open.douyin.com.GetUserInfoRes")
proto.RegisterType((*FansCheckReq)(nil), "open.douyin.com.FansCheckReq")
proto.RegisterType((*FansCheckRes)(nil), "open.douyin.com.FansCheckRes")
proto.RegisterType((*FansCheckRes_Data)(nil), "open.douyin.com.FansCheckRes.Data")
}
func init() {
proto.RegisterFile("douyin-webapp/account.proto", fileDescriptor_account_84294f619ecb4a71)
}
var fileDescriptor_account_84294f619ecb4a71 = []byte{
// 573 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0xdf, 0x4e, 0x13, 0x4f,
0x14, 0x4e, 0xf9, 0x41, 0xff, 0x9c, 0xe5, 0x57, 0xc8, 0x5c, 0xe0, 0xb6, 0x4a, 0xc0, 0x0d, 0x1a,
0x42, 0xa0, 0x9b, 0x60, 0xe2, 0x05, 0x77, 0x8a, 0xa2, 0x24, 0x1a, 0xe3, 0x8a, 0x17, 0x7a, 0xb3,
0x99, 0xce, 0x9e, 0x96, 0x09, 0xed, 0x9c, 0x65, 0x66, 0x0a, 0x72, 0x67, 0x7c, 0x05, 0xdf, 0xc7,
0x97, 0xf0, 0x15, 0xf4, 0x3d, 0xcc, 0xcc, 0x6c, 0x49, 0x0b, 0x11, 0x2f, 0xcf, 0x77, 0xbe, 0xf9,
0xe6, 0x3b, 0xdf, 0x99, 0x81, 0xfb, 0x05, 0x4d,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