@@ -7,6 +7,7 @@ from google.protobuf import any_pb2, duration_pb2, message, timestamp_pb2, wrapp
77from google .protobuf .internal import containers
88
99DESCRIPTOR : FileDescriptor
10+
1011@final
1112class Channel (message .Message , metaclass = MessageMeta ):
1213 REF_FIELD_NUMBER : ClassVar [int ]
@@ -19,7 +20,14 @@ class Channel(message.Message, metaclass=MessageMeta):
1920 channel_ref : containers .RepeatedCompositeFieldContainer [ChannelRef ]
2021 subchannel_ref : containers .RepeatedCompositeFieldContainer [SubchannelRef ]
2122 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 : ...
2331 DESCRIPTOR : Descriptor
2432
2533@final
@@ -34,7 +42,14 @@ class Subchannel(message.Message, metaclass=MessageMeta):
3442 channel_ref : containers .RepeatedCompositeFieldContainer [ChannelRef ]
3543 subchannel_ref : containers .RepeatedCompositeFieldContainer [SubchannelRef ]
3644 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 : ...
3853 DESCRIPTOR : Descriptor
3954
4055@final
@@ -67,7 +82,16 @@ class ChannelData(message.Message, metaclass=MessageMeta):
6782 calls_succeeded : int
6883 calls_failed : int
6984 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 : ...
7195 DESCRIPTOR : Descriptor
7296
7397@final
@@ -87,7 +111,14 @@ class ChannelTraceEvent(message.Message, metaclass=MessageMeta):
87111 timestamp : timestamp_pb2 .Timestamp
88112 channel_ref : ChannelRef
89113 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 : ...
91122 DESCRIPTOR : Descriptor
92123
93124@final
@@ -98,7 +129,12 @@ class ChannelTrace(message.Message, metaclass=MessageMeta):
98129 num_events_logged : int
99130 creation_timestamp : timestamp_pb2 .Timestamp
100131 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 : ...
102138 DESCRIPTOR : Descriptor
103139
104140@final
@@ -145,7 +181,12 @@ class Server(message.Message, metaclass=MessageMeta):
145181 ref : ServerRef
146182 data : ServerData
147183 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 : ...
149190 DESCRIPTOR : Descriptor
150191
151192@final
@@ -160,7 +201,14 @@ class ServerData(message.Message, metaclass=MessageMeta):
160201 calls_succeeded : int
161202 calls_failed : int
162203 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 : ...
164212 DESCRIPTOR : Descriptor
165213
166214@final
@@ -177,7 +225,15 @@ class Socket(message.Message, metaclass=MessageMeta):
177225 remote : Address
178226 security : Security
179227 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 : ...
181237 DESCRIPTOR : Descriptor
182238
183239@final
@@ -208,7 +264,22 @@ class SocketData(message.Message, metaclass=MessageMeta):
208264 local_flow_control_window : wrappers_pb2 .Int64Value
209265 remote_flow_control_window : wrappers_pb2 .Int64Value
210266 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 : ...
212283 DESCRIPTOR : Descriptor
213284
214285@final
@@ -220,25 +291,33 @@ class Address(message.Message, metaclass=MessageMeta):
220291 ip_address : bytes
221292 port : int
222293 def __init__ (self , ip_address : bytes | None = ..., port : int | None = ...) -> None : ...
294+
223295 @final
224296 class UdsAddress (message .Message , metaclass = MessageMeta ):
225297 FILENAME_FIELD_NUMBER : ClassVar [int ]
226298 filename : str
227299 def __init__ (self , filename : str | None = ...) -> None : ...
300+
228301 @final
229302 class OtherAddress (message .Message , metaclass = MessageMeta ):
230303 NAME_FIELD_NUMBER : ClassVar [int ]
231304 VALUE_FIELD_NUMBER : ClassVar [int ]
232305 name : str
233306 value : any_pb2 .Any
234307 def __init__ (self , name : str | None = ..., value : any_pb2 .Any | Mapping [Incomplete , Incomplete ] | None = ...) -> None : ...
308+
235309 TCPIP_ADDRESS_FIELD_NUMBER : ClassVar [int ]
236310 UDS_ADDRESS_FIELD_NUMBER : ClassVar [int ]
237311 OTHER_ADDRESS_FIELD_NUMBER : ClassVar [int ]
238312 tcpip_address : Address .TcpIpAddress
239313 uds_address : Address .UdsAddress
240314 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 : ...
242321 DESCRIPTOR : Descriptor
243322
244323@final
@@ -253,19 +332,31 @@ class Security(message.Message, metaclass=MessageMeta):
253332 other_name : str
254333 local_certificate : bytes
255334 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+
257343 @final
258344 class OtherSecurity (message .Message , metaclass = MessageMeta ):
259345 NAME_FIELD_NUMBER : ClassVar [int ]
260346 VALUE_FIELD_NUMBER : ClassVar [int ]
261347 name : str
262348 value : any_pb2 .Any
263349 def __init__ (self , name : str | None = ..., value : any_pb2 .Any | Mapping [Incomplete , Incomplete ] | None = ...) -> None : ...
350+
264351 TLS_FIELD_NUMBER : ClassVar [int ]
265352 OTHER_FIELD_NUMBER : ClassVar [int ]
266353 tls : Security .Tls
267354 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 : ...
269360 DESCRIPTOR : Descriptor
270361
271362@final
@@ -276,7 +367,12 @@ class SocketOption(message.Message, metaclass=MessageMeta):
276367 name : str
277368 value : str
278369 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 : ...
280376 DESCRIPTOR : Descriptor
281377
282378@final
@@ -292,7 +388,9 @@ class SocketOptionLinger(message.Message, metaclass=MessageMeta):
292388 DURATION_FIELD_NUMBER : ClassVar [int ]
293389 active : bool
294390 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 : ...
296394 DESCRIPTOR : Descriptor
297395
298396@final
@@ -355,7 +453,38 @@ class SocketOptionTcpInfo(message.Message, metaclass=MessageMeta):
355453 tcpi_snd_cwnd : int
356454 tcpi_advmss : int
357455 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 : ...
359488 DESCRIPTOR : Descriptor
360489
361490@final
@@ -425,7 +554,9 @@ class GetServerSocketsResponse(message.Message, metaclass=MessageMeta):
425554 END_FIELD_NUMBER : ClassVar [int ]
426555 socket_ref : containers .RepeatedCompositeFieldContainer [SocketRef ]
427556 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 : ...
429560 DESCRIPTOR : Descriptor
430561
431562@final
0 commit comments