query-cache-protobuf 2.12.0__tar.gz → 2.13.0__tar.gz

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.
Files changed (91) hide show
  1. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/PKG-INFO +2 -2
  2. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/pyproject.toml +1 -1
  3. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/__init__.py +3 -3
  4. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -55
  5. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -99
  6. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -30
  7. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -66
  8. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -60
  9. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -66
  10. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -76
  11. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -165
  12. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -45
  13. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -99
  14. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -32
  15. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -99
  16. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -34
  17. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -66
  18. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_analysis_service_pb2.py +0 -34
  19. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_analysis_service_pb2_grpc.py +0 -66
  20. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -71
  21. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -132
  22. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2.py +0 -54
  23. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -4
  24. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2.py +0 -36
  25. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -4
  26. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/__init__.py +0 -0
  27. query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/__init__.py +0 -0
  28. query_cache_protobuf-2.12.0/src/query_cache_protobuf/query_cache/__init__.py +0 -0
  29. query_cache_protobuf-2.12.0/src/query_cache_protobuf/query_cache/services/__init__.py +0 -0
  30. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/.gitignore +0 -0
  31. {query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4 → query_cache_protobuf-2.13.0/src/query_cache_protobuf/_proto5}/__init__.py +0 -0
  32. {query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4 → query_cache_protobuf-2.13.0/src/query_cache_protobuf/_proto5}/query_cache_protobuf/__init__.py +0 -0
  33. {query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4 → query_cache_protobuf-2.13.0/src/query_cache_protobuf/_proto5}/query_cache_protobuf/query_cache/__init__.py +0 -0
  34. {query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto4 → query_cache_protobuf-2.13.0/src/query_cache_protobuf/_proto5}/query_cache_protobuf/query_cache/services/__init__.py +0 -0
  35. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -0
  36. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
  37. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
  38. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
  39. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
  40. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
  41. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
  42. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
  43. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
  44. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
  45. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
  46. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
  47. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
  48. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
  49. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_analysis_service_pb2.py +0 -0
  50. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_analysis_service_pb2_grpc.py +0 -0
  51. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -0
  52. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
  53. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2.py +0 -0
  54. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
  55. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
  56. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
  57. {query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto5 → query_cache_protobuf-2.13.0/src/query_cache_protobuf/query_cache}/__init__.py +0 -0
  58. {query_cache_protobuf-2.12.0/src/query_cache_protobuf/_proto5/query_cache_protobuf → query_cache_protobuf-2.13.0/src/query_cache_protobuf/query_cache/services}/__init__.py +0 -0
  59. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -0
  60. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.pyi +0 -0
  61. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
  62. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
  63. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.pyi +0 -0
  64. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
  65. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
  66. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.pyi +0 -0
  67. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
  68. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
  69. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2.pyi +0 -0
  70. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
  71. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
  72. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.pyi +0 -0
  73. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
  74. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
  75. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.pyi +0 -0
  76. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
  77. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
  78. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2.pyi +0 -0
  79. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
  80. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/sql_analysis_service_pb2.py +0 -0
  81. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/sql_analysis_service_pb2.pyi +0 -0
  82. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/sql_analysis_service_pb2_grpc.py +0 -0
  83. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -0
  84. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2.pyi +0 -0
  85. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
  86. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/shared_pb2.py +0 -0
  87. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/shared_pb2.pyi +0 -0
  88. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
  89. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
  90. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/struct_pb2.pyi +0 -0
  91. {query_cache_protobuf-2.12.0 → query_cache_protobuf-2.13.0}/src/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: query-cache-protobuf
3
- Version: 2.12.0
3
+ Version: 2.13.0
4
4
  Summary: Generated protobuf code for Query Cache
5
5
  License:
6
6
  Apache License
@@ -206,4 +206,4 @@ License:
206
206
  limitations under the License.
207
207
  Requires-Python: >=3.9
208
208
  Requires-Dist: packaging
209
- Requires-Dist: protobuf>=4.0.0
209
+ Requires-Dist: protobuf>=5.0.0
@@ -6,7 +6,7 @@ license = {file = "../../LICENSE"}
6
6
  requires-python = ">=3.9"
7
7
  dependencies = [
8
8
  "packaging",
9
- "protobuf>=4.0.0",
9
+ "protobuf>=5.0.0",
10
10
  ]
11
11
 
12
12
  [tool.hatch.version]
@@ -26,16 +26,16 @@ def _import_proto() -> None:
26
26
  prefix=f"{__name__}._proto{PROTOBUF_MAJOR_VERSION}.query_cache_protobuf.",
27
27
  ):
28
28
  module = importlib.import_module(name)
29
- # Remap e.g. query_cache_protobuf._proto4.query_cache_protobuf.query_cache.shared_pb2
29
+ # Remap e.g. query_cache_protobuf._proto5.query_cache_protobuf.query_cache.shared_pb2
30
30
  # -> query_cache_protobuf.query_cache.shared_pb2
31
31
  suffix = name.split(f"._proto{PROTOBUF_MAJOR_VERSION}.query_cache_protobuf.", 1)[1]
32
32
  sys.modules[f"{__name__}.{suffix}"] = module
33
33
 
34
34
 
35
- if PROTOBUF_MAJOR_VERSION >= 4 and PROTOBUF_MAJOR_VERSION < 6:
35
+ if PROTOBUF_MAJOR_VERSION == 5:
36
36
  _import_proto()
37
37
  elif PROTOBUF_MAJOR_VERSION != 6:
38
38
  raise ImportError(
39
39
  f"Unsupported protobuf major version: {PROTOBUF_MAJOR_VERSION}. "
40
- "Supported major versions are 4, 5, and 6."
40
+ "Supported major versions are 5 and 6."
41
41
  )
