diff --git a/cloudquery/plugin_v3/plugin_pb2.py b/cloudquery/plugin_v3/plugin_pb2.py index 0ee5e43..93c67a0 100644 --- a/cloudquery/plugin_v3/plugin_pb2.py +++ b/cloudquery/plugin_v3/plugin_pb2.py @@ -14,7 +14,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cloudquery/plugin_v3/plugin.proto\x12\x14\x63loudquery.plugin.v3\x1a\x1fgoogle/protobuf/timestamp.proto\".\n\x07GetName\x1a\t\n\x07Request\x1a\x18\n\x08Response\x12\x0c\n\x04name\x18\x01 \x01(\t\"4\n\nGetVersion\x1a\t\n\x07Request\x1a\x1b\n\x08Response\x12\x0f\n\x07version\x18\x01 \x01(\t\"B\n\x04Init\x1a.\n\x07Request\x12\x0c\n\x04spec\x18\x01 \x01(\x0c\x12\x15\n\rno_connection\x18\x02 \x01(\x08\x1a\n\n\x08Response\"W\n\tGetTables\x1a.\n\x07Request\x12\x0e\n\x06tables\x18\x01 \x03(\t\x12\x13\n\x0bskip_tables\x18\x02 \x03(\t\x1a\x1a\n\x08Response\x12\x0e\n\x06tables\x18\x01 \x03(\x0c\"\xcd\x03\n\x04Sync\x1a\x1f\n\rMessageInsert\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a$\n\x13MessageMigrateTable\x12\r\n\x05table\x18\x01 \x01(\x0c\x1a\x38\n\x0e\x42\x61\x63kendOptions\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12\x12\n\nconnection\x18\x02 \x01(\t\x1a\xa6\x01\n\x07Request\x12\x0e\n\x06tables\x18\x01 \x03(\t\x12\x13\n\x0bskip_tables\x18\x02 \x03(\t\x12\x1d\n\x15skip_dependent_tables\x18\x03 \x01(\x08\x12\x1b\n\x13\x64\x65terministic_cq_id\x18\x04 \x01(\x08\x12:\n\x07\x62\x61\x63kend\x18\x05 \x01(\x0b\x32).cloudquery.plugin.v3.Sync.BackendOptions\x1a\x9a\x01\n\x08Response\x12G\n\rmigrate_table\x18\x01 \x01(\x0b\x32..cloudquery.plugin.v3.Sync.MessageMigrateTableH\x00\x12:\n\x06insert\x18\x02 \x01(\x0b\x32(.cloudquery.plugin.v3.Sync.MessageInsertH\x00\x42\t\n\x07message\"<\n\x04Read\x1a\x18\n\x07Request\x12\r\n\x05table\x18\x01 \x01(\x0c\x1a\x1a\n\x08Response\x12\x0e\n\x06record\x18\x01 \x01(\x0c\"\xd2\x03\n\x05Write\x1a;\n\x13MessageMigrateTable\x12\r\n\x05table\x18\x01 \x01(\x0c\x12\x15\n\rmigrate_force\x18\x02 \x01(\x08\x1a\x1f\n\rMessageInsert\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a\x7f\n\x12MessageDeleteStale\x12\x11\n\x05table\x18\x01 \x01(\x0c\x42\x02\x18\x01\x12\x13\n\x0bsource_name\x18\x02 \x01(\t\x12-\n\tsync_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ntable_name\x18\x04 \x01(\t\x1a\xdd\x01\n\x07Request\x12H\n\rmigrate_table\x18\x01 \x01(\x0b\x32/.cloudquery.plugin.v3.Write.MessageMigrateTableH\x00\x12;\n\x06insert\x18\x02 \x01(\x0b\x32).cloudquery.plugin.v3.Write.MessageInsertH\x00\x12@\n\x06\x64\x65lete\x18\x03 \x01(\x0b\x32..cloudquery.plugin.v3.Write.MessageDeleteStaleH\x00\x42\t\n\x07message\x1a\n\n\x08Response\"\x1e\n\x05\x43lose\x1a\t\n\x07Request\x1a\n\n\x08Response2\xc6\x05\n\x06Plugin\x12X\n\x07GetName\x12%.cloudquery.plugin.v3.GetName.Request\x1a&.cloudquery.plugin.v3.GetName.Response\x12\x61\n\nGetVersion\x12(.cloudquery.plugin.v3.GetVersion.Request\x1a).cloudquery.plugin.v3.GetVersion.Response\x12O\n\x04Init\x12\".cloudquery.plugin.v3.Init.Request\x1a#.cloudquery.plugin.v3.Init.Response\x12^\n\tGetTables\x12\'.cloudquery.plugin.v3.GetTables.Request\x1a(.cloudquery.plugin.v3.GetTables.Response\x12Q\n\x04Sync\x12\".cloudquery.plugin.v3.Sync.Request\x1a#.cloudquery.plugin.v3.Sync.Response0\x01\x12Q\n\x04Read\x12\".cloudquery.plugin.v3.Read.Request\x1a#.cloudquery.plugin.v3.Read.Response0\x01\x12T\n\x05Write\x12#.cloudquery.plugin.v3.Write.Request\x1a$.cloudquery.plugin.v3.Write.Response(\x01\x12R\n\x05\x43lose\x12#.cloudquery.plugin.v3.Close.Request\x1a$.cloudquery.plugin.v3.Close.ResponseBS\n\x17io.cloudquery.plugin.v3P\x01Z6github.com/cloudquery/plugin-pb-go/pb/plugin/v3;pluginb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!cloudquery/plugin_v3/plugin.proto\x12\x14\x63loudquery.plugin.v3\x1a\x1fgoogle/protobuf/timestamp.proto\".\n\x07GetName\x1a\t\n\x07Request\x1a\x18\n\x08Response\x12\x0c\n\x04name\x18\x01 \x01(\t\"4\n\nGetVersion\x1a\t\n\x07Request\x1a\x1b\n\x08Response\x12\x0f\n\x07version\x18\x01 \x01(\t\"B\n\x04Init\x1a.\n\x07Request\x12\x0c\n\x04spec\x18\x01 \x01(\x0c\x12\x15\n\rno_connection\x18\x02 \x01(\x08\x1a\n\n\x08Response\"v\n\tGetTables\x1aM\n\x07Request\x12\x0e\n\x06tables\x18\x01 \x03(\t\x12\x13\n\x0bskip_tables\x18\x02 \x03(\t\x12\x1d\n\x15skip_dependent_tables\x18\x03 \x01(\x08\x1a\x1a\n\x08Response\x12\x0e\n\x06tables\x18\x01 \x03(\x0c\"\xcd\x03\n\x04Sync\x1a\x1f\n\rMessageInsert\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a$\n\x13MessageMigrateTable\x12\r\n\x05table\x18\x01 \x01(\x0c\x1a\x38\n\x0e\x42\x61\x63kendOptions\x12\x12\n\ntable_name\x18\x01 \x01(\t\x12\x12\n\nconnection\x18\x02 \x01(\t\x1a\xa6\x01\n\x07Request\x12\x0e\n\x06tables\x18\x01 \x03(\t\x12\x13\n\x0bskip_tables\x18\x02 \x03(\t\x12\x1d\n\x15skip_dependent_tables\x18\x03 \x01(\x08\x12\x1b\n\x13\x64\x65terministic_cq_id\x18\x04 \x01(\x08\x12:\n\x07\x62\x61\x63kend\x18\x05 \x01(\x0b\x32).cloudquery.plugin.v3.Sync.BackendOptions\x1a\x9a\x01\n\x08Response\x12G\n\rmigrate_table\x18\x01 \x01(\x0b\x32..cloudquery.plugin.v3.Sync.MessageMigrateTableH\x00\x12:\n\x06insert\x18\x02 \x01(\x0b\x32(.cloudquery.plugin.v3.Sync.MessageInsertH\x00\x42\t\n\x07message\"<\n\x04Read\x1a\x18\n\x07Request\x12\r\n\x05table\x18\x01 \x01(\x0c\x1a\x1a\n\x08Response\x12\x0e\n\x06record\x18\x01 \x01(\x0c\"\xd2\x03\n\x05Write\x1a;\n\x13MessageMigrateTable\x12\r\n\x05table\x18\x01 \x01(\x0c\x12\x15\n\rmigrate_force\x18\x02 \x01(\x08\x1a\x1f\n\rMessageInsert\x12\x0e\n\x06record\x18\x01 \x01(\x0c\x1a\x7f\n\x12MessageDeleteStale\x12\x11\n\x05table\x18\x01 \x01(\x0c\x42\x02\x18\x01\x12\x13\n\x0bsource_name\x18\x02 \x01(\t\x12-\n\tsync_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ntable_name\x18\x04 \x01(\t\x1a\xdd\x01\n\x07Request\x12H\n\rmigrate_table\x18\x01 \x01(\x0b\x32/.cloudquery.plugin.v3.Write.MessageMigrateTableH\x00\x12;\n\x06insert\x18\x02 \x01(\x0b\x32).cloudquery.plugin.v3.Write.MessageInsertH\x00\x12@\n\x06\x64\x65lete\x18\x03 \x01(\x0b\x32..cloudquery.plugin.v3.Write.MessageDeleteStaleH\x00\x42\t\n\x07message\x1a\n\n\x08Response\"\x1e\n\x05\x43lose\x1a\t\n\x07Request\x1a\n\n\x08Response2\xc6\x05\n\x06Plugin\x12X\n\x07GetName\x12%.cloudquery.plugin.v3.GetName.Request\x1a&.cloudquery.plugin.v3.GetName.Response\x12\x61\n\nGetVersion\x12(.cloudquery.plugin.v3.GetVersion.Request\x1a).cloudquery.plugin.v3.GetVersion.Response\x12O\n\x04Init\x12\".cloudquery.plugin.v3.Init.Request\x1a#.cloudquery.plugin.v3.Init.Response\x12^\n\tGetTables\x12\'.cloudquery.plugin.v3.GetTables.Request\x1a(.cloudquery.plugin.v3.GetTables.Response\x12Q\n\x04Sync\x12\".cloudquery.plugin.v3.Sync.Request\x1a#.cloudquery.plugin.v3.Sync.Response0\x01\x12Q\n\x04Read\x12\".cloudquery.plugin.v3.Read.Request\x1a#.cloudquery.plugin.v3.Read.Response0\x01\x12T\n\x05Write\x12#.cloudquery.plugin.v3.Write.Request\x1a$.cloudquery.plugin.v3.Write.Response(\x01\x12R\n\x05\x43lose\x12#.cloudquery.plugin.v3.Close.Request\x1a$.cloudquery.plugin.v3.Close.ResponseBS\n\x17io.cloudquery.plugin.v3P\x01Z6github.com/cloudquery/plugin-pb-go/pb/plugin/v3;pluginb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -44,47 +44,47 @@ _globals['_INIT_RESPONSE']._serialized_start=114 _globals['_INIT_RESPONSE']._serialized_end=124 _globals['_GETTABLES']._serialized_start=262 - _globals['_GETTABLES']._serialized_end=349 + _globals['_GETTABLES']._serialized_end=380 _globals['_GETTABLES_REQUEST']._serialized_start=275 - _globals['_GETTABLES_REQUEST']._serialized_end=321 - _globals['_GETTABLES_RESPONSE']._serialized_start=323 - _globals['_GETTABLES_RESPONSE']._serialized_end=349 - _globals['_SYNC']._serialized_start=352 - _globals['_SYNC']._serialized_end=813 - _globals['_SYNC_MESSAGEINSERT']._serialized_start=360 - _globals['_SYNC_MESSAGEINSERT']._serialized_end=391 - _globals['_SYNC_MESSAGEMIGRATETABLE']._serialized_start=393 - _globals['_SYNC_MESSAGEMIGRATETABLE']._serialized_end=429 - _globals['_SYNC_BACKENDOPTIONS']._serialized_start=431 - _globals['_SYNC_BACKENDOPTIONS']._serialized_end=487 - _globals['_SYNC_REQUEST']._serialized_start=490 - _globals['_SYNC_REQUEST']._serialized_end=656 - _globals['_SYNC_RESPONSE']._serialized_start=659 - _globals['_SYNC_RESPONSE']._serialized_end=813 - _globals['_READ']._serialized_start=815 - _globals['_READ']._serialized_end=875 - _globals['_READ_REQUEST']._serialized_start=823 - _globals['_READ_REQUEST']._serialized_end=847 - _globals['_READ_RESPONSE']._serialized_start=849 - _globals['_READ_RESPONSE']._serialized_end=875 - _globals['_WRITE']._serialized_start=878 - _globals['_WRITE']._serialized_end=1344 - _globals['_WRITE_MESSAGEMIGRATETABLE']._serialized_start=887 - _globals['_WRITE_MESSAGEMIGRATETABLE']._serialized_end=946 - _globals['_WRITE_MESSAGEINSERT']._serialized_start=360 - _globals['_WRITE_MESSAGEINSERT']._serialized_end=391 - _globals['_WRITE_MESSAGEDELETESTALE']._serialized_start=981 - _globals['_WRITE_MESSAGEDELETESTALE']._serialized_end=1108 - _globals['_WRITE_REQUEST']._serialized_start=1111 - _globals['_WRITE_REQUEST']._serialized_end=1332 + _globals['_GETTABLES_REQUEST']._serialized_end=352 + _globals['_GETTABLES_RESPONSE']._serialized_start=354 + _globals['_GETTABLES_RESPONSE']._serialized_end=380 + _globals['_SYNC']._serialized_start=383 + _globals['_SYNC']._serialized_end=844 + _globals['_SYNC_MESSAGEINSERT']._serialized_start=391 + _globals['_SYNC_MESSAGEINSERT']._serialized_end=422 + _globals['_SYNC_MESSAGEMIGRATETABLE']._serialized_start=424 + _globals['_SYNC_MESSAGEMIGRATETABLE']._serialized_end=460 + _globals['_SYNC_BACKENDOPTIONS']._serialized_start=462 + _globals['_SYNC_BACKENDOPTIONS']._serialized_end=518 + _globals['_SYNC_REQUEST']._serialized_start=521 + _globals['_SYNC_REQUEST']._serialized_end=687 + _globals['_SYNC_RESPONSE']._serialized_start=690 + _globals['_SYNC_RESPONSE']._serialized_end=844 + _globals['_READ']._serialized_start=846 + _globals['_READ']._serialized_end=906 + _globals['_READ_REQUEST']._serialized_start=854 + _globals['_READ_REQUEST']._serialized_end=878 + _globals['_READ_RESPONSE']._serialized_start=880 + _globals['_READ_RESPONSE']._serialized_end=906 + _globals['_WRITE']._serialized_start=909 + _globals['_WRITE']._serialized_end=1375 + _globals['_WRITE_MESSAGEMIGRATETABLE']._serialized_start=918 + _globals['_WRITE_MESSAGEMIGRATETABLE']._serialized_end=977 + _globals['_WRITE_MESSAGEINSERT']._serialized_start=391 + _globals['_WRITE_MESSAGEINSERT']._serialized_end=422 + _globals['_WRITE_MESSAGEDELETESTALE']._serialized_start=1012 + _globals['_WRITE_MESSAGEDELETESTALE']._serialized_end=1139 + _globals['_WRITE_REQUEST']._serialized_start=1142 + _globals['_WRITE_REQUEST']._serialized_end=1363 _globals['_WRITE_RESPONSE']._serialized_start=114 _globals['_WRITE_RESPONSE']._serialized_end=124 - _globals['_CLOSE']._serialized_start=1346 - _globals['_CLOSE']._serialized_end=1376 + _globals['_CLOSE']._serialized_start=1377 + _globals['_CLOSE']._serialized_end=1407 _globals['_CLOSE_REQUEST']._serialized_start=103 _globals['_CLOSE_REQUEST']._serialized_end=112 _globals['_CLOSE_RESPONSE']._serialized_start=114 _globals['_CLOSE_RESPONSE']._serialized_end=124 - _globals['_PLUGIN']._serialized_start=1379 - _globals['_PLUGIN']._serialized_end=2089 + _globals['_PLUGIN']._serialized_start=1410 + _globals['_PLUGIN']._serialized_end=2120 # @@protoc_insertion_point(module_scope) diff --git a/cloudquery/plugin_v3/plugin_pb2.pyi b/cloudquery/plugin_v3/plugin_pb2.pyi index 7bdc96c..ab0ee4c 100644 --- a/cloudquery/plugin_v3/plugin_pb2.pyi +++ b/cloudquery/plugin_v3/plugin_pb2.pyi @@ -47,12 +47,14 @@ class Init(_message.Message): class GetTables(_message.Message): __slots__ = [] class Request(_message.Message): - __slots__ = ["tables", "skip_tables"] + __slots__ = ["tables", "skip_tables", "skip_dependent_tables"] TABLES_FIELD_NUMBER: _ClassVar[int] SKIP_TABLES_FIELD_NUMBER: _ClassVar[int] + SKIP_DEPENDENT_TABLES_FIELD_NUMBER: _ClassVar[int] tables: _containers.RepeatedScalarFieldContainer[str] skip_tables: _containers.RepeatedScalarFieldContainer[str] - def __init__(self, tables: _Optional[_Iterable[str]] = ..., skip_tables: _Optional[_Iterable[str]] = ...) -> None: ... + skip_dependent_tables: bool + def __init__(self, tables: _Optional[_Iterable[str]] = ..., skip_tables: _Optional[_Iterable[str]] = ..., skip_dependent_tables: bool = ...) -> None: ... class Response(_message.Message): __slots__ = ["tables"] TABLES_FIELD_NUMBER: _ClassVar[int]