neoncontract-gen 1.3.11__py3-none-any.whl → 1.4.7__py3-none-any.whl
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.
- admin/v1/__init__.py +0 -0
- admin/v1/admin_pb2.py +176 -0
- admin/v1/admin_pb2_grpc.py +1102 -0
- messaging/v1/messaging_pb2.py +269 -265
- neoncontract_gen-1.4.7.dist-info/METADATA +57 -0
- neoncontract_gen-1.4.7.dist-info/RECORD +12 -0
- {neoncontract_gen-1.3.11.dist-info → neoncontract_gen-1.4.7.dist-info}/WHEEL +2 -1
- neoncontract_gen-1.4.7.dist-info/top_level.txt +2 -0
- neoncontract_gen-1.3.11.dist-info/METADATA +0 -88
- neoncontract_gen-1.3.11.dist-info/RECORD +0 -8
- {config → admin}/__init__.py +0 -0
|
@@ -0,0 +1,1102 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
from admin.v1 import admin_pb2 as admin_dot_v1_dot_admin__pb2
|
|
7
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
8
|
+
|
|
9
|
+
GRPC_GENERATED_VERSION = '1.75.1'
|
|
10
|
+
GRPC_VERSION = grpc.__version__
|
|
11
|
+
_version_not_supported = False
|
|
12
|
+
|
|
13
|
+
try:
|
|
14
|
+
from grpc._utilities import first_version_is_lower
|
|
15
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
16
|
+
except ImportError:
|
|
17
|
+
_version_not_supported = True
|
|
18
|
+
|
|
19
|
+
if _version_not_supported:
|
|
20
|
+
raise RuntimeError(
|
|
21
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
22
|
+
+ f' but the generated code in admin/v1/admin_pb2_grpc.py depends on'
|
|
23
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
24
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
25
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class AdminServiceStub(object):
|
|
30
|
+
"""=============================================================================
|
|
31
|
+
ADMIN SERVICE
|
|
32
|
+
=============================================================================
|
|
33
|
+
|
|
34
|
+
NeonLink Admin Panel service for system observability and management
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
def __init__(self, channel):
|
|
38
|
+
"""Constructor.
|
|
39
|
+
|
|
40
|
+
Args:
|
|
41
|
+
channel: A grpc.Channel.
|
|
42
|
+
"""
|
|
43
|
+
self.SubscribeMetrics = channel.unary_stream(
|
|
44
|
+
'/neonlink.admin.v1.AdminService/SubscribeMetrics',
|
|
45
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.SubscribeMetricsRequest.SerializeToString,
|
|
46
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.MetricsSnapshot.FromString,
|
|
47
|
+
_registered_method=True)
|
|
48
|
+
self.SubscribeAlerts = channel.unary_stream(
|
|
49
|
+
'/neonlink.admin.v1.AdminService/SubscribeAlerts',
|
|
50
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.SubscribeAlertsRequest.SerializeToString,
|
|
51
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.Alert.FromString,
|
|
52
|
+
_registered_method=True)
|
|
53
|
+
self.SubscribeDLQUpdates = channel.unary_stream(
|
|
54
|
+
'/neonlink.admin.v1.AdminService/SubscribeDLQUpdates',
|
|
55
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.SubscribeDLQRequest.SerializeToString,
|
|
56
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.DLQUpdate.FromString,
|
|
57
|
+
_registered_method=True)
|
|
58
|
+
self.SubscribeLogs = channel.unary_stream(
|
|
59
|
+
'/neonlink.admin.v1.AdminService/SubscribeLogs',
|
|
60
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.SubscribeLogsRequest.SerializeToString,
|
|
61
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.LogEntry.FromString,
|
|
62
|
+
_registered_method=True)
|
|
63
|
+
self.GetSystemHealth = channel.unary_unary(
|
|
64
|
+
'/neonlink.admin.v1.AdminService/GetSystemHealth',
|
|
65
|
+
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
66
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.SystemHealthResponse.FromString,
|
|
67
|
+
_registered_method=True)
|
|
68
|
+
self.GetCircuitBreakerStatus = channel.unary_unary(
|
|
69
|
+
'/neonlink.admin.v1.AdminService/GetCircuitBreakerStatus',
|
|
70
|
+
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
71
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.CircuitBreakerStatusResponse.FromString,
|
|
72
|
+
_registered_method=True)
|
|
73
|
+
self.GetRateLimiterStats = channel.unary_unary(
|
|
74
|
+
'/neonlink.admin.v1.AdminService/GetRateLimiterStats',
|
|
75
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.RateLimiterStatsRequest.SerializeToString,
|
|
76
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.RateLimiterStatsResponse.FromString,
|
|
77
|
+
_registered_method=True)
|
|
78
|
+
self.ListStreams = channel.unary_unary(
|
|
79
|
+
'/neonlink.admin.v1.AdminService/ListStreams',
|
|
80
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.ListStreamsRequest.SerializeToString,
|
|
81
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.ListStreamsResponse.FromString,
|
|
82
|
+
_registered_method=True)
|
|
83
|
+
self.GetStreamStats = channel.unary_unary(
|
|
84
|
+
'/neonlink.admin.v1.AdminService/GetStreamStats',
|
|
85
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.GetStreamStatsRequest.SerializeToString,
|
|
86
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.GetStreamStatsResponse.FromString,
|
|
87
|
+
_registered_method=True)
|
|
88
|
+
self.PeekStream = channel.unary_unary(
|
|
89
|
+
'/neonlink.admin.v1.AdminService/PeekStream',
|
|
90
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.PeekStreamRequest.SerializeToString,
|
|
91
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.PeekStreamResponse.FromString,
|
|
92
|
+
_registered_method=True)
|
|
93
|
+
self.GetStreamMessage = channel.unary_unary(
|
|
94
|
+
'/neonlink.admin.v1.AdminService/GetStreamMessage',
|
|
95
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.GetStreamMessageRequest.SerializeToString,
|
|
96
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.GetStreamMessageResponse.FromString,
|
|
97
|
+
_registered_method=True)
|
|
98
|
+
self.TrimStream = channel.unary_unary(
|
|
99
|
+
'/neonlink.admin.v1.AdminService/TrimStream',
|
|
100
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.TrimStreamRequest.SerializeToString,
|
|
101
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.TrimStreamResponse.FromString,
|
|
102
|
+
_registered_method=True)
|
|
103
|
+
self.ListConsumerGroups = channel.unary_unary(
|
|
104
|
+
'/neonlink.admin.v1.AdminService/ListConsumerGroups',
|
|
105
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.ListConsumerGroupsRequest.SerializeToString,
|
|
106
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.ListConsumerGroupsResponse.FromString,
|
|
107
|
+
_registered_method=True)
|
|
108
|
+
self.GetConsumerGroupInfo = channel.unary_unary(
|
|
109
|
+
'/neonlink.admin.v1.AdminService/GetConsumerGroupInfo',
|
|
110
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.GetConsumerGroupInfoRequest.SerializeToString,
|
|
111
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.GetConsumerGroupInfoResponse.FromString,
|
|
112
|
+
_registered_method=True)
|
|
113
|
+
self.GetPendingMessages = channel.unary_unary(
|
|
114
|
+
'/neonlink.admin.v1.AdminService/GetPendingMessages',
|
|
115
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.GetPendingMessagesRequest.SerializeToString,
|
|
116
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.GetPendingMessagesResponse.FromString,
|
|
117
|
+
_registered_method=True)
|
|
118
|
+
self.ListDLQMessages = channel.unary_unary(
|
|
119
|
+
'/neonlink.admin.v1.AdminService/ListDLQMessages',
|
|
120
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.ListDLQMessagesRequest.SerializeToString,
|
|
121
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.ListDLQMessagesResponse.FromString,
|
|
122
|
+
_registered_method=True)
|
|
123
|
+
self.GetDLQMessage = channel.unary_unary(
|
|
124
|
+
'/neonlink.admin.v1.AdminService/GetDLQMessage',
|
|
125
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.GetDLQMessageRequest.SerializeToString,
|
|
126
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.GetDLQMessageResponse.FromString,
|
|
127
|
+
_registered_method=True)
|
|
128
|
+
self.ReplayDLQMessage = channel.unary_unary(
|
|
129
|
+
'/neonlink.admin.v1.AdminService/ReplayDLQMessage',
|
|
130
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.ReplayDLQMessageRequest.SerializeToString,
|
|
131
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.ReplayDLQMessageResponse.FromString,
|
|
132
|
+
_registered_method=True)
|
|
133
|
+
self.ReplayDLQBatch = channel.unary_unary(
|
|
134
|
+
'/neonlink.admin.v1.AdminService/ReplayDLQBatch',
|
|
135
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.ReplayDLQBatchRequest.SerializeToString,
|
|
136
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.ReplayDLQBatchResponse.FromString,
|
|
137
|
+
_registered_method=True)
|
|
138
|
+
self.DeleteDLQMessage = channel.unary_unary(
|
|
139
|
+
'/neonlink.admin.v1.AdminService/DeleteDLQMessage',
|
|
140
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.DeleteDLQMessageRequest.SerializeToString,
|
|
141
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.DeleteDLQMessageResponse.FromString,
|
|
142
|
+
_registered_method=True)
|
|
143
|
+
self.PurgeDLQ = channel.unary_unary(
|
|
144
|
+
'/neonlink.admin.v1.AdminService/PurgeDLQ',
|
|
145
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.PurgeDLQRequest.SerializeToString,
|
|
146
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.PurgeDLQResponse.FromString,
|
|
147
|
+
_registered_method=True)
|
|
148
|
+
self.GetMetricsSummary = channel.unary_unary(
|
|
149
|
+
'/neonlink.admin.v1.AdminService/GetMetricsSummary',
|
|
150
|
+
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
151
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.MetricsSummaryResponse.FromString,
|
|
152
|
+
_registered_method=True)
|
|
153
|
+
self.GetStreamMetrics = channel.unary_unary(
|
|
154
|
+
'/neonlink.admin.v1.AdminService/GetStreamMetrics',
|
|
155
|
+
request_serializer=admin_dot_v1_dot_admin__pb2.GetStreamMetricsRequest.SerializeToString,
|
|
156
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.GetStreamMetricsResponse.FromString,
|
|
157
|
+
_registered_method=True)
|
|
158
|
+
self.GetConfiguration = channel.unary_unary(
|
|
159
|
+
'/neonlink.admin.v1.AdminService/GetConfiguration',
|
|
160
|
+
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
161
|
+
response_deserializer=admin_dot_v1_dot_admin__pb2.ConfigurationResponse.FromString,
|
|
162
|
+
_registered_method=True)
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
class AdminServiceServicer(object):
|
|
166
|
+
"""=============================================================================
|
|
167
|
+
ADMIN SERVICE
|
|
168
|
+
=============================================================================
|
|
169
|
+
|
|
170
|
+
NeonLink Admin Panel service for system observability and management
|
|
171
|
+
"""
|
|
172
|
+
|
|
173
|
+
def SubscribeMetrics(self, request, context):
|
|
174
|
+
"""Missing associated documentation comment in .proto file."""
|
|
175
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
176
|
+
context.set_details('Method not implemented!')
|
|
177
|
+
raise NotImplementedError('Method not implemented!')
|
|
178
|
+
|
|
179
|
+
def SubscribeAlerts(self, request, context):
|
|
180
|
+
"""Missing associated documentation comment in .proto file."""
|
|
181
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
182
|
+
context.set_details('Method not implemented!')
|
|
183
|
+
raise NotImplementedError('Method not implemented!')
|
|
184
|
+
|
|
185
|
+
def SubscribeDLQUpdates(self, request, context):
|
|
186
|
+
"""Missing associated documentation comment in .proto file."""
|
|
187
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
188
|
+
context.set_details('Method not implemented!')
|
|
189
|
+
raise NotImplementedError('Method not implemented!')
|
|
190
|
+
|
|
191
|
+
def SubscribeLogs(self, request, context):
|
|
192
|
+
"""Missing associated documentation comment in .proto file."""
|
|
193
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
194
|
+
context.set_details('Method not implemented!')
|
|
195
|
+
raise NotImplementedError('Method not implemented!')
|
|
196
|
+
|
|
197
|
+
def GetSystemHealth(self, request, context):
|
|
198
|
+
"""Missing associated documentation comment in .proto file."""
|
|
199
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
200
|
+
context.set_details('Method not implemented!')
|
|
201
|
+
raise NotImplementedError('Method not implemented!')
|
|
202
|
+
|
|
203
|
+
def GetCircuitBreakerStatus(self, request, context):
|
|
204
|
+
"""Missing associated documentation comment in .proto file."""
|
|
205
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
206
|
+
context.set_details('Method not implemented!')
|
|
207
|
+
raise NotImplementedError('Method not implemented!')
|
|
208
|
+
|
|
209
|
+
def GetRateLimiterStats(self, request, context):
|
|
210
|
+
"""Missing associated documentation comment in .proto file."""
|
|
211
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
212
|
+
context.set_details('Method not implemented!')
|
|
213
|
+
raise NotImplementedError('Method not implemented!')
|
|
214
|
+
|
|
215
|
+
def ListStreams(self, request, context):
|
|
216
|
+
"""Missing associated documentation comment in .proto file."""
|
|
217
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
218
|
+
context.set_details('Method not implemented!')
|
|
219
|
+
raise NotImplementedError('Method not implemented!')
|
|
220
|
+
|
|
221
|
+
def GetStreamStats(self, request, context):
|
|
222
|
+
"""Missing associated documentation comment in .proto file."""
|
|
223
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
224
|
+
context.set_details('Method not implemented!')
|
|
225
|
+
raise NotImplementedError('Method not implemented!')
|
|
226
|
+
|
|
227
|
+
def PeekStream(self, request, context):
|
|
228
|
+
"""Missing associated documentation comment in .proto file."""
|
|
229
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
230
|
+
context.set_details('Method not implemented!')
|
|
231
|
+
raise NotImplementedError('Method not implemented!')
|
|
232
|
+
|
|
233
|
+
def GetStreamMessage(self, request, context):
|
|
234
|
+
"""Missing associated documentation comment in .proto file."""
|
|
235
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
236
|
+
context.set_details('Method not implemented!')
|
|
237
|
+
raise NotImplementedError('Method not implemented!')
|
|
238
|
+
|
|
239
|
+
def TrimStream(self, request, context):
|
|
240
|
+
"""Missing associated documentation comment in .proto file."""
|
|
241
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
242
|
+
context.set_details('Method not implemented!')
|
|
243
|
+
raise NotImplementedError('Method not implemented!')
|
|
244
|
+
|
|
245
|
+
def ListConsumerGroups(self, request, context):
|
|
246
|
+
"""Missing associated documentation comment in .proto file."""
|
|
247
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
248
|
+
context.set_details('Method not implemented!')
|
|
249
|
+
raise NotImplementedError('Method not implemented!')
|
|
250
|
+
|
|
251
|
+
def GetConsumerGroupInfo(self, request, context):
|
|
252
|
+
"""Missing associated documentation comment in .proto file."""
|
|
253
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
254
|
+
context.set_details('Method not implemented!')
|
|
255
|
+
raise NotImplementedError('Method not implemented!')
|
|
256
|
+
|
|
257
|
+
def GetPendingMessages(self, request, context):
|
|
258
|
+
"""Missing associated documentation comment in .proto file."""
|
|
259
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
260
|
+
context.set_details('Method not implemented!')
|
|
261
|
+
raise NotImplementedError('Method not implemented!')
|
|
262
|
+
|
|
263
|
+
def ListDLQMessages(self, request, context):
|
|
264
|
+
"""Missing associated documentation comment in .proto file."""
|
|
265
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
266
|
+
context.set_details('Method not implemented!')
|
|
267
|
+
raise NotImplementedError('Method not implemented!')
|
|
268
|
+
|
|
269
|
+
def GetDLQMessage(self, request, context):
|
|
270
|
+
"""Missing associated documentation comment in .proto file."""
|
|
271
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
272
|
+
context.set_details('Method not implemented!')
|
|
273
|
+
raise NotImplementedError('Method not implemented!')
|
|
274
|
+
|
|
275
|
+
def ReplayDLQMessage(self, request, context):
|
|
276
|
+
"""Missing associated documentation comment in .proto file."""
|
|
277
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
278
|
+
context.set_details('Method not implemented!')
|
|
279
|
+
raise NotImplementedError('Method not implemented!')
|
|
280
|
+
|
|
281
|
+
def ReplayDLQBatch(self, request, context):
|
|
282
|
+
"""Missing associated documentation comment in .proto file."""
|
|
283
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
284
|
+
context.set_details('Method not implemented!')
|
|
285
|
+
raise NotImplementedError('Method not implemented!')
|
|
286
|
+
|
|
287
|
+
def DeleteDLQMessage(self, request, context):
|
|
288
|
+
"""Missing associated documentation comment in .proto file."""
|
|
289
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
290
|
+
context.set_details('Method not implemented!')
|
|
291
|
+
raise NotImplementedError('Method not implemented!')
|
|
292
|
+
|
|
293
|
+
def PurgeDLQ(self, request, context):
|
|
294
|
+
"""Missing associated documentation comment in .proto file."""
|
|
295
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
296
|
+
context.set_details('Method not implemented!')
|
|
297
|
+
raise NotImplementedError('Method not implemented!')
|
|
298
|
+
|
|
299
|
+
def GetMetricsSummary(self, request, context):
|
|
300
|
+
"""Missing associated documentation comment in .proto file."""
|
|
301
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
302
|
+
context.set_details('Method not implemented!')
|
|
303
|
+
raise NotImplementedError('Method not implemented!')
|
|
304
|
+
|
|
305
|
+
def GetStreamMetrics(self, request, context):
|
|
306
|
+
"""Missing associated documentation comment in .proto file."""
|
|
307
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
308
|
+
context.set_details('Method not implemented!')
|
|
309
|
+
raise NotImplementedError('Method not implemented!')
|
|
310
|
+
|
|
311
|
+
def GetConfiguration(self, request, context):
|
|
312
|
+
"""Missing associated documentation comment in .proto file."""
|
|
313
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
314
|
+
context.set_details('Method not implemented!')
|
|
315
|
+
raise NotImplementedError('Method not implemented!')
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
def add_AdminServiceServicer_to_server(servicer, server):
|
|
319
|
+
rpc_method_handlers = {
|
|
320
|
+
'SubscribeMetrics': grpc.unary_stream_rpc_method_handler(
|
|
321
|
+
servicer.SubscribeMetrics,
|
|
322
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.SubscribeMetricsRequest.FromString,
|
|
323
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.MetricsSnapshot.SerializeToString,
|
|
324
|
+
),
|
|
325
|
+
'SubscribeAlerts': grpc.unary_stream_rpc_method_handler(
|
|
326
|
+
servicer.SubscribeAlerts,
|
|
327
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.SubscribeAlertsRequest.FromString,
|
|
328
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.Alert.SerializeToString,
|
|
329
|
+
),
|
|
330
|
+
'SubscribeDLQUpdates': grpc.unary_stream_rpc_method_handler(
|
|
331
|
+
servicer.SubscribeDLQUpdates,
|
|
332
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.SubscribeDLQRequest.FromString,
|
|
333
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.DLQUpdate.SerializeToString,
|
|
334
|
+
),
|
|
335
|
+
'SubscribeLogs': grpc.unary_stream_rpc_method_handler(
|
|
336
|
+
servicer.SubscribeLogs,
|
|
337
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.SubscribeLogsRequest.FromString,
|
|
338
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.LogEntry.SerializeToString,
|
|
339
|
+
),
|
|
340
|
+
'GetSystemHealth': grpc.unary_unary_rpc_method_handler(
|
|
341
|
+
servicer.GetSystemHealth,
|
|
342
|
+
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
343
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.SystemHealthResponse.SerializeToString,
|
|
344
|
+
),
|
|
345
|
+
'GetCircuitBreakerStatus': grpc.unary_unary_rpc_method_handler(
|
|
346
|
+
servicer.GetCircuitBreakerStatus,
|
|
347
|
+
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
348
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.CircuitBreakerStatusResponse.SerializeToString,
|
|
349
|
+
),
|
|
350
|
+
'GetRateLimiterStats': grpc.unary_unary_rpc_method_handler(
|
|
351
|
+
servicer.GetRateLimiterStats,
|
|
352
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.RateLimiterStatsRequest.FromString,
|
|
353
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.RateLimiterStatsResponse.SerializeToString,
|
|
354
|
+
),
|
|
355
|
+
'ListStreams': grpc.unary_unary_rpc_method_handler(
|
|
356
|
+
servicer.ListStreams,
|
|
357
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.ListStreamsRequest.FromString,
|
|
358
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.ListStreamsResponse.SerializeToString,
|
|
359
|
+
),
|
|
360
|
+
'GetStreamStats': grpc.unary_unary_rpc_method_handler(
|
|
361
|
+
servicer.GetStreamStats,
|
|
362
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.GetStreamStatsRequest.FromString,
|
|
363
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.GetStreamStatsResponse.SerializeToString,
|
|
364
|
+
),
|
|
365
|
+
'PeekStream': grpc.unary_unary_rpc_method_handler(
|
|
366
|
+
servicer.PeekStream,
|
|
367
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.PeekStreamRequest.FromString,
|
|
368
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.PeekStreamResponse.SerializeToString,
|
|
369
|
+
),
|
|
370
|
+
'GetStreamMessage': grpc.unary_unary_rpc_method_handler(
|
|
371
|
+
servicer.GetStreamMessage,
|
|
372
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.GetStreamMessageRequest.FromString,
|
|
373
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.GetStreamMessageResponse.SerializeToString,
|
|
374
|
+
),
|
|
375
|
+
'TrimStream': grpc.unary_unary_rpc_method_handler(
|
|
376
|
+
servicer.TrimStream,
|
|
377
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.TrimStreamRequest.FromString,
|
|
378
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.TrimStreamResponse.SerializeToString,
|
|
379
|
+
),
|
|
380
|
+
'ListConsumerGroups': grpc.unary_unary_rpc_method_handler(
|
|
381
|
+
servicer.ListConsumerGroups,
|
|
382
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.ListConsumerGroupsRequest.FromString,
|
|
383
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.ListConsumerGroupsResponse.SerializeToString,
|
|
384
|
+
),
|
|
385
|
+
'GetConsumerGroupInfo': grpc.unary_unary_rpc_method_handler(
|
|
386
|
+
servicer.GetConsumerGroupInfo,
|
|
387
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.GetConsumerGroupInfoRequest.FromString,
|
|
388
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.GetConsumerGroupInfoResponse.SerializeToString,
|
|
389
|
+
),
|
|
390
|
+
'GetPendingMessages': grpc.unary_unary_rpc_method_handler(
|
|
391
|
+
servicer.GetPendingMessages,
|
|
392
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.GetPendingMessagesRequest.FromString,
|
|
393
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.GetPendingMessagesResponse.SerializeToString,
|
|
394
|
+
),
|
|
395
|
+
'ListDLQMessages': grpc.unary_unary_rpc_method_handler(
|
|
396
|
+
servicer.ListDLQMessages,
|
|
397
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.ListDLQMessagesRequest.FromString,
|
|
398
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.ListDLQMessagesResponse.SerializeToString,
|
|
399
|
+
),
|
|
400
|
+
'GetDLQMessage': grpc.unary_unary_rpc_method_handler(
|
|
401
|
+
servicer.GetDLQMessage,
|
|
402
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.GetDLQMessageRequest.FromString,
|
|
403
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.GetDLQMessageResponse.SerializeToString,
|
|
404
|
+
),
|
|
405
|
+
'ReplayDLQMessage': grpc.unary_unary_rpc_method_handler(
|
|
406
|
+
servicer.ReplayDLQMessage,
|
|
407
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.ReplayDLQMessageRequest.FromString,
|
|
408
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.ReplayDLQMessageResponse.SerializeToString,
|
|
409
|
+
),
|
|
410
|
+
'ReplayDLQBatch': grpc.unary_unary_rpc_method_handler(
|
|
411
|
+
servicer.ReplayDLQBatch,
|
|
412
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.ReplayDLQBatchRequest.FromString,
|
|
413
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.ReplayDLQBatchResponse.SerializeToString,
|
|
414
|
+
),
|
|
415
|
+
'DeleteDLQMessage': grpc.unary_unary_rpc_method_handler(
|
|
416
|
+
servicer.DeleteDLQMessage,
|
|
417
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.DeleteDLQMessageRequest.FromString,
|
|
418
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.DeleteDLQMessageResponse.SerializeToString,
|
|
419
|
+
),
|
|
420
|
+
'PurgeDLQ': grpc.unary_unary_rpc_method_handler(
|
|
421
|
+
servicer.PurgeDLQ,
|
|
422
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.PurgeDLQRequest.FromString,
|
|
423
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.PurgeDLQResponse.SerializeToString,
|
|
424
|
+
),
|
|
425
|
+
'GetMetricsSummary': grpc.unary_unary_rpc_method_handler(
|
|
426
|
+
servicer.GetMetricsSummary,
|
|
427
|
+
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
428
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.MetricsSummaryResponse.SerializeToString,
|
|
429
|
+
),
|
|
430
|
+
'GetStreamMetrics': grpc.unary_unary_rpc_method_handler(
|
|
431
|
+
servicer.GetStreamMetrics,
|
|
432
|
+
request_deserializer=admin_dot_v1_dot_admin__pb2.GetStreamMetricsRequest.FromString,
|
|
433
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.GetStreamMetricsResponse.SerializeToString,
|
|
434
|
+
),
|
|
435
|
+
'GetConfiguration': grpc.unary_unary_rpc_method_handler(
|
|
436
|
+
servicer.GetConfiguration,
|
|
437
|
+
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
438
|
+
response_serializer=admin_dot_v1_dot_admin__pb2.ConfigurationResponse.SerializeToString,
|
|
439
|
+
),
|
|
440
|
+
}
|
|
441
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
442
|
+
'neonlink.admin.v1.AdminService', rpc_method_handlers)
|
|
443
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
444
|
+
server.add_registered_method_handlers('neonlink.admin.v1.AdminService', rpc_method_handlers)
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
# This class is part of an EXPERIMENTAL API.
|
|
448
|
+
class AdminService(object):
|
|
449
|
+
"""=============================================================================
|
|
450
|
+
ADMIN SERVICE
|
|
451
|
+
=============================================================================
|
|
452
|
+
|
|
453
|
+
NeonLink Admin Panel service for system observability and management
|
|
454
|
+
"""
|
|
455
|
+
|
|
456
|
+
@staticmethod
|
|
457
|
+
def SubscribeMetrics(request,
|
|
458
|
+
target,
|
|
459
|
+
options=(),
|
|
460
|
+
channel_credentials=None,
|
|
461
|
+
call_credentials=None,
|
|
462
|
+
insecure=False,
|
|
463
|
+
compression=None,
|
|
464
|
+
wait_for_ready=None,
|
|
465
|
+
timeout=None,
|
|
466
|
+
metadata=None):
|
|
467
|
+
return grpc.experimental.unary_stream(
|
|
468
|
+
request,
|
|
469
|
+
target,
|
|
470
|
+
'/neonlink.admin.v1.AdminService/SubscribeMetrics',
|
|
471
|
+
admin_dot_v1_dot_admin__pb2.SubscribeMetricsRequest.SerializeToString,
|
|
472
|
+
admin_dot_v1_dot_admin__pb2.MetricsSnapshot.FromString,
|
|
473
|
+
options,
|
|
474
|
+
channel_credentials,
|
|
475
|
+
insecure,
|
|
476
|
+
call_credentials,
|
|
477
|
+
compression,
|
|
478
|
+
wait_for_ready,
|
|
479
|
+
timeout,
|
|
480
|
+
metadata,
|
|
481
|
+
_registered_method=True)
|
|
482
|
+
|
|
483
|
+
@staticmethod
|
|
484
|
+
def SubscribeAlerts(request,
|
|
485
|
+
target,
|
|
486
|
+
options=(),
|
|
487
|
+
channel_credentials=None,
|
|
488
|
+
call_credentials=None,
|
|
489
|
+
insecure=False,
|
|
490
|
+
compression=None,
|
|
491
|
+
wait_for_ready=None,
|
|
492
|
+
timeout=None,
|
|
493
|
+
metadata=None):
|
|
494
|
+
return grpc.experimental.unary_stream(
|
|
495
|
+
request,
|
|
496
|
+
target,
|
|
497
|
+
'/neonlink.admin.v1.AdminService/SubscribeAlerts',
|
|
498
|
+
admin_dot_v1_dot_admin__pb2.SubscribeAlertsRequest.SerializeToString,
|
|
499
|
+
admin_dot_v1_dot_admin__pb2.Alert.FromString,
|
|
500
|
+
options,
|
|
501
|
+
channel_credentials,
|
|
502
|
+
insecure,
|
|
503
|
+
call_credentials,
|
|
504
|
+
compression,
|
|
505
|
+
wait_for_ready,
|
|
506
|
+
timeout,
|
|
507
|
+
metadata,
|
|
508
|
+
_registered_method=True)
|
|
509
|
+
|
|
510
|
+
@staticmethod
|
|
511
|
+
def SubscribeDLQUpdates(request,
|
|
512
|
+
target,
|
|
513
|
+
options=(),
|
|
514
|
+
channel_credentials=None,
|
|
515
|
+
call_credentials=None,
|
|
516
|
+
insecure=False,
|
|
517
|
+
compression=None,
|
|
518
|
+
wait_for_ready=None,
|
|
519
|
+
timeout=None,
|
|
520
|
+
metadata=None):
|
|
521
|
+
return grpc.experimental.unary_stream(
|
|
522
|
+
request,
|
|
523
|
+
target,
|
|
524
|
+
'/neonlink.admin.v1.AdminService/SubscribeDLQUpdates',
|
|
525
|
+
admin_dot_v1_dot_admin__pb2.SubscribeDLQRequest.SerializeToString,
|
|
526
|
+
admin_dot_v1_dot_admin__pb2.DLQUpdate.FromString,
|
|
527
|
+
options,
|
|
528
|
+
channel_credentials,
|
|
529
|
+
insecure,
|
|
530
|
+
call_credentials,
|
|
531
|
+
compression,
|
|
532
|
+
wait_for_ready,
|
|
533
|
+
timeout,
|
|
534
|
+
metadata,
|
|
535
|
+
_registered_method=True)
|
|
536
|
+
|
|
537
|
+
@staticmethod
|
|
538
|
+
def SubscribeLogs(request,
|
|
539
|
+
target,
|
|
540
|
+
options=(),
|
|
541
|
+
channel_credentials=None,
|
|
542
|
+
call_credentials=None,
|
|
543
|
+
insecure=False,
|
|
544
|
+
compression=None,
|
|
545
|
+
wait_for_ready=None,
|
|
546
|
+
timeout=None,
|
|
547
|
+
metadata=None):
|
|
548
|
+
return grpc.experimental.unary_stream(
|
|
549
|
+
request,
|
|
550
|
+
target,
|
|
551
|
+
'/neonlink.admin.v1.AdminService/SubscribeLogs',
|
|
552
|
+
admin_dot_v1_dot_admin__pb2.SubscribeLogsRequest.SerializeToString,
|
|
553
|
+
admin_dot_v1_dot_admin__pb2.LogEntry.FromString,
|
|
554
|
+
options,
|
|
555
|
+
channel_credentials,
|
|
556
|
+
insecure,
|
|
557
|
+
call_credentials,
|
|
558
|
+
compression,
|
|
559
|
+
wait_for_ready,
|
|
560
|
+
timeout,
|
|
561
|
+
metadata,
|
|
562
|
+
_registered_method=True)
|
|
563
|
+
|
|
564
|
+
@staticmethod
|
|
565
|
+
def GetSystemHealth(request,
|
|
566
|
+
target,
|
|
567
|
+
options=(),
|
|
568
|
+
channel_credentials=None,
|
|
569
|
+
call_credentials=None,
|
|
570
|
+
insecure=False,
|
|
571
|
+
compression=None,
|
|
572
|
+
wait_for_ready=None,
|
|
573
|
+
timeout=None,
|
|
574
|
+
metadata=None):
|
|
575
|
+
return grpc.experimental.unary_unary(
|
|
576
|
+
request,
|
|
577
|
+
target,
|
|
578
|
+
'/neonlink.admin.v1.AdminService/GetSystemHealth',
|
|
579
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
580
|
+
admin_dot_v1_dot_admin__pb2.SystemHealthResponse.FromString,
|
|
581
|
+
options,
|
|
582
|
+
channel_credentials,
|
|
583
|
+
insecure,
|
|
584
|
+
call_credentials,
|
|
585
|
+
compression,
|
|
586
|
+
wait_for_ready,
|
|
587
|
+
timeout,
|
|
588
|
+
metadata,
|
|
589
|
+
_registered_method=True)
|
|
590
|
+
|
|
591
|
+
@staticmethod
|
|
592
|
+
def GetCircuitBreakerStatus(request,
|
|
593
|
+
target,
|
|
594
|
+
options=(),
|
|
595
|
+
channel_credentials=None,
|
|
596
|
+
call_credentials=None,
|
|
597
|
+
insecure=False,
|
|
598
|
+
compression=None,
|
|
599
|
+
wait_for_ready=None,
|
|
600
|
+
timeout=None,
|
|
601
|
+
metadata=None):
|
|
602
|
+
return grpc.experimental.unary_unary(
|
|
603
|
+
request,
|
|
604
|
+
target,
|
|
605
|
+
'/neonlink.admin.v1.AdminService/GetCircuitBreakerStatus',
|
|
606
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
607
|
+
admin_dot_v1_dot_admin__pb2.CircuitBreakerStatusResponse.FromString,
|
|
608
|
+
options,
|
|
609
|
+
channel_credentials,
|
|
610
|
+
insecure,
|
|
611
|
+
call_credentials,
|
|
612
|
+
compression,
|
|
613
|
+
wait_for_ready,
|
|
614
|
+
timeout,
|
|
615
|
+
metadata,
|
|
616
|
+
_registered_method=True)
|
|
617
|
+
|
|
618
|
+
@staticmethod
|
|
619
|
+
def GetRateLimiterStats(request,
|
|
620
|
+
target,
|
|
621
|
+
options=(),
|
|
622
|
+
channel_credentials=None,
|
|
623
|
+
call_credentials=None,
|
|
624
|
+
insecure=False,
|
|
625
|
+
compression=None,
|
|
626
|
+
wait_for_ready=None,
|
|
627
|
+
timeout=None,
|
|
628
|
+
metadata=None):
|
|
629
|
+
return grpc.experimental.unary_unary(
|
|
630
|
+
request,
|
|
631
|
+
target,
|
|
632
|
+
'/neonlink.admin.v1.AdminService/GetRateLimiterStats',
|
|
633
|
+
admin_dot_v1_dot_admin__pb2.RateLimiterStatsRequest.SerializeToString,
|
|
634
|
+
admin_dot_v1_dot_admin__pb2.RateLimiterStatsResponse.FromString,
|
|
635
|
+
options,
|
|
636
|
+
channel_credentials,
|
|
637
|
+
insecure,
|
|
638
|
+
call_credentials,
|
|
639
|
+
compression,
|
|
640
|
+
wait_for_ready,
|
|
641
|
+
timeout,
|
|
642
|
+
metadata,
|
|
643
|
+
_registered_method=True)
|
|
644
|
+
|
|
645
|
+
@staticmethod
|
|
646
|
+
def ListStreams(request,
|
|
647
|
+
target,
|
|
648
|
+
options=(),
|
|
649
|
+
channel_credentials=None,
|
|
650
|
+
call_credentials=None,
|
|
651
|
+
insecure=False,
|
|
652
|
+
compression=None,
|
|
653
|
+
wait_for_ready=None,
|
|
654
|
+
timeout=None,
|
|
655
|
+
metadata=None):
|
|
656
|
+
return grpc.experimental.unary_unary(
|
|
657
|
+
request,
|
|
658
|
+
target,
|
|
659
|
+
'/neonlink.admin.v1.AdminService/ListStreams',
|
|
660
|
+
admin_dot_v1_dot_admin__pb2.ListStreamsRequest.SerializeToString,
|
|
661
|
+
admin_dot_v1_dot_admin__pb2.ListStreamsResponse.FromString,
|
|
662
|
+
options,
|
|
663
|
+
channel_credentials,
|
|
664
|
+
insecure,
|
|
665
|
+
call_credentials,
|
|
666
|
+
compression,
|
|
667
|
+
wait_for_ready,
|
|
668
|
+
timeout,
|
|
669
|
+
metadata,
|
|
670
|
+
_registered_method=True)
|
|
671
|
+
|
|
672
|
+
@staticmethod
|
|
673
|
+
def GetStreamStats(request,
|
|
674
|
+
target,
|
|
675
|
+
options=(),
|
|
676
|
+
channel_credentials=None,
|
|
677
|
+
call_credentials=None,
|
|
678
|
+
insecure=False,
|
|
679
|
+
compression=None,
|
|
680
|
+
wait_for_ready=None,
|
|
681
|
+
timeout=None,
|
|
682
|
+
metadata=None):
|
|
683
|
+
return grpc.experimental.unary_unary(
|
|
684
|
+
request,
|
|
685
|
+
target,
|
|
686
|
+
'/neonlink.admin.v1.AdminService/GetStreamStats',
|
|
687
|
+
admin_dot_v1_dot_admin__pb2.GetStreamStatsRequest.SerializeToString,
|
|
688
|
+
admin_dot_v1_dot_admin__pb2.GetStreamStatsResponse.FromString,
|
|
689
|
+
options,
|
|
690
|
+
channel_credentials,
|
|
691
|
+
insecure,
|
|
692
|
+
call_credentials,
|
|
693
|
+
compression,
|
|
694
|
+
wait_for_ready,
|
|
695
|
+
timeout,
|
|
696
|
+
metadata,
|
|
697
|
+
_registered_method=True)
|
|
698
|
+
|
|
699
|
+
@staticmethod
|
|
700
|
+
def PeekStream(request,
|
|
701
|
+
target,
|
|
702
|
+
options=(),
|
|
703
|
+
channel_credentials=None,
|
|
704
|
+
call_credentials=None,
|
|
705
|
+
insecure=False,
|
|
706
|
+
compression=None,
|
|
707
|
+
wait_for_ready=None,
|
|
708
|
+
timeout=None,
|
|
709
|
+
metadata=None):
|
|
710
|
+
return grpc.experimental.unary_unary(
|
|
711
|
+
request,
|
|
712
|
+
target,
|
|
713
|
+
'/neonlink.admin.v1.AdminService/PeekStream',
|
|
714
|
+
admin_dot_v1_dot_admin__pb2.PeekStreamRequest.SerializeToString,
|
|
715
|
+
admin_dot_v1_dot_admin__pb2.PeekStreamResponse.FromString,
|
|
716
|
+
options,
|
|
717
|
+
channel_credentials,
|
|
718
|
+
insecure,
|
|
719
|
+
call_credentials,
|
|
720
|
+
compression,
|
|
721
|
+
wait_for_ready,
|
|
722
|
+
timeout,
|
|
723
|
+
metadata,
|
|
724
|
+
_registered_method=True)
|
|
725
|
+
|
|
726
|
+
@staticmethod
|
|
727
|
+
def GetStreamMessage(request,
|
|
728
|
+
target,
|
|
729
|
+
options=(),
|
|
730
|
+
channel_credentials=None,
|
|
731
|
+
call_credentials=None,
|
|
732
|
+
insecure=False,
|
|
733
|
+
compression=None,
|
|
734
|
+
wait_for_ready=None,
|
|
735
|
+
timeout=None,
|
|
736
|
+
metadata=None):
|
|
737
|
+
return grpc.experimental.unary_unary(
|
|
738
|
+
request,
|
|
739
|
+
target,
|
|
740
|
+
'/neonlink.admin.v1.AdminService/GetStreamMessage',
|
|
741
|
+
admin_dot_v1_dot_admin__pb2.GetStreamMessageRequest.SerializeToString,
|
|
742
|
+
admin_dot_v1_dot_admin__pb2.GetStreamMessageResponse.FromString,
|
|
743
|
+
options,
|
|
744
|
+
channel_credentials,
|
|
745
|
+
insecure,
|
|
746
|
+
call_credentials,
|
|
747
|
+
compression,
|
|
748
|
+
wait_for_ready,
|
|
749
|
+
timeout,
|
|
750
|
+
metadata,
|
|
751
|
+
_registered_method=True)
|
|
752
|
+
|
|
753
|
+
@staticmethod
|
|
754
|
+
def TrimStream(request,
|
|
755
|
+
target,
|
|
756
|
+
options=(),
|
|
757
|
+
channel_credentials=None,
|
|
758
|
+
call_credentials=None,
|
|
759
|
+
insecure=False,
|
|
760
|
+
compression=None,
|
|
761
|
+
wait_for_ready=None,
|
|
762
|
+
timeout=None,
|
|
763
|
+
metadata=None):
|
|
764
|
+
return grpc.experimental.unary_unary(
|
|
765
|
+
request,
|
|
766
|
+
target,
|
|
767
|
+
'/neonlink.admin.v1.AdminService/TrimStream',
|
|
768
|
+
admin_dot_v1_dot_admin__pb2.TrimStreamRequest.SerializeToString,
|
|
769
|
+
admin_dot_v1_dot_admin__pb2.TrimStreamResponse.FromString,
|
|
770
|
+
options,
|
|
771
|
+
channel_credentials,
|
|
772
|
+
insecure,
|
|
773
|
+
call_credentials,
|
|
774
|
+
compression,
|
|
775
|
+
wait_for_ready,
|
|
776
|
+
timeout,
|
|
777
|
+
metadata,
|
|
778
|
+
_registered_method=True)
|
|
779
|
+
|
|
780
|
+
@staticmethod
|
|
781
|
+
def ListConsumerGroups(request,
|
|
782
|
+
target,
|
|
783
|
+
options=(),
|
|
784
|
+
channel_credentials=None,
|
|
785
|
+
call_credentials=None,
|
|
786
|
+
insecure=False,
|
|
787
|
+
compression=None,
|
|
788
|
+
wait_for_ready=None,
|
|
789
|
+
timeout=None,
|
|
790
|
+
metadata=None):
|
|
791
|
+
return grpc.experimental.unary_unary(
|
|
792
|
+
request,
|
|
793
|
+
target,
|
|
794
|
+
'/neonlink.admin.v1.AdminService/ListConsumerGroups',
|
|
795
|
+
admin_dot_v1_dot_admin__pb2.ListConsumerGroupsRequest.SerializeToString,
|
|
796
|
+
admin_dot_v1_dot_admin__pb2.ListConsumerGroupsResponse.FromString,
|
|
797
|
+
options,
|
|
798
|
+
channel_credentials,
|
|
799
|
+
insecure,
|
|
800
|
+
call_credentials,
|
|
801
|
+
compression,
|
|
802
|
+
wait_for_ready,
|
|
803
|
+
timeout,
|
|
804
|
+
metadata,
|
|
805
|
+
_registered_method=True)
|
|
806
|
+
|
|
807
|
+
@staticmethod
|
|
808
|
+
def GetConsumerGroupInfo(request,
|
|
809
|
+
target,
|
|
810
|
+
options=(),
|
|
811
|
+
channel_credentials=None,
|
|
812
|
+
call_credentials=None,
|
|
813
|
+
insecure=False,
|
|
814
|
+
compression=None,
|
|
815
|
+
wait_for_ready=None,
|
|
816
|
+
timeout=None,
|
|
817
|
+
metadata=None):
|
|
818
|
+
return grpc.experimental.unary_unary(
|
|
819
|
+
request,
|
|
820
|
+
target,
|
|
821
|
+
'/neonlink.admin.v1.AdminService/GetConsumerGroupInfo',
|
|
822
|
+
admin_dot_v1_dot_admin__pb2.GetConsumerGroupInfoRequest.SerializeToString,
|
|
823
|
+
admin_dot_v1_dot_admin__pb2.GetConsumerGroupInfoResponse.FromString,
|
|
824
|
+
options,
|
|
825
|
+
channel_credentials,
|
|
826
|
+
insecure,
|
|
827
|
+
call_credentials,
|
|
828
|
+
compression,
|
|
829
|
+
wait_for_ready,
|
|
830
|
+
timeout,
|
|
831
|
+
metadata,
|
|
832
|
+
_registered_method=True)
|
|
833
|
+
|
|
834
|
+
@staticmethod
|
|
835
|
+
def GetPendingMessages(request,
|
|
836
|
+
target,
|
|
837
|
+
options=(),
|
|
838
|
+
channel_credentials=None,
|
|
839
|
+
call_credentials=None,
|
|
840
|
+
insecure=False,
|
|
841
|
+
compression=None,
|
|
842
|
+
wait_for_ready=None,
|
|
843
|
+
timeout=None,
|
|
844
|
+
metadata=None):
|
|
845
|
+
return grpc.experimental.unary_unary(
|
|
846
|
+
request,
|
|
847
|
+
target,
|
|
848
|
+
'/neonlink.admin.v1.AdminService/GetPendingMessages',
|
|
849
|
+
admin_dot_v1_dot_admin__pb2.GetPendingMessagesRequest.SerializeToString,
|
|
850
|
+
admin_dot_v1_dot_admin__pb2.GetPendingMessagesResponse.FromString,
|
|
851
|
+
options,
|
|
852
|
+
channel_credentials,
|
|
853
|
+
insecure,
|
|
854
|
+
call_credentials,
|
|
855
|
+
compression,
|
|
856
|
+
wait_for_ready,
|
|
857
|
+
timeout,
|
|
858
|
+
metadata,
|
|
859
|
+
_registered_method=True)
|
|
860
|
+
|
|
861
|
+
@staticmethod
|
|
862
|
+
def ListDLQMessages(request,
|
|
863
|
+
target,
|
|
864
|
+
options=(),
|
|
865
|
+
channel_credentials=None,
|
|
866
|
+
call_credentials=None,
|
|
867
|
+
insecure=False,
|
|
868
|
+
compression=None,
|
|
869
|
+
wait_for_ready=None,
|
|
870
|
+
timeout=None,
|
|
871
|
+
metadata=None):
|
|
872
|
+
return grpc.experimental.unary_unary(
|
|
873
|
+
request,
|
|
874
|
+
target,
|
|
875
|
+
'/neonlink.admin.v1.AdminService/ListDLQMessages',
|
|
876
|
+
admin_dot_v1_dot_admin__pb2.ListDLQMessagesRequest.SerializeToString,
|
|
877
|
+
admin_dot_v1_dot_admin__pb2.ListDLQMessagesResponse.FromString,
|
|
878
|
+
options,
|
|
879
|
+
channel_credentials,
|
|
880
|
+
insecure,
|
|
881
|
+
call_credentials,
|
|
882
|
+
compression,
|
|
883
|
+
wait_for_ready,
|
|
884
|
+
timeout,
|
|
885
|
+
metadata,
|
|
886
|
+
_registered_method=True)
|
|
887
|
+
|
|
888
|
+
@staticmethod
|
|
889
|
+
def GetDLQMessage(request,
|
|
890
|
+
target,
|
|
891
|
+
options=(),
|
|
892
|
+
channel_credentials=None,
|
|
893
|
+
call_credentials=None,
|
|
894
|
+
insecure=False,
|
|
895
|
+
compression=None,
|
|
896
|
+
wait_for_ready=None,
|
|
897
|
+
timeout=None,
|
|
898
|
+
metadata=None):
|
|
899
|
+
return grpc.experimental.unary_unary(
|
|
900
|
+
request,
|
|
901
|
+
target,
|
|
902
|
+
'/neonlink.admin.v1.AdminService/GetDLQMessage',
|
|
903
|
+
admin_dot_v1_dot_admin__pb2.GetDLQMessageRequest.SerializeToString,
|
|
904
|
+
admin_dot_v1_dot_admin__pb2.GetDLQMessageResponse.FromString,
|
|
905
|
+
options,
|
|
906
|
+
channel_credentials,
|
|
907
|
+
insecure,
|
|
908
|
+
call_credentials,
|
|
909
|
+
compression,
|
|
910
|
+
wait_for_ready,
|
|
911
|
+
timeout,
|
|
912
|
+
metadata,
|
|
913
|
+
_registered_method=True)
|
|
914
|
+
|
|
915
|
+
@staticmethod
|
|
916
|
+
def ReplayDLQMessage(request,
|
|
917
|
+
target,
|
|
918
|
+
options=(),
|
|
919
|
+
channel_credentials=None,
|
|
920
|
+
call_credentials=None,
|
|
921
|
+
insecure=False,
|
|
922
|
+
compression=None,
|
|
923
|
+
wait_for_ready=None,
|
|
924
|
+
timeout=None,
|
|
925
|
+
metadata=None):
|
|
926
|
+
return grpc.experimental.unary_unary(
|
|
927
|
+
request,
|
|
928
|
+
target,
|
|
929
|
+
'/neonlink.admin.v1.AdminService/ReplayDLQMessage',
|
|
930
|
+
admin_dot_v1_dot_admin__pb2.ReplayDLQMessageRequest.SerializeToString,
|
|
931
|
+
admin_dot_v1_dot_admin__pb2.ReplayDLQMessageResponse.FromString,
|
|
932
|
+
options,
|
|
933
|
+
channel_credentials,
|
|
934
|
+
insecure,
|
|
935
|
+
call_credentials,
|
|
936
|
+
compression,
|
|
937
|
+
wait_for_ready,
|
|
938
|
+
timeout,
|
|
939
|
+
metadata,
|
|
940
|
+
_registered_method=True)
|
|
941
|
+
|
|
942
|
+
@staticmethod
|
|
943
|
+
def ReplayDLQBatch(request,
|
|
944
|
+
target,
|
|
945
|
+
options=(),
|
|
946
|
+
channel_credentials=None,
|
|
947
|
+
call_credentials=None,
|
|
948
|
+
insecure=False,
|
|
949
|
+
compression=None,
|
|
950
|
+
wait_for_ready=None,
|
|
951
|
+
timeout=None,
|
|
952
|
+
metadata=None):
|
|
953
|
+
return grpc.experimental.unary_unary(
|
|
954
|
+
request,
|
|
955
|
+
target,
|
|
956
|
+
'/neonlink.admin.v1.AdminService/ReplayDLQBatch',
|
|
957
|
+
admin_dot_v1_dot_admin__pb2.ReplayDLQBatchRequest.SerializeToString,
|
|
958
|
+
admin_dot_v1_dot_admin__pb2.ReplayDLQBatchResponse.FromString,
|
|
959
|
+
options,
|
|
960
|
+
channel_credentials,
|
|
961
|
+
insecure,
|
|
962
|
+
call_credentials,
|
|
963
|
+
compression,
|
|
964
|
+
wait_for_ready,
|
|
965
|
+
timeout,
|
|
966
|
+
metadata,
|
|
967
|
+
_registered_method=True)
|
|
968
|
+
|
|
969
|
+
@staticmethod
|
|
970
|
+
def DeleteDLQMessage(request,
|
|
971
|
+
target,
|
|
972
|
+
options=(),
|
|
973
|
+
channel_credentials=None,
|
|
974
|
+
call_credentials=None,
|
|
975
|
+
insecure=False,
|
|
976
|
+
compression=None,
|
|
977
|
+
wait_for_ready=None,
|
|
978
|
+
timeout=None,
|
|
979
|
+
metadata=None):
|
|
980
|
+
return grpc.experimental.unary_unary(
|
|
981
|
+
request,
|
|
982
|
+
target,
|
|
983
|
+
'/neonlink.admin.v1.AdminService/DeleteDLQMessage',
|
|
984
|
+
admin_dot_v1_dot_admin__pb2.DeleteDLQMessageRequest.SerializeToString,
|
|
985
|
+
admin_dot_v1_dot_admin__pb2.DeleteDLQMessageResponse.FromString,
|
|
986
|
+
options,
|
|
987
|
+
channel_credentials,
|
|
988
|
+
insecure,
|
|
989
|
+
call_credentials,
|
|
990
|
+
compression,
|
|
991
|
+
wait_for_ready,
|
|
992
|
+
timeout,
|
|
993
|
+
metadata,
|
|
994
|
+
_registered_method=True)
|
|
995
|
+
|
|
996
|
+
@staticmethod
|
|
997
|
+
def PurgeDLQ(request,
|
|
998
|
+
target,
|
|
999
|
+
options=(),
|
|
1000
|
+
channel_credentials=None,
|
|
1001
|
+
call_credentials=None,
|
|
1002
|
+
insecure=False,
|
|
1003
|
+
compression=None,
|
|
1004
|
+
wait_for_ready=None,
|
|
1005
|
+
timeout=None,
|
|
1006
|
+
metadata=None):
|
|
1007
|
+
return grpc.experimental.unary_unary(
|
|
1008
|
+
request,
|
|
1009
|
+
target,
|
|
1010
|
+
'/neonlink.admin.v1.AdminService/PurgeDLQ',
|
|
1011
|
+
admin_dot_v1_dot_admin__pb2.PurgeDLQRequest.SerializeToString,
|
|
1012
|
+
admin_dot_v1_dot_admin__pb2.PurgeDLQResponse.FromString,
|
|
1013
|
+
options,
|
|
1014
|
+
channel_credentials,
|
|
1015
|
+
insecure,
|
|
1016
|
+
call_credentials,
|
|
1017
|
+
compression,
|
|
1018
|
+
wait_for_ready,
|
|
1019
|
+
timeout,
|
|
1020
|
+
metadata,
|
|
1021
|
+
_registered_method=True)
|
|
1022
|
+
|
|
1023
|
+
@staticmethod
|
|
1024
|
+
def GetMetricsSummary(request,
|
|
1025
|
+
target,
|
|
1026
|
+
options=(),
|
|
1027
|
+
channel_credentials=None,
|
|
1028
|
+
call_credentials=None,
|
|
1029
|
+
insecure=False,
|
|
1030
|
+
compression=None,
|
|
1031
|
+
wait_for_ready=None,
|
|
1032
|
+
timeout=None,
|
|
1033
|
+
metadata=None):
|
|
1034
|
+
return grpc.experimental.unary_unary(
|
|
1035
|
+
request,
|
|
1036
|
+
target,
|
|
1037
|
+
'/neonlink.admin.v1.AdminService/GetMetricsSummary',
|
|
1038
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
1039
|
+
admin_dot_v1_dot_admin__pb2.MetricsSummaryResponse.FromString,
|
|
1040
|
+
options,
|
|
1041
|
+
channel_credentials,
|
|
1042
|
+
insecure,
|
|
1043
|
+
call_credentials,
|
|
1044
|
+
compression,
|
|
1045
|
+
wait_for_ready,
|
|
1046
|
+
timeout,
|
|
1047
|
+
metadata,
|
|
1048
|
+
_registered_method=True)
|
|
1049
|
+
|
|
1050
|
+
@staticmethod
|
|
1051
|
+
def GetStreamMetrics(request,
|
|
1052
|
+
target,
|
|
1053
|
+
options=(),
|
|
1054
|
+
channel_credentials=None,
|
|
1055
|
+
call_credentials=None,
|
|
1056
|
+
insecure=False,
|
|
1057
|
+
compression=None,
|
|
1058
|
+
wait_for_ready=None,
|
|
1059
|
+
timeout=None,
|
|
1060
|
+
metadata=None):
|
|
1061
|
+
return grpc.experimental.unary_unary(
|
|
1062
|
+
request,
|
|
1063
|
+
target,
|
|
1064
|
+
'/neonlink.admin.v1.AdminService/GetStreamMetrics',
|
|
1065
|
+
admin_dot_v1_dot_admin__pb2.GetStreamMetricsRequest.SerializeToString,
|
|
1066
|
+
admin_dot_v1_dot_admin__pb2.GetStreamMetricsResponse.FromString,
|
|
1067
|
+
options,
|
|
1068
|
+
channel_credentials,
|
|
1069
|
+
insecure,
|
|
1070
|
+
call_credentials,
|
|
1071
|
+
compression,
|
|
1072
|
+
wait_for_ready,
|
|
1073
|
+
timeout,
|
|
1074
|
+
metadata,
|
|
1075
|
+
_registered_method=True)
|
|
1076
|
+
|
|
1077
|
+
@staticmethod
|
|
1078
|
+
def GetConfiguration(request,
|
|
1079
|
+
target,
|
|
1080
|
+
options=(),
|
|
1081
|
+
channel_credentials=None,
|
|
1082
|
+
call_credentials=None,
|
|
1083
|
+
insecure=False,
|
|
1084
|
+
compression=None,
|
|
1085
|
+
wait_for_ready=None,
|
|
1086
|
+
timeout=None,
|
|
1087
|
+
metadata=None):
|
|
1088
|
+
return grpc.experimental.unary_unary(
|
|
1089
|
+
request,
|
|
1090
|
+
target,
|
|
1091
|
+
'/neonlink.admin.v1.AdminService/GetConfiguration',
|
|
1092
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
1093
|
+
admin_dot_v1_dot_admin__pb2.ConfigurationResponse.FromString,
|
|
1094
|
+
options,
|
|
1095
|
+
channel_credentials,
|
|
1096
|
+
insecure,
|
|
1097
|
+
call_credentials,
|
|
1098
|
+
compression,
|
|
1099
|
+
wait_for_ready,
|
|
1100
|
+
timeout,
|
|
1101
|
+
metadata,
|
|
1102
|
+
_registered_method=True)
|