@@ -7,6 +7,7 @@ from google.protobuf import any_pb2, duration_pb2, message, timestamp_pb2, wrapp
7
7
from google .protobuf .internal import containers
8
8
9
9
DESCRIPTOR : FileDescriptor
10
+
10
11
@final
11
12
class Channel (message .Message , metaclass = MessageMeta ):
12
13
REF_FIELD_NUMBER : ClassVar [int ]
@@ -19,7 +20,14 @@ class Channel(message.Message, metaclass=MessageMeta):
19
20
channel_ref : containers .RepeatedCompositeFieldContainer [ChannelRef ]
20
21
subchannel_ref : containers .RepeatedCompositeFieldContainer [SubchannelRef ]
21
22
socket_ref : containers .RepeatedCompositeFieldContainer [SocketRef ]
22
- def __init__ (self , ref : ChannelRef | Mapping [Incomplete , Incomplete ] | None = ..., data : ChannelData | Mapping [Incomplete , Incomplete ] | None = ..., channel_ref : Iterable [ChannelRef | Mapping [Incomplete , Incomplete ]] | None = ..., subchannel_ref : Iterable [SubchannelRef | Mapping [Incomplete , Incomplete ]] | None = ..., socket_ref : Iterable [SocketRef | Mapping [Incomplete , Incomplete ]] | None = ...) -> None : ...
23
+ def __init__ (
24
+ self ,
25
+ ref : ChannelRef | Mapping [Incomplete , Incomplete ] | None = ...,
26
+ data : ChannelData | Mapping [Incomplete , Incomplete ] | None = ...,
27
+ channel_ref : Iterable [ChannelRef | Mapping [Incomplete , Incomplete ]] | None = ...,
28
+ subchannel_ref : Iterable [SubchannelRef | Mapping [Incomplete , Incomplete ]] | None = ...,
29
+ socket_ref : Iterable [SocketRef | Mapping [Incomplete , Incomplete ]] | None = ...,
30
+ ) -> None : ...
23
31
DESCRIPTOR : Descriptor
24
32
25
33
@final
@@ -34,7 +42,14 @@ class Subchannel(message.Message, metaclass=MessageMeta):
34
42
channel_ref : containers .RepeatedCompositeFieldContainer [ChannelRef ]
35
43
subchannel_ref : containers .RepeatedCompositeFieldContainer [SubchannelRef ]
36
44
socket_ref : containers .RepeatedCompositeFieldContainer [SocketRef ]
37
- def __init__ (self , ref : SubchannelRef | Mapping [Incomplete , Incomplete ] | None = ..., data : ChannelData | Mapping [Incomplete , Incomplete ] | None = ..., channel_ref : Iterable [ChannelRef | Mapping [Incomplete , Incomplete ]] | None = ..., subchannel_ref : Iterable [SubchannelRef | Mapping [Incomplete , Incomplete ]] | None = ..., socket_ref : Iterable [SocketRef | Mapping [Incomplete , Incomplete ]] | None = ...) -> None : ...
45
+ def __init__ (
46
+ self ,
47
+ ref : SubchannelRef | Mapping [Incomplete , Incomplete ] | None = ...,
48
+ data : ChannelData | Mapping [Incomplete , Incomplete ] | None = ...,
49
+ channel_ref : Iterable [ChannelRef | Mapping [Incomplete , Incomplete ]] | None = ...,
50
+ subchannel_ref : Iterable [SubchannelRef | Mapping [Incomplete , Incomplete ]] | None = ...,
51
+ socket_ref : Iterable [SocketRef | Mapping [Incomplete , Incomplete ]] | None = ...,
52
+ ) -> None : ...
38
53
DESCRIPTOR : Descriptor
39
54
40
55
@final
@@ -67,7 +82,16 @@ class ChannelData(message.Message, metaclass=MessageMeta):
67
82
calls_succeeded : int
68
83
calls_failed : int
69
84
last_call_started_timestamp : timestamp_pb2 .Timestamp
70
- def __init__ (self , state : ChannelConnectivityState | Mapping [Incomplete , Incomplete ] | None = ..., target : str | None = ..., trace : ChannelTrace | Mapping [Incomplete , Incomplete ] | None = ..., calls_started : int | None = ..., calls_succeeded : int | None = ..., calls_failed : int | None = ..., last_call_started_timestamp : timestamp_pb2 .Timestamp | Mapping [Incomplete , Incomplete ] | None = ...) -> None : ...
85
+ def __init__ (
86
+ self ,
87
+ state : ChannelConnectivityState | Mapping [Incomplete , Incomplete ] | None = ...,
88
+ target : str | None = ...,
89
+ trace : ChannelTrace | Mapping [Incomplete , Incomplete ] | None = ...,
90
+ calls_started : int | None = ...,
91
+ calls_succeeded : int | None = ...,
92
+ calls_failed : int | None = ...,
93
+ last_call_started_timestamp : timestamp_pb2 .Timestamp | Mapping [Incomplete , Incomplete ] | None = ...,
94
+ ) -> None : ...
71
95
DESCRIPTOR : Descriptor
72
96
73
97
@final
@@ -87,7 +111,14 @@ class ChannelTraceEvent(message.Message, metaclass=MessageMeta):
87
111
timestamp : timestamp_pb2 .Timestamp
88
112
channel_ref : ChannelRef
89
113
subchannel_ref : SubchannelRef
90
- def __init__ (self , description : str | None = ..., severity : Incomplete | str | None = ..., timestamp : timestamp_pb2 .Timestamp | Mapping [Incomplete , Incomplete ] | None = ..., channel_ref : ChannelRef | Mapping [Incomplete , Incomplete ] | None = ..., subchannel_ref : SubchannelRef | Mapping [Incomplete , Incomplete ] | None = ...) -> None : ...
114
+ def __init__ (
115
+ self ,
116
+ description : str | None = ...,
117
+ severity : Incomplete | str | None = ...,
118
+ timestamp : timestamp_pb2 .Timestamp | Mapping [Incomplete , Incomplete ] | None = ...,
119
+ channel_ref : ChannelRef | Mapping [Incomplete , Incomplete ] | None = ...,
120
+ subchannel_ref : SubchannelRef | Mapping [Incomplete , Incomplete ] | None = ...,
121
+ ) -> None : ...
91
122
DESCRIPTOR : Descriptor
92
123
93
124
@final
@@ -98,7 +129,12 @@ class ChannelTrace(message.Message, metaclass=MessageMeta):
98
129
num_events_logged : int
99
130
creation_timestamp : timestamp_pb2 .Timestamp
100
131
events : containers .RepeatedCompositeFieldContainer [ChannelTraceEvent ]
101
- def __init__ (self , num_events_logged : int | None = ..., creation_timestamp : timestamp_pb2 .Timestamp | Mapping [Incomplete , Incomplete ] | None = ..., events : Iterable [ChannelTraceEvent | Mapping [Incomplete , Incomplete ]] | None = ...) -> None : ...
132
+ def __init__ (
133
+ self ,
134
+ num_events_logged : int | None = ...,
135
+ creation_timestamp : timestamp_pb2 .Timestamp | Mapping [Incomplete , Incomplete ] | None = ...,
136
+ events : Iterable [ChannelTraceEvent | Mapping [Incomplete , Incomplete ]] | None = ...,
137
+ ) -> None : ...
102
138
DESCRIPTOR : Descriptor
103
139
104
140
@final
@@ -145,7 +181,12 @@ class Server(message.Message, metaclass=MessageMeta):
145
181
ref : ServerRef
146
182
data : ServerData
147
183
listen_socket : containers .RepeatedCompositeFieldContainer [SocketRef ]
148
- def __init__ (self , ref : ServerRef | Mapping [Incomplete , Incomplete ] | None = ..., data : ServerData | Mapping [Incomplete , Incomplete ] | None = ..., listen_socket : Iterable [SocketRef | Mapping [Incomplete , Incomplete ]] | None = ...) -> None : ...
184
+ def __init__ (
185
+ self ,
186
+ ref : ServerRef | Mapping [Incomplete , Incomplete ] | None = ...,
187
+ data : ServerData | Mapping [Incomplete , Incomplete ] | None = ...,
188
+ listen_socket : Iterable [SocketRef | Mapping [Incomplete , Incomplete ]] | None = ...,
189
+ ) -> None : ...
149
190
DESCRIPTOR : Descriptor
150
191
151
192
@final
@@ -160,7 +201,14 @@ class ServerData(message.Message, metaclass=MessageMeta):
160
201
calls_succeeded : int
161
202
calls_failed : int
162
203
last_call_started_timestamp : timestamp_pb2 .Timestamp
163
- def __init__ (self , trace : ChannelTrace | Mapping [Incomplete , Incomplete ] | None = ..., calls_started : int | None = ..., calls_succeeded : int | None = ..., calls_failed : int | None = ..., last_call_started_timestamp : timestamp_pb2 .Timestamp | Mapping [Incomplete , Incomplete ] | None = ...) -> None : ...
204
+ def __init__ (
205
+ self ,
206
+ trace : ChannelTrace | Mapping [Incomplete , Incomplete ] | None = ...,
207
+ calls_started : int | None = ...,
208
+ calls_succeeded : int | None = ...,
209
+ calls_failed : int | None = ...,
210
+ last_call_started_timestamp : timestamp_pb2 .Timestamp | Mapping [Incomplete , Incomplete ] | None = ...,
211
+ ) -> None : ...
164
212
DESCRIPTOR : Descriptor
165
213
166
214
@final
@@ -177,7 +225,15 @@ class Socket(message.Message, metaclass=MessageMeta):
177
225
remote : Address
178
226
security : Security
179
227
remote_name : str
180
- def __init__ (self , ref : SocketRef | Mapping [Incomplete , Incomplete ] | None = ..., data : SocketData | Mapping [Incomplete , Incomplete ] | None = ..., local : Address | Mapping [Incomplete , Incomplete ] | None = ..., remote : Address | Mapping [Incomplete , Incomplete ] | None = ..., security : Security | Mapping [Incomplete , Incomplete ] | None = ..., remote_name : str | None = ...) -> None : ...
228
+ def __init__ (
229
+ self ,
230
+ ref : SocketRef | Mapping [Incomplete , Incomplete ] | None = ...,
231
+ data : SocketData | Mapping [Incomplete , Incomplete ] | None = ...,
232
+ local : Address | Mapping [Incomplete , Incomplete ] | None = ...,
233
+ remote : Address | Mapping [Incomplete , Incomplete ] | None = ...,
234
+ security : Security | Mapping [Incomplete , Incomplete ] | None = ...,
235
+ remote_name : str | None = ...,
236
+ ) -> None : ...
181
237
DESCRIPTOR : Descriptor
182
238
183
239
@final
@@ -208,7 +264,22 @@ class SocketData(message.Message, metaclass=MessageMeta):
208
264
local_flow_control_window : wrappers_pb2 .Int64Value
209
265
remote_flow_control_window : wrappers_pb2 .Int64Value
210
266
option : containers .RepeatedCompositeFieldContainer [SocketOption ]
211
- def __init__ (self , streams_started : int | None = ..., streams_succeeded : int | None = ..., streams_failed : int | None = ..., messages_sent : int | None = ..., messages_received : int | None = ..., keep_alives_sent : int | None = ..., last_local_stream_created_timestamp : timestamp_pb2 .Timestamp | Mapping [Incomplete , Incomplete ] | None = ..., last_remote_stream_created_timestamp : timestamp_pb2 .Timestamp | Mapping [Incomplete , Incomplete ] | None = ..., last_message_sent_timestamp : timestamp_pb2 .Timestamp | Mapping [Incomplete , Incomplete ] | None = ..., last_message_received_timestamp : timestamp_pb2 .Timestamp | Mapping [Incomplete , Incomplete ] | None = ..., local_flow_control_window : wrappers_pb2 .Int64Value | Mapping [Incomplete , Incomplete ] | None = ..., remote_flow_control_window : wrappers_pb2 .Int64Value | Mapping [Incomplete , Incomplete ] | None = ..., option : Iterable [SocketOption | Mapping [Incomplete , Incomplete ]] | None = ...) -> None : ...
267
+ def __init__ (
268
+ self ,
269
+ streams_started : int | None = ...,
270
+ streams_succeeded : int | None = ...,
271
+ streams_failed : int | None = ...,
272
+ messages_sent : int | None = ...,
273
+ messages_received : int | None = ...,
274
+ keep_alives_sent : int | None = ...,
275
+ last_local_stream_created_timestamp : timestamp_pb2 .Timestamp | Mapping [Incomplete , Incomplete ] | None = ...,
276
+ last_remote_stream_created_timestamp : timestamp_pb2 .Timestamp | Mapping [Incomplete , Incomplete ] | None = ...,
277
+ last_message_sent_timestamp : timestamp_pb2 .Timestamp | Mapping [Incomplete , Incomplete ] | None = ...,
278
+ last_message_received_timestamp : timestamp_pb2 .Timestamp | Mapping [Incomplete , Incomplete ] | None = ...,
279
+ local_flow_control_window : wrappers_pb2 .Int64Value | Mapping [Incomplete , Incomplete ] | None = ...,
280
+ remote_flow_control_window : wrappers_pb2 .Int64Value | Mapping [Incomplete , Incomplete ] | None = ...,
281
+ option : Iterable [SocketOption | Mapping [Incomplete , Incomplete ]] | None = ...,
282
+ ) -> None : ...
212
283
DESCRIPTOR : Descriptor
213
284
214
285
@final
@@ -220,25 +291,33 @@ class Address(message.Message, metaclass=MessageMeta):
220
291
ip_address : bytes
221
292
port : int
222
293
def __init__ (self , ip_address : bytes | None = ..., port : int | None = ...) -> None : ...
294
+
223
295
@final
224
296
class UdsAddress (message .Message , metaclass = MessageMeta ):
225
297
FILENAME_FIELD_NUMBER : ClassVar [int ]
226
298
filename : str
227
299
def __init__ (self , filename : str | None = ...) -> None : ...
300
+
228
301
@final
229
302
class OtherAddress (message .Message , metaclass = MessageMeta ):
230
303
NAME_FIELD_NUMBER : ClassVar [int ]
231
304
VALUE_FIELD_NUMBER : ClassVar [int ]
232
305
name : str
233
306
value : any_pb2 .Any
234
307
def __init__ (self , name : str | None = ..., value : any_pb2 .Any | Mapping [Incomplete , Incomplete ] | None = ...) -> None : ...
308
+
235
309
TCPIP_ADDRESS_FIELD_NUMBER : ClassVar [int ]
236
310
UDS_ADDRESS_FIELD_NUMBER : ClassVar [int ]
237
311
OTHER_ADDRESS_FIELD_NUMBER : ClassVar [int ]
238
312
tcpip_address : Address .TcpIpAddress
239
313
uds_address : Address .UdsAddress
240
314
other_address : Address .OtherAddress
241
- def __init__ (self , tcpip_address : Address .TcpIpAddress | Mapping [Incomplete , Incomplete ] | None = ..., uds_address : Address .UdsAddress | Mapping [Incomplete , Incomplete ] | None = ..., other_address : Address .OtherAddress | Mapping [Incomplete , Incomplete ] | None = ...) -> None : ...
315
+ def __init__ (
316
+ self ,
317
+ tcpip_address : Address .TcpIpAddress | Mapping [Incomplete , Incomplete ] | None = ...,
318
+ uds_address : Address .UdsAddress | Mapping [Incomplete , Incomplete ] | None = ...,
319
+ other_address : Address .OtherAddress | Mapping [Incomplete , Incomplete ] | None = ...,
320
+ ) -> None : ...
242
321
DESCRIPTOR : Descriptor
243
322
244
323
@final
@@ -253,19 +332,31 @@ class Security(message.Message, metaclass=MessageMeta):
253
332
other_name : str
254
333
local_certificate : bytes
255
334
remote_certificate : bytes
256
- def __init__ (self , standard_name : str | None = ..., other_name : str | None = ..., local_certificate : bytes | None = ..., remote_certificate : bytes | None = ...) -> None : ...
335
+ def __init__ (
336
+ self ,
337
+ standard_name : str | None = ...,
338
+ other_name : str | None = ...,
339
+ local_certificate : bytes | None = ...,
340
+ remote_certificate : bytes | None = ...,
341
+ ) -> None : ...
342
+
257
343
@final
258
344
class OtherSecurity (message .Message , metaclass = MessageMeta ):
259
345
NAME_FIELD_NUMBER : ClassVar [int ]
260
346
VALUE_FIELD_NUMBER : ClassVar [int ]
261
347
name : str
262
348
value : any_pb2 .Any
263
349
def __init__ (self , name : str | None = ..., value : any_pb2 .Any | Mapping [Incomplete , Incomplete ] | None = ...) -> None : ...
350
+
264
351
TLS_FIELD_NUMBER : ClassVar [int ]
265
352
OTHER_FIELD_NUMBER : ClassVar [int ]
266
353
tls : Security .Tls
267
354
other : Security .OtherSecurity
268
- def __init__ (self , tls : Security .Tls | Mapping [Incomplete , Incomplete ] | None = ..., other : Security .OtherSecurity | Mapping [Incomplete , Incomplete ] | None = ...) -> None : ...
355
+ def __init__ (
356
+ self ,
357
+ tls : Security .Tls | Mapping [Incomplete , Incomplete ] | None = ...,
358
+ other : Security .OtherSecurity | Mapping [Incomplete , Incomplete ] | None = ...,
359
+ ) -> None : ...
269
360
DESCRIPTOR : Descriptor
270
361
271
362
@final
@@ -276,7 +367,12 @@ class SocketOption(message.Message, metaclass=MessageMeta):
276
367
name : str
277
368
value : str
278
369
additional : any_pb2 .Any
279
- def __init__ (self , name : str | None = ..., value : str | None = ..., additional : any_pb2 .Any | Mapping [Incomplete , Incomplete ] | None = ...) -> None : ...
370
+ def __init__ (
371
+ self ,
372
+ name : str | None = ...,
373
+ value : str | None = ...,
374
+ additional : any_pb2 .Any | Mapping [Incomplete , Incomplete ] | None = ...,
375
+ ) -> None : ...
280
376
DESCRIPTOR : Descriptor
281
377
282
378
@final
@@ -292,7 +388,9 @@ class SocketOptionLinger(message.Message, metaclass=MessageMeta):
292
388
DURATION_FIELD_NUMBER : ClassVar [int ]
293
389
active : bool
294
390
duration : duration_pb2 .Duration
295
- def __init__ (self , active : bool = ..., duration : duration_pb2 .Duration | Mapping [Incomplete , Incomplete ] | None = ...) -> None : ...
391
+ def __init__ (
392
+ self , active : bool = ..., duration : duration_pb2 .Duration | Mapping [Incomplete , Incomplete ] | None = ...
393
+ ) -> None : ...
296
394
DESCRIPTOR : Descriptor
297
395
298
396
@final
@@ -355,7 +453,38 @@ class SocketOptionTcpInfo(message.Message, metaclass=MessageMeta):
355
453
tcpi_snd_cwnd : int
356
454
tcpi_advmss : int
357
455
tcpi_reordering : int
358
- def __init__ (self , tcpi_state : int | None = ..., tcpi_ca_state : int | None = ..., tcpi_retransmits : int | None = ..., tcpi_probes : int | None = ..., tcpi_backoff : int | None = ..., tcpi_options : int | None = ..., tcpi_snd_wscale : int | None = ..., tcpi_rcv_wscale : int | None = ..., tcpi_rto : int | None = ..., tcpi_ato : int | None = ..., tcpi_snd_mss : int | None = ..., tcpi_rcv_mss : int | None = ..., tcpi_unacked : int | None = ..., tcpi_sacked : int | None = ..., tcpi_lost : int | None = ..., tcpi_retrans : int | None = ..., tcpi_fackets : int | None = ..., tcpi_last_data_sent : int | None = ..., tcpi_last_ack_sent : int | None = ..., tcpi_last_data_recv : int | None = ..., tcpi_last_ack_recv : int | None = ..., tcpi_pmtu : int | None = ..., tcpi_rcv_ssthresh : int | None = ..., tcpi_rtt : int | None = ..., tcpi_rttvar : int | None = ..., tcpi_snd_ssthresh : int | None = ..., tcpi_snd_cwnd : int | None = ..., tcpi_advmss : int | None = ..., tcpi_reordering : int | None = ...) -> None : ...
456
+ def __init__ (
457
+ self ,
458
+ tcpi_state : int | None = ...,
459
+ tcpi_ca_state : int | None = ...,
460
+ tcpi_retransmits : int | None = ...,
461
+ tcpi_probes : int | None = ...,
462
+ tcpi_backoff : int | None = ...,
463
+ tcpi_options : int | None = ...,
464
+ tcpi_snd_wscale : int | None = ...,
465
+ tcpi_rcv_wscale : int | None = ...,
466
+ tcpi_rto : int | None = ...,
467
+ tcpi_ato : int | None = ...,
468
+ tcpi_snd_mss : int | None = ...,
469
+ tcpi_rcv_mss : int | None = ...,
470
+ tcpi_unacked : int | None = ...,
471
+ tcpi_sacked : int | None = ...,
472
+ tcpi_lost : int | None = ...,
473
+ tcpi_retrans : int | None = ...,
474
+ tcpi_fackets : int | None = ...,
475
+ tcpi_last_data_sent : int | None = ...,
476
+ tcpi_last_ack_sent : int | None = ...,
477
+ tcpi_last_data_recv : int | None = ...,
478
+ tcpi_last_ack_recv : int | None = ...,
479
+ tcpi_pmtu : int | None = ...,
480
+ tcpi_rcv_ssthresh : int | None = ...,
481
+ tcpi_rtt : int | None = ...,
482
+ tcpi_rttvar : int | None = ...,
483
+ tcpi_snd_ssthresh : int | None = ...,
484
+ tcpi_snd_cwnd : int | None = ...,
485
+ tcpi_advmss : int | None = ...,
486
+ tcpi_reordering : int | None = ...,
487
+ ) -> None : ...
359
488
DESCRIPTOR : Descriptor
360
489
361
490
@final
@@ -425,7 +554,9 @@ class GetServerSocketsResponse(message.Message, metaclass=MessageMeta):
425
554
END_FIELD_NUMBER : ClassVar [int ]
426
555
socket_ref : containers .RepeatedCompositeFieldContainer [SocketRef ]
427
556
end : bool
428
- def __init__ (self , socket_ref : Iterable [SocketRef | Mapping [Incomplete , Incomplete ]] | None = ..., end : bool = ...) -> None : ...
557
+ def __init__ (
558
+ self , socket_ref : Iterable [SocketRef | Mapping [Incomplete , Incomplete ]] | None = ..., end : bool = ...
559
+ ) -> None : ...
429
560
DESCRIPTOR : Descriptor
430
561
431
562
@final
0 commit comments