@@ -1,55 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: query_cache_protobuf/query_cache/services/client_telemetry_service.proto
4
- # Protobuf Python Version: 4.25.1
5
- """Generated protocol buffer code."""
6
- from google.protobuf import descriptor as _descriptor
7
- from google.protobuf import descriptor_pool as _descriptor_pool
8
- from google.protobuf import symbol_database as _symbol_database
9
- from google.protobuf.internal import builder as _builder
10
- # @@protoc_insertion_point(imports)
11
-
12
- _sym_db = _symbol_database.Default()
13
-
14
-
15
- from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
16
- from query_cache_protobuf.query_cache import struct_pb2 as query__cache__protobuf_dot_query__cache_dot_struct__pb2
17
- from query_cache_protobuf.query_cache.services import selector_service_pb2 as query__cache__protobuf_dot_query__cache_dot_services_dot_selector__service__pb2
18
-
19
-
20
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nHquery_cache_protobuf/query_cache/services/client_telemetry_service.proto\x12\x18\x63om.fivetran.query_cache\x1a\x1egoogle/protobuf/duration.proto\x1a-query_cache_protobuf/query_cache/struct.proto\x1a@query_cache_protobuf/query_cache/services/selector_service.proto\"\x9a\x01\n\x13SessionStartRequest\x12\x1d\n\x15\x64\x62t_run_cache_version\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x62t_version\x18\x02 \x01(\t\x12\x17\n\x0fsqlglot_version\x18\x03 \x01(\t\x12\x30\n\x06\x63onfig\x18\x05 \x01(\x0b\x32 .com.fivetran.query_cache.StructJ\x04\x08\x04\x10\x05\"?\n\x14SessionStartResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\nsession_id\x18\x02 \x01(\t:\x02\x18\x01\"\x9a\x02\n\x11SessionEndRequest\x12\x33\n\x10session_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12H\n\x06result\x18\x02 \x01(\x0e\x32\x38.com.fivetran.query_cache.SessionEndRequest.ClientResult\x12\x1a\n\x12result_description\x18\x03 \x01(\t\x12\x31\n\x07metrics\x18\x04 \x01(\x0b\x32 .com.fivetran.query_cache.Struct\"7\n\x0c\x43lientResult\x12\x0b\n\x07SUCCESS\x10\x00\x12\x0b\n\x07\x46\x41ILURE\x10\x01\x12\r\n\tCANCELLED\x10\x02\"\xa9\x04\n\x1f\x43lientPrepareEnrichedSQLRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x10\n\x08\x64uration\x18\x02 \x01(\x01\x12\x1d\n\x10target_table_fqn\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1d\n\x10num_dependencies\x18\x04 \x01(\x03H\x01\x88\x01\x01\x12\"\n\x15num_view_dependencies\x18\x05 \x01(\x03H\x02\x88\x01\x01\x12\x17\n\nerror_type\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\'\n\x1aview_traversal_duration_ms\x18\x07 \x01(\x03H\x04\x88\x01\x01\x12&\n\x19last_modified_duration_ms\x18\x08 \x01(\x03H\x05\x88\x01\x01\x12U\n\x06labels\x18\t \x03(\x0b\x32\x45.com.fivetran.query_cache.ClientPrepareEnrichedSQLRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x13\n\x11_target_table_fqnB\x13\n\x11_num_dependenciesB\x18\n\x16_num_view_dependenciesB\r\n\x0b_error_typeB\x1d\n\x1b_view_traversal_duration_msB\x1c\n\x1a_last_modified_duration_ms\"\x83\x03\n\x14\x43lientTelemetryEvent\x12Z\n\x15\x65nriched_sql_prepared\x18\x01 \x01(\x0b\x32\x39.com.fivetran.query_cache.ClientPrepareEnrichedSQLRequestH\x00\x12\x46\n\rsession_start\x18\x02 \x01(\x0b\x32-.com.fivetran.query_cache.SessionStartRequestH\x00\x12\x42\n\x0bsession_end\x18\x04 \x01(\x0b\x32+.com.fivetran.query_cache.SessionEndRequestH\x00\x12N\n\x15\x63lient_selector_event\x18\x05 \x01(\x0b\x32-.com.fivetran.query_cache.ClientSelectorEventH\x00\x12\x18\n\x0b\x65vent_order\x18\x03 \x01(\x03H\x01\x88\x01\x01\x42\t\n\x07requestB\x0e\n\x0c_event_order\"]\n\x1bSubmitTelemetryBatchRequest\x12>\n\x06\x65vents\x18\x01 \x03(\x0b\x32..com.fivetran.query_cache.ClientTelemetryEvent\"/\n\x1cSubmitTelemetryBatchResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"\xe9\x01\n\x13\x43lientSelectorEvent\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x12\n\ndbt_target\x18\x03 \x01(\t\x12\x45\n\x11selector_criteria\x18\x04 \x01(\x0e\x32*.com.fivetran.query_cache.SelectorCriteria\x12\x11\n\tnum_nodes\x18\x06 \x01(\x03\x12\x1a\n\x12processing_time_ms\x18\x07 \x01(\x03\x12 \n\x18hash_calculation_time_ms\x18\x08 \x01(\x03\x32\x95\x02\n\x0f\x43lientTelemetry\x12z\n\x14RegisterSessionStart\x12-.com.fivetran.query_cache.SessionStartRequest\x1a..com.fivetran.query_cache.SessionStartResponse\"\x03\x88\x02\x01\x12\x85\x01\n\x14SubmitTelemetryBatch\x12\x35.com.fivetran.query_cache.SubmitTelemetryBatchRequest\x1a\x36.com.fivetran.query_cache.SubmitTelemetryBatchResponseb\x06proto3')
21
-
22
- _globals = globals()
23
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
24
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.client_telemetry_service_pb2', _globals)
25
- if _descriptor._USE_C_DESCRIPTORS == False:
26
- DESCRIPTOR._options = None
27
- _globals['_SESSIONSTARTRESPONSE']._options = None
28
- _globals['_SESSIONSTARTRESPONSE']._serialized_options = b'\030\001'
29
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._options = None
30
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_options = b'8\001'
31
- _globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._options = None
32
- _globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._serialized_options = b'\210\002\001'
33
- _globals['_SESSIONSTARTREQUEST']._serialized_start=248
34
- _globals['_SESSIONSTARTREQUEST']._serialized_end=402
35
- _globals['_SESSIONSTARTRESPONSE']._serialized_start=404
36
- _globals['_SESSIONSTARTRESPONSE']._serialized_end=467
37
- _globals['_SESSIONENDREQUEST']._serialized_start=470
38
- _globals['_SESSIONENDREQUEST']._serialized_end=752
39
- _globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_start=697
40
- _globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_end=752
41
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_start=755
42
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_end=1308
43
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_start=1119
44
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_end=1164
45
- _globals['_CLIENTTELEMETRYEVENT']._serialized_start=1311
46
- _globals['_CLIENTTELEMETRYEVENT']._serialized_end=1698
47
- _globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_start=1700
48
- _globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_end=1793
49
- _globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_start=1795
50
- _globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_end=1842
51
- _globals['_CLIENTSELECTOREVENT']._serialized_start=1845
52
- _globals['_CLIENTSELECTOREVENT']._serialized_end=2078
53
- _globals['_CLIENTTELEMETRY']._serialized_start=2081
54
- _globals['_CLIENTTELEMETRY']._serialized_end=2358
55
- # @@protoc_insertion_point(module_scope)
@@ -1,99 +0,0 @@
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
-
5
- from query_cache_protobuf.query_cache.services import client_telemetry_service_pb2 as query__cache__protobuf_dot_query__cache_dot_services_dot_client__telemetry__service__pb2
6
-
7
-
8
- class ClientTelemetryStub(object):
9
- """Missing associated documentation comment in .proto file."""
10
-
11
- def __init__(self, channel):
12
- """Constructor.
13
-
14
- Args:
15
- channel: A grpc.Channel.
16
- """
17
- self.RegisterSessionStart = channel.unary_unary(
18
- '/com.fivetran.query_cache.ClientTelemetry/RegisterSessionStart',
19
- request_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_client__telemetry__service__pb2.SessionStartRequest.SerializeToString,
20
- response_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_client__telemetry__service__pb2.SessionStartResponse.FromString,
21
- )
22
- self.SubmitTelemetryBatch = channel.unary_unary(
23
- '/com.fivetran.query_cache.ClientTelemetry/SubmitTelemetryBatch',
24
- request_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_client__telemetry__service__pb2.SubmitTelemetryBatchRequest.SerializeToString,
25
- response_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_client__telemetry__service__pb2.SubmitTelemetryBatchResponse.FromString,
26
- )
27
-
28
-
29
- class ClientTelemetryServicer(object):
30
- """Missing associated documentation comment in .proto file."""
31
-
32
- def RegisterSessionStart(self, request, context):
33
- """Missing associated documentation comment in .proto file."""
34
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
35
- context.set_details('Method not implemented!')
36
- raise NotImplementedError('Method not implemented!')
37
-
38
- def SubmitTelemetryBatch(self, request, context):
39
- """Missing associated documentation comment in .proto file."""
40
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
41
- context.set_details('Method not implemented!')
42
- raise NotImplementedError('Method not implemented!')
43
-
44
-
45
- def add_ClientTelemetryServicer_to_server(servicer, server):
46
- rpc_method_handlers = {
47
- 'RegisterSessionStart': grpc.unary_unary_rpc_method_handler(
48
- servicer.RegisterSessionStart,
49
- request_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_client__telemetry__service__pb2.SessionStartRequest.FromString,
50
- response_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_client__telemetry__service__pb2.SessionStartResponse.SerializeToString,
51
- ),
52
- 'SubmitTelemetryBatch': grpc.unary_unary_rpc_method_handler(
53
- servicer.SubmitTelemetryBatch,
54
- request_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_client__telemetry__service__pb2.SubmitTelemetryBatchRequest.FromString,
55
- response_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_client__telemetry__service__pb2.SubmitTelemetryBatchResponse.SerializeToString,
56
- ),
57
- }
58
- generic_handler = grpc.method_handlers_generic_handler(
59
- 'com.fivetran.query_cache.ClientTelemetry', rpc_method_handlers)
60
- server.add_generic_rpc_handlers((generic_handler,))
61
-
62
-
63
- # This class is part of an EXPERIMENTAL API.
64
- class ClientTelemetry(object):
65
- """Missing associated documentation comment in .proto file."""
66
-
67
- @staticmethod
68
- def RegisterSessionStart(request,
69
- target,
70
- options=(),
71
- channel_credentials=None,
72
- call_credentials=None,
73
- insecure=False,
74
- compression=None,
75
- wait_for_ready=None,
76
- timeout=None,
77
- metadata=None):
78
- return grpc.experimental.unary_unary(request, target, '/com.fivetran.query_cache.ClientTelemetry/RegisterSessionStart',
79
- query__cache__protobuf_dot_query__cache_dot_services_dot_client__telemetry__service__pb2.SessionStartRequest.SerializeToString,
80
- query__cache__protobuf_dot_query__cache_dot_services_dot_client__telemetry__service__pb2.SessionStartResponse.FromString,
81
- options, channel_credentials,
82
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
83
-
84
- @staticmethod
85
- def SubmitTelemetryBatch(request,
86
- target,
87
- options=(),
88
- channel_credentials=None,
89
- call_credentials=None,
90
- insecure=False,
91
- compression=None,
92
- wait_for_ready=None,
93
- timeout=None,
94
- metadata=None):
95
- return grpc.experimental.unary_unary(request, target, '/com.fivetran.query_cache.ClientTelemetry/SubmitTelemetryBatch',
96
- query__cache__protobuf_dot_query__cache_dot_services_dot_client__telemetry__service__pb2.SubmitTelemetryBatchRequest.SerializeToString,
97
- query__cache__protobuf_dot_query__cache_dot_services_dot_client__telemetry__service__pb2.SubmitTelemetryBatchResponse.FromString,
98
- options, channel_credentials,
99
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -1,30 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: query_cache_protobuf/query_cache/services/client_validation_service.proto
4
- # Protobuf Python Version: 4.25.1
5
- """Generated protocol buffer code."""
6
- from google.protobuf import descriptor as _descriptor
7
- from google.protobuf import descriptor_pool as _descriptor_pool
8
- from google.protobuf import symbol_database as _symbol_database
9
- from google.protobuf.internal import builder as _builder
10
- # @@protoc_insertion_point(imports)
11
-
12
- _sym_db = _symbol_database.Default()
13
-
14
-
15
-
16
-
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nIquery_cache_protobuf/query_cache/services/client_validation_service.proto\x12\x18\x63om.fivetran.query_cache\"=\n\x1cValidateClientVersionRequest\x12\x1d\n\x15\x64\x62t_run_cache_version\x18\x01 \x01(\t\"5\n\x1dValidateClientVersionResponse\x12\x14\n\x0cis_supported\x18\x01 \x01(\x08\x32\x9d\x01\n\x10\x43lientValidation\x12\x88\x01\n\x15ValidateClientVersion\x12\x36.com.fivetran.query_cache.ValidateClientVersionRequest\x1a\x37.com.fivetran.query_cache.ValidateClientVersionResponseb\x06proto3')
18
-
19
- _globals = globals()
20
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.client_validation_service_pb2', _globals)
22
- if _descriptor._USE_C_DESCRIPTORS == False:
23
- DESCRIPTOR._options = None
24
- _globals['_VALIDATECLIENTVERSIONREQUEST']._serialized_start=103
25
- _globals['_VALIDATECLIENTVERSIONREQUEST']._serialized_end=164
26
- _globals['_VALIDATECLIENTVERSIONRESPONSE']._serialized_start=166
27
- _globals['_VALIDATECLIENTVERSIONRESPONSE']._serialized_end=219
28
- _globals['_CLIENTVALIDATION']._serialized_start=222
29
- _globals['_CLIENTVALIDATION']._serialized_end=379
30
- # @@protoc_insertion_point(module_scope)
@@ -1,66 +0,0 @@
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
-
5
- from query_cache_protobuf.query_cache.services import client_validation_service_pb2 as query__cache__protobuf_dot_query__cache_dot_services_dot_client__validation__service__pb2
6
-
7
-
8
- class ClientValidationStub(object):
9
- """Missing associated documentation comment in .proto file."""
10
-
11
- def __init__(self, channel):
12
- """Constructor.
13
-
14
- Args:
15
- channel: A grpc.Channel.
16
- """
17
- self.ValidateClientVersion = channel.unary_unary(
18
- '/com.fivetran.query_cache.ClientValidation/ValidateClientVersion',
19
- request_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_client__validation__service__pb2.ValidateClientVersionRequest.SerializeToString,
20
- response_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_client__validation__service__pb2.ValidateClientVersionResponse.FromString,
21
- )
22
-
23
-
24
- class ClientValidationServicer(object):
25
- """Missing associated documentation comment in .proto file."""
26
-
27
- def ValidateClientVersion(self, request, context):
28
- """Missing associated documentation comment in .proto file."""
29
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
30
- context.set_details('Method not implemented!')
31
- raise NotImplementedError('Method not implemented!')
32
-
33
-
34
- def add_ClientValidationServicer_to_server(servicer, server):
35
- rpc_method_handlers = {
36
- 'ValidateClientVersion': grpc.unary_unary_rpc_method_handler(
37
- servicer.ValidateClientVersion,
38
- request_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_client__validation__service__pb2.ValidateClientVersionRequest.FromString,
39
- response_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_client__validation__service__pb2.ValidateClientVersionResponse.SerializeToString,
40
- ),
41
- }
42
- generic_handler = grpc.method_handlers_generic_handler(
43
- 'com.fivetran.query_cache.ClientValidation', rpc_method_handlers)
44
- server.add_generic_rpc_handlers((generic_handler,))
45
-
46
-
47
- # This class is part of an EXPERIMENTAL API.
48
- class ClientValidation(object):
49
- """Missing associated documentation comment in .proto file."""
50
-
51
- @staticmethod
52
- def ValidateClientVersion(request,
53
- target,
54
- options=(),
55
- channel_credentials=None,
56
- call_credentials=None,
57
- insecure=False,
58
- compression=None,
59
- wait_for_ready=None,
60
- timeout=None,
61
- metadata=None):
62
- return grpc.experimental.unary_unary(request, target, '/com.fivetran.query_cache.ClientValidation/ValidateClientVersion',
63
- query__cache__protobuf_dot_query__cache_dot_services_dot_client__validation__service__pb2.ValidateClientVersionRequest.SerializeToString,
64
- query__cache__protobuf_dot_query__cache_dot_services_dot_client__validation__service__pb2.ValidateClientVersionResponse.FromString,
65
- options, channel_credentials,
66
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -1,60 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: query_cache_protobuf/query_cache/services/clone_service.proto
4
- # Protobuf Python Version: 4.25.1
5
- """Generated protocol buffer code."""
6
- from google.protobuf import descriptor as _descriptor
7
- from google.protobuf import descriptor_pool as _descriptor_pool
8
- from google.protobuf import symbol_database as _symbol_database
9
- from google.protobuf.internal import builder as _builder
10
- # @@protoc_insertion_point(imports)
11
-
12
- _sym_db = _symbol_database.Default()
13
-
14
-
15
- from query_cache_protobuf.query_cache import shared_pb2 as query__cache__protobuf_dot_query__cache_dot_shared__pb2
16
- from query_cache_protobuf.query_cache import struct_pb2 as query__cache__protobuf_dot_query__cache_dot_struct__pb2
17
-
18
-
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=query_cache_protobuf/query_cache/services/clone_service.proto\x12\x18\x63om.fivetran.query_cache\x1a-query_cache_protobuf/query_cache/shared.proto\x1a-query_cache_protobuf/query_cache/struct.proto\"\x91\x01\n\x0fTableProperties\x12 \n\x13hours_to_expiration\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12&\n\x19partition_expiration_days\x18\x02 \x01(\x05H\x01\x88\x01\x01\x42\x16\n\x14_hours_to_expirationB\x1c\n\x1a_partition_expiration_days\"\xc2\x05\n\x0c\x43loneRequest\x12\x14\n\x0ctarget_table\x18\x01 \x01(\t\x12\x0f\n\x07\x64ialect\x18\x02 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_catalog\x18\x03 \x01(\t\x12\x44\n\x0e\x65xecution_type\x18\x04 \x01(\x0e\x32,.com.fivetran.query_cache.ModelExecutionType\x12\x1a\n\x12\x63lone_source_table\x18\x05 \x01(\t\x12-\n clone_source_last_modified_epoch\x18\x06 \x01(\x03H\x00\x88\x01\x01\x12\x42\n\x06labels\x18\x07 \x03(\x0b\x32\x32.com.fivetran.query_cache.CloneRequest.LabelsEntry\x12$\n\x17\x63lone_source_table_type\x18\x08 \x01(\tH\x01\x88\x01\x01\x12H\n\x10table_properties\x18\t \x01(\x0b\x32).com.fivetran.query_cache.TablePropertiesH\x02\x88\x01\x01\x12$\n\x17\x63lone_chain_depth_limit\x18\n \x01(\x03H\x03\x88\x01\x01\x12\x1c\n\x0ftable_namespace\x18\x0b \x01(\tH\x04\x88\x01\x01\x12\x1e\n\x11skip_if_unchanged\x18\x0c \x01(\x08H\x05\x88\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42#\n!_clone_source_last_modified_epochB\x1a\n\x18_clone_source_table_typeB\x13\n\x11_table_propertiesB\x1a\n\x18_clone_chain_depth_limitB\x12\n\x10_table_namespaceB\x14\n\x12_skip_if_unchanged\"\xd3\x02\n\rCloneResponse\x12\x46\n\x0eready_to_clone\x18\x03 \x01(\x0b\x32..com.fivetran.query_cache.ReadyToCloneResponse\x12H\n\x0funable_to_clone\x18\x04 \x01(\x0b\x32/.com.fivetran.query_cache.UnableToCloneResponse\x12O\n\x11ready_to_clone_v1\x18\x01 \x01(\x0b\x32..com.fivetran.query_cache.ReadyToCloneResponseB\x02\x18\x01H\x00\x12S\n\x11untrackable_clone\x18\x02 \x01(\x0b\x32\x32.com.fivetran.query_cache.UntrackableCloneResponseB\x02\x18\x01H\x00\x42\n\n\x08response\"\xcb\x05\n\x14ReadyToCloneResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x1f\n\x13last_modified_query\x18\x02 \x01(\tB\x02\x18\x01\x12\x12\n\nclone_sqls\x18\x03 \x03(\t\x12\x14\n\x0c\x63lone_source\x18\x04 \x01(\t\x12\x14\n\x0c\x63lone_target\x18\x05 \x01(\t\x12G\n\x12\x65xplained_decision\x18\x06 \x01(\x0b\x32+.com.fivetran.query_cache.ExplainedDecision\x12o\n\x1atransformed_nodes_by_query\x18\x07 \x03(\x0b\x32K.com.fivetran.query_cache.ReadyToCloneResponse.TransformedNodesByQueryEntry\x12/\n\"clone_required_last_modified_epoch\x18\x08 \x01(\x03H\x00\x88\x01\x01\x12\x41\n\x17\x63lone_execution_results\x18\n \x01(\x0b\x32 .com.fivetran.query_cache.Struct\x12!\n\x14\x65xecution_runtime_ms\x18\x0b \x01(\x03H\x01\x88\x01\x01\x12\"\n\x15\x65xecution_decision_id\x18\x0c \x01(\tH\x02\x88\x01\x01\x1ai\n\x1cTransformedNodesByQueryEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).com.fivetran.query_cache.NodeFuncMapping:\x02\x38\x01\x42%\n#_clone_required_last_modified_epochB\x17\n\x15_execution_runtime_msB\x18\n\x16_execution_decision_idJ\x04\x08\t\x10\n\"\x87\x03\n\x18UntrackableCloneResponse\x12\x12\n\nclone_sqls\x18\x01 \x03(\t\x12\x14\n\x0c\x63lone_source\x18\x02 \x01(\t\x12\x14\n\x0c\x63lone_target\x18\x03 \x01(\t\x12G\n\x12\x65xplained_decision\x18\x04 \x01(\x0b\x32+.com.fivetran.query_cache.ExplainedDecision\x12s\n\x1atransformed_nodes_by_query\x18\x05 \x03(\x0b\x32O.com.fivetran.query_cache.UntrackableCloneResponse.TransformedNodesByQueryEntry\x1ai\n\x1cTransformedNodesByQueryEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32).com.fivetran.query_cache.NodeFuncMapping:\x02\x38\x01:\x02\x18\x01\"\x8c\x01\n\x15UnableToCloneResponse\x12\x14\n\x0c\x63lone_source\x18\x01 \x01(\t\x12\x14\n\x0c\x63lone_target\x18\x02 \x01(\t\x12G\n\x12\x65xplained_decision\x18\x03 \x01(\x0b\x32+.com.fivetran.query_cache.ExplainedDecision2i\n\x05\x43lone\x12`\n\rRegisterClone\x12&.com.fivetran.query_cache.CloneRequest\x1a\'.com.fivetran.query_cache.CloneResponseb\x06proto3')
20
-
21
- _globals = globals()
22
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
23
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.clone_service_pb2', _globals)
24
- if _descriptor._USE_C_DESCRIPTORS == False:
25
- DESCRIPTOR._options = None
26
- _globals['_CLONEREQUEST_LABELSENTRY']._options = None
27
- _globals['_CLONEREQUEST_LABELSENTRY']._serialized_options = b'8\001'
28
- _globals['_CLONERESPONSE'].fields_by_name['ready_to_clone_v1']._options = None
29
- _globals['_CLONERESPONSE'].fields_by_name['ready_to_clone_v1']._serialized_options = b'\030\001'
30
- _globals['_CLONERESPONSE'].fields_by_name['untrackable_clone']._options = None
31
- _globals['_CLONERESPONSE'].fields_by_name['untrackable_clone']._serialized_options = b'\030\001'
32
- _globals['_READYTOCLONERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._options = None
33
- _globals['_READYTOCLONERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_options = b'8\001'
34
- _globals['_READYTOCLONERESPONSE'].fields_by_name['last_modified_query']._options = None
35
- _globals['_READYTOCLONERESPONSE'].fields_by_name['last_modified_query']._serialized_options = b'\030\001'
36
- _globals['_UNTRACKABLECLONERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._options = None
37
- _globals['_UNTRACKABLECLONERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_options = b'8\001'
38
- _globals['_UNTRACKABLECLONERESPONSE']._options = None
39
- _globals['_UNTRACKABLECLONERESPONSE']._serialized_options = b'\030\001'
40
- _globals['_TABLEPROPERTIES']._serialized_start=186
41
- _globals['_TABLEPROPERTIES']._serialized_end=331
42
- _globals['_CLONEREQUEST']._serialized_start=334
43
- _globals['_CLONEREQUEST']._serialized_end=1040
44
- _globals['_CLONEREQUEST_LABELSENTRY']._serialized_start=839
45
- _globals['_CLONEREQUEST_LABELSENTRY']._serialized_end=884
46
- _globals['_CLONERESPONSE']._serialized_start=1043
47
- _globals['_CLONERESPONSE']._serialized_end=1382
48
- _globals['_READYTOCLONERESPONSE']._serialized_start=1385
49
- _globals['_READYTOCLONERESPONSE']._serialized_end=2100
50
- _globals['_READYTOCLONERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_start=1899
51
- _globals['_READYTOCLONERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_end=2004
52
- _globals['_UNTRACKABLECLONERESPONSE']._serialized_start=2103
53
- _globals['_UNTRACKABLECLONERESPONSE']._serialized_end=2494
54
- _globals['_UNTRACKABLECLONERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_start=1899
55
- _globals['_UNTRACKABLECLONERESPONSE_TRANSFORMEDNODESBYQUERYENTRY']._serialized_end=2004
56
- _globals['_UNABLETOCLONERESPONSE']._serialized_start=2497
57
- _globals['_UNABLETOCLONERESPONSE']._serialized_end=2637
58
- _globals['_CLONE']._serialized_start=2639
59
- _globals['_CLONE']._serialized_end=2744
60
- # @@protoc_insertion_point(module_scope)
@@ -1,66 +0,0 @@
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
-
5
- from query_cache_protobuf.query_cache.services import clone_service_pb2 as query__cache__protobuf_dot_query__cache_dot_services_dot_clone__service__pb2
6
-
7
-
8
- class CloneStub(object):
9
- """Missing associated documentation comment in .proto file."""
10
-
11
- def __init__(self, channel):
12
- """Constructor.
13
-
14
- Args:
15
- channel: A grpc.Channel.
16
- """
17
- self.RegisterClone = channel.unary_unary(
18
- '/com.fivetran.query_cache.Clone/RegisterClone',
19
- request_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_clone__service__pb2.CloneRequest.SerializeToString,
20
- response_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_clone__service__pb2.CloneResponse.FromString,
21
- )
22
-
23
-
24
- class CloneServicer(object):
25
- """Missing associated documentation comment in .proto file."""
26
-
27
- def RegisterClone(self, request, context):
28
- """Missing associated documentation comment in .proto file."""
29
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
30
- context.set_details('Method not implemented!')
31
- raise NotImplementedError('Method not implemented!')
32
-
33
-
34
- def add_CloneServicer_to_server(servicer, server):
35
- rpc_method_handlers = {
36
- 'RegisterClone': grpc.unary_unary_rpc_method_handler(
37
- servicer.RegisterClone,
38
- request_deserializer=query__cache__protobuf_dot_query__cache_dot_services_dot_clone__service__pb2.CloneRequest.FromString,
39
- response_serializer=query__cache__protobuf_dot_query__cache_dot_services_dot_clone__service__pb2.CloneResponse.SerializeToString,
40
- ),
41
- }
42
- generic_handler = grpc.method_handlers_generic_handler(
43
- 'com.fivetran.query_cache.Clone', rpc_method_handlers)
44
- server.add_generic_rpc_handlers((generic_handler,))
45
-
46
-
47
- # This class is part of an EXPERIMENTAL API.
48
- class Clone(object):
49
- """Missing associated documentation comment in .proto file."""
50
-
51
- @staticmethod
52
- def RegisterClone(request,
53
- target,
54
- options=(),
55
- channel_credentials=None,
56
- call_credentials=None,
57
- insecure=False,
58
- compression=None,
59
- wait_for_ready=None,
60
- timeout=None,
61
- metadata=None):
62
- return grpc.experimental.unary_unary(request, target, '/com.fivetran.query_cache.Clone/RegisterClone',
63
- query__cache__protobuf_dot_query__cache_dot_services_dot_clone__service__pb2.CloneRequest.SerializeToString,
64
- query__cache__protobuf_dot_query__cache_dot_services_dot_clone__service__pb2.CloneResponse.FromString,
65
- options, channel_credentials,
66
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -1,76 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: query_cache_protobuf/query_cache/services/execution_service.proto
4
- # Protobuf Python Version: 4.25.1
5
- """Generated protocol buffer code."""
6
- from google.protobuf import descriptor as _descriptor
7
- from google.protobuf import descriptor_pool as _descriptor_pool
8
- from google.protobuf import symbol_database as _symbol_database
9
- from google.protobuf.internal import builder as _builder
10
- # @@protoc_insertion_point(imports)
11
-
12
- _sym_db = _symbol_database.Default()
13
-
14
-
15
- from query_cache_protobuf.query_cache import shared_pb2 as query__cache__protobuf_dot_query__cache_dot_shared__pb2
16
- from query_cache_protobuf.query_cache import struct_pb2 as query__cache__protobuf_dot_query__cache_dot_struct__pb2
17
-
18
-
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nAquery_cache_protobuf/query_cache/services/execution_service.proto\x12\x18\x63om.fivetran.query_cache\x1a-query_cache_protobuf/query_cache/shared.proto\x1a-query_cache_protobuf/query_cache/struct.proto\"\xa5\x03\n\x17\x43onfirmExecutionRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12 \n\x13last_modified_epoch\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x17\n\x0f\x66\x61iled_to_clone\x18\x03 \x01(\x08\x12\x17\n\ntable_type\x18\x04 \x01(\tH\x01\x88\x01\x01\x12;\n\x11\x65xecution_results\x18\x06 \x01(\x0b\x32 .com.fivetran.query_cache.Struct\x12!\n\x14\x65xecution_runtime_ms\x18\x07 \x01(\x03H\x02\x88\x01\x01\x12M\n\x06labels\x18\x08 \x03(\x0b\x32=.com.fivetran.query_cache.ConfirmExecutionRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x16\n\x14_last_modified_epochB\r\n\x0b_table_typeB\x17\n\x15_execution_runtime_msJ\x04\x08\x05\x10\x06\"A\n\x18\x43onfirmExecutionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65xecution_id\x18\x02 \x01(\t\"U\n\x17RecordExecutionsRequest\x12:\n\x07records\x18\x01 \x03(\x0b\x32).com.fivetran.query_cache.ExecutionRecord\"\xd4\x01\n\x0f\x45xecutionRecord\x12;\n\x07outcome\x18\x01 \x01(\x0b\x32*.com.fivetran.query_cache.ExecutionOutcome\x12>\n\x0c\x65nriched_sql\x18\x02 \x01(\x0b\x32&.com.fivetran.query_cache.SQLExecutionH\x00\x12;\n\x06values\x18\x03 \x01(\x0b\x32).com.fivetran.query_cache.ValuesExecutionH\x00\x42\x07\n\x05input\"\x95\x06\n\x0cSQLExecution\x12\x19\n\x0ctarget_table\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x0f\n\x07\x64ialect\x18\x02 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_catalog\x18\x03 \x01(\t\x12\x44\n\x0e\x65xecution_type\x18\x04 \x01(\x0e\x32,.com.fivetran.query_cache.ModelExecutionType\x12\x0b\n\x03sql\x18\x05 \x01(\t\x12;\n\x06tables\x18\x06 \x03(\x0b\x32+.com.fivetran.query_cache.TableModifiedInfo\x12\x45\n\x12query_dependencies\x18\x07 \x03(\x0b\x32).com.fivetran.query_cache.QueryDependency\x12S\n\x0fsemantic_extras\x18\x08 \x03(\x0b\x32:.com.fivetran.query_cache.SQLExecution.SemanticExtrasEntry\x12\x42\n\x06labels\x18\t \x03(\x0b\x32\x32.com.fivetran.query_cache.SQLExecution.LabelsEntry\x12\x43\n\x0e\x64\x62t_node_state\x18\n \x01(\x0b\x32&.com.fivetran.query_cache.DbtNodeStateH\x01\x88\x01\x01\x12\x1b\n\x0e\x64\x65\x66\x61ult_schema\x18\x0b \x01(\tH\x02\x88\x01\x01\x12\x1f\n\x17\x66rom_speculative_submit\x18\x0c \x01(\x08\x12\x1c\n\x0ftable_namespace\x18\r \x01(\tH\x03\x88\x01\x01\x1a\x35\n\x13SemanticExtrasEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\r_target_tableB\x11\n\x0f_dbt_node_stateB\x11\n\x0f_default_schemaB\x12\n\x10_table_namespace\"\xf5\x03\n\x0fValuesExecution\x12\x14\n\x0ctarget_table\x18\x01 \x01(\t\x12\x0f\n\x07\x64ialect\x18\x02 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_catalog\x18\x03 \x01(\t\x12\x13\n\x0bvalues_hash\x18\x04 \x01(\t\x12V\n\x0fsemantic_extras\x18\x05 \x03(\x0b\x32=.com.fivetran.query_cache.ValuesExecution.SemanticExtrasEntry\x12\x45\n\x06labels\x18\x06 \x03(\x0b\x32\x35.com.fivetran.query_cache.ValuesExecution.LabelsEntry\x12\x43\n\x0e\x64\x62t_node_state\x18\x07 \x01(\x0b\x32&.com.fivetran.query_cache.DbtNodeStateH\x00\x88\x01\x01\x12\x1c\n\x0ftable_namespace\x18\x0e \x01(\tH\x01\x88\x01\x01\x1a\x35\n\x13SemanticExtrasEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x11\n\x0f_dbt_node_stateB\x12\n\x10_table_namespace\"\xed\x01\n\x10\x45xecutionOutcome\x12 \n\x13last_modified_epoch\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x17\n\ntable_type\x18\x02 \x01(\tH\x01\x88\x01\x01\x12;\n\x11\x65xecution_results\x18\x03 \x01(\x0b\x32 .com.fivetran.query_cache.Struct\x12!\n\x14\x65xecution_runtime_ms\x18\x04 \x01(\x03H\x02\x88\x01\x01\x42\x16\n\x14_last_modified_epochB\r\n\x0b_table_typeB\x17\n\x15_execution_runtime_ms\"2\n\x18RecordExecutionsResponse\x12\x16\n\x0erecords_stored\x18\x01 \x01(\r\"\xa3\x01\n\x1fResolveDeferredRelationsRequest\x12\x14\n\x0cprofile_name\x18\x01 \x01(\t\x12\x13\n\x0btarget_name\x18\x02 \x01(\t\x12\x14\n\x0cproject_name\x18\x03 \x01(\t\x12\x17\n\nproject_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x17\n\x0fnode_unique_ids\x18\x05 \x03(\tB\r\n\x0b_project_id\"\xc1\x01\n ResolveDeferredRelationsResponse\x12g\n\x10\x66qn_by_unique_id\x18\x01 \x03(\x0b\x32M.com.fivetran.query_cache.ResolveDeferredRelationsResponse.FqnByUniqueIdEntry\x1a\x34\n\x12\x46qnByUniqueIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"p\n\x1eUpdateExecutionMetadataRequest\x12\x14\n\x0c\x65xecution_id\x18\x01 \x01(\t\x12 \n\x13last_modified_epoch\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x16\n\x14_last_modified_epoch\"!\n\x1fUpdateExecutionMetadataResponse2\xa6\x04\n\tExecution\x12y\n\x10\x43onfirmExecution\x12\x31.com.fivetran.query_cache.ConfirmExecutionRequest\x1a\x32.com.fivetran.query_cache.ConfirmExecutionResponse\x12y\n\x10RecordExecutions\x12\x31.com.fivetran.query_cache.RecordExecutionsRequest\x1a\x32.com.fivetran.query_cache.RecordExecutionsResponse\x12\x91\x01\n\x18ResolveDeferredRelations\x12\x39.com.fivetran.query_cache.ResolveDeferredRelationsRequest\x1a:.com.fivetran.query_cache.ResolveDeferredRelationsResponse\x12\x8e\x01\n\x17UpdateExecutionMetadata\x12\x38.com.fivetran.query_cache.UpdateExecutionMetadataRequest\x1a\x39.com.fivetran.query_cache.UpdateExecutionMetadataResponseb\x06proto3')
20
-
21
- _globals = globals()
22
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
23
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.execution_service_pb2', _globals)
24
- if _descriptor._USE_C_DESCRIPTORS == False:
25
- DESCRIPTOR._options = None
26
- _globals['_CONFIRMEXECUTIONREQUEST_LABELSENTRY']._options = None
27
- _globals['_CONFIRMEXECUTIONREQUEST_LABELSENTRY']._serialized_options = b'8\001'
28
- _globals['_SQLEXECUTION_SEMANTICEXTRASENTRY']._options = None
29
- _globals['_SQLEXECUTION_SEMANTICEXTRASENTRY']._serialized_options = b'8\001'
30
- _globals['_SQLEXECUTION_LABELSENTRY']._options = None
31
- _globals['_SQLEXECUTION_LABELSENTRY']._serialized_options = b'8\001'
32
- _globals['_VALUESEXECUTION_SEMANTICEXTRASENTRY']._options = None
33
- _globals['_VALUESEXECUTION_SEMANTICEXTRASENTRY']._serialized_options = b'8\001'
34
- _globals['_VALUESEXECUTION_LABELSENTRY']._options = None
35
- _globals['_VALUESEXECUTION_LABELSENTRY']._serialized_options = b'8\001'
36
- _globals['_RESOLVEDEFERREDRELATIONSRESPONSE_FQNBYUNIQUEIDENTRY']._options = None
37
- _globals['_RESOLVEDEFERREDRELATIONSRESPONSE_FQNBYUNIQUEIDENTRY']._serialized_options = b'8\001'
38
- _globals['_CONFIRMEXECUTIONREQUEST']._serialized_start=190
39
- _globals['_CONFIRMEXECUTIONREQUEST']._serialized_end=611
40
- _globals['_CONFIRMEXECUTIONREQUEST_LABELSENTRY']._serialized_start=496
41
- _globals['_CONFIRMEXECUTIONREQUEST_LABELSENTRY']._serialized_end=541
42
- _globals['_CONFIRMEXECUTIONRESPONSE']._serialized_start=613
43
- _globals['_CONFIRMEXECUTIONRESPONSE']._serialized_end=678
44
- _globals['_RECORDEXECUTIONSREQUEST']._serialized_start=680
45
- _globals['_RECORDEXECUTIONSREQUEST']._serialized_end=765
46
- _globals['_EXECUTIONRECORD']._serialized_start=768
47
- _globals['_EXECUTIONRECORD']._serialized_end=980
48
- _globals['_SQLEXECUTION']._serialized_start=983
49
- _globals['_SQLEXECUTION']._serialized_end=1772
50
- _globals['_SQLEXECUTION_SEMANTICEXTRASENTRY']._serialized_start=1597
51
- _globals['_SQLEXECUTION_SEMANTICEXTRASENTRY']._serialized_end=1650
52
- _globals['_SQLEXECUTION_LABELSENTRY']._serialized_start=496
53
- _globals['_SQLEXECUTION_LABELSENTRY']._serialized_end=541
54
- _globals['_VALUESEXECUTION']._serialized_start=1775
55
- _globals['_VALUESEXECUTION']._serialized_end=2276
56
- _globals['_VALUESEXECUTION_SEMANTICEXTRASENTRY']._serialized_start=1597
57
- _globals['_VALUESEXECUTION_SEMANTICEXTRASENTRY']._serialized_end=1650
58
- _globals['_VALUESEXECUTION_LABELSENTRY']._serialized_start=496
59
- _globals['_VALUESEXECUTION_LABELSENTRY']._serialized_end=541
60
- _globals['_EXECUTIONOUTCOME']._serialized_start=2279
61
- _globals['_EXECUTIONOUTCOME']._serialized_end=2516
62
- _globals['_RECORDEXECUTIONSRESPONSE']._serialized_start=2518
63
- _globals['_RECORDEXECUTIONSRESPONSE']._serialized_end=2568
64
- _globals['_RESOLVEDEFERREDRELATIONSREQUEST']._serialized_start=2571
65
- _globals['_RESOLVEDEFERREDRELATIONSREQUEST']._serialized_end=2734
66
- _globals['_RESOLVEDEFERREDRELATIONSRESPONSE']._serialized_start=2737
67
- _globals['_RESOLVEDEFERREDRELATIONSRESPONSE']._serialized_end=2930
68
- _globals['_RESOLVEDEFERREDRELATIONSRESPONSE_FQNBYUNIQUEIDENTRY']._serialized_start=2878
69
- _globals['_RESOLVEDEFERREDRELATIONSRESPONSE_FQNBYUNIQUEIDENTRY']._serialized_end=2930
70
- _globals['_UPDATEEXECUTIONMETADATAREQUEST']._serialized_start=2932
71
- _globals['_UPDATEEXECUTIONMETADATAREQUEST']._serialized_end=3044
72
- _globals['_UPDATEEXECUTIONMETADATARESPONSE']._serialized_start=3046
73
- _globals['_UPDATEEXECUTIONMETADATARESPONSE']._serialized_end=3079
74
- _globals['_EXECUTION']._serialized_start=3082
75
- _globals['_EXECUTION']._serialized_end=3632
76
- # @@protoc_insertion_point(module_scope)