@latticexyz/services 2.0.0-snapshot-test-32d38619 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1133 +0,0 @@
1
- // Code generated by protoc-gen-go. DO NOT EDIT.
2
- // versions:
3
- // protoc-gen-go v1.30.0
4
- // protoc v3.21.3
5
- // source: proto/faucet.proto
6
-
7
- package faucet
8
-
9
- import (
10
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12
- reflect "reflect"
13
- sync "sync"
14
- )
15
-
16
- const (
17
- // Verify that this generated code is sufficiently up-to-date.
18
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
19
- // Verify that runtime/protoimpl is sufficiently up-to-date.
20
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
21
- )
22
-
23
- type LinkedTwitterPair struct {
24
- state protoimpl.MessageState
25
- sizeCache protoimpl.SizeCache
26
- unknownFields protoimpl.UnknownFields
27
-
28
- Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
29
- Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
30
- }
31
-
32
- func (x *LinkedTwitterPair) Reset() {
33
- *x = LinkedTwitterPair{}
34
- if protoimpl.UnsafeEnabled {
35
- mi := &file_proto_faucet_proto_msgTypes[0]
36
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
37
- ms.StoreMessageInfo(mi)
38
- }
39
- }
40
-
41
- func (x *LinkedTwitterPair) String() string {
42
- return protoimpl.X.MessageStringOf(x)
43
- }
44
-
45
- func (*LinkedTwitterPair) ProtoMessage() {}
46
-
47
- func (x *LinkedTwitterPair) ProtoReflect() protoreflect.Message {
48
- mi := &file_proto_faucet_proto_msgTypes[0]
49
- if protoimpl.UnsafeEnabled && x != nil {
50
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
51
- if ms.LoadMessageInfo() == nil {
52
- ms.StoreMessageInfo(mi)
53
- }
54
- return ms
55
- }
56
- return mi.MessageOf(x)
57
- }
58
-
59
- // Deprecated: Use LinkedTwitterPair.ProtoReflect.Descriptor instead.
60
- func (*LinkedTwitterPair) Descriptor() ([]byte, []int) {
61
- return file_proto_faucet_proto_rawDescGZIP(), []int{0}
62
- }
63
-
64
- func (x *LinkedTwitterPair) GetUsername() string {
65
- if x != nil {
66
- return x.Username
67
- }
68
- return ""
69
- }
70
-
71
- func (x *LinkedTwitterPair) GetAddress() string {
72
- if x != nil {
73
- return x.Address
74
- }
75
- return ""
76
- }
77
-
78
- type FaucetStore struct {
79
- state protoimpl.MessageState
80
- sizeCache protoimpl.SizeCache
81
- unknownFields protoimpl.UnknownFields
82
-
83
- AddressToUsername map[string]string `protobuf:"bytes,1,rep,name=addressToUsername,proto3" json:"addressToUsername,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
84
- UsernameToAddress map[string]string `protobuf:"bytes,2,rep,name=usernameToAddress,proto3" json:"usernameToAddress,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
85
- // User id/name/address to timestamp of latest drip.
86
- LatestDrip map[string]int64 `protobuf:"bytes,3,rep,name=latestDrip,proto3" json:"latestDrip,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
87
- // Global drip counter.
88
- TotalDripCount float64 `protobuf:"fixed64,4,opt,name=totalDripCount,proto3" json:"totalDripCount,omitempty"`
89
- }
90
-
91
- func (x *FaucetStore) Reset() {
92
- *x = FaucetStore{}
93
- if protoimpl.UnsafeEnabled {
94
- mi := &file_proto_faucet_proto_msgTypes[1]
95
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
96
- ms.StoreMessageInfo(mi)
97
- }
98
- }
99
-
100
- func (x *FaucetStore) String() string {
101
- return protoimpl.X.MessageStringOf(x)
102
- }
103
-
104
- func (*FaucetStore) ProtoMessage() {}
105
-
106
- func (x *FaucetStore) ProtoReflect() protoreflect.Message {
107
- mi := &file_proto_faucet_proto_msgTypes[1]
108
- if protoimpl.UnsafeEnabled && x != nil {
109
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
110
- if ms.LoadMessageInfo() == nil {
111
- ms.StoreMessageInfo(mi)
112
- }
113
- return ms
114
- }
115
- return mi.MessageOf(x)
116
- }
117
-
118
- // Deprecated: Use FaucetStore.ProtoReflect.Descriptor instead.
119
- func (*FaucetStore) Descriptor() ([]byte, []int) {
120
- return file_proto_faucet_proto_rawDescGZIP(), []int{1}
121
- }
122
-
123
- func (x *FaucetStore) GetAddressToUsername() map[string]string {
124
- if x != nil {
125
- return x.AddressToUsername
126
- }
127
- return nil
128
- }
129
-
130
- func (x *FaucetStore) GetUsernameToAddress() map[string]string {
131
- if x != nil {
132
- return x.UsernameToAddress
133
- }
134
- return nil
135
- }
136
-
137
- func (x *FaucetStore) GetLatestDrip() map[string]int64 {
138
- if x != nil {
139
- return x.LatestDrip
140
- }
141
- return nil
142
- }
143
-
144
- func (x *FaucetStore) GetTotalDripCount() float64 {
145
- if x != nil {
146
- return x.TotalDripCount
147
- }
148
- return 0
149
- }
150
-
151
- // Request for drip.
152
- type DripRequest struct {
153
- state protoimpl.MessageState
154
- sizeCache protoimpl.SizeCache
155
- unknownFields protoimpl.UnknownFields
156
-
157
- Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
158
- Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
159
- }
160
-
161
- func (x *DripRequest) Reset() {
162
- *x = DripRequest{}
163
- if protoimpl.UnsafeEnabled {
164
- mi := &file_proto_faucet_proto_msgTypes[2]
165
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
166
- ms.StoreMessageInfo(mi)
167
- }
168
- }
169
-
170
- func (x *DripRequest) String() string {
171
- return protoimpl.X.MessageStringOf(x)
172
- }
173
-
174
- func (*DripRequest) ProtoMessage() {}
175
-
176
- func (x *DripRequest) ProtoReflect() protoreflect.Message {
177
- mi := &file_proto_faucet_proto_msgTypes[2]
178
- if protoimpl.UnsafeEnabled && x != nil {
179
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
180
- if ms.LoadMessageInfo() == nil {
181
- ms.StoreMessageInfo(mi)
182
- }
183
- return ms
184
- }
185
- return mi.MessageOf(x)
186
- }
187
-
188
- // Deprecated: Use DripRequest.ProtoReflect.Descriptor instead.
189
- func (*DripRequest) Descriptor() ([]byte, []int) {
190
- return file_proto_faucet_proto_rawDescGZIP(), []int{2}
191
- }
192
-
193
- func (x *DripRequest) GetUsername() string {
194
- if x != nil {
195
- return x.Username
196
- }
197
- return ""
198
- }
199
-
200
- func (x *DripRequest) GetAddress() string {
201
- if x != nil {
202
- return x.Address
203
- }
204
- return ""
205
- }
206
-
207
- // Request for drip to any address when running in dev mode.
208
- type DripDevRequest struct {
209
- state protoimpl.MessageState
210
- sizeCache protoimpl.SizeCache
211
- unknownFields protoimpl.UnknownFields
212
-
213
- Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
214
- }
215
-
216
- func (x *DripDevRequest) Reset() {
217
- *x = DripDevRequest{}
218
- if protoimpl.UnsafeEnabled {
219
- mi := &file_proto_faucet_proto_msgTypes[3]
220
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
221
- ms.StoreMessageInfo(mi)
222
- }
223
- }
224
-
225
- func (x *DripDevRequest) String() string {
226
- return protoimpl.X.MessageStringOf(x)
227
- }
228
-
229
- func (*DripDevRequest) ProtoMessage() {}
230
-
231
- func (x *DripDevRequest) ProtoReflect() protoreflect.Message {
232
- mi := &file_proto_faucet_proto_msgTypes[3]
233
- if protoimpl.UnsafeEnabled && x != nil {
234
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
235
- if ms.LoadMessageInfo() == nil {
236
- ms.StoreMessageInfo(mi)
237
- }
238
- return ms
239
- }
240
- return mi.MessageOf(x)
241
- }
242
-
243
- // Deprecated: Use DripDevRequest.ProtoReflect.Descriptor instead.
244
- func (*DripDevRequest) Descriptor() ([]byte, []int) {
245
- return file_proto_faucet_proto_rawDescGZIP(), []int{3}
246
- }
247
-
248
- func (x *DripDevRequest) GetAddress() string {
249
- if x != nil {
250
- return x.Address
251
- }
252
- return ""
253
- }
254
-
255
- // Response for drip request that contains the transaction hash of the drip tx and the ECS component set hash (if any).
256
- type DripResponse struct {
257
- state protoimpl.MessageState
258
- sizeCache protoimpl.SizeCache
259
- unknownFields protoimpl.UnknownFields
260
-
261
- DripTxHash string `protobuf:"bytes,1,opt,name=dripTxHash,proto3" json:"dripTxHash,omitempty"`
262
- EcsTxHash string `protobuf:"bytes,2,opt,name=ecsTxHash,proto3" json:"ecsTxHash,omitempty"`
263
- }
264
-
265
- func (x *DripResponse) Reset() {
266
- *x = DripResponse{}
267
- if protoimpl.UnsafeEnabled {
268
- mi := &file_proto_faucet_proto_msgTypes[4]
269
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
270
- ms.StoreMessageInfo(mi)
271
- }
272
- }
273
-
274
- func (x *DripResponse) String() string {
275
- return protoimpl.X.MessageStringOf(x)
276
- }
277
-
278
- func (*DripResponse) ProtoMessage() {}
279
-
280
- func (x *DripResponse) ProtoReflect() protoreflect.Message {
281
- mi := &file_proto_faucet_proto_msgTypes[4]
282
- if protoimpl.UnsafeEnabled && x != nil {
283
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
284
- if ms.LoadMessageInfo() == nil {
285
- ms.StoreMessageInfo(mi)
286
- }
287
- return ms
288
- }
289
- return mi.MessageOf(x)
290
- }
291
-
292
- // Deprecated: Use DripResponse.ProtoReflect.Descriptor instead.
293
- func (*DripResponse) Descriptor() ([]byte, []int) {
294
- return file_proto_faucet_proto_rawDescGZIP(), []int{4}
295
- }
296
-
297
- func (x *DripResponse) GetDripTxHash() string {
298
- if x != nil {
299
- return x.DripTxHash
300
- }
301
- return ""
302
- }
303
-
304
- func (x *DripResponse) GetEcsTxHash() string {
305
- if x != nil {
306
- return x.EcsTxHash
307
- }
308
- return ""
309
- }
310
-
311
- // Response for the time until next drip request.
312
- type TimeUntilDripResponse struct {
313
- state protoimpl.MessageState
314
- sizeCache protoimpl.SizeCache
315
- unknownFields protoimpl.UnknownFields
316
-
317
- TimeUntilDripMinutes float64 `protobuf:"fixed64,1,opt,name=timeUntilDripMinutes,proto3" json:"timeUntilDripMinutes,omitempty"`
318
- TimeUntilDripSeconds float64 `protobuf:"fixed64,2,opt,name=timeUntilDripSeconds,proto3" json:"timeUntilDripSeconds,omitempty"`
319
- }
320
-
321
- func (x *TimeUntilDripResponse) Reset() {
322
- *x = TimeUntilDripResponse{}
323
- if protoimpl.UnsafeEnabled {
324
- mi := &file_proto_faucet_proto_msgTypes[5]
325
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
326
- ms.StoreMessageInfo(mi)
327
- }
328
- }
329
-
330
- func (x *TimeUntilDripResponse) String() string {
331
- return protoimpl.X.MessageStringOf(x)
332
- }
333
-
334
- func (*TimeUntilDripResponse) ProtoMessage() {}
335
-
336
- func (x *TimeUntilDripResponse) ProtoReflect() protoreflect.Message {
337
- mi := &file_proto_faucet_proto_msgTypes[5]
338
- if protoimpl.UnsafeEnabled && x != nil {
339
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
340
- if ms.LoadMessageInfo() == nil {
341
- ms.StoreMessageInfo(mi)
342
- }
343
- return ms
344
- }
345
- return mi.MessageOf(x)
346
- }
347
-
348
- // Deprecated: Use TimeUntilDripResponse.ProtoReflect.Descriptor instead.
349
- func (*TimeUntilDripResponse) Descriptor() ([]byte, []int) {
350
- return file_proto_faucet_proto_rawDescGZIP(), []int{5}
351
- }
352
-
353
- func (x *TimeUntilDripResponse) GetTimeUntilDripMinutes() float64 {
354
- if x != nil {
355
- return x.TimeUntilDripMinutes
356
- }
357
- return 0
358
- }
359
-
360
- func (x *TimeUntilDripResponse) GetTimeUntilDripSeconds() float64 {
361
- if x != nil {
362
- return x.TimeUntilDripSeconds
363
- }
364
- return 0
365
- }
366
-
367
- type GetLinkedTwittersRequest struct {
368
- state protoimpl.MessageState
369
- sizeCache protoimpl.SizeCache
370
- unknownFields protoimpl.UnknownFields
371
- }
372
-
373
- func (x *GetLinkedTwittersRequest) Reset() {
374
- *x = GetLinkedTwittersRequest{}
375
- if protoimpl.UnsafeEnabled {
376
- mi := &file_proto_faucet_proto_msgTypes[6]
377
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
378
- ms.StoreMessageInfo(mi)
379
- }
380
- }
381
-
382
- func (x *GetLinkedTwittersRequest) String() string {
383
- return protoimpl.X.MessageStringOf(x)
384
- }
385
-
386
- func (*GetLinkedTwittersRequest) ProtoMessage() {}
387
-
388
- func (x *GetLinkedTwittersRequest) ProtoReflect() protoreflect.Message {
389
- mi := &file_proto_faucet_proto_msgTypes[6]
390
- if protoimpl.UnsafeEnabled && x != nil {
391
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
392
- if ms.LoadMessageInfo() == nil {
393
- ms.StoreMessageInfo(mi)
394
- }
395
- return ms
396
- }
397
- return mi.MessageOf(x)
398
- }
399
-
400
- // Deprecated: Use GetLinkedTwittersRequest.ProtoReflect.Descriptor instead.
401
- func (*GetLinkedTwittersRequest) Descriptor() ([]byte, []int) {
402
- return file_proto_faucet_proto_rawDescGZIP(), []int{6}
403
- }
404
-
405
- type GetLinkedTwittersResponse struct {
406
- state protoimpl.MessageState
407
- sizeCache protoimpl.SizeCache
408
- unknownFields protoimpl.UnknownFields
409
-
410
- LinkedTwitters []*LinkedTwitterPair `protobuf:"bytes,1,rep,name=linkedTwitters,proto3" json:"linkedTwitters,omitempty"`
411
- }
412
-
413
- func (x *GetLinkedTwittersResponse) Reset() {
414
- *x = GetLinkedTwittersResponse{}
415
- if protoimpl.UnsafeEnabled {
416
- mi := &file_proto_faucet_proto_msgTypes[7]
417
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
418
- ms.StoreMessageInfo(mi)
419
- }
420
- }
421
-
422
- func (x *GetLinkedTwittersResponse) String() string {
423
- return protoimpl.X.MessageStringOf(x)
424
- }
425
-
426
- func (*GetLinkedTwittersResponse) ProtoMessage() {}
427
-
428
- func (x *GetLinkedTwittersResponse) ProtoReflect() protoreflect.Message {
429
- mi := &file_proto_faucet_proto_msgTypes[7]
430
- if protoimpl.UnsafeEnabled && x != nil {
431
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
432
- if ms.LoadMessageInfo() == nil {
433
- ms.StoreMessageInfo(mi)
434
- }
435
- return ms
436
- }
437
- return mi.MessageOf(x)
438
- }
439
-
440
- // Deprecated: Use GetLinkedTwittersResponse.ProtoReflect.Descriptor instead.
441
- func (*GetLinkedTwittersResponse) Descriptor() ([]byte, []int) {
442
- return file_proto_faucet_proto_rawDescGZIP(), []int{7}
443
- }
444
-
445
- func (x *GetLinkedTwittersResponse) GetLinkedTwitters() []*LinkedTwitterPair {
446
- if x != nil {
447
- return x.LinkedTwitters
448
- }
449
- return nil
450
- }
451
-
452
- type LinkedTwitterForAddressRequest struct {
453
- state protoimpl.MessageState
454
- sizeCache protoimpl.SizeCache
455
- unknownFields protoimpl.UnknownFields
456
-
457
- Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
458
- }
459
-
460
- func (x *LinkedTwitterForAddressRequest) Reset() {
461
- *x = LinkedTwitterForAddressRequest{}
462
- if protoimpl.UnsafeEnabled {
463
- mi := &file_proto_faucet_proto_msgTypes[8]
464
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
465
- ms.StoreMessageInfo(mi)
466
- }
467
- }
468
-
469
- func (x *LinkedTwitterForAddressRequest) String() string {
470
- return protoimpl.X.MessageStringOf(x)
471
- }
472
-
473
- func (*LinkedTwitterForAddressRequest) ProtoMessage() {}
474
-
475
- func (x *LinkedTwitterForAddressRequest) ProtoReflect() protoreflect.Message {
476
- mi := &file_proto_faucet_proto_msgTypes[8]
477
- if protoimpl.UnsafeEnabled && x != nil {
478
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
479
- if ms.LoadMessageInfo() == nil {
480
- ms.StoreMessageInfo(mi)
481
- }
482
- return ms
483
- }
484
- return mi.MessageOf(x)
485
- }
486
-
487
- // Deprecated: Use LinkedTwitterForAddressRequest.ProtoReflect.Descriptor instead.
488
- func (*LinkedTwitterForAddressRequest) Descriptor() ([]byte, []int) {
489
- return file_proto_faucet_proto_rawDescGZIP(), []int{8}
490
- }
491
-
492
- func (x *LinkedTwitterForAddressRequest) GetAddress() string {
493
- if x != nil {
494
- return x.Address
495
- }
496
- return ""
497
- }
498
-
499
- type LinkedTwitterForAddressResponse struct {
500
- state protoimpl.MessageState
501
- sizeCache protoimpl.SizeCache
502
- unknownFields protoimpl.UnknownFields
503
-
504
- Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
505
- }
506
-
507
- func (x *LinkedTwitterForAddressResponse) Reset() {
508
- *x = LinkedTwitterForAddressResponse{}
509
- if protoimpl.UnsafeEnabled {
510
- mi := &file_proto_faucet_proto_msgTypes[9]
511
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
512
- ms.StoreMessageInfo(mi)
513
- }
514
- }
515
-
516
- func (x *LinkedTwitterForAddressResponse) String() string {
517
- return protoimpl.X.MessageStringOf(x)
518
- }
519
-
520
- func (*LinkedTwitterForAddressResponse) ProtoMessage() {}
521
-
522
- func (x *LinkedTwitterForAddressResponse) ProtoReflect() protoreflect.Message {
523
- mi := &file_proto_faucet_proto_msgTypes[9]
524
- if protoimpl.UnsafeEnabled && x != nil {
525
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
526
- if ms.LoadMessageInfo() == nil {
527
- ms.StoreMessageInfo(mi)
528
- }
529
- return ms
530
- }
531
- return mi.MessageOf(x)
532
- }
533
-
534
- // Deprecated: Use LinkedTwitterForAddressResponse.ProtoReflect.Descriptor instead.
535
- func (*LinkedTwitterForAddressResponse) Descriptor() ([]byte, []int) {
536
- return file_proto_faucet_proto_rawDescGZIP(), []int{9}
537
- }
538
-
539
- func (x *LinkedTwitterForAddressResponse) GetUsername() string {
540
- if x != nil {
541
- return x.Username
542
- }
543
- return ""
544
- }
545
-
546
- type LinkedAddressForTwitterRequest struct {
547
- state protoimpl.MessageState
548
- sizeCache protoimpl.SizeCache
549
- unknownFields protoimpl.UnknownFields
550
-
551
- Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
552
- }
553
-
554
- func (x *LinkedAddressForTwitterRequest) Reset() {
555
- *x = LinkedAddressForTwitterRequest{}
556
- if protoimpl.UnsafeEnabled {
557
- mi := &file_proto_faucet_proto_msgTypes[10]
558
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
559
- ms.StoreMessageInfo(mi)
560
- }
561
- }
562
-
563
- func (x *LinkedAddressForTwitterRequest) String() string {
564
- return protoimpl.X.MessageStringOf(x)
565
- }
566
-
567
- func (*LinkedAddressForTwitterRequest) ProtoMessage() {}
568
-
569
- func (x *LinkedAddressForTwitterRequest) ProtoReflect() protoreflect.Message {
570
- mi := &file_proto_faucet_proto_msgTypes[10]
571
- if protoimpl.UnsafeEnabled && x != nil {
572
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
573
- if ms.LoadMessageInfo() == nil {
574
- ms.StoreMessageInfo(mi)
575
- }
576
- return ms
577
- }
578
- return mi.MessageOf(x)
579
- }
580
-
581
- // Deprecated: Use LinkedAddressForTwitterRequest.ProtoReflect.Descriptor instead.
582
- func (*LinkedAddressForTwitterRequest) Descriptor() ([]byte, []int) {
583
- return file_proto_faucet_proto_rawDescGZIP(), []int{10}
584
- }
585
-
586
- func (x *LinkedAddressForTwitterRequest) GetUsername() string {
587
- if x != nil {
588
- return x.Username
589
- }
590
- return ""
591
- }
592
-
593
- type LinkedAddressForTwitterResponse struct {
594
- state protoimpl.MessageState
595
- sizeCache protoimpl.SizeCache
596
- unknownFields protoimpl.UnknownFields
597
-
598
- Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
599
- }
600
-
601
- func (x *LinkedAddressForTwitterResponse) Reset() {
602
- *x = LinkedAddressForTwitterResponse{}
603
- if protoimpl.UnsafeEnabled {
604
- mi := &file_proto_faucet_proto_msgTypes[11]
605
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
606
- ms.StoreMessageInfo(mi)
607
- }
608
- }
609
-
610
- func (x *LinkedAddressForTwitterResponse) String() string {
611
- return protoimpl.X.MessageStringOf(x)
612
- }
613
-
614
- func (*LinkedAddressForTwitterResponse) ProtoMessage() {}
615
-
616
- func (x *LinkedAddressForTwitterResponse) ProtoReflect() protoreflect.Message {
617
- mi := &file_proto_faucet_proto_msgTypes[11]
618
- if protoimpl.UnsafeEnabled && x != nil {
619
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
620
- if ms.LoadMessageInfo() == nil {
621
- ms.StoreMessageInfo(mi)
622
- }
623
- return ms
624
- }
625
- return mi.MessageOf(x)
626
- }
627
-
628
- // Deprecated: Use LinkedAddressForTwitterResponse.ProtoReflect.Descriptor instead.
629
- func (*LinkedAddressForTwitterResponse) Descriptor() ([]byte, []int) {
630
- return file_proto_faucet_proto_rawDescGZIP(), []int{11}
631
- }
632
-
633
- func (x *LinkedAddressForTwitterResponse) GetAddress() string {
634
- if x != nil {
635
- return x.Address
636
- }
637
- return ""
638
- }
639
-
640
- type SetLinkedTwitterRequest struct {
641
- state protoimpl.MessageState
642
- sizeCache protoimpl.SizeCache
643
- unknownFields protoimpl.UnknownFields
644
-
645
- Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
646
- Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
647
- Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
648
- }
649
-
650
- func (x *SetLinkedTwitterRequest) Reset() {
651
- *x = SetLinkedTwitterRequest{}
652
- if protoimpl.UnsafeEnabled {
653
- mi := &file_proto_faucet_proto_msgTypes[12]
654
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
655
- ms.StoreMessageInfo(mi)
656
- }
657
- }
658
-
659
- func (x *SetLinkedTwitterRequest) String() string {
660
- return protoimpl.X.MessageStringOf(x)
661
- }
662
-
663
- func (*SetLinkedTwitterRequest) ProtoMessage() {}
664
-
665
- func (x *SetLinkedTwitterRequest) ProtoReflect() protoreflect.Message {
666
- mi := &file_proto_faucet_proto_msgTypes[12]
667
- if protoimpl.UnsafeEnabled && x != nil {
668
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
669
- if ms.LoadMessageInfo() == nil {
670
- ms.StoreMessageInfo(mi)
671
- }
672
- return ms
673
- }
674
- return mi.MessageOf(x)
675
- }
676
-
677
- // Deprecated: Use SetLinkedTwitterRequest.ProtoReflect.Descriptor instead.
678
- func (*SetLinkedTwitterRequest) Descriptor() ([]byte, []int) {
679
- return file_proto_faucet_proto_rawDescGZIP(), []int{12}
680
- }
681
-
682
- func (x *SetLinkedTwitterRequest) GetAddress() string {
683
- if x != nil {
684
- return x.Address
685
- }
686
- return ""
687
- }
688
-
689
- func (x *SetLinkedTwitterRequest) GetUsername() string {
690
- if x != nil {
691
- return x.Username
692
- }
693
- return ""
694
- }
695
-
696
- func (x *SetLinkedTwitterRequest) GetSignature() string {
697
- if x != nil {
698
- return x.Signature
699
- }
700
- return ""
701
- }
702
-
703
- type SetLinkedTwitterResponse struct {
704
- state protoimpl.MessageState
705
- sizeCache protoimpl.SizeCache
706
- unknownFields protoimpl.UnknownFields
707
- }
708
-
709
- func (x *SetLinkedTwitterResponse) Reset() {
710
- *x = SetLinkedTwitterResponse{}
711
- if protoimpl.UnsafeEnabled {
712
- mi := &file_proto_faucet_proto_msgTypes[13]
713
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
714
- ms.StoreMessageInfo(mi)
715
- }
716
- }
717
-
718
- func (x *SetLinkedTwitterResponse) String() string {
719
- return protoimpl.X.MessageStringOf(x)
720
- }
721
-
722
- func (*SetLinkedTwitterResponse) ProtoMessage() {}
723
-
724
- func (x *SetLinkedTwitterResponse) ProtoReflect() protoreflect.Message {
725
- mi := &file_proto_faucet_proto_msgTypes[13]
726
- if protoimpl.UnsafeEnabled && x != nil {
727
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
728
- if ms.LoadMessageInfo() == nil {
729
- ms.StoreMessageInfo(mi)
730
- }
731
- return ms
732
- }
733
- return mi.MessageOf(x)
734
- }
735
-
736
- // Deprecated: Use SetLinkedTwitterResponse.ProtoReflect.Descriptor instead.
737
- func (*SetLinkedTwitterResponse) Descriptor() ([]byte, []int) {
738
- return file_proto_faucet_proto_rawDescGZIP(), []int{13}
739
- }
740
-
741
- var File_proto_faucet_proto protoreflect.FileDescriptor
742
-
743
- var file_proto_faucet_proto_rawDesc = []byte{
744
- 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x70,
745
- 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x22, 0x49, 0x0a, 0x11,
746
- 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x50, 0x61, 0x69,
747
- 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
748
- 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a,
749
- 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
750
- 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xf9, 0x03, 0x0a, 0x0b, 0x46, 0x61, 0x75, 0x63,
751
- 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x58, 0x0a, 0x11, 0x61, 0x64, 0x64, 0x72, 0x65,
752
- 0x73, 0x73, 0x54, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x03,
753
- 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x46, 0x61, 0x75, 0x63,
754
- 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54,
755
- 0x6f, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11,
756
- 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,
757
- 0x65, 0x12, 0x58, 0x0a, 0x11, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x6f, 0x41,
758
- 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66,
759
- 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x46, 0x61, 0x75, 0x63, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72,
760
- 0x65, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72,
761
- 0x65, 0x73, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61,
762
- 0x6d, 0x65, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x0a, 0x6c,
763
- 0x61, 0x74, 0x65, 0x73, 0x74, 0x44, 0x72, 0x69, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
764
- 0x23, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x46, 0x61, 0x75, 0x63, 0x65, 0x74, 0x53,
765
- 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x44, 0x72, 0x69, 0x70, 0x45,
766
- 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x44, 0x72, 0x69, 0x70,
767
- 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x43, 0x6f, 0x75,
768
- 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x44,
769
- 0x72, 0x69, 0x70, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x44, 0x0a, 0x16, 0x41, 0x64, 0x64, 0x72,
770
- 0x65, 0x73, 0x73, 0x54, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x74,
771
- 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
772
- 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
773
- 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x44,
774
- 0x0a, 0x16, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72,
775
- 0x65, 0x73, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
776
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
777
- 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
778
- 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3d, 0x0a, 0x0f, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x44, 0x72,
779
- 0x69, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
780
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
781
- 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
782
- 0x02, 0x38, 0x01, 0x22, 0x43, 0x0a, 0x0b, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
783
- 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
784
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18,
785
- 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
786
- 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x2a, 0x0a, 0x0e, 0x44, 0x72, 0x69, 0x70,
787
- 0x44, 0x65, 0x76, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64,
788
- 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64,
789
- 0x72, 0x65, 0x73, 0x73, 0x22, 0x4c, 0x0a, 0x0c, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70,
790
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x72, 0x69, 0x70, 0x54, 0x78, 0x48, 0x61,
791
- 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x72, 0x69, 0x70, 0x54, 0x78,
792
- 0x48, 0x61, 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x63, 0x73, 0x54, 0x78, 0x48, 0x61, 0x73,
793
- 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x63, 0x73, 0x54, 0x78, 0x48, 0x61,
794
- 0x73, 0x68, 0x22, 0x7f, 0x0a, 0x15, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44,
795
- 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x14, 0x74,
796
- 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x4d, 0x69, 0x6e, 0x75,
797
- 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x55,
798
- 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x12,
799
- 0x32, 0x0a, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70,
800
- 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x14, 0x74,
801
- 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x53, 0x65, 0x63, 0x6f,
802
- 0x6e, 0x64, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64,
803
- 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
804
- 0x5e, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74,
805
- 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0e,
806
- 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01,
807
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69,
808
- 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52,
809
- 0x0e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x22,
810
- 0x3a, 0x0a, 0x1e, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72,
811
- 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
812
- 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01,
813
- 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3d, 0x0a, 0x1f, 0x4c,
814
- 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41,
815
- 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a,
816
- 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
817
- 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3c, 0x0a, 0x1e, 0x4c, 0x69,
818
- 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77,
819
- 0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08,
820
- 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
821
- 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3b, 0x0a, 0x1f, 0x4c, 0x69, 0x6e, 0x6b,
822
- 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77, 0x69, 0x74,
823
- 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61,
824
- 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64,
825
- 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x6d, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b,
826
- 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
827
- 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
828
- 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73,
829
- 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73,
830
- 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74,
831
- 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61,
832
- 0x74, 0x75, 0x72, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65,
833
- 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
834
- 0x32, 0x9d, 0x05, 0x0a, 0x0d, 0x46, 0x61, 0x75, 0x63, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69,
835
- 0x63, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x44, 0x72, 0x69, 0x70, 0x12, 0x13, 0x2e, 0x66, 0x61, 0x75,
836
- 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
837
- 0x14, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73,
838
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x07, 0x44, 0x72, 0x69, 0x70, 0x44,
839
- 0x65, 0x76, 0x12, 0x16, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70,
840
- 0x44, 0x65, 0x76, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x66, 0x61, 0x75,
841
- 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
842
- 0x22, 0x00, 0x12, 0x3e, 0x0a, 0x0f, 0x44, 0x72, 0x69, 0x70, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79,
843
- 0x54, 0x77, 0x65, 0x65, 0x74, 0x12, 0x13, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44,
844
- 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x66, 0x61, 0x75,
845
- 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
846
- 0x22, 0x00, 0x12, 0x45, 0x0a, 0x0d, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44,
847
- 0x72, 0x69, 0x70, 0x12, 0x13, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69,
848
- 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65,
849
- 0x74, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x52,
850
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x47, 0x65, 0x74,
851
- 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x12, 0x20,
852
- 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65,
853
- 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
854
- 0x1a, 0x21, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e,
855
- 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
856
- 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b,
857
- 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72,
858
- 0x65, 0x73, 0x73, 0x12, 0x26, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69, 0x6e,
859
- 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64,
860
- 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x66, 0x61,
861
- 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74,
862
- 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70,
863
- 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e,
864
- 0x6b, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77, 0x69,
865
- 0x74, 0x74, 0x65, 0x72, 0x12, 0x26, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69,
866
- 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77,
867
- 0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x66,
868
- 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72,
869
- 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73,
870
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x4c, 0x69,
871
- 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x66, 0x61,
872
- 0x75, 0x63, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77,
873
- 0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x66,
874
- 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54,
875
- 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
876
- 0x42, 0x14, 0x5a, 0x12, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f,
877
- 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
878
- }
879
-
880
- var (
881
- file_proto_faucet_proto_rawDescOnce sync.Once
882
- file_proto_faucet_proto_rawDescData = file_proto_faucet_proto_rawDesc
883
- )
884
-
885
- func file_proto_faucet_proto_rawDescGZIP() []byte {
886
- file_proto_faucet_proto_rawDescOnce.Do(func() {
887
- file_proto_faucet_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_faucet_proto_rawDescData)
888
- })
889
- return file_proto_faucet_proto_rawDescData
890
- }
891
-
892
- var file_proto_faucet_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
893
- var file_proto_faucet_proto_goTypes = []interface{}{
894
- (*LinkedTwitterPair)(nil), // 0: faucet.LinkedTwitterPair
895
- (*FaucetStore)(nil), // 1: faucet.FaucetStore
896
- (*DripRequest)(nil), // 2: faucet.DripRequest
897
- (*DripDevRequest)(nil), // 3: faucet.DripDevRequest
898
- (*DripResponse)(nil), // 4: faucet.DripResponse
899
- (*TimeUntilDripResponse)(nil), // 5: faucet.TimeUntilDripResponse
900
- (*GetLinkedTwittersRequest)(nil), // 6: faucet.GetLinkedTwittersRequest
901
- (*GetLinkedTwittersResponse)(nil), // 7: faucet.GetLinkedTwittersResponse
902
- (*LinkedTwitterForAddressRequest)(nil), // 8: faucet.LinkedTwitterForAddressRequest
903
- (*LinkedTwitterForAddressResponse)(nil), // 9: faucet.LinkedTwitterForAddressResponse
904
- (*LinkedAddressForTwitterRequest)(nil), // 10: faucet.LinkedAddressForTwitterRequest
905
- (*LinkedAddressForTwitterResponse)(nil), // 11: faucet.LinkedAddressForTwitterResponse
906
- (*SetLinkedTwitterRequest)(nil), // 12: faucet.SetLinkedTwitterRequest
907
- (*SetLinkedTwitterResponse)(nil), // 13: faucet.SetLinkedTwitterResponse
908
- nil, // 14: faucet.FaucetStore.AddressToUsernameEntry
909
- nil, // 15: faucet.FaucetStore.UsernameToAddressEntry
910
- nil, // 16: faucet.FaucetStore.LatestDripEntry
911
- }
912
- var file_proto_faucet_proto_depIdxs = []int32{
913
- 14, // 0: faucet.FaucetStore.addressToUsername:type_name -> faucet.FaucetStore.AddressToUsernameEntry
914
- 15, // 1: faucet.FaucetStore.usernameToAddress:type_name -> faucet.FaucetStore.UsernameToAddressEntry
915
- 16, // 2: faucet.FaucetStore.latestDrip:type_name -> faucet.FaucetStore.LatestDripEntry
916
- 0, // 3: faucet.GetLinkedTwittersResponse.linkedTwitters:type_name -> faucet.LinkedTwitterPair
917
- 2, // 4: faucet.FaucetService.Drip:input_type -> faucet.DripRequest
918
- 3, // 5: faucet.FaucetService.DripDev:input_type -> faucet.DripDevRequest
919
- 2, // 6: faucet.FaucetService.DripVerifyTweet:input_type -> faucet.DripRequest
920
- 2, // 7: faucet.FaucetService.TimeUntilDrip:input_type -> faucet.DripRequest
921
- 6, // 8: faucet.FaucetService.GetLinkedTwitters:input_type -> faucet.GetLinkedTwittersRequest
922
- 8, // 9: faucet.FaucetService.GetLinkedTwitterForAddress:input_type -> faucet.LinkedTwitterForAddressRequest
923
- 10, // 10: faucet.FaucetService.GetLinkedAddressForTwitter:input_type -> faucet.LinkedAddressForTwitterRequest
924
- 12, // 11: faucet.FaucetService.SetLinkedTwitter:input_type -> faucet.SetLinkedTwitterRequest
925
- 4, // 12: faucet.FaucetService.Drip:output_type -> faucet.DripResponse
926
- 4, // 13: faucet.FaucetService.DripDev:output_type -> faucet.DripResponse
927
- 4, // 14: faucet.FaucetService.DripVerifyTweet:output_type -> faucet.DripResponse
928
- 5, // 15: faucet.FaucetService.TimeUntilDrip:output_type -> faucet.TimeUntilDripResponse
929
- 7, // 16: faucet.FaucetService.GetLinkedTwitters:output_type -> faucet.GetLinkedTwittersResponse
930
- 9, // 17: faucet.FaucetService.GetLinkedTwitterForAddress:output_type -> faucet.LinkedTwitterForAddressResponse
931
- 11, // 18: faucet.FaucetService.GetLinkedAddressForTwitter:output_type -> faucet.LinkedAddressForTwitterResponse
932
- 13, // 19: faucet.FaucetService.SetLinkedTwitter:output_type -> faucet.SetLinkedTwitterResponse
933
- 12, // [12:20] is the sub-list for method output_type
934
- 4, // [4:12] is the sub-list for method input_type
935
- 4, // [4:4] is the sub-list for extension type_name
936
- 4, // [4:4] is the sub-list for extension extendee
937
- 0, // [0:4] is the sub-list for field type_name
938
- }
939
-
940
- func init() { file_proto_faucet_proto_init() }
941
- func file_proto_faucet_proto_init() {
942
- if File_proto_faucet_proto != nil {
943
- return
944
- }
945
- if !protoimpl.UnsafeEnabled {
946
- file_proto_faucet_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
947
- switch v := v.(*LinkedTwitterPair); i {
948
- case 0:
949
- return &v.state
950
- case 1:
951
- return &v.sizeCache
952
- case 2:
953
- return &v.unknownFields
954
- default:
955
- return nil
956
- }
957
- }
958
- file_proto_faucet_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
959
- switch v := v.(*FaucetStore); i {
960
- case 0:
961
- return &v.state
962
- case 1:
963
- return &v.sizeCache
964
- case 2:
965
- return &v.unknownFields
966
- default:
967
- return nil
968
- }
969
- }
970
- file_proto_faucet_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
971
- switch v := v.(*DripRequest); i {
972
- case 0:
973
- return &v.state
974
- case 1:
975
- return &v.sizeCache
976
- case 2:
977
- return &v.unknownFields
978
- default:
979
- return nil
980
- }
981
- }
982
- file_proto_faucet_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
983
- switch v := v.(*DripDevRequest); i {
984
- case 0:
985
- return &v.state
986
- case 1:
987
- return &v.sizeCache
988
- case 2:
989
- return &v.unknownFields
990
- default:
991
- return nil
992
- }
993
- }
994
- file_proto_faucet_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
995
- switch v := v.(*DripResponse); i {
996
- case 0:
997
- return &v.state
998
- case 1:
999
- return &v.sizeCache
1000
- case 2:
1001
- return &v.unknownFields
1002
- default:
1003
- return nil
1004
- }
1005
- }
1006
- file_proto_faucet_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1007
- switch v := v.(*TimeUntilDripResponse); i {
1008
- case 0:
1009
- return &v.state
1010
- case 1:
1011
- return &v.sizeCache
1012
- case 2:
1013
- return &v.unknownFields
1014
- default:
1015
- return nil
1016
- }
1017
- }
1018
- file_proto_faucet_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1019
- switch v := v.(*GetLinkedTwittersRequest); i {
1020
- case 0:
1021
- return &v.state
1022
- case 1:
1023
- return &v.sizeCache
1024
- case 2:
1025
- return &v.unknownFields
1026
- default:
1027
- return nil
1028
- }
1029
- }
1030
- file_proto_faucet_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1031
- switch v := v.(*GetLinkedTwittersResponse); i {
1032
- case 0:
1033
- return &v.state
1034
- case 1:
1035
- return &v.sizeCache
1036
- case 2:
1037
- return &v.unknownFields
1038
- default:
1039
- return nil
1040
- }
1041
- }
1042
- file_proto_faucet_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1043
- switch v := v.(*LinkedTwitterForAddressRequest); i {
1044
- case 0:
1045
- return &v.state
1046
- case 1:
1047
- return &v.sizeCache
1048
- case 2:
1049
- return &v.unknownFields
1050
- default:
1051
- return nil
1052
- }
1053
- }
1054
- file_proto_faucet_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1055
- switch v := v.(*LinkedTwitterForAddressResponse); i {
1056
- case 0:
1057
- return &v.state
1058
- case 1:
1059
- return &v.sizeCache
1060
- case 2:
1061
- return &v.unknownFields
1062
- default:
1063
- return nil
1064
- }
1065
- }
1066
- file_proto_faucet_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1067
- switch v := v.(*LinkedAddressForTwitterRequest); i {
1068
- case 0:
1069
- return &v.state
1070
- case 1:
1071
- return &v.sizeCache
1072
- case 2:
1073
- return &v.unknownFields
1074
- default:
1075
- return nil
1076
- }
1077
- }
1078
- file_proto_faucet_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1079
- switch v := v.(*LinkedAddressForTwitterResponse); i {
1080
- case 0:
1081
- return &v.state
1082
- case 1:
1083
- return &v.sizeCache
1084
- case 2:
1085
- return &v.unknownFields
1086
- default:
1087
- return nil
1088
- }
1089
- }
1090
- file_proto_faucet_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
1091
- switch v := v.(*SetLinkedTwitterRequest); i {
1092
- case 0:
1093
- return &v.state
1094
- case 1:
1095
- return &v.sizeCache
1096
- case 2:
1097
- return &v.unknownFields
1098
- default:
1099
- return nil
1100
- }
1101
- }
1102
- file_proto_faucet_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
1103
- switch v := v.(*SetLinkedTwitterResponse); i {
1104
- case 0:
1105
- return &v.state
1106
- case 1:
1107
- return &v.sizeCache
1108
- case 2:
1109
- return &v.unknownFields
1110
- default:
1111
- return nil
1112
- }
1113
- }
1114
- }
1115
- type x struct{}
1116
- out := protoimpl.TypeBuilder{
1117
- File: protoimpl.DescBuilder{
1118
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1119
- RawDescriptor: file_proto_faucet_proto_rawDesc,
1120
- NumEnums: 0,
1121
- NumMessages: 17,
1122
- NumExtensions: 0,
1123
- NumServices: 1,
1124
- },
1125
- GoTypes: file_proto_faucet_proto_goTypes,
1126
- DependencyIndexes: file_proto_faucet_proto_depIdxs,
1127
- MessageInfos: file_proto_faucet_proto_msgTypes,
1128
- }.Build()
1129
- File_proto_faucet_proto = out.File
1130
- file_proto_faucet_proto_rawDesc = nil
1131
- file_proto_faucet_proto_goTypes = nil
1132
- file_proto_faucet_proto_depIdxs = nil
1133
- }