query-cache-protobuf 2.1.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.
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/PKG-INFO +1 -1
- query_cache_protobuf-2.2.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +55 -0
- query_cache_protobuf-2.2.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +65 -0
- query_cache_protobuf-2.2.0/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +65 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.pyi +41 -3
- query_cache_protobuf-2.1.0/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -52
- query_cache_protobuf-2.1.0/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -62
- query_cache_protobuf-2.1.0/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2.py +0 -62
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/.gitignore +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/pyproject.toml +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto4/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.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
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/_proto5/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/__init__.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/client_telemetry_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/client_validation_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/clone_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/execution_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/explain_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/health_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/selector_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2.pyi +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/services/sql_service_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/shared_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/shared_pb2.pyi +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/shared_pb2_grpc.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/struct_pb2.py +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/struct_pb2.pyi +0 -0
- {query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/query_cache/struct_pb2_grpc.py +0 -0
|
@@ -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,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,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
|
|
@@ -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,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,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)
|
|
File without changes
|
|
File without changes
|
{query_cache_protobuf-2.1.0 → query_cache_protobuf-2.2.0}/src/query_cache_protobuf/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|