@@ -13,37 +13,58 @@ from typing import (
13
13
14
14
DESCRIPTOR : _descriptor .FileDescriptor
15
15
16
+ class Handshake (_message .Message ):
17
+ __slots__ = ("sot" ,)
18
+ SOT_FIELD_NUMBER : _ClassVar [int ]
19
+ sot : bool
20
+ def __init__ (self , sot : bool = ...) -> None : ...
21
+
16
22
class SourceTransformRequest (_message .Message ):
17
- __slots__ = ("keys" , "value" , "event_time" , "watermark" , "headers" )
23
+ __slots__ = ("request" , "handshake" )
24
+
25
+ class Request (_message .Message ):
26
+ __slots__ = ("keys" , "value" , "event_time" , "watermark" , "headers" , "id" )
18
27
19
- class HeadersEntry (_message .Message ):
20
- __slots__ = ("key" , "value" )
21
- KEY_FIELD_NUMBER : _ClassVar [int ]
28
+ class HeadersEntry (_message .Message ):
29
+ __slots__ = ("key" , "value" )
30
+ KEY_FIELD_NUMBER : _ClassVar [int ]
31
+ VALUE_FIELD_NUMBER : _ClassVar [int ]
32
+ key : str
33
+ value : str
34
+ def __init__ (self , key : _Optional [str ] = ..., value : _Optional [str ] = ...) -> None : ...
35
+ KEYS_FIELD_NUMBER : _ClassVar [int ]
22
36
VALUE_FIELD_NUMBER : _ClassVar [int ]
23
- key : str
24
- value : str
25
- def __init__ (self , key : _Optional [str ] = ..., value : _Optional [str ] = ...) -> None : ...
26
- KEYS_FIELD_NUMBER : _ClassVar [int ]
27
- VALUE_FIELD_NUMBER : _ClassVar [int ]
28
- EVENT_TIME_FIELD_NUMBER : _ClassVar [int ]
29
- WATERMARK_FIELD_NUMBER : _ClassVar [int ]
30
- HEADERS_FIELD_NUMBER : _ClassVar [int ]
31
- keys : _containers .RepeatedScalarFieldContainer [str ]
32
- value : bytes
33
- event_time : _timestamp_pb2 .Timestamp
34
- watermark : _timestamp_pb2 .Timestamp
35
- headers : _containers .ScalarMap [str , str ]
37
+ EVENT_TIME_FIELD_NUMBER : _ClassVar [int ]
38
+ WATERMARK_FIELD_NUMBER : _ClassVar [int ]
39
+ HEADERS_FIELD_NUMBER : _ClassVar [int ]
40
+ ID_FIELD_NUMBER : _ClassVar [int ]
41
+ keys : _containers .RepeatedScalarFieldContainer [str ]
42
+ value : bytes
43
+ event_time : _timestamp_pb2 .Timestamp
44
+ watermark : _timestamp_pb2 .Timestamp
45
+ headers : _containers .ScalarMap [str , str ]
46
+ id : str
47
+ def __init__ (
48
+ self ,
49
+ keys : _Optional [_Iterable [str ]] = ...,
50
+ value : _Optional [bytes ] = ...,
51
+ event_time : _Optional [_Union [_timestamp_pb2 .Timestamp , _Mapping ]] = ...,
52
+ watermark : _Optional [_Union [_timestamp_pb2 .Timestamp , _Mapping ]] = ...,
53
+ headers : _Optional [_Mapping [str , str ]] = ...,
54
+ id : _Optional [str ] = ...,
55
+ ) -> None : ...
56
+ REQUEST_FIELD_NUMBER : _ClassVar [int ]
57
+ HANDSHAKE_FIELD_NUMBER : _ClassVar [int ]
58
+ request : SourceTransformRequest .Request
59
+ handshake : Handshake
36
60
def __init__ (
37
61
self ,
38
- keys : _Optional [_Iterable [str ]] = ...,
39
- value : _Optional [bytes ] = ...,
40
- event_time : _Optional [_Union [_timestamp_pb2 .Timestamp , _Mapping ]] = ...,
41
- watermark : _Optional [_Union [_timestamp_pb2 .Timestamp , _Mapping ]] = ...,
42
- headers : _Optional [_Mapping [str , str ]] = ...,
62
+ request : _Optional [_Union [SourceTransformRequest .Request , _Mapping ]] = ...,
63
+ handshake : _Optional [_Union [Handshake , _Mapping ]] = ...,
43
64
) -> None : ...
44
65
45
66
class SourceTransformResponse (_message .Message ):
46
- __slots__ = ("results" ,)
67
+ __slots__ = ("results" , "id" , "handshake" )
47
68
48
69
class Result (_message .Message ):
49
70
__slots__ = ("keys" , "value" , "event_time" , "tags" )
@@ -63,9 +84,16 @@ class SourceTransformResponse(_message.Message):
63
84
tags : _Optional [_Iterable [str ]] = ...,
64
85
) -> None : ...
65
86
RESULTS_FIELD_NUMBER : _ClassVar [int ]
87
+ ID_FIELD_NUMBER : _ClassVar [int ]
88
+ HANDSHAKE_FIELD_NUMBER : _ClassVar [int ]
66
89
results : _containers .RepeatedCompositeFieldContainer [SourceTransformResponse .Result ]
90
+ id : str
91
+ handshake : Handshake
67
92
def __init__ (
68
- self , results : _Optional [_Iterable [_Union [SourceTransformResponse .Result , _Mapping ]]] = ...
93
+ self ,
94
+ results : _Optional [_Iterable [_Union [SourceTransformResponse .Result , _Mapping ]]] = ...,
95
+ id : _Optional [str ] = ...,
96
+ handshake : _Optional [_Union [Handshake , _Mapping ]] = ...,
69
97
) -> None : ...
70
98
71
99
class ReadyResponse (_message .Message ):
0 commit comments