query-cache-protobuf 2.0.0__tar.gz → 2.2.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 (90) hide show
  1. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/PKG-INFO +1 -1
  2. query_cache_protobuf-2.2.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +55 -0
  3. query_cache_protobuf-2.2.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2.py +34 -0
  4. query_cache_protobuf-2.2.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +65 -0
  5. query_cache_protobuf-2.2.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2.py +44 -0
  6. query_cache_protobuf-2.2.0/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +65 -0
  7. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.pyi +41 -3
  8. query_cache_protobuf-2.2.0/src/query_cache_protobuf/query_cache/services/selector_service_pb2.py +44 -0
  9. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2.pyi +4 -1
  10. query_cache_protobuf-2.0.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -52
  11. query_cache_protobuf-2.0.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -34
  12. query_cache_protobuf-2.0.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -62
  13. query_cache_protobuf-2.0.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -44
  14. query_cache_protobuf-2.0.0/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -62
  15. query_cache_protobuf-2.0.0/src/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -44
  16. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/.gitignore +0 -0
  17. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/pyproject.toml +0 -0
  18. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/__init__.py +0 -0
  19. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/__init__.py +0 -0
  20. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/__init__.py +0 -0
  21. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/__init__.py +0 -0
  22. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/__init__.py +0 -0
  23. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
  24. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
  25. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
  26. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
  27. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
  28. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
  29. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
  30. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
  31. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
  32. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
  33. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
  34. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
  35. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -0
  36. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
  37. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2.py +0 -0
  38. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
  39. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
  40. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
  41. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/__init__.py +0 -0
  42. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/__init__.py +0 -0
  43. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/__init__.py +0 -0
  44. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/__init__.py +0 -0
  45. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
  46. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
  47. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
  48. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
  49. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
  50. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
  51. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
  52. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
  53. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
  54. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
  55. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
  56. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
  57. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -0
  58. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
  59. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2.py +0 -0
  60. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
  61. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
  62. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
  63. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/__init__.py +0 -0
  64. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/__init__.py +0 -0
  65. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
  66. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
  67. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.pyi +0 -0
  68. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
  69. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
  70. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.pyi +0 -0
  71. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
  72. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
  73. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2.pyi +0 -0
  74. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
  75. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
  76. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.pyi +0 -0
  77. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
  78. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
  79. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.pyi +0 -0
  80. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
  81. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
  82. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -0
  83. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2.pyi +0 -0
  84. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
  85. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/shared_pb2.py +0 -0
  86. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/shared_pb2.pyi +0 -0
  87. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
  88. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
  89. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/struct_pb2.pyi +0 -0
  90. {query_cache_protobuf-2.0.0 → query_cache_protobuf-2.2.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.0.0
3
+ Version: 2.2.0
4
4
  Summary: Generated protobuf code for Query Cache
5
5
  License:
6
6
  Apache License
@@ -0,0 +1,55 @@
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)
@@ -0,0 +1,34 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: query_cache_protobuf/query_cache/services/selector_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'\n@query_cache_protobuf/query_cache/services/selector_service.proto\x12\x18\x63om.fivetran.query_cache\"\xc6\x01\n\x0fSelectorRequest\x12\x0e\n\x06target\x18\x01 \x01(\t\x12\x45\n\x11selector_criteria\x18\x02 \x01(\x0e\x32*.com.fivetran.query_cache.SelectorCriteria\x12\x12\n\nproject_id\x18\x03 \x01(\t\x12\x34\n\x05nodes\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.DbtNodeData\x12\x12\n\nrequest_id\x18\x05 \x01(\t\"+\n\x10SelectorResponse\x12\x17\n\x0fnode_unique_ids\x18\x01 \x03(\t\"\xaa\x03\n\x0b\x44\x62tNodeData\x12\x16\n\x0enode_unique_id\x18\x01 \x01(\t\x12\x11\n\tnode_hash\x18\x02 \x01(\t\x12\x1b\n\x0enode_body_hash\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11node_configs_hash\x18\x04 \x01(\tH\x01\x88\x01\x01\x12-\n node_persisted_descriptions_hash\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10node_macros_hash\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12node_contract_hash\x18\x07 \x01(\tH\x04\x88\x01\x01\x12)\n\x1cnode_database_representation\x18\x08 \x01(\tH\x05\x88\x01\x01\x42\x11\n\x0f_node_body_hashB\x14\n\x12_node_configs_hashB#\n!_node_persisted_descriptions_hashB\x13\n\x11_node_macros_hashB\x15\n\x13_node_contract_hashB\x1f\n\x1d_node_database_representation*\xb1\x01\n\x10SelectorCriteria\x12\x12\n\x0eSC_UNSPECIFIED\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\x12\x07\n\x03NEW\x10\x02\x12\x0e\n\nUNMODIFIED\x10\x03\x12\x07\n\x03OLD\x10\x04\x12\x08\n\x04\x42ODY\x10\x05\x12\x0b\n\x07\x43ONFIGS\x10\x06\x12\x0c\n\x08RELATION\x10\x07\x12\x1a\n\x16PERSISTED_DESCRIPTIONS\x10\x08\x12\n\n\x06MACROS\x10\t\x12\x0c\n\x08\x43ONTRACT\x10\n2}\n\x0fSelectorService\x12j\n\x11GetStateSelection\x12).com.fivetran.query_cache.SelectorRequest\x1a*.com.fivetran.query_cache.SelectorResponseb\x06proto3')
18
+
19
+ _globals = globals()
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.selector_service_pb2', _globals)
22
+ if _descriptor._USE_C_DESCRIPTORS == False:
23
+ DESCRIPTOR._options = None
24
+ _globals['_SELECTORCRITERIA']._serialized_start=770
25
+ _globals['_SELECTORCRITERIA']._serialized_end=947
26
+ _globals['_SELECTORREQUEST']._serialized_start=95
27
+ _globals['_SELECTORREQUEST']._serialized_end=293
28
+ _globals['_SELECTORRESPONSE']._serialized_start=295
29
+ _globals['_SELECTORRESPONSE']._serialized_end=338
30
+ _globals['_DBTNODEDATA']._serialized_start=341
31
+ _globals['_DBTNODEDATA']._serialized_end=767
32
+ _globals['_SELECTORSERVICE']._serialized_start=949
33
+ _globals['_SELECTORSERVICE']._serialized_end=1074
34
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,65 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: query_cache_protobuf/query_cache/services/client_telemetry_service.proto
5
+ # Protobuf Python Version: 5.29.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 29,
16
+ 0,
17
+ '',
18
+ 'query_cache_protobuf/query_cache/services/client_telemetry_service.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
26
+ from query_cache_protobuf.query_cache import struct_pb2 as query__cache__protobuf_dot_query__cache_dot_struct__pb2
27
+ from query_cache_protobuf.query_cache.services import selector_service_pb2 as query__cache__protobuf_dot_query__cache_dot_services_dot_selector__service__pb2
28
+
29
+
30
+ 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')
31
+
32
+ _globals = globals()
33
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.client_telemetry_service_pb2', _globals)
35
+ if not _descriptor._USE_C_DESCRIPTORS:
36
+ DESCRIPTOR._loaded_options = None
37
+ _globals['_SESSIONSTARTRESPONSE']._loaded_options = None
38
+ _globals['_SESSIONSTARTRESPONSE']._serialized_options = b'\030\001'
39
+ _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._loaded_options = None
40
+ _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_options = b'8\001'
41
+ _globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._loaded_options = None
42
+ _globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._serialized_options = b'\210\002\001'
43
+ _globals['_SESSIONSTARTREQUEST']._serialized_start=248
44
+ _globals['_SESSIONSTARTREQUEST']._serialized_end=402
45
+ _globals['_SESSIONSTARTRESPONSE']._serialized_start=404
46
+ _globals['_SESSIONSTARTRESPONSE']._serialized_end=467
47
+ _globals['_SESSIONENDREQUEST']._serialized_start=470
48
+ _globals['_SESSIONENDREQUEST']._serialized_end=752
49
+ _globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_start=697
50
+ _globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_end=752
51
+ _globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_start=755
52
+ _globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_end=1308
53
+ _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_start=1119
54
+ _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_end=1164
55
+ _globals['_CLIENTTELEMETRYEVENT']._serialized_start=1311
56
+ _globals['_CLIENTTELEMETRYEVENT']._serialized_end=1698
57
+ _globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_start=1700
58
+ _globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_end=1793
59
+ _globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_start=1795
60
+ _globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_end=1842
61
+ _globals['_CLIENTSELECTOREVENT']._serialized_start=1845
62
+ _globals['_CLIENTSELECTOREVENT']._serialized_end=2078
63
+ _globals['_CLIENTTELEMETRY']._serialized_start=2081
64
+ _globals['_CLIENTTELEMETRY']._serialized_end=2358
65
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,44 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: query_cache_protobuf/query_cache/services/selector_service.proto
5
+ # Protobuf Python Version: 5.29.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 29,
16
+ 0,
17
+ '',
18
+ 'query_cache_protobuf/query_cache/services/selector_service.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n@query_cache_protobuf/query_cache/services/selector_service.proto\x12\x18\x63om.fivetran.query_cache\"\xc6\x01\n\x0fSelectorRequest\x12\x0e\n\x06target\x18\x01 \x01(\t\x12\x45\n\x11selector_criteria\x18\x02 \x01(\x0e\x32*.com.fivetran.query_cache.SelectorCriteria\x12\x12\n\nproject_id\x18\x03 \x01(\t\x12\x34\n\x05nodes\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.DbtNodeData\x12\x12\n\nrequest_id\x18\x05 \x01(\t\"+\n\x10SelectorResponse\x12\x17\n\x0fnode_unique_ids\x18\x01 \x03(\t\"\xaa\x03\n\x0b\x44\x62tNodeData\x12\x16\n\x0enode_unique_id\x18\x01 \x01(\t\x12\x11\n\tnode_hash\x18\x02 \x01(\t\x12\x1b\n\x0enode_body_hash\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11node_configs_hash\x18\x04 \x01(\tH\x01\x88\x01\x01\x12-\n node_persisted_descriptions_hash\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10node_macros_hash\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12node_contract_hash\x18\x07 \x01(\tH\x04\x88\x01\x01\x12)\n\x1cnode_database_representation\x18\x08 \x01(\tH\x05\x88\x01\x01\x42\x11\n\x0f_node_body_hashB\x14\n\x12_node_configs_hashB#\n!_node_persisted_descriptions_hashB\x13\n\x11_node_macros_hashB\x15\n\x13_node_contract_hashB\x1f\n\x1d_node_database_representation*\xb1\x01\n\x10SelectorCriteria\x12\x12\n\x0eSC_UNSPECIFIED\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\x12\x07\n\x03NEW\x10\x02\x12\x0e\n\nUNMODIFIED\x10\x03\x12\x07\n\x03OLD\x10\x04\x12\x08\n\x04\x42ODY\x10\x05\x12\x0b\n\x07\x43ONFIGS\x10\x06\x12\x0c\n\x08RELATION\x10\x07\x12\x1a\n\x16PERSISTED_DESCRIPTIONS\x10\x08\x12\n\n\x06MACROS\x10\t\x12\x0c\n\x08\x43ONTRACT\x10\n2}\n\x0fSelectorService\x12j\n\x11GetStateSelection\x12).com.fivetran.query_cache.SelectorRequest\x1a*.com.fivetran.query_cache.SelectorResponseb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.selector_service_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ DESCRIPTOR._loaded_options = None
34
+ _globals['_SELECTORCRITERIA']._serialized_start=770
35
+ _globals['_SELECTORCRITERIA']._serialized_end=947
36
+ _globals['_SELECTORREQUEST']._serialized_start=95
37
+ _globals['_SELECTORREQUEST']._serialized_end=293
38
+ _globals['_SELECTORRESPONSE']._serialized_start=295
39
+ _globals['_SELECTORRESPONSE']._serialized_end=338
40
+ _globals['_DBTNODEDATA']._serialized_start=341
41
+ _globals['_DBTNODEDATA']._serialized_end=767
42
+ _globals['_SELECTORSERVICE']._serialized_start=949
43
+ _globals['_SELECTORSERVICE']._serialized_end=1074
44
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,65 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: query_cache_protobuf/query_cache/services/client_telemetry_service.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'query_cache_protobuf/query_cache/services/client_telemetry_service.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
26
+ from query_cache_protobuf.query_cache import struct_pb2 as query__cache__protobuf_dot_query__cache_dot_struct__pb2
27
+ from query_cache_protobuf.query_cache.services import selector_service_pb2 as query__cache__protobuf_dot_query__cache_dot_services_dot_selector__service__pb2
28
+
29
+
30
+ 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')
31
+
32
+ _globals = globals()
33
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.client_telemetry_service_pb2', _globals)
35
+ if not _descriptor._USE_C_DESCRIPTORS:
36
+ DESCRIPTOR._loaded_options = None
37
+ _globals['_SESSIONSTARTRESPONSE']._loaded_options = None
38
+ _globals['_SESSIONSTARTRESPONSE']._serialized_options = b'\030\001'
39
+ _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._loaded_options = None
40
+ _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_options = b'8\001'
41
+ _globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._loaded_options = None
42
+ _globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._serialized_options = b'\210\002\001'
43
+ _globals['_SESSIONSTARTREQUEST']._serialized_start=248
44
+ _globals['_SESSIONSTARTREQUEST']._serialized_end=402
45
+ _globals['_SESSIONSTARTRESPONSE']._serialized_start=404
46
+ _globals['_SESSIONSTARTRESPONSE']._serialized_end=467
47
+ _globals['_SESSIONENDREQUEST']._serialized_start=470
48
+ _globals['_SESSIONENDREQUEST']._serialized_end=752
49
+ _globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_start=697
50
+ _globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_end=752
51
+ _globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_start=755
52
+ _globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_end=1308
53
+ _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_start=1119
54
+ _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_end=1164
55
+ _globals['_CLIENTTELEMETRYEVENT']._serialized_start=1311
56
+ _globals['_CLIENTTELEMETRYEVENT']._serialized_end=1698
57
+ _globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_start=1700
58
+ _globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_end=1793
59
+ _globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_start=1795
60
+ _globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_end=1842
61
+ _globals['_CLIENTSELECTOREVENT']._serialized_start=1845
62
+ _globals['_CLIENTSELECTOREVENT']._serialized_end=2078
63
+ _globals['_CLIENTTELEMETRY']._serialized_start=2081
64
+ _globals['_CLIENTTELEMETRY']._serialized_end=2358
65
+ # @@protoc_insertion_point(module_scope)
@@ -10,6 +10,7 @@ import google.protobuf.duration_pb2
10
10
  import google.protobuf.internal.containers
