Newer
Older
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
package context;
import static context.ContextServiceGrpc.getServiceDescriptor;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: context.proto")
public final class MutinyContextServiceGrpc implements io.quarkus.grpc.runtime.MutinyGrpc {
private MutinyContextServiceGrpc() {}
public static MutinyContextServiceStub newMutinyStub(io.grpc.Channel channel) {
return new MutinyContextServiceStub(channel);
}
public static final class MutinyContextServiceStub extends io.grpc.stub.AbstractStub<MutinyContextServiceStub> implements io.quarkus.grpc.runtime.MutinyStub {
private ContextServiceGrpc.ContextServiceStub delegateStub;
private MutinyContextServiceStub(io.grpc.Channel channel) {
super(channel);
delegateStub = ContextServiceGrpc.newStub(channel);
}
private MutinyContextServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
delegateStub = ContextServiceGrpc.newStub(channel).build(channel, callOptions);
}
@Override
protected MutinyContextServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new MutinyContextServiceStub(channel, callOptions);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextIdList> listContextIds(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listContextIds);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextList> listContexts(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listContexts);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Context> getContext(context.ContextOuterClass.ContextId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::getContext);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextId> setContext(context.ContextOuterClass.Context request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::setContext);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeContext(context.ContextOuterClass.ContextId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::removeContext);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyIdList> listTopologyIds(context.ContextOuterClass.ContextId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listTopologyIds);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyList> listTopologies(context.ContextOuterClass.ContextId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listTopologies);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Topology> getTopology(context.ContextOuterClass.TopologyId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::getTopology);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyDetails> getTopologyDetails(context.ContextOuterClass.TopologyId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::getTopologyDetails);
}
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
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyId> setTopology(context.ContextOuterClass.Topology request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::setTopology);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeTopology(context.ContextOuterClass.TopologyId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::removeTopology);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceIdList> listDeviceIds(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listDeviceIds);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceList> listDevices(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listDevices);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Device> getDevice(context.ContextOuterClass.DeviceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::getDevice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceId> setDevice(context.ContextOuterClass.Device request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::setDevice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeDevice(context.ContextOuterClass.DeviceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::removeDevice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceList> selectDevice(context.ContextOuterClass.DeviceFilter request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::selectDevice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.EndPointNameList> listEndPointNames(context.ContextOuterClass.EndPointIdList request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listEndPointNames);
}
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
public io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkIdList> listLinkIds(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listLinkIds);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkList> listLinks(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listLinks);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Link> getLink(context.ContextOuterClass.LinkId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::getLink);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkId> setLink(context.ContextOuterClass.Link request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::setLink);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeLink(context.ContextOuterClass.LinkId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::removeLink);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceIdList> listServiceIds(context.ContextOuterClass.ContextId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listServiceIds);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceList> listServices(context.ContextOuterClass.ContextId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listServices);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Service> getService(context.ContextOuterClass.ServiceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::getService);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceId> setService(context.ContextOuterClass.Service request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::setService);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceId> unsetService(context.ContextOuterClass.Service request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::unsetService);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeService(context.ContextOuterClass.ServiceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::removeService);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceList> selectService(context.ContextOuterClass.ServiceFilter request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::selectService);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceIdList> listSliceIds(context.ContextOuterClass.ContextId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listSliceIds);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceList> listSlices(context.ContextOuterClass.ContextId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listSlices);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Slice> getSlice(context.ContextOuterClass.SliceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::getSlice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceId> setSlice(context.ContextOuterClass.Slice request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::setSlice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceId> unsetSlice(context.ContextOuterClass.Slice request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::unsetSlice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeSlice(context.ContextOuterClass.SliceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::removeSlice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceList> selectSlice(context.ContextOuterClass.SliceFilter request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::selectSlice);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionIdList> listConnectionIds(context.ContextOuterClass.ServiceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listConnectionIds);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionList> listConnections(context.ContextOuterClass.ServiceId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::listConnections);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Connection> getConnection(context.ContextOuterClass.ConnectionId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::getConnection);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionId> setConnection(context.ContextOuterClass.Connection request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::setConnection);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeConnection(context.ContextOuterClass.ConnectionId request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::removeConnection);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.ContextEvent> getContextEvents(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToMany(request, delegateStub::getContextEvents);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.TopologyEvent> getTopologyEvents(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToMany(request, delegateStub::getTopologyEvents);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.DeviceEvent> getDeviceEvents(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToMany(request, delegateStub::getDeviceEvents);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.LinkEvent> getLinkEvents(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToMany(request, delegateStub::getLinkEvents);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.ServiceEvent> getServiceEvents(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToMany(request, delegateStub::getServiceEvents);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.SliceEvent> getSliceEvents(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToMany(request, delegateStub::getSliceEvents);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.ConnectionEvent> getConnectionEvents(context.ContextOuterClass.Empty request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToMany(request, delegateStub::getConnectionEvents);
}
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
}
public static abstract class ContextServiceImplBase implements io.grpc.BindableService {
private String compression;
/**
* Set whether the server will try to use a compressed response.
*
* @param compression the compression, e.g {@code gzip}
*/
public ContextServiceImplBase withCompression(String compression) {
this.compression = compression;
return this;
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextIdList> listContextIds(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextList> listContexts(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Context> getContext(context.ContextOuterClass.ContextId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ContextId> setContext(context.ContextOuterClass.Context request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeContext(context.ContextOuterClass.ContextId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyIdList> listTopologyIds(context.ContextOuterClass.ContextId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyList> listTopologies(context.ContextOuterClass.ContextId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Topology> getTopology(context.ContextOuterClass.TopologyId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyDetails> getTopologyDetails(context.ContextOuterClass.TopologyId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
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
public io.smallrye.mutiny.Uni<context.ContextOuterClass.TopologyId> setTopology(context.ContextOuterClass.Topology request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeTopology(context.ContextOuterClass.TopologyId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceIdList> listDeviceIds(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceList> listDevices(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Device> getDevice(context.ContextOuterClass.DeviceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceId> setDevice(context.ContextOuterClass.Device request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeDevice(context.ContextOuterClass.DeviceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.DeviceList> selectDevice(context.ContextOuterClass.DeviceFilter request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.EndPointNameList> listEndPointNames(context.ContextOuterClass.EndPointIdList request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
public io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkIdList> listLinkIds(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkList> listLinks(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Link> getLink(context.ContextOuterClass.LinkId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.LinkId> setLink(context.ContextOuterClass.Link request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeLink(context.ContextOuterClass.LinkId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceIdList> listServiceIds(context.ContextOuterClass.ContextId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceList> listServices(context.ContextOuterClass.ContextId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Service> getService(context.ContextOuterClass.ServiceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceId> setService(context.ContextOuterClass.Service request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceId> unsetService(context.ContextOuterClass.Service request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeService(context.ContextOuterClass.ServiceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ServiceList> selectService(context.ContextOuterClass.ServiceFilter request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceIdList> listSliceIds(context.ContextOuterClass.ContextId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceList> listSlices(context.ContextOuterClass.ContextId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Slice> getSlice(context.ContextOuterClass.SliceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceId> setSlice(context.ContextOuterClass.Slice request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceId> unsetSlice(context.ContextOuterClass.Slice request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeSlice(context.ContextOuterClass.SliceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.SliceList> selectSlice(context.ContextOuterClass.SliceFilter request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionIdList> listConnectionIds(context.ContextOuterClass.ServiceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionList> listConnections(context.ContextOuterClass.ServiceId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Connection> getConnection(context.ContextOuterClass.ConnectionId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.ConnectionId> setConnection(context.ContextOuterClass.Connection request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni<context.ContextOuterClass.Empty> removeConnection(context.ContextOuterClass.ConnectionId request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.ContextEvent> getContextEvents(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.TopologyEvent> getTopologyEvents(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.DeviceEvent> getDeviceEvents(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.LinkEvent> getLinkEvents(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.ServiceEvent> getServiceEvents(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.SliceEvent> getSliceEvents(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Multi<context.ContextOuterClass.ConnectionEvent> getConnectionEvents(context.ContextOuterClass.Empty request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
context.ContextServiceGrpc.getListContextIdsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextIdList>(
this, METHODID_LIST_CONTEXT_IDS, compression)))
.addMethod(
context.ContextServiceGrpc.getListContextsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextList>(
this, METHODID_LIST_CONTEXTS, compression)))
.addMethod(
context.ContextServiceGrpc.getGetContextMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.Context>(
this, METHODID_GET_CONTEXT, compression)))
.addMethod(
context.ContextServiceGrpc.getSetContextMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Context,
context.ContextOuterClass.ContextId>(
this, METHODID_SET_CONTEXT, compression)))
.addMethod(
context.ContextServiceGrpc.getRemoveContextMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_CONTEXT, compression)))
.addMethod(
context.ContextServiceGrpc.getGetContextEventsMethod(),
asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.ContextEvent>(
this, METHODID_GET_CONTEXT_EVENTS, compression)))
.addMethod(
context.ContextServiceGrpc.getListTopologyIdsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.TopologyIdList>(
this, METHODID_LIST_TOPOLOGY_IDS, compression)))
.addMethod(
context.ContextServiceGrpc.getListTopologiesMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.TopologyList>(
this, METHODID_LIST_TOPOLOGIES, compression)))
.addMethod(
context.ContextServiceGrpc.getGetTopologyMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.TopologyId,
context.ContextOuterClass.Topology>(
this, METHODID_GET_TOPOLOGY, compression)))
.addMethod(
context.ContextServiceGrpc.getGetTopologyDetailsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.TopologyId,
context.ContextOuterClass.TopologyDetails>(
this, METHODID_GET_TOPOLOGY_DETAILS, compression)))
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
.addMethod(
context.ContextServiceGrpc.getSetTopologyMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Topology,
context.ContextOuterClass.TopologyId>(
this, METHODID_SET_TOPOLOGY, compression)))
.addMethod(
context.ContextServiceGrpc.getRemoveTopologyMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.TopologyId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_TOPOLOGY, compression)))
.addMethod(
context.ContextServiceGrpc.getGetTopologyEventsMethod(),
asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.TopologyEvent>(
this, METHODID_GET_TOPOLOGY_EVENTS, compression)))
.addMethod(
context.ContextServiceGrpc.getListDeviceIdsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.DeviceIdList>(
this, METHODID_LIST_DEVICE_IDS, compression)))
.addMethod(
context.ContextServiceGrpc.getListDevicesMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.DeviceList>(
this, METHODID_LIST_DEVICES, compression)))
.addMethod(
context.ContextServiceGrpc.getGetDeviceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.DeviceId,
context.ContextOuterClass.Device>(
this, METHODID_GET_DEVICE, compression)))
.addMethod(
context.ContextServiceGrpc.getSetDeviceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Device,
context.ContextOuterClass.DeviceId>(
this, METHODID_SET_DEVICE, compression)))
.addMethod(
context.ContextServiceGrpc.getRemoveDeviceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.DeviceId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_DEVICE, compression)))
.addMethod(
context.ContextServiceGrpc.getGetDeviceEventsMethod(),
asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.DeviceEvent>(
this, METHODID_GET_DEVICE_EVENTS, compression)))
.addMethod(
context.ContextServiceGrpc.getSelectDeviceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.DeviceFilter,
context.ContextOuterClass.DeviceList>(
this, METHODID_SELECT_DEVICE, compression)))
.addMethod(
context.ContextServiceGrpc.getListEndPointNamesMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.EndPointIdList,
context.ContextOuterClass.EndPointNameList>(
this, METHODID_LIST_END_POINT_NAMES, compression)))
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
.addMethod(
context.ContextServiceGrpc.getListLinkIdsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.LinkIdList>(
this, METHODID_LIST_LINK_IDS, compression)))
.addMethod(
context.ContextServiceGrpc.getListLinksMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.LinkList>(
this, METHODID_LIST_LINKS, compression)))
.addMethod(
context.ContextServiceGrpc.getGetLinkMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.LinkId,
context.ContextOuterClass.Link>(
this, METHODID_GET_LINK, compression)))
.addMethod(
context.ContextServiceGrpc.getSetLinkMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Link,
context.ContextOuterClass.LinkId>(
this, METHODID_SET_LINK, compression)))
.addMethod(
context.ContextServiceGrpc.getRemoveLinkMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.LinkId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_LINK, compression)))
.addMethod(
context.ContextServiceGrpc.getGetLinkEventsMethod(),
asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.LinkEvent>(
this, METHODID_GET_LINK_EVENTS, compression)))
.addMethod(
context.ContextServiceGrpc.getListServiceIdsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.ServiceIdList>(
this, METHODID_LIST_SERVICE_IDS, compression)))
.addMethod(
context.ContextServiceGrpc.getListServicesMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.ServiceList>(
this, METHODID_LIST_SERVICES, compression)))
.addMethod(
context.ContextServiceGrpc.getGetServiceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ServiceId,
context.ContextOuterClass.Service>(
this, METHODID_GET_SERVICE, compression)))
.addMethod(
context.ContextServiceGrpc.getSetServiceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Service,
context.ContextOuterClass.ServiceId>(
this, METHODID_SET_SERVICE, compression)))
.addMethod(
context.ContextServiceGrpc.getUnsetServiceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Service,
context.ContextOuterClass.ServiceId>(
this, METHODID_UNSET_SERVICE, compression)))
.addMethod(
context.ContextServiceGrpc.getRemoveServiceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ServiceId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_SERVICE, compression)))
.addMethod(
context.ContextServiceGrpc.getGetServiceEventsMethod(),
asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.ServiceEvent>(
this, METHODID_GET_SERVICE_EVENTS, compression)))
.addMethod(
context.ContextServiceGrpc.getSelectServiceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ServiceFilter,
context.ContextOuterClass.ServiceList>(
this, METHODID_SELECT_SERVICE, compression)))
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
.addMethod(
context.ContextServiceGrpc.getListSliceIdsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.SliceIdList>(
this, METHODID_LIST_SLICE_IDS, compression)))
.addMethod(
context.ContextServiceGrpc.getListSlicesMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ContextId,
context.ContextOuterClass.SliceList>(
this, METHODID_LIST_SLICES, compression)))
.addMethod(
context.ContextServiceGrpc.getGetSliceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.SliceId,
context.ContextOuterClass.Slice>(
this, METHODID_GET_SLICE, compression)))
.addMethod(
context.ContextServiceGrpc.getSetSliceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Slice,
context.ContextOuterClass.SliceId>(
this, METHODID_SET_SLICE, compression)))
.addMethod(
context.ContextServiceGrpc.getUnsetSliceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Slice,
context.ContextOuterClass.SliceId>(
this, METHODID_UNSET_SLICE, compression)))
.addMethod(
context.ContextServiceGrpc.getRemoveSliceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.SliceId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_SLICE, compression)))
.addMethod(
context.ContextServiceGrpc.getGetSliceEventsMethod(),
asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.SliceEvent>(
this, METHODID_GET_SLICE_EVENTS, compression)))
.addMethod(
context.ContextServiceGrpc.getSelectSliceMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.SliceFilter,
context.ContextOuterClass.SliceList>(
this, METHODID_SELECT_SLICE, compression)))
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
.addMethod(
context.ContextServiceGrpc.getListConnectionIdsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ServiceId,
context.ContextOuterClass.ConnectionIdList>(
this, METHODID_LIST_CONNECTION_IDS, compression)))
.addMethod(
context.ContextServiceGrpc.getListConnectionsMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ServiceId,
context.ContextOuterClass.ConnectionList>(
this, METHODID_LIST_CONNECTIONS, compression)))
.addMethod(
context.ContextServiceGrpc.getGetConnectionMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ConnectionId,
context.ContextOuterClass.Connection>(
this, METHODID_GET_CONNECTION, compression)))
.addMethod(
context.ContextServiceGrpc.getSetConnectionMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.Connection,
context.ContextOuterClass.ConnectionId>(
this, METHODID_SET_CONNECTION, compression)))
.addMethod(
context.ContextServiceGrpc.getRemoveConnectionMethod(),
asyncUnaryCall(
new MethodHandlers<
context.ContextOuterClass.ConnectionId,
context.ContextOuterClass.Empty>(
this, METHODID_REMOVE_CONNECTION, compression)))
.addMethod(
context.ContextServiceGrpc.getGetConnectionEventsMethod(),
asyncServerStreamingCall(
new MethodHandlers<
context.ContextOuterClass.Empty,
context.ContextOuterClass.ConnectionEvent>(
this, METHODID_GET_CONNECTION_EVENTS, compression)))
.build();
}
}
private static final int METHODID_LIST_CONTEXT_IDS = 0;
private static final int METHODID_LIST_CONTEXTS = 1;
private static final int METHODID_GET_CONTEXT = 2;
private static final int METHODID_SET_CONTEXT = 3;
private static final int METHODID_REMOVE_CONTEXT = 4;
private static final int METHODID_GET_CONTEXT_EVENTS = 5;
private static final int METHODID_LIST_TOPOLOGY_IDS = 6;
private static final int METHODID_LIST_TOPOLOGIES = 7;
private static final int METHODID_GET_TOPOLOGY = 8;
private static final int METHODID_GET_TOPOLOGY_DETAILS = 9;
private static final int METHODID_SET_TOPOLOGY = 10;
private static final int METHODID_REMOVE_TOPOLOGY = 11;
private static final int METHODID_GET_TOPOLOGY_EVENTS = 12;
private static final int METHODID_LIST_DEVICE_IDS = 13;
private static final int METHODID_LIST_DEVICES = 14;
private static final int METHODID_GET_DEVICE = 15;
private static final int METHODID_SET_DEVICE = 16;
private static final int METHODID_REMOVE_DEVICE = 17;
private static final int METHODID_GET_DEVICE_EVENTS = 18;
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
private static final int METHODID_SELECT_DEVICE = 19;
private static final int METHODID_LIST_END_POINT_NAMES = 20;
private static final int METHODID_LIST_LINK_IDS = 21;
private static final int METHODID_LIST_LINKS = 22;
private static final int METHODID_GET_LINK = 23;
private static final int METHODID_SET_LINK = 24;
private static final int METHODID_REMOVE_LINK = 25;
private static final int METHODID_GET_LINK_EVENTS = 26;
private static final int METHODID_LIST_SERVICE_IDS = 27;
private static final int METHODID_LIST_SERVICES = 28;
private static final int METHODID_GET_SERVICE = 29;
private static final int METHODID_SET_SERVICE = 30;
private static final int METHODID_UNSET_SERVICE = 31;
private static final int METHODID_REMOVE_SERVICE = 32;
private static final int METHODID_GET_SERVICE_EVENTS = 33;
private static final int METHODID_SELECT_SERVICE = 34;
private static final int METHODID_LIST_SLICE_IDS = 35;
private static final int METHODID_LIST_SLICES = 36;
private static final int METHODID_GET_SLICE = 37;
private static final int METHODID_SET_SLICE = 38;
private static final int METHODID_UNSET_SLICE = 39;
private static final int METHODID_REMOVE_SLICE = 40;
private static final int METHODID_GET_SLICE_EVENTS = 41;
private static final int METHODID_SELECT_SLICE = 42;
private static final int METHODID_LIST_CONNECTION_IDS = 43;
private static final int METHODID_LIST_CONNECTIONS = 44;
private static final int METHODID_GET_CONNECTION = 45;
private static final int METHODID_SET_CONNECTION = 46;
private static final int METHODID_REMOVE_CONNECTION = 47;
private static final int METHODID_GET_CONNECTION_EVENTS = 48;
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
private static final class MethodHandlers<Req, Resp> implements
io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>,
io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>,
io.grpc.stub.ServerCalls.BidiStreamingMethod<Req, Resp> {
private final ContextServiceImplBase serviceImpl;
private final int methodId;
private final String compression;
MethodHandlers(ContextServiceImplBase serviceImpl, int methodId, String compression) {
this.serviceImpl = serviceImpl;
this.methodId = methodId;
this.compression = compression;
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) {
switch (methodId) {
case METHODID_LIST_CONTEXT_IDS:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextIdList>) responseObserver,
compression,
serviceImpl::listContextIds);
break;
case METHODID_LIST_CONTEXTS:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextList>) responseObserver,
compression,
serviceImpl::listContexts);
break;
case METHODID_GET_CONTEXT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Context>) responseObserver,
compression,
serviceImpl::getContext);
break;
case METHODID_SET_CONTEXT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.Context) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextId>) responseObserver,
compression,
serviceImpl::setContext);
break;
case METHODID_REMOVE_CONTEXT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ContextId) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.Empty>) responseObserver,
compression,
serviceImpl::removeContext);
break;
case METHODID_GET_CONTEXT_EVENTS:
io.quarkus.grpc.runtime.ServerCalls.oneToMany((context.ContextOuterClass.Empty) request,
(io.grpc.stub.StreamObserver<context.ContextOuterClass.ContextEvent>) responseObserver,
compression,
serviceImpl::getContextEvents);
break;
case METHODID_LIST_TOPOLOGY_IDS:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((context.ContextOuterClass.ContextId) request,