@latticexyz/services 1.0.0 → 1.2.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.
- package/bin/ecs-relay +0 -0
- package/bin/ecs-snapshot +0 -0
- package/bin/ecs-stream +0 -0
- package/bin/faucet +0 -0
- package/package.json +2 -2
- package/protobuf/go/ecs-relay/ecs-relay.pb.go +685 -0
- package/protobuf/go/ecs-relay/ecs-relay_grpc.pb.go +421 -0
- package/protobuf/go/faucet/faucet.pb.go +821 -0
- package/protobuf/go/faucet/faucet_grpc.pb.go +213 -0
- package/protobuf/ts/ecs-relay/ecs-relay.client.ts +169 -0
- package/protobuf/ts/ecs-relay/ecs-relay.ts +510 -0
- package/protobuf/ts/ecs-snapshot/ecs-snapshot.client.ts +1 -1
- package/protobuf/ts/ecs-snapshot/ecs-snapshot.ts +1 -1
- package/protobuf/ts/ecs-stream/ecs-stream.client.ts +1 -1
- package/protobuf/ts/ecs-stream/ecs-stream.ts +1 -1
- package/protobuf/ts/faucet/faucet.client.ts +120 -0
- package/protobuf/ts/faucet/faucet.ts +786 -0
|
@@ -0,0 +1,685 @@
|
|
|
1
|
+
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
2
|
+
// versions:
|
|
3
|
+
// protoc-gen-go v1.28.1
|
|
4
|
+
// protoc v3.21.3
|
|
5
|
+
// source: proto/ecs-relay.proto
|
|
6
|
+
|
|
7
|
+
package ecs_relay
|
|
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
|
+
// Identifies a client connecting to Relay Service.
|
|
24
|
+
type Identity struct {
|
|
25
|
+
state protoimpl.MessageState
|
|
26
|
+
sizeCache protoimpl.SizeCache
|
|
27
|
+
unknownFields protoimpl.UnknownFields
|
|
28
|
+
|
|
29
|
+
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
func (x *Identity) Reset() {
|
|
33
|
+
*x = Identity{}
|
|
34
|
+
if protoimpl.UnsafeEnabled {
|
|
35
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[0]
|
|
36
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
37
|
+
ms.StoreMessageInfo(mi)
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
func (x *Identity) String() string {
|
|
42
|
+
return protoimpl.X.MessageStringOf(x)
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
func (*Identity) ProtoMessage() {}
|
|
46
|
+
|
|
47
|
+
func (x *Identity) ProtoReflect() protoreflect.Message {
|
|
48
|
+
mi := &file_proto_ecs_relay_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 Identity.ProtoReflect.Descriptor instead.
|
|
60
|
+
func (*Identity) Descriptor() ([]byte, []int) {
|
|
61
|
+
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{0}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
func (x *Identity) GetName() string {
|
|
65
|
+
if x != nil {
|
|
66
|
+
return x.Name
|
|
67
|
+
}
|
|
68
|
+
return ""
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
type Message struct {
|
|
72
|
+
state protoimpl.MessageState
|
|
73
|
+
sizeCache protoimpl.SizeCache
|
|
74
|
+
unknownFields protoimpl.UnknownFields
|
|
75
|
+
|
|
76
|
+
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
77
|
+
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
78
|
+
Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
79
|
+
Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
func (x *Message) Reset() {
|
|
83
|
+
*x = Message{}
|
|
84
|
+
if protoimpl.UnsafeEnabled {
|
|
85
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[1]
|
|
86
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
87
|
+
ms.StoreMessageInfo(mi)
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
func (x *Message) String() string {
|
|
92
|
+
return protoimpl.X.MessageStringOf(x)
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
func (*Message) ProtoMessage() {}
|
|
96
|
+
|
|
97
|
+
func (x *Message) ProtoReflect() protoreflect.Message {
|
|
98
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[1]
|
|
99
|
+
if protoimpl.UnsafeEnabled && x != nil {
|
|
100
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
101
|
+
if ms.LoadMessageInfo() == nil {
|
|
102
|
+
ms.StoreMessageInfo(mi)
|
|
103
|
+
}
|
|
104
|
+
return ms
|
|
105
|
+
}
|
|
106
|
+
return mi.MessageOf(x)
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// Deprecated: Use Message.ProtoReflect.Descriptor instead.
|
|
110
|
+
func (*Message) Descriptor() ([]byte, []int) {
|
|
111
|
+
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{1}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
func (x *Message) GetVersion() uint32 {
|
|
115
|
+
if x != nil {
|
|
116
|
+
return x.Version
|
|
117
|
+
}
|
|
118
|
+
return 0
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
func (x *Message) GetData() []byte {
|
|
122
|
+
if x != nil {
|
|
123
|
+
return x.Data
|
|
124
|
+
}
|
|
125
|
+
return nil
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
func (x *Message) GetTimestamp() int64 {
|
|
129
|
+
if x != nil {
|
|
130
|
+
return x.Timestamp
|
|
131
|
+
}
|
|
132
|
+
return 0
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
func (x *Message) GetId() string {
|
|
136
|
+
if x != nil {
|
|
137
|
+
return x.Id
|
|
138
|
+
}
|
|
139
|
+
return ""
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
type SubscriptionRequest struct {
|
|
143
|
+
state protoimpl.MessageState
|
|
144
|
+
sizeCache protoimpl.SizeCache
|
|
145
|
+
unknownFields protoimpl.UnknownFields
|
|
146
|
+
|
|
147
|
+
Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
148
|
+
Subscription *Subscription `protobuf:"bytes,2,opt,name=subscription,proto3" json:"subscription,omitempty"`
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
func (x *SubscriptionRequest) Reset() {
|
|
152
|
+
*x = SubscriptionRequest{}
|
|
153
|
+
if protoimpl.UnsafeEnabled {
|
|
154
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[2]
|
|
155
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
156
|
+
ms.StoreMessageInfo(mi)
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
func (x *SubscriptionRequest) String() string {
|
|
161
|
+
return protoimpl.X.MessageStringOf(x)
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
func (*SubscriptionRequest) ProtoMessage() {}
|
|
165
|
+
|
|
166
|
+
func (x *SubscriptionRequest) ProtoReflect() protoreflect.Message {
|
|
167
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[2]
|
|
168
|
+
if protoimpl.UnsafeEnabled && x != nil {
|
|
169
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
170
|
+
if ms.LoadMessageInfo() == nil {
|
|
171
|
+
ms.StoreMessageInfo(mi)
|
|
172
|
+
}
|
|
173
|
+
return ms
|
|
174
|
+
}
|
|
175
|
+
return mi.MessageOf(x)
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
// Deprecated: Use SubscriptionRequest.ProtoReflect.Descriptor instead.
|
|
179
|
+
func (*SubscriptionRequest) Descriptor() ([]byte, []int) {
|
|
180
|
+
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{2}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
func (x *SubscriptionRequest) GetIdentity() *Identity {
|
|
184
|
+
if x != nil {
|
|
185
|
+
return x.Identity
|
|
186
|
+
}
|
|
187
|
+
return nil
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
func (x *SubscriptionRequest) GetSubscription() *Subscription {
|
|
191
|
+
if x != nil {
|
|
192
|
+
return x.Subscription
|
|
193
|
+
}
|
|
194
|
+
return nil
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
type Subscription struct {
|
|
198
|
+
state protoimpl.MessageState
|
|
199
|
+
sizeCache protoimpl.SizeCache
|
|
200
|
+
unknownFields protoimpl.UnknownFields
|
|
201
|
+
|
|
202
|
+
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
func (x *Subscription) Reset() {
|
|
206
|
+
*x = Subscription{}
|
|
207
|
+
if protoimpl.UnsafeEnabled {
|
|
208
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[3]
|
|
209
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
210
|
+
ms.StoreMessageInfo(mi)
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
func (x *Subscription) String() string {
|
|
215
|
+
return protoimpl.X.MessageStringOf(x)
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
func (*Subscription) ProtoMessage() {}
|
|
219
|
+
|
|
220
|
+
func (x *Subscription) ProtoReflect() protoreflect.Message {
|
|
221
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[3]
|
|
222
|
+
if protoimpl.UnsafeEnabled && x != nil {
|
|
223
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
224
|
+
if ms.LoadMessageInfo() == nil {
|
|
225
|
+
ms.StoreMessageInfo(mi)
|
|
226
|
+
}
|
|
227
|
+
return ms
|
|
228
|
+
}
|
|
229
|
+
return mi.MessageOf(x)
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
// Deprecated: Use Subscription.ProtoReflect.Descriptor instead.
|
|
233
|
+
func (*Subscription) Descriptor() ([]byte, []int) {
|
|
234
|
+
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{3}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
func (x *Subscription) GetLabel() string {
|
|
238
|
+
if x != nil {
|
|
239
|
+
return x.Label
|
|
240
|
+
}
|
|
241
|
+
return ""
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
type PushRequest struct {
|
|
245
|
+
state protoimpl.MessageState
|
|
246
|
+
sizeCache protoimpl.SizeCache
|
|
247
|
+
unknownFields protoimpl.UnknownFields
|
|
248
|
+
|
|
249
|
+
Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
250
|
+
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
|
|
251
|
+
Messages []*Message `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
func (x *PushRequest) Reset() {
|
|
255
|
+
*x = PushRequest{}
|
|
256
|
+
if protoimpl.UnsafeEnabled {
|
|
257
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[4]
|
|
258
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
259
|
+
ms.StoreMessageInfo(mi)
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
func (x *PushRequest) String() string {
|
|
264
|
+
return protoimpl.X.MessageStringOf(x)
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
func (*PushRequest) ProtoMessage() {}
|
|
268
|
+
|
|
269
|
+
func (x *PushRequest) ProtoReflect() protoreflect.Message {
|
|
270
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[4]
|
|
271
|
+
if protoimpl.UnsafeEnabled && x != nil {
|
|
272
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
273
|
+
if ms.LoadMessageInfo() == nil {
|
|
274
|
+
ms.StoreMessageInfo(mi)
|
|
275
|
+
}
|
|
276
|
+
return ms
|
|
277
|
+
}
|
|
278
|
+
return mi.MessageOf(x)
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
// Deprecated: Use PushRequest.ProtoReflect.Descriptor instead.
|
|
282
|
+
func (*PushRequest) Descriptor() ([]byte, []int) {
|
|
283
|
+
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{4}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
func (x *PushRequest) GetIdentity() *Identity {
|
|
287
|
+
if x != nil {
|
|
288
|
+
return x.Identity
|
|
289
|
+
}
|
|
290
|
+
return nil
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
func (x *PushRequest) GetLabel() string {
|
|
294
|
+
if x != nil {
|
|
295
|
+
return x.Label
|
|
296
|
+
}
|
|
297
|
+
return ""
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
func (x *PushRequest) GetMessages() []*Message {
|
|
301
|
+
if x != nil {
|
|
302
|
+
return x.Messages
|
|
303
|
+
}
|
|
304
|
+
return nil
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
type PushResponse struct {
|
|
308
|
+
state protoimpl.MessageState
|
|
309
|
+
sizeCache protoimpl.SizeCache
|
|
310
|
+
unknownFields protoimpl.UnknownFields
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
func (x *PushResponse) Reset() {
|
|
314
|
+
*x = PushResponse{}
|
|
315
|
+
if protoimpl.UnsafeEnabled {
|
|
316
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[5]
|
|
317
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
318
|
+
ms.StoreMessageInfo(mi)
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
func (x *PushResponse) String() string {
|
|
323
|
+
return protoimpl.X.MessageStringOf(x)
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
func (*PushResponse) ProtoMessage() {}
|
|
327
|
+
|
|
328
|
+
func (x *PushResponse) ProtoReflect() protoreflect.Message {
|
|
329
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[5]
|
|
330
|
+
if protoimpl.UnsafeEnabled && x != nil {
|
|
331
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
332
|
+
if ms.LoadMessageInfo() == nil {
|
|
333
|
+
ms.StoreMessageInfo(mi)
|
|
334
|
+
}
|
|
335
|
+
return ms
|
|
336
|
+
}
|
|
337
|
+
return mi.MessageOf(x)
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
// Deprecated: Use PushResponse.ProtoReflect.Descriptor instead.
|
|
341
|
+
func (*PushResponse) Descriptor() ([]byte, []int) {
|
|
342
|
+
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{5}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
type CountIdentitiesRequest struct {
|
|
346
|
+
state protoimpl.MessageState
|
|
347
|
+
sizeCache protoimpl.SizeCache
|
|
348
|
+
unknownFields protoimpl.UnknownFields
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
func (x *CountIdentitiesRequest) Reset() {
|
|
352
|
+
*x = CountIdentitiesRequest{}
|
|
353
|
+
if protoimpl.UnsafeEnabled {
|
|
354
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[6]
|
|
355
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
356
|
+
ms.StoreMessageInfo(mi)
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
func (x *CountIdentitiesRequest) String() string {
|
|
361
|
+
return protoimpl.X.MessageStringOf(x)
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
func (*CountIdentitiesRequest) ProtoMessage() {}
|
|
365
|
+
|
|
366
|
+
func (x *CountIdentitiesRequest) ProtoReflect() protoreflect.Message {
|
|
367
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[6]
|
|
368
|
+
if protoimpl.UnsafeEnabled && x != nil {
|
|
369
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
370
|
+
if ms.LoadMessageInfo() == nil {
|
|
371
|
+
ms.StoreMessageInfo(mi)
|
|
372
|
+
}
|
|
373
|
+
return ms
|
|
374
|
+
}
|
|
375
|
+
return mi.MessageOf(x)
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
// Deprecated: Use CountIdentitiesRequest.ProtoReflect.Descriptor instead.
|
|
379
|
+
func (*CountIdentitiesRequest) Descriptor() ([]byte, []int) {
|
|
380
|
+
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{6}
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
type CountIdentitiesResponse struct {
|
|
384
|
+
state protoimpl.MessageState
|
|
385
|
+
sizeCache protoimpl.SizeCache
|
|
386
|
+
unknownFields protoimpl.UnknownFields
|
|
387
|
+
|
|
388
|
+
Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
func (x *CountIdentitiesResponse) Reset() {
|
|
392
|
+
*x = CountIdentitiesResponse{}
|
|
393
|
+
if protoimpl.UnsafeEnabled {
|
|
394
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[7]
|
|
395
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
396
|
+
ms.StoreMessageInfo(mi)
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
func (x *CountIdentitiesResponse) String() string {
|
|
401
|
+
return protoimpl.X.MessageStringOf(x)
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
func (*CountIdentitiesResponse) ProtoMessage() {}
|
|
405
|
+
|
|
406
|
+
func (x *CountIdentitiesResponse) ProtoReflect() protoreflect.Message {
|
|
407
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[7]
|
|
408
|
+
if protoimpl.UnsafeEnabled && x != nil {
|
|
409
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
410
|
+
if ms.LoadMessageInfo() == nil {
|
|
411
|
+
ms.StoreMessageInfo(mi)
|
|
412
|
+
}
|
|
413
|
+
return ms
|
|
414
|
+
}
|
|
415
|
+
return mi.MessageOf(x)
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
// Deprecated: Use CountIdentitiesResponse.ProtoReflect.Descriptor instead.
|
|
419
|
+
func (*CountIdentitiesResponse) Descriptor() ([]byte, []int) {
|
|
420
|
+
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{7}
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
func (x *CountIdentitiesResponse) GetCount() uint32 {
|
|
424
|
+
if x != nil {
|
|
425
|
+
return x.Count
|
|
426
|
+
}
|
|
427
|
+
return 0
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
var File_proto_ecs_relay_proto protoreflect.FileDescriptor
|
|
431
|
+
|
|
432
|
+
var file_proto_ecs_relay_proto_rawDesc = []byte{
|
|
433
|
+
0x0a, 0x15, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x63, 0x73, 0x2d, 0x72, 0x65, 0x6c, 0x61,
|
|
434
|
+
0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61,
|
|
435
|
+
0x79, 0x22, 0x1e, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a,
|
|
436
|
+
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
|
437
|
+
0x65, 0x22, 0x65, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07,
|
|
438
|
+
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76,
|
|
439
|
+
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02,
|
|
440
|
+
0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69,
|
|
441
|
+
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74,
|
|
442
|
+
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x04,
|
|
443
|
+
0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x81, 0x01, 0x0a, 0x13, 0x53, 0x75, 0x62,
|
|
444
|
+
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
445
|
+
0x12, 0x2e, 0x0a, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01,
|
|
446
|
+
0x28, 0x0b, 0x32, 0x12, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x49, 0x64,
|
|
447
|
+
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
|
|
448
|
+
0x12, 0x3a, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
|
449
|
+
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61,
|
|
450
|
+
0x79, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c,
|
|
451
|
+
0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x24, 0x0a, 0x0c,
|
|
452
|
+
0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05,
|
|
453
|
+
0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62,
|
|
454
|
+
0x65, 0x6c, 0x22, 0x82, 0x01, 0x0a, 0x0b, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
455
|
+
0x73, 0x74, 0x12, 0x2e, 0x0a, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01,
|
|
456
|
+
0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e,
|
|
457
|
+
0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
|
458
|
+
0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
459
|
+
0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73,
|
|
460
|
+
0x61, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x65, 0x63, 0x73,
|
|
461
|
+
0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6d,
|
|
462
|
+
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x0e, 0x0a, 0x0c, 0x50, 0x75, 0x73, 0x68, 0x52,
|
|
463
|
+
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
|
464
|
+
0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
465
|
+
0x74, 0x22, 0x2f, 0x0a, 0x17, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
|
466
|
+
0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05,
|
|
467
|
+
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75,
|
|
468
|
+
0x6e, 0x74, 0x32, 0xe7, 0x04, 0x0a, 0x0f, 0x45, 0x43, 0x53, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x53,
|
|
469
|
+
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x38, 0x0a, 0x0c, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e,
|
|
470
|
+
0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x12, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61,
|
|
471
|
+
0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x1a, 0x12, 0x2e, 0x65, 0x63, 0x73,
|
|
472
|
+
0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x00,
|
|
473
|
+
0x12, 0x32, 0x0a, 0x06, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x12, 0x12, 0x2e, 0x65, 0x63, 0x73,
|
|
474
|
+
0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x1a, 0x12,
|
|
475
|
+
0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
|
476
|
+
0x74, 0x79, 0x22, 0x00, 0x12, 0x30, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x2e, 0x65,
|
|
477
|
+
0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
|
|
478
|
+
0x1a, 0x12, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e,
|
|
479
|
+
0x74, 0x69, 0x74, 0x79, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x12, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41,
|
|
480
|
+
0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x20, 0x2e, 0x65,
|
|
481
|
+
0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65,
|
|
482
|
+
0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21,
|
|
483
|
+
0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49,
|
|
484
|
+
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
485
|
+
0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x6e,
|
|
486
|
+
0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x20, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79,
|
|
487
|
+
0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73,
|
|
488
|
+
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c,
|
|
489
|
+
0x61, 0x79, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69,
|
|
490
|
+
0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x09,
|
|
491
|
+
0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x1d, 0x2e, 0x65, 0x63, 0x73, 0x72,
|
|
492
|
+
0x65, 0x6c, 0x61, 0x79, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
|
493
|
+
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65,
|
|
494
|
+
0x6c, 0x61, 0x79, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
|
495
|
+
0x22, 0x00, 0x12, 0x46, 0x0a, 0x0b, 0x55, 0x6e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62,
|
|
496
|
+
0x65, 0x12, 0x1d, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x53, 0x75, 0x62,
|
|
497
|
+
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
498
|
+
0x1a, 0x16, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x53, 0x75, 0x62, 0x73,
|
|
499
|
+
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x0a, 0x4f, 0x70,
|
|
500
|
+
0x65, 0x6e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x12, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65,
|
|
501
|
+
0x6c, 0x61, 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x1a, 0x11, 0x2e, 0x65,
|
|
502
|
+
0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22,
|
|
503
|
+
0x00, 0x30, 0x01, 0x12, 0x37, 0x0a, 0x04, 0x50, 0x75, 0x73, 0x68, 0x12, 0x15, 0x2e, 0x65, 0x63,
|
|
504
|
+
0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
505
|
+
0x73, 0x74, 0x1a, 0x16, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x50, 0x75,
|
|
506
|
+
0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x17, 0x5a, 0x15,
|
|
507
|
+
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x63, 0x73, 0x2d,
|
|
508
|
+
0x72, 0x65, 0x6c, 0x61, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
var (
|
|
512
|
+
file_proto_ecs_relay_proto_rawDescOnce sync.Once
|
|
513
|
+
file_proto_ecs_relay_proto_rawDescData = file_proto_ecs_relay_proto_rawDesc
|
|
514
|
+
)
|
|
515
|
+
|
|
516
|
+
func file_proto_ecs_relay_proto_rawDescGZIP() []byte {
|
|
517
|
+
file_proto_ecs_relay_proto_rawDescOnce.Do(func() {
|
|
518
|
+
file_proto_ecs_relay_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_ecs_relay_proto_rawDescData)
|
|
519
|
+
})
|
|
520
|
+
return file_proto_ecs_relay_proto_rawDescData
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
var file_proto_ecs_relay_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
|
524
|
+
var file_proto_ecs_relay_proto_goTypes = []interface{}{
|
|
525
|
+
(*Identity)(nil), // 0: ecsrelay.Identity
|
|
526
|
+
(*Message)(nil), // 1: ecsrelay.Message
|
|
527
|
+
(*SubscriptionRequest)(nil), // 2: ecsrelay.SubscriptionRequest
|
|
528
|
+
(*Subscription)(nil), // 3: ecsrelay.Subscription
|
|
529
|
+
(*PushRequest)(nil), // 4: ecsrelay.PushRequest
|
|
530
|
+
(*PushResponse)(nil), // 5: ecsrelay.PushResponse
|
|
531
|
+
(*CountIdentitiesRequest)(nil), // 6: ecsrelay.CountIdentitiesRequest
|
|
532
|
+
(*CountIdentitiesResponse)(nil), // 7: ecsrelay.CountIdentitiesResponse
|
|
533
|
+
}
|
|
534
|
+
var file_proto_ecs_relay_proto_depIdxs = []int32{
|
|
535
|
+
0, // 0: ecsrelay.SubscriptionRequest.identity:type_name -> ecsrelay.Identity
|
|
536
|
+
3, // 1: ecsrelay.SubscriptionRequest.subscription:type_name -> ecsrelay.Subscription
|
|
537
|
+
0, // 2: ecsrelay.PushRequest.identity:type_name -> ecsrelay.Identity
|
|
538
|
+
1, // 3: ecsrelay.PushRequest.messages:type_name -> ecsrelay.Message
|
|
539
|
+
0, // 4: ecsrelay.ECSRelayService.Authenticate:input_type -> ecsrelay.Identity
|
|
540
|
+
0, // 5: ecsrelay.ECSRelayService.Revoke:input_type -> ecsrelay.Identity
|
|
541
|
+
0, // 6: ecsrelay.ECSRelayService.Ping:input_type -> ecsrelay.Identity
|
|
542
|
+
6, // 7: ecsrelay.ECSRelayService.CountAuthenticated:input_type -> ecsrelay.CountIdentitiesRequest
|
|
543
|
+
6, // 8: ecsrelay.ECSRelayService.CountConnected:input_type -> ecsrelay.CountIdentitiesRequest
|
|
544
|
+
2, // 9: ecsrelay.ECSRelayService.Subscribe:input_type -> ecsrelay.SubscriptionRequest
|
|
545
|
+
2, // 10: ecsrelay.ECSRelayService.Unsubscribe:input_type -> ecsrelay.SubscriptionRequest
|
|
546
|
+
0, // 11: ecsrelay.ECSRelayService.OpenStream:input_type -> ecsrelay.Identity
|
|
547
|
+
4, // 12: ecsrelay.ECSRelayService.Push:input_type -> ecsrelay.PushRequest
|
|
548
|
+
0, // 13: ecsrelay.ECSRelayService.Authenticate:output_type -> ecsrelay.Identity
|
|
549
|
+
0, // 14: ecsrelay.ECSRelayService.Revoke:output_type -> ecsrelay.Identity
|
|
550
|
+
0, // 15: ecsrelay.ECSRelayService.Ping:output_type -> ecsrelay.Identity
|
|
551
|
+
7, // 16: ecsrelay.ECSRelayService.CountAuthenticated:output_type -> ecsrelay.CountIdentitiesResponse
|
|
552
|
+
7, // 17: ecsrelay.ECSRelayService.CountConnected:output_type -> ecsrelay.CountIdentitiesResponse
|
|
553
|
+
3, // 18: ecsrelay.ECSRelayService.Subscribe:output_type -> ecsrelay.Subscription
|
|
554
|
+
3, // 19: ecsrelay.ECSRelayService.Unsubscribe:output_type -> ecsrelay.Subscription
|
|
555
|
+
1, // 20: ecsrelay.ECSRelayService.OpenStream:output_type -> ecsrelay.Message
|
|
556
|
+
5, // 21: ecsrelay.ECSRelayService.Push:output_type -> ecsrelay.PushResponse
|
|
557
|
+
13, // [13:22] is the sub-list for method output_type
|
|
558
|
+
4, // [4:13] is the sub-list for method input_type
|
|
559
|
+
4, // [4:4] is the sub-list for extension type_name
|
|
560
|
+
4, // [4:4] is the sub-list for extension extendee
|
|
561
|
+
0, // [0:4] is the sub-list for field type_name
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
func init() { file_proto_ecs_relay_proto_init() }
|
|
565
|
+
func file_proto_ecs_relay_proto_init() {
|
|
566
|
+
if File_proto_ecs_relay_proto != nil {
|
|
567
|
+
return
|
|
568
|
+
}
|
|
569
|
+
if !protoimpl.UnsafeEnabled {
|
|
570
|
+
file_proto_ecs_relay_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
571
|
+
switch v := v.(*Identity); i {
|
|
572
|
+
case 0:
|
|
573
|
+
return &v.state
|
|
574
|
+
case 1:
|
|
575
|
+
return &v.sizeCache
|
|
576
|
+
case 2:
|
|
577
|
+
return &v.unknownFields
|
|
578
|
+
default:
|
|
579
|
+
return nil
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
file_proto_ecs_relay_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
583
|
+
switch v := v.(*Message); i {
|
|
584
|
+
case 0:
|
|
585
|
+
return &v.state
|
|
586
|
+
case 1:
|
|
587
|
+
return &v.sizeCache
|
|
588
|
+
case 2:
|
|
589
|
+
return &v.unknownFields
|
|
590
|
+
default:
|
|
591
|
+
return nil
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
file_proto_ecs_relay_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
595
|
+
switch v := v.(*SubscriptionRequest); i {
|
|
596
|
+
case 0:
|
|
597
|
+
return &v.state
|
|
598
|
+
case 1:
|
|
599
|
+
return &v.sizeCache
|
|
600
|
+
case 2:
|
|
601
|
+
return &v.unknownFields
|
|
602
|
+
default:
|
|
603
|
+
return nil
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
file_proto_ecs_relay_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
607
|
+
switch v := v.(*Subscription); i {
|
|
608
|
+
case 0:
|
|
609
|
+
return &v.state
|
|
610
|
+
case 1:
|
|
611
|
+
return &v.sizeCache
|
|
612
|
+
case 2:
|
|
613
|
+
return &v.unknownFields
|
|
614
|
+
default:
|
|
615
|
+
return nil
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
file_proto_ecs_relay_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
619
|
+
switch v := v.(*PushRequest); i {
|
|
620
|
+
case 0:
|
|
621
|
+
return &v.state
|
|
622
|
+
case 1:
|
|
623
|
+
return &v.sizeCache
|
|
624
|
+
case 2:
|
|
625
|
+
return &v.unknownFields
|
|
626
|
+
default:
|
|
627
|
+
return nil
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
file_proto_ecs_relay_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
631
|
+
switch v := v.(*PushResponse); i {
|
|
632
|
+
case 0:
|
|
633
|
+
return &v.state
|
|
634
|
+
case 1:
|
|
635
|
+
return &v.sizeCache
|
|
636
|
+
case 2:
|
|
637
|
+
return &v.unknownFields
|
|
638
|
+
default:
|
|
639
|
+
return nil
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
file_proto_ecs_relay_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
643
|
+
switch v := v.(*CountIdentitiesRequest); i {
|
|
644
|
+
case 0:
|
|
645
|
+
return &v.state
|
|
646
|
+
case 1:
|
|
647
|
+
return &v.sizeCache
|
|
648
|
+
case 2:
|
|
649
|
+
return &v.unknownFields
|
|
650
|
+
default:
|
|
651
|
+
return nil
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
file_proto_ecs_relay_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
655
|
+
switch v := v.(*CountIdentitiesResponse); i {
|
|
656
|
+
case 0:
|
|
657
|
+
return &v.state
|
|
658
|
+
case 1:
|
|
659
|
+
return &v.sizeCache
|
|
660
|
+
case 2:
|
|
661
|
+
return &v.unknownFields
|
|
662
|
+
default:
|
|
663
|
+
return nil
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
type x struct{}
|
|
668
|
+
out := protoimpl.TypeBuilder{
|
|
669
|
+
File: protoimpl.DescBuilder{
|
|
670
|
+
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
671
|
+
RawDescriptor: file_proto_ecs_relay_proto_rawDesc,
|
|
672
|
+
NumEnums: 0,
|
|
673
|
+
NumMessages: 8,
|
|
674
|
+
NumExtensions: 0,
|
|
675
|
+
NumServices: 1,
|
|
676
|
+
},
|
|
677
|
+
GoTypes: file_proto_ecs_relay_proto_goTypes,
|
|
678
|
+
DependencyIndexes: file_proto_ecs_relay_proto_depIdxs,
|
|
679
|
+
MessageInfos: file_proto_ecs_relay_proto_msgTypes,
|
|
680
|
+
}.Build()
|
|
681
|
+
File_proto_ecs_relay_proto = out.File
|
|
682
|
+
file_proto_ecs_relay_proto_rawDesc = nil
|
|
683
|
+
file_proto_ecs_relay_proto_goTypes = nil
|
|
684
|
+
file_proto_ecs_relay_proto_depIdxs = nil
|
|
685
|
+
}
|