11
11
  import google.protobuf.internal.enum_type_wrapper
12
12
  import google.protobuf.message
13
+ import query_cache_protobuf.query_cache.services.selector_service_pb2
13
14
  import query_cache_protobuf.query_cache.struct_pb2
14
15
  import sys
15
16
  import typing
@@ -200,6 +201,7 @@ class ClientTelemetryEvent(google.protobuf.message.Message):
200
201
  ENRICHED_SQL_PREPARED_FIELD_NUMBER: builtins.int
201
202
  SESSION_START_FIELD_NUMBER: builtins.int
202
203
  SESSION_END_FIELD_NUMBER: builtins.int
204
+ CLIENT_SELECTOR_EVENT_FIELD_NUMBER: builtins.int
203
205
  EVENT_ORDER_FIELD_NUMBER: builtins.int
204
206
  event_order: builtins.int
205
207
  @property
@@ -212,20 +214,23 @@ class ClientTelemetryEvent(google.protobuf.message.Message):
212
214
  future event payloads should be called FooEvent, not FooRequest
213
215
  """
214
216
 
217
+ @property
218
+ def client_selector_event(self) -> global___ClientSelectorEvent: ...
215
219
  def __init__(
216
220
  self,
217
221
  *,
218
222
  enriched_sql_prepared: global___ClientPrepareEnrichedSQLRequest | None = ...,
219
223
  session_start: global___SessionStartRequest | None = ...,
220
224
  session_end: global___SessionEndRequest | None = ...,
225
+ client_selector_event: global___ClientSelectorEvent | None = ...,
221
226
  event_order: builtins.int | None = ...,
222
227
  ) -> None: ...
223
- def HasField(self, field_name: typing.Literal["_event_order", b"_event_order", "enriched_sql_prepared", b"enriched_sql_prepared", "event_order", b"event_order", "request", b"request", "session_end", b"session_end", "session_start", b"session_start"]) -> builtins.bool: ...
224
- def ClearField(self, field_name: typing.Literal["_event_order", b"_event_order", "enriched_sql_prepared", b"enriched_sql_prepared", "event_order", b"event_order", "request", b"request", "session_end", b"session_end", "session_start", b"session_start"]) -> None: ...
228
+ def HasField(self, field_name: typing.Literal["_event_order", b"_event_order", "client_selector_event", b"client_selector_event", "enriched_sql_prepared", b"enriched_sql_prepared", "event_order", b"event_order", "request", b"request", "session_end", b"session_end", "session_start", b"session_start"]) -> builtins.bool: ...
229
+ def ClearField(self, field_name: typing.Literal["_event_order", b"_event_order", "client_selector_event", b"client_selector_event", "enriched_sql_prepared", b"enriched_sql_prepared", "event_order", b"event_order", "request", b"request", "session_end", b"session_end", "session_start", b"session_start"]) -> None: ...
225
230
  @typing.overload
226
231
  def WhichOneof(self, oneof_group: typing.Literal["_event_order", b"_event_order"]) -> typing.Literal["event_order"] | None: ...
227
232
  @typing.overload
228
- def WhichOneof(self, oneof_group: typing.Literal["request", b"request"]) -> typing.Literal["enriched_sql_prepared", "session_start", "session_end"] | None: ...
233
+ def WhichOneof(self, oneof_group: typing.Literal["request", b"request"]) -> typing.Literal["enriched_sql_prepared", "session_start", "session_end", "client_selector_event"] | None: ...
229
234
 
230
235
  global___ClientTelemetryEvent = ClientTelemetryEvent
231
236
 
@@ -259,3 +264,36 @@ class SubmitTelemetryBatchResponse(google.protobuf.message.Message):
259
264
  def ClearField(self, field_name: typing.Literal["success", b"success"]) -> None: ...
260
265
 
261
266
  global___SubmitTelemetryBatchResponse = SubmitTelemetryBatchResponse
267
+
268
+ @typing.final
269
+ class ClientSelectorEvent(google.protobuf.message.Message):
270
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
271
+
272
+ REQUEST_ID_FIELD_NUMBER: builtins.int
273
+ PROJECT_ID_FIELD_NUMBER: builtins.int
274
+ DBT_TARGET_FIELD_NUMBER: builtins.int
275
+ SELECTOR_CRITERIA_FIELD_NUMBER: builtins.int
276
+ NUM_NODES_FIELD_NUMBER: builtins.int
277
+ PROCESSING_TIME_MS_FIELD_NUMBER: builtins.int
278
+ HASH_CALCULATION_TIME_MS_FIELD_NUMBER: builtins.int
279
+ request_id: builtins.str
280
+ project_id: builtins.str
281
+ dbt_target: builtins.str
282
+ selector_criteria: query_cache_protobuf.query_cache.services.selector_service_pb2.SelectorCriteria.ValueType
283
+ num_nodes: builtins.int
284
+ processing_time_ms: builtins.int
285
+ hash_calculation_time_ms: builtins.int
286
+ def __init__(
287
+ self,
288
+ *,
289
+ request_id: builtins.str = ...,
290
+ project_id: builtins.str = ...,
291
+ dbt_target: builtins.str = ...,
292
+ selector_criteria: query_cache_protobuf.query_cache.services.selector_service_pb2.SelectorCriteria.ValueType = ...,
293
+ num_nodes: builtins.int = ...,
294
+ processing_time_ms: builtins.int = ...,
295
+ hash_calculation_time_ms: builtins.int = ...,
296
+ ) -> None: ...
297
+ def ClearField(self, field_name: typing.Literal["dbt_target", b"dbt_target", "hash_calculation_time_ms", b"hash_calculation_time_ms", "num_nodes", b"num_nodes", "processing_time_ms", b"processing_time_ms", "project_id", b"project_id", "request_id", b"request_id", "selector_criteria", b"selector_criteria"]) -> None: ...
298
+
299
+ global___ClientSelectorEvent = ClientSelectorEvent
@@ -0,0 +1,44 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: query_cache_protobuf/query_cache/services/selector_service.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'query_cache_protobuf/query_cache/services/selector_service.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n@query_cache_protobuf/query_cache/services/selector_service.proto\x12\x18\x63om.fivetran.query_cache\"\xc6\x01\n\x0fSelectorRequest\x12\x0e\n\x06target\x18\x01 \x01(\t\x12\x45\n\x11selector_criteria\x18\x02 \x01(\x0e\x32*.com.fivetran.query_cache.SelectorCriteria\x12\x12\n\nproject_id\x18\x03 \x01(\t\x12\x34\n\x05nodes\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.DbtNodeData\x12\x12\n\nrequest_id\x18\x05 \x01(\t\"+\n\x10SelectorResponse\x12\x17\n\x0fnode_unique_ids\x18\x01 \x03(\t\"\xaa\x03\n\x0b\x44\x62tNodeData\x12\x16\n\x0enode_unique_id\x18\x01 \x01(\t\x12\x11\n\tnode_hash\x18\x02 \x01(\t\x12\x1b\n\x0enode_body_hash\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11node_configs_hash\x18\x04 \x01(\tH\x01\x88\x01\x01\x12-\n node_persisted_descriptions_hash\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10node_macros_hash\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12node_contract_hash\x18\x07 \x01(\tH\x04\x88\x01\x01\x12)\n\x1cnode_database_representation\x18\x08 \x01(\tH\x05\x88\x01\x01\x42\x11\n\x0f_node_body_hashB\x14\n\x12_node_configs_hashB#\n!_node_persisted_descriptions_hashB\x13\n\x11_node_macros_hashB\x15\n\x13_node_contract_hashB\x1f\n\x1d_node_database_representation*\xb1\x01\n\x10SelectorCriteria\x12\x12\n\x0eSC_UNSPECIFIED\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\x12\x07\n\x03NEW\x10\x02\x12\x0e\n\nUNMODIFIED\x10\x03\x12\x07\n\x03OLD\x10\x04\x12\x08\n\x04\x42ODY\x10\x05\x12\x0b\n\x07\x43ONFIGS\x10\x06\x12\x0c\n\x08RELATION\x10\x07\x12\x1a\n\x16PERSISTED_DESCRIPTIONS\x10\x08\x12\n\n\x06MACROS\x10\t\x12\x0c\n\x08\x43ONTRACT\x10\n2}\n\x0fSelectorService\x12j\n\x11GetStateSelection\x12).com.fivetran.query_cache.SelectorRequest\x1a*.com.fivetran.query_cache.SelectorResponseb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.selector_service_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ DESCRIPTOR._loaded_options = None
34
+ _globals['_SELECTORCRITERIA']._serialized_start=770
35
+ _globals['_SELECTORCRITERIA']._serialized_end=947
36
+ _globals['_SELECTORREQUEST']._serialized_start=95
37
+ _globals['_SELECTORREQUEST']._serialized_end=293
38
+ _globals['_SELECTORRESPONSE']._serialized_start=295
39
+ _globals['_SELECTORRESPONSE']._serialized_end=338
40
+ _globals['_DBTNODEDATA']._serialized_start=341
41
+ _globals['_DBTNODEDATA']._serialized_end=767
42
+ _globals['_SELECTORSERVICE']._serialized_start=949
43
+ _globals['_SELECTORSERVICE']._serialized_end=1074
44
+ # @@protoc_insertion_point(module_scope)
@@ -60,9 +60,11 @@ class SelectorRequest(google.protobuf.message.Message):
60
60
  SELECTOR_CRITERIA_FIELD_NUMBER: builtins.int
61
61
  PROJECT_ID_FIELD_NUMBER: builtins.int
62
62
  NODES_FIELD_NUMBER: builtins.int
63
+ REQUEST_ID_FIELD_NUMBER: builtins.int
63
64
  target: builtins.str
64
65
  selector_criteria: global___SelectorCriteria.ValueType
65
66
  project_id: builtins.str
67
+ request_id: builtins.str
66
68
  @property
67
69
  def nodes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DbtNodeData]: ...
68
70
  def __init__(
@@ -72,8 +74,9 @@ class SelectorRequest(google.protobuf.message.Message):
72
74
  selector_criteria: global___SelectorCriteria.ValueType = ...,
73
75
  project_id: builtins.str = ...,
74
76
  nodes: collections.abc.Iterable[global___DbtNodeData] | None = ...,
77
+ request_id: builtins.str = ...,
75
78
  ) -> None: ...
76
- def ClearField(self, field_name: typing.Literal["nodes", b"nodes", "project_id", b"project_id", "selector_criteria", b"selector_criteria", "target", b"target"]) -> None: ...
79
+ def ClearField(self, field_name: typing.Literal["nodes", b"nodes", "project_id", b"project_id", "request_id", b"request_id", "selector_criteria", b"selector_criteria", "target", b"target"]) -> None: ...
77
80
 
78
81
  global___SelectorRequest = SelectorRequest
79
82
 
@@ -1,52 +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
-
18
-
19
- 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\"\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\"\xb3\x02\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\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\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')
20
-
21
- _globals = globals()
22
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
23
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.client_telemetry_service_pb2', _globals)
24
- if _descriptor._USE_C_DESCRIPTORS == False:
25
- DESCRIPTOR._options = None
26
- _globals['_SESSIONSTARTRESPONSE']._options = None
27
- _globals['_SESSIONSTARTRESPONSE']._serialized_options = b'\030\001'
28
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._options = None
29
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_options = b'8\001'
30
- _globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._options = None
31
- _globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._serialized_options = b'\210\002\001'
32
- _globals['_SESSIONSTARTREQUEST']._serialized_start=182
33
- _globals['_SESSIONSTARTREQUEST']._serialized_end=336
34
- _globals['_SESSIONSTARTRESPONSE']._serialized_start=338
35
- _globals['_SESSIONSTARTRESPONSE']._serialized_end=401
36
- _globals['_SESSIONENDREQUEST']._serialized_start=404
37
- _globals['_SESSIONENDREQUEST']._serialized_end=686
38
- _globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_start=631
39
- _globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_end=686
40
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_start=689
41
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_end=1242
42
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_start=1053
43
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_end=1098
44
- _globals['_CLIENTTELEMETRYEVENT']._serialized_start=1245
45
- _globals['_CLIENTTELEMETRYEVENT']._serialized_end=1552
46
- _globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_start=1554
47
- _globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_end=1647
48
- _globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_start=1649
49
- _globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_end=1696
50
- _globals['_CLIENTTELEMETRY']._serialized_start=1699
51
- _globals['_CLIENTTELEMETRY']._serialized_end=1976
52
- # @@protoc_insertion_point(module_scope)
@@ -1,34 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: query_cache_protobuf/query_cache/services/selector_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'\n@query_cache_protobuf/query_cache/services/selector_service.proto\x12\x18\x63om.fivetran.query_cache\"\xb2\x01\n\x0fSelectorRequest\x12\x0e\n\x06target\x18\x01 \x01(\t\x12\x45\n\x11selector_criteria\x18\x02 \x01(\x0e\x32*.com.fivetran.query_cache.SelectorCriteria\x12\x12\n\nproject_id\x18\x03 \x01(\t\x12\x34\n\x05nodes\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.DbtNodeData\"+\n\x10SelectorResponse\x12\x17\n\x0fnode_unique_ids\x18\x01 \x03(\t\"\xaa\x03\n\x0b\x44\x62tNodeData\x12\x16\n\x0enode_unique_id\x18\x01 \x01(\t\x12\x11\n\tnode_hash\x18\x02 \x01(\t\x12\x1b\n\x0enode_body_hash\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11node_configs_hash\x18\x04 \x01(\tH\x01\x88\x01\x01\x12-\n node_persisted_descriptions_hash\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10node_macros_hash\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12node_contract_hash\x18\x07 \x01(\tH\x04\x88\x01\x01\x12)\n\x1cnode_database_representation\x18\x08 \x01(\tH\x05\x88\x01\x01\x42\x11\n\x0f_node_body_hashB\x14\n\x12_node_configs_hashB#\n!_node_persisted_descriptions_hashB\x13\n\x11_node_macros_hashB\x15\n\x13_node_contract_hashB\x1f\n\x1d_node_database_representation*\xb1\x01\n\x10SelectorCriteria\x12\x12\n\x0eSC_UNSPECIFIED\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\x12\x07\n\x03NEW\x10\x02\x12\x0e\n\nUNMODIFIED\x10\x03\x12\x07\n\x03OLD\x10\x04\x12\x08\n\x04\x42ODY\x10\x05\x12\x0b\n\x07\x43ONFIGS\x10\x06\x12\x0c\n\x08RELATION\x10\x07\x12\x1a\n\x16PERSISTED_DESCRIPTIONS\x10\x08\x12\n\n\x06MACROS\x10\t\x12\x0c\n\x08\x43ONTRACT\x10\n2}\n\x0fSelectorService\x12j\n\x11GetStateSelection\x12).com.fivetran.query_cache.SelectorRequest\x1a*.com.fivetran.query_cache.SelectorResponseb\x06proto3')
18
-
19
- _globals = globals()
20
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.selector_service_pb2', _globals)
22
- if _descriptor._USE_C_DESCRIPTORS == False:
23
- DESCRIPTOR._options = None
24
- _globals['_SELECTORCRITERIA']._serialized_start=750
25
- _globals['_SELECTORCRITERIA']._serialized_end=927
26
- _globals['_SELECTORREQUEST']._serialized_start=95
27
- _globals['_SELECTORREQUEST']._serialized_end=273
28
- _globals['_SELECTORRESPONSE']._serialized_start=275
29
- _globals['_SELECTORRESPONSE']._serialized_end=318
30
- _globals['_DBTNODEDATA']._serialized_start=321
31
- _globals['_DBTNODEDATA']._serialized_end=747
32
- _globals['_SELECTORSERVICE']._serialized_start=929
33
- _globals['_SELECTORSERVICE']._serialized_end=1054
34
- # @@protoc_insertion_point(module_scope)
@@ -1,62 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: query_cache_protobuf/query_cache/services/client_telemetry_service.proto
5
- # Protobuf Python Version: 5.29.0
6
- """Generated protocol buffer code."""
7
- from google.protobuf import descriptor as _descriptor
8
- from google.protobuf import descriptor_pool as _descriptor_pool
9
- from google.protobuf import runtime_version as _runtime_version
10
- from google.protobuf import symbol_database as _symbol_database
11
- from google.protobuf.internal import builder as _builder
12
- _runtime_version.ValidateProtobufRuntimeVersion(
13
- _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 0,
17
- '',
18
- 'query_cache_protobuf/query_cache/services/client_telemetry_service.proto'
19
- )
20
- # @@protoc_insertion_point(imports)
21
-
22
- _sym_db = _symbol_database.Default()
23
-
24
-
25
- from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
26
- from query_cache_protobuf.query_cache import struct_pb2 as query__cache__protobuf_dot_query__cache_dot_struct__pb2
27
-
28
-
29
- 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\"\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\"\xb3\x02\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\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\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')
30
-
31
- _globals = globals()
32
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.client_telemetry_service_pb2', _globals)
34
- if not _descriptor._USE_C_DESCRIPTORS:
35
- DESCRIPTOR._loaded_options = None
36
- _globals['_SESSIONSTARTRESPONSE']._loaded_options = None
37
- _globals['_SESSIONSTARTRESPONSE']._serialized_options = b'\030\001'
38
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._loaded_options = None
39
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_options = b'8\001'
40
- _globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._loaded_options = None
41
- _globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._serialized_options = b'\210\002\001'
42
- _globals['_SESSIONSTARTREQUEST']._serialized_start=182
43
- _globals['_SESSIONSTARTREQUEST']._serialized_end=336
44
- _globals['_SESSIONSTARTRESPONSE']._serialized_start=338
45
- _globals['_SESSIONSTARTRESPONSE']._serialized_end=401
46
- _globals['_SESSIONENDREQUEST']._serialized_start=404
47
- _globals['_SESSIONENDREQUEST']._serialized_end=686
48
- _globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_start=631
49
- _globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_end=686
50
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_start=689
51
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_end=1242
52
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_start=1053
53
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_end=1098
54
- _globals['_CLIENTTELEMETRYEVENT']._serialized_start=1245
55
- _globals['_CLIENTTELEMETRYEVENT']._serialized_end=1552
56
- _globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_start=1554
57
- _globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_end=1647
58
- _globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_start=1649
59
- _globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_end=1696
60
- _globals['_CLIENTTELEMETRY']._serialized_start=1699
61
- _globals['_CLIENTTELEMETRY']._serialized_end=1976
62
- # @@protoc_insertion_point(module_scope)
@@ -1,44 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: query_cache_protobuf/query_cache/services/selector_service.proto
5
- # Protobuf Python Version: 5.29.0
6
- """Generated protocol buffer code."""
7
- from google.protobuf import descriptor as _descriptor
8
- from google.protobuf import descriptor_pool as _descriptor_pool
9
- from google.protobuf import runtime_version as _runtime_version
10
- from google.protobuf import symbol_database as _symbol_database
11
- from google.protobuf.internal import builder as _builder
12
- _runtime_version.ValidateProtobufRuntimeVersion(
13
- _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 0,
17
- '',
18
- 'query_cache_protobuf/query_cache/services/selector_service.proto'
19
- )
20
- # @@protoc_insertion_point(imports)
21
-
22
- _sym_db = _symbol_database.Default()
23
-
24
-
25
-
26
-
27
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n@query_cache_protobuf/query_cache/services/selector_service.proto\x12\x18\x63om.fivetran.query_cache\"\xb2\x01\n\x0fSelectorRequest\x12\x0e\n\x06target\x18\x01 \x01(\t\x12\x45\n\x11selector_criteria\x18\x02 \x01(\x0e\x32*.com.fivetran.query_cache.SelectorCriteria\x12\x12\n\nproject_id\x18\x03 \x01(\t\x12\x34\n\x05nodes\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.DbtNodeData\"+\n\x10SelectorResponse\x12\x17\n\x0fnode_unique_ids\x18\x01 \x03(\t\"\xaa\x03\n\x0b\x44\x62tNodeData\x12\x16\n\x0enode_unique_id\x18\x01 \x01(\t\x12\x11\n\tnode_hash\x18\x02 \x01(\t\x12\x1b\n\x0enode_body_hash\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11node_configs_hash\x18\x04 \x01(\tH\x01\x88\x01\x01\x12-\n node_persisted_descriptions_hash\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10node_macros_hash\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12node_contract_hash\x18\x07 \x01(\tH\x04\x88\x01\x01\x12)\n\x1cnode_database_representation\x18\x08 \x01(\tH\x05\x88\x01\x01\x42\x11\n\x0f_node_body_hashB\x14\n\x12_node_configs_hashB#\n!_node_persisted_descriptions_hashB\x13\n\x11_node_macros_hashB\x15\n\x13_node_contract_hashB\x1f\n\x1d_node_database_representation*\xb1\x01\n\x10SelectorCriteria\x12\x12\n\x0eSC_UNSPECIFIED\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\x12\x07\n\x03NEW\x10\x02\x12\x0e\n\nUNMODIFIED\x10\x03\x12\x07\n\x03OLD\x10\x04\x12\x08\n\x04\x42ODY\x10\x05\x12\x0b\n\x07\x43ONFIGS\x10\x06\x12\x0c\n\x08RELATION\x10\x07\x12\x1a\n\x16PERSISTED_DESCRIPTIONS\x10\x08\x12\n\n\x06MACROS\x10\t\x12\x0c\n\x08\x43ONTRACT\x10\n2}\n\x0fSelectorService\x12j\n\x11GetStateSelection\x12).com.fivetran.query_cache.SelectorRequest\x1a*.com.fivetran.query_cache.SelectorResponseb\x06proto3')
28
-
29
- _globals = globals()
30
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.selector_service_pb2', _globals)
32
- if not _descriptor._USE_C_DESCRIPTORS:
33
- DESCRIPTOR._loaded_options = None
34
- _globals['_SELECTORCRITERIA']._serialized_start=750
35
- _globals['_SELECTORCRITERIA']._serialized_end=927
36
- _globals['_SELECTORREQUEST']._serialized_start=95
37
- _globals['_SELECTORREQUEST']._serialized_end=273
38
- _globals['_SELECTORRESPONSE']._serialized_start=275
39
- _globals['_SELECTORRESPONSE']._serialized_end=318
40
- _globals['_DBTNODEDATA']._serialized_start=321
41
- _globals['_DBTNODEDATA']._serialized_end=747
42
- _globals['_SELECTORSERVICE']._serialized_start=929
43
- _globals['_SELECTORSERVICE']._serialized_end=1054
44
- # @@protoc_insertion_point(module_scope)
@@ -1,62 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: query_cache_protobuf/query_cache/services/client_telemetry_service.proto
5
- # Protobuf Python Version: 6.31.1
6
- """Generated protocol buffer code."""
7
- from google.protobuf import descriptor as _descriptor
8
- from google.protobuf import descriptor_pool as _descriptor_pool
9
- from google.protobuf import runtime_version as _runtime_version
10
- from google.protobuf import symbol_database as _symbol_database
11
- from google.protobuf.internal import builder as _builder
12
- _runtime_version.ValidateProtobufRuntimeVersion(
13
- _runtime_version.Domain.PUBLIC,
14
- 6,
15
- 31,
16
- 1,
17
- '',
18
- 'query_cache_protobuf/query_cache/services/client_telemetry_service.proto'
19
- )
20
- # @@protoc_insertion_point(imports)
21
-
22
- _sym_db = _symbol_database.Default()
23
-
24
-
25
- from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
26
- from query_cache_protobuf.query_cache import struct_pb2 as query__cache__protobuf_dot_query__cache_dot_struct__pb2
27
-
28
-
29
- 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\"\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\"\xb3\x02\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\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\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')
30
-
31
- _globals = globals()
32
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.client_telemetry_service_pb2', _globals)
34
- if not _descriptor._USE_C_DESCRIPTORS:
35
- DESCRIPTOR._loaded_options = None
36
- _globals['_SESSIONSTARTRESPONSE']._loaded_options = None
37
- _globals['_SESSIONSTARTRESPONSE']._serialized_options = b'\030\001'
38
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._loaded_options = None
39
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_options = b'8\001'
40
- _globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._loaded_options = None
41
- _globals['_CLIENTTELEMETRY'].methods_by_name['RegisterSessionStart']._serialized_options = b'\210\002\001'
42
- _globals['_SESSIONSTARTREQUEST']._serialized_start=182
43
- _globals['_SESSIONSTARTREQUEST']._serialized_end=336
44
- _globals['_SESSIONSTARTRESPONSE']._serialized_start=338
45
- _globals['_SESSIONSTARTRESPONSE']._serialized_end=401
46
- _globals['_SESSIONENDREQUEST']._serialized_start=404
47
- _globals['_SESSIONENDREQUEST']._serialized_end=686
48
- _globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_start=631
49
- _globals['_SESSIONENDREQUEST_CLIENTRESULT']._serialized_end=686
50
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_start=689
51
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST']._serialized_end=1242
52
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_start=1053
53
- _globals['_CLIENTPREPAREENRICHEDSQLREQUEST_LABELSENTRY']._serialized_end=1098
54
- _globals['_CLIENTTELEMETRYEVENT']._serialized_start=1245
55
- _globals['_CLIENTTELEMETRYEVENT']._serialized_end=1552
56
- _globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_start=1554
57
- _globals['_SUBMITTELEMETRYBATCHREQUEST']._serialized_end=1647
58
- _globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_start=1649
59
- _globals['_SUBMITTELEMETRYBATCHRESPONSE']._serialized_end=1696
60
- _globals['_CLIENTTELEMETRY']._serialized_start=1699
61
- _globals['_CLIENTTELEMETRY']._serialized_end=1976
62
- # @@protoc_insertion_point(module_scope)
@@ -1,44 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: query_cache_protobuf/query_cache/services/selector_service.proto
5
- # Protobuf Python Version: 6.31.1
6
- """Generated protocol buffer code."""
7
- from google.protobuf import descriptor as _descriptor
8
- from google.protobuf import descriptor_pool as _descriptor_pool
9
- from google.protobuf import runtime_version as _runtime_version
10
- from google.protobuf import symbol_database as _symbol_database
11
- from google.protobuf.internal import builder as _builder
12
- _runtime_version.ValidateProtobufRuntimeVersion(
13
- _runtime_version.Domain.PUBLIC,
14
- 6,
15
- 31,
16
- 1,
17
- '',
18
- 'query_cache_protobuf/query_cache/services/selector_service.proto'
19
- )
20
- # @@protoc_insertion_point(imports)
21
-
22
- _sym_db = _symbol_database.Default()
23
-
24
-
25
-
26
-
27
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n@query_cache_protobuf/query_cache/services/selector_service.proto\x12\x18\x63om.fivetran.query_cache\"\xb2\x01\n\x0fSelectorRequest\x12\x0e\n\x06target\x18\x01 \x01(\t\x12\x45\n\x11selector_criteria\x18\x02 \x01(\x0e\x32*.com.fivetran.query_cache.SelectorCriteria\x12\x12\n\nproject_id\x18\x03 \x01(\t\x12\x34\n\x05nodes\x18\x04 \x03(\x0b\x32%.com.fivetran.query_cache.DbtNodeData\"+\n\x10SelectorResponse\x12\x17\n\x0fnode_unique_ids\x18\x01 \x03(\t\"\xaa\x03\n\x0b\x44\x62tNodeData\x12\x16\n\x0enode_unique_id\x18\x01 \x01(\t\x12\x11\n\tnode_hash\x18\x02 \x01(\t\x12\x1b\n\x0enode_body_hash\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11node_configs_hash\x18\x04 \x01(\tH\x01\x88\x01\x01\x12-\n node_persisted_descriptions_hash\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10node_macros_hash\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x1f\n\x12node_contract_hash\x18\x07 \x01(\tH\x04\x88\x01\x01\x12)\n\x1cnode_database_representation\x18\x08 \x01(\tH\x05\x88\x01\x01\x42\x11\n\x0f_node_body_hashB\x14\n\x12_node_configs_hashB#\n!_node_persisted_descriptions_hashB\x13\n\x11_node_macros_hashB\x15\n\x13_node_contract_hashB\x1f\n\x1d_node_database_representation*\xb1\x01\n\x10SelectorCriteria\x12\x12\n\x0eSC_UNSPECIFIED\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\x12\x07\n\x03NEW\x10\x02\x12\x0e\n\nUNMODIFIED\x10\x03\x12\x07\n\x03OLD\x10\x04\x12\x08\n\x04\x42ODY\x10\x05\x12\x0b\n\x07\x43ONFIGS\x10\x06\x12\x0c\n\x08RELATION\x10\x07\x12\x1a\n\x16PERSISTED_DESCRIPTIONS\x10\x08\x12\n\n\x06MACROS\x10\t\x12\x0c\n\x08\x43ONTRACT\x10\n2}\n\x0fSelectorService\x12j\n\x11GetStateSelection\x12).com.fivetran.query_cache.SelectorRequest\x1a*.com.fivetran.query_cache.SelectorResponseb\x06proto3')
28
-
29
- _globals = globals()
30
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'query_cache_protobuf.query_cache.services.selector_service_pb2', _globals)
32
- if not _descriptor._USE_C_DESCRIPTORS:
33
- DESCRIPTOR._loaded_options = None
34
- _globals['_SELECTORCRITERIA']._serialized_start=750
35
- _globals['_SELECTORCRITERIA']._serialized_end=927
36
- _globals['_SELECTORREQUEST']._serialized_start=95
37
- _globals['_SELECTORREQUEST']._serialized_end=273
38
- _globals['_SELECTORRESPONSE']._serialized_start=275
39
- _globals['_SELECTORRESPONSE']._serialized_end=318
40
- _globals['_DBTNODEDATA']._serialized_start=321
41
- _globals['_DBTNODEDATA']._serialized_end=747
42
- _globals['_SELECTORSERVICE']._serialized_start=929
43
- _globals['_SELECTORSERVICE']._serialized_end=1054
44
- # @@protoc_insertion_point(module_scope)