snowflake-connector-python 5.2.0__cp315-cp315-win_amd64.whl
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.
- snowflake/connector/__init__.py +148 -0
- snowflake/connector/_common/__init__.py +0 -0
- snowflake/connector/_common/extras.py +134 -0
- snowflake/connector/_common/telemetry.py +221 -0
- snowflake/connector/_common/wif_util.py +92 -0
- snowflake/connector/_core/sf_core_python.cp315-win_amd64.pyd +0 -0
- snowflake/connector/_core/sf_core_python.pyi +79 -0
- snowflake/connector/_internal/__init__.py +6 -0
- snowflake/connector/_internal/_private_key_helper.py +31 -0
- snowflake/connector/_internal/api_client/__init__.py +93 -0
- snowflake/connector/_internal/api_client/bridge.py +41 -0
- snowflake/connector/_internal/api_client/client_api.py +976 -0
- snowflake/connector/_internal/arrow.py +47 -0
- snowflake/connector/_internal/arrow_context.py +240 -0
- snowflake/connector/_internal/arrow_stream_async.py +266 -0
- snowflake/connector/_internal/arrow_stream_iterator.cp311-win_amd64.pyd +0 -0
- snowflake/connector/_internal/arrow_stream_iterator.cp312-win_amd64.pyd +0 -0
- snowflake/connector/_internal/arrow_stream_iterator.cp313-win_amd64.pyd +0 -0
- snowflake/connector/_internal/arrow_stream_iterator.cp314-win_amd64.pyd +0 -0
- snowflake/connector/_internal/arrow_stream_iterator.cp314t-win_amd64.pyd +0 -0
- snowflake/connector/_internal/arrow_stream_iterator.cp315-win_amd64.pyd +0 -0
- snowflake/connector/_internal/arrow_stream_iterator.pyi +42 -0
- snowflake/connector/_internal/arrow_stream_utils.py +171 -0
- snowflake/connector/_internal/authenticator_type.py +53 -0
- snowflake/connector/_internal/backward_compatibility.py +245 -0
- snowflake/connector/_internal/binding_converters.py +741 -0
- snowflake/connector/_internal/config_utils.py +71 -0
- snowflake/connector/_internal/connection/__init__.py +39 -0
- snowflake/connector/_internal/connection/connection.py +616 -0
- snowflake/connector/_internal/connection/connection_types.py +13 -0
- snowflake/connector/_internal/connection/constants.py +25 -0
- snowflake/connector/_internal/connection/decorators.py +31 -0
- snowflake/connector/_internal/connection/freezable_proxy.py +104 -0
- snowflake/connector/_internal/connection/queries.py +10 -0
- snowflake/connector/_internal/connection_config_mixin.py +755 -0
- snowflake/connector/_internal/cursor/__init__.py +25 -0
- snowflake/connector/_internal/cursor/base.py +732 -0
- snowflake/connector/_internal/cursor/cursor_types.py +13 -0
- snowflake/connector/_internal/cursor/decorators.py +56 -0
- snowflake/connector/_internal/cursor/query_result.py +202 -0
- snowflake/connector/_internal/cursor/query_result_waiter.py +98 -0
- snowflake/connector/_internal/cursor/result_metadata.py +255 -0
- snowflake/connector/_internal/cursor/result_set_wrapper.py +66 -0
- snowflake/connector/_internal/decorators.py +539 -0
- snowflake/connector/_internal/error_kinds.py +111 -0
- snowflake/connector/_internal/errorcode.py +35 -0
- snowflake/connector/_internal/errorhandler.py +278 -0
- snowflake/connector/_internal/fips.py +28 -0
- snowflake/connector/_internal/logging/__init__.py +52 -0
- snowflake/connector/_internal/logging/config.py +134 -0
- snowflake/connector/_internal/logging/core_logger.py +218 -0
- snowflake/connector/_internal/logging/native_extension_logger.py +144 -0
- snowflake/connector/_internal/logout_config_mapping.py +187 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/ArrayConverter.cpp +57 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/ArrayConverter.hpp +29 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/ArrowTableConverter.cpp +943 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/ArrowTableConverter.hpp +63 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/BinaryConverter.cpp +18 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/BinaryConverter.hpp +26 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/BooleanConverter.cpp +21 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/BooleanConverter.hpp +23 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/CArrowIterator.cpp +118 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/CArrowIterator.hpp +116 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/CArrowStreamIterator.cpp +323 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/CArrowStreamIterator.hpp +133 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/CArrowStreamTableIterator.cpp +275 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/CArrowStreamTableIterator.hpp +168 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/ConverterUtil.cpp +439 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/ConverterUtil.hpp +30 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/DateConverter.cpp +48 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/DateConverter.hpp +46 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/DecFloatConverter.cpp +76 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/DecFloatConverter.hpp +35 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/DecimalConverter.cpp +90 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/DecimalConverter.hpp +63 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/FixedSizeListConverter.cpp +62 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/FixedSizeListConverter.hpp +28 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/FloatConverter.cpp +29 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/FloatConverter.hpp +35 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/IColumnConverter.hpp +17 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/IntConverter.cpp +23 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/IntConverter.hpp +41 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/IntervalConverter.cpp +65 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/IntervalConverter.hpp +54 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/LICENSE.txt +209 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/MapConverter.cpp +79 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/MapConverter.hpp +30 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/ObjectConverter.cpp +52 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/ObjectConverter.hpp +29 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/Python/Common.cpp +8 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/Python/Common.hpp +117 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/Python/Helpers.cpp +54 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/Python/Helpers.hpp +34 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/SnowflakeType.cpp +33 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/SnowflakeType.hpp +48 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/StringConverter.cpp +18 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/StringConverter.hpp +26 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/TimeConverter.cpp +39 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/TimeConverter.hpp +31 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/TimeStampConverter.cpp +326 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/TimeStampConverter.hpp +138 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/Util/macros.hpp +14 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/Util/time.cpp +65 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/Util/time.hpp +68 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/arrow_stream_iterator.cpp +13278 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/arrow_stream_iterator.pyx +204 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/flatcc_accessors.h +109 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/flatcc_alloc.h +125 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/flatcc_assert.h +45 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/flatcc_builder.h +1914 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/flatcc_emitter.h +208 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/flatcc_endian.h +128 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/flatcc_epilogue.h +7 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/flatcc_flatbuffers.h +58 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/flatcc_identifier.h +144 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/flatcc_iov.h +31 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/flatcc_prologue.h +8 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/flatcc_refmap.h +144 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/flatcc_rtconfig.h +160 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/flatcc_types.h +98 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/flatcc_verifier.h +243 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/flatcc_portable.h +14 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/paligned_alloc.h +207 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/pattributes.h +80 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/pdiagnostic.h +83 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/pdiagnostic_pop.h +20 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/pdiagnostic_push.h +51 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/pendian.h +201 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/pendian_detect.h +108 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/pinline.h +19 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/pinttypes.h +52 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/portable.h +2 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/portable_basic.h +25 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/pstatic_assert.h +67 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/pstdalign.h +164 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/pstdint.h +926 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/punaligned.h +182 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/pversion.h +6 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc/portable/pwarnings.h +52 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/flatcc.c +3052 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/nanoarrow.c +3019 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/nanoarrow.h +3354 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/nanoarrow.hpp +344 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/nanoarrow_ipc.c +29305 -0
- snowflake/connector/_internal/nanoarrow_cpp/ArrowIterator/nanoarrow_ipc.h +381 -0
- snowflake/connector/_internal/nanoarrow_cpp/Logging/logging.cpp +108 -0
- snowflake/connector/_internal/nanoarrow_cpp/Logging/logging.hpp +47 -0
- snowflake/connector/_internal/nanoarrow_cpp/scripts/.clang-format +8 -0
- snowflake/connector/_internal/nanoarrow_cpp/scripts/format.sh +8 -0
- snowflake/connector/_internal/protobuf_gen/__init__.py +0 -0
- snowflake/connector/_internal/protobuf_gen/database_driver_v1_pb2.py +408 -0
- snowflake/connector/_internal/protobuf_gen/database_driver_v1_pb2.pyi +4487 -0
- snowflake/connector/_internal/protobuf_gen/database_driver_v1_services.py +2088 -0
- snowflake/connector/_internal/protobuf_gen/proto_exception.py +17 -0
- snowflake/connector/_internal/result_batch.py +150 -0
- snowflake/connector/_internal/snowflake_restful.py +222 -0
- snowflake/connector/_internal/snowpark_backcompat_helpers.py +31 -0
- snowflake/connector/_internal/sqlstate.py +11 -0
- snowflake/connector/_internal/statement_utils.py +207 -0
- snowflake/connector/_internal/text_utils.py +112 -0
- snowflake/connector/_internal/type_codes.py +139 -0
- snowflake/connector/_internal/utils.py +65 -0
- snowflake/connector/_internal/write_pandas_operation.py +657 -0
- snowflake/connector/aio/README.md +168 -0
- snowflake/connector/aio/__init__.py +37 -0
- snowflake/connector/aio/connection/__init__.py +17 -0
- snowflake/connector/aio/connection/_connection.py +506 -0
- snowflake/connector/aio/cursor/__init__.py +35 -0
- snowflake/connector/aio/cursor/_base.py +1034 -0
- snowflake/connector/aio/cursor/_dict_cursor.py +78 -0
- snowflake/connector/aio/cursor/_result_set_wrapper.py +35 -0
- snowflake/connector/aio/cursor/_snowflake_cursor.py +72 -0
- snowflake/connector/aio/pandas_tools.py +279 -0
- snowflake/connector/aio/result_batch.py +165 -0
- snowflake/connector/auth/__init__.py +0 -0
- snowflake/connector/auth/workload_identity.py +5 -0
- snowflake/connector/compat.py +22 -0
- snowflake/connector/config_manager.py +392 -0
- snowflake/connector/connection/__init__.py +30 -0
- snowflake/connector/connection/_connection.py +641 -0
- snowflake/connector/connection_config.py +517 -0
- snowflake/connector/constants.py +52 -0
- snowflake/connector/cursor/__init__.py +37 -0
- snowflake/connector/cursor/_base.py +1169 -0
- snowflake/connector/cursor/_chunked_download_reader.py +75 -0
- snowflake/connector/cursor/_dict_cursor.py +78 -0
- snowflake/connector/cursor/_result_set_wrapper.py +35 -0
- snowflake/connector/cursor/_snowflake_cursor.py +72 -0
- snowflake/connector/description.py +7 -0
- snowflake/connector/errors.py +492 -0
- snowflake/connector/network.py +71 -0
- snowflake/connector/pandas_tools.py +191 -0
- snowflake/connector/py.typed +0 -0
- snowflake/connector/result_batch.py +216 -0
- snowflake/connector/telemetry.py +40 -0
- snowflake/connector/time_util.py +11 -0
- snowflake/connector/types.py +134 -0
- snowflake/connector/util_text.py +3 -0
- snowflake/connector/version.py +23 -0
- snowflake_connector_python-5.2.0.dist-info/DELVEWHEEL +2 -0
- snowflake_connector_python-5.2.0.dist-info/METADATA +190 -0
- snowflake_connector_python-5.2.0.dist-info/RECORD +204 -0
- snowflake_connector_python-5.2.0.dist-info/WHEEL +4 -0
- snowflake_connector_python.libs/msvcp140-a4c2229bdc2a2a630acdc095b4d86008.dll +0 -0
|
@@ -0,0 +1,4487 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from collections import abc as _abc
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pb2 as _descriptor_pb2
|
|
9
|
+
from google.protobuf import message as _message
|
|
10
|
+
from google.protobuf.internal import containers as _containers
|
|
11
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
12
|
+
from google.protobuf.internal import extension_dict as _extension_dict
|
|
13
|
+
import builtins as _builtins
|
|
14
|
+
import sys
|
|
15
|
+
import typing as _typing
|
|
16
|
+
|
|
17
|
+
if sys.version_info >= (3, 11):
|
|
18
|
+
from typing import TypeAlias as _TypeAlias, Never as _Never
|
|
19
|
+
else:
|
|
20
|
+
from typing_extensions import TypeAlias as _TypeAlias, Never as _Never
|
|
21
|
+
|
|
22
|
+
if sys.version_info >= (3, 13):
|
|
23
|
+
from warnings import deprecated as _deprecated
|
|
24
|
+
else:
|
|
25
|
+
from typing_extensions import deprecated as _deprecated
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
28
|
+
|
|
29
|
+
class _ErrorKind:
|
|
30
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
31
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
32
|
+
|
|
33
|
+
class _ErrorKindEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_ErrorKind.ValueType], _builtins.type):
|
|
34
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
35
|
+
ERROR_KIND_UNSPECIFIED: _ErrorKind.ValueType # 0
|
|
36
|
+
ERROR_KIND_AUTHENTICATION_ERROR: _ErrorKind.ValueType # 1
|
|
37
|
+
ERROR_KIND_NOT_IMPLEMENTED: _ErrorKind.ValueType # 2
|
|
38
|
+
ERROR_KIND_INVALID_ARGUMENT: _ErrorKind.ValueType # 3
|
|
39
|
+
ERROR_KIND_IO: _ErrorKind.ValueType # 4
|
|
40
|
+
ERROR_KIND_CANCELLED: _ErrorKind.ValueType # 5
|
|
41
|
+
ERROR_KIND_INTERNAL_ERROR: _ErrorKind.ValueType # 6
|
|
42
|
+
"""driver invariant violation (locks, parse, spool)"""
|
|
43
|
+
ERROR_KIND_MISSING_PARAMETER: _ErrorKind.ValueType # 7
|
|
44
|
+
ERROR_KIND_INVALID_PARAMETER_VALUE: _ErrorKind.ValueType # 8
|
|
45
|
+
ERROR_KIND_LOGIN_ERROR: _ErrorKind.ValueType # 9
|
|
46
|
+
ERROR_KIND_LOCAL_FILE_NOT_FOUND: _ErrorKind.ValueType # 10
|
|
47
|
+
ERROR_KIND_REMOTE_FILE_NOT_FOUND: _ErrorKind.ValueType # 11
|
|
48
|
+
ERROR_KIND_UNSUPPORTED_COMPRESSION: _ErrorKind.ValueType # 12
|
|
49
|
+
ERROR_KIND_QUERY_FAILED: _ErrorKind.ValueType # 13
|
|
50
|
+
"""Snowflake query failure (syntax, missing object, ...)"""
|
|
51
|
+
ERROR_KIND_TIMEOUT: _ErrorKind.ValueType # 14
|
|
52
|
+
ERROR_KIND_STAGE_BINDING: _ErrorKind.ValueType # 15
|
|
53
|
+
|
|
54
|
+
class ErrorKind(_ErrorKind, metaclass=_ErrorKindEnumTypeWrapper):
|
|
55
|
+
"""classifies a DriverException, wrappers dispatch on `DriverException.kind`."""
|
|
56
|
+
|
|
57
|
+
ERROR_KIND_UNSPECIFIED: ErrorKind.ValueType # 0
|
|
58
|
+
ERROR_KIND_AUTHENTICATION_ERROR: ErrorKind.ValueType # 1
|
|
59
|
+
ERROR_KIND_NOT_IMPLEMENTED: ErrorKind.ValueType # 2
|
|
60
|
+
ERROR_KIND_INVALID_ARGUMENT: ErrorKind.ValueType # 3
|
|
61
|
+
ERROR_KIND_IO: ErrorKind.ValueType # 4
|
|
62
|
+
ERROR_KIND_CANCELLED: ErrorKind.ValueType # 5
|
|
63
|
+
ERROR_KIND_INTERNAL_ERROR: ErrorKind.ValueType # 6
|
|
64
|
+
"""driver invariant violation (locks, parse, spool)"""
|
|
65
|
+
ERROR_KIND_MISSING_PARAMETER: ErrorKind.ValueType # 7
|
|
66
|
+
ERROR_KIND_INVALID_PARAMETER_VALUE: ErrorKind.ValueType # 8
|
|
67
|
+
ERROR_KIND_LOGIN_ERROR: ErrorKind.ValueType # 9
|
|
68
|
+
ERROR_KIND_LOCAL_FILE_NOT_FOUND: ErrorKind.ValueType # 10
|
|
69
|
+
ERROR_KIND_REMOTE_FILE_NOT_FOUND: ErrorKind.ValueType # 11
|
|
70
|
+
ERROR_KIND_UNSUPPORTED_COMPRESSION: ErrorKind.ValueType # 12
|
|
71
|
+
ERROR_KIND_QUERY_FAILED: ErrorKind.ValueType # 13
|
|
72
|
+
"""Snowflake query failure (syntax, missing object, ...)"""
|
|
73
|
+
ERROR_KIND_TIMEOUT: ErrorKind.ValueType # 14
|
|
74
|
+
ERROR_KIND_STAGE_BINDING: ErrorKind.ValueType # 15
|
|
75
|
+
Global___ErrorKind: _TypeAlias = ErrorKind # noqa: Y015
|
|
76
|
+
|
|
77
|
+
class _IoClass:
|
|
78
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
79
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
80
|
+
|
|
81
|
+
class _IoClassEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_IoClass.ValueType], _builtins.type):
|
|
82
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
83
|
+
IO_CLASS_UNSPECIFIED: _IoClass.ValueType # 0
|
|
84
|
+
IO_CLASS_GENERIC: _IoClass.ValueType # 1
|
|
85
|
+
IO_CLASS_NETWORK: _IoClass.ValueType # 2
|
|
86
|
+
IO_CLASS_FILE_UPLOAD: _IoClass.ValueType # 3
|
|
87
|
+
IO_CLASS_FILE_DOWNLOAD: _IoClass.ValueType # 4
|
|
88
|
+
IO_CLASS_NO_SPACE_LEFT: _IoClass.ValueType # 5
|
|
89
|
+
|
|
90
|
+
class IoClass(_IoClass, metaclass=_IoClassEnumTypeWrapper):
|
|
91
|
+
"""Distinguishes ERROR_KIND_IO failures that share one kind but different
|
|
92
|
+
legacy JDBC vendor codes. Unset when kind is not ERROR_KIND_IO, and when
|
|
93
|
+
an I/O failure has no JDBC vendor code.
|
|
94
|
+
"""
|
|
95
|
+
|
|
96
|
+
IO_CLASS_UNSPECIFIED: IoClass.ValueType # 0
|
|
97
|
+
IO_CLASS_GENERIC: IoClass.ValueType # 1
|
|
98
|
+
IO_CLASS_NETWORK: IoClass.ValueType # 2
|
|
99
|
+
IO_CLASS_FILE_UPLOAD: IoClass.ValueType # 3
|
|
100
|
+
IO_CLASS_FILE_DOWNLOAD: IoClass.ValueType # 4
|
|
101
|
+
IO_CLASS_NO_SPACE_LEFT: IoClass.ValueType # 5
|
|
102
|
+
Global___IoClass: _TypeAlias = IoClass # noqa: Y015
|
|
103
|
+
|
|
104
|
+
class _InfoCode:
|
|
105
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
106
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
107
|
+
|
|
108
|
+
class _InfoCodeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_InfoCode.ValueType], _builtins.type):
|
|
109
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
110
|
+
INFO_CODE_UNSPECIFIED: _InfoCode.ValueType # 0
|
|
111
|
+
INFO_CODE_VENDOR_NAME: _InfoCode.ValueType # 1
|
|
112
|
+
INFO_CODE_VENDOR_VERSION: _InfoCode.ValueType # 2
|
|
113
|
+
INFO_CODE_VENDOR_ARROW_VERSION: _InfoCode.ValueType # 3
|
|
114
|
+
INFO_CODE_VENDOR_SQL: _InfoCode.ValueType # 101
|
|
115
|
+
INFO_CODE_VENDOR_SUBSTRAIT: _InfoCode.ValueType # 102
|
|
116
|
+
INFO_CODE_VENDOR_SUBSTRAIT_MIN_VERSION: _InfoCode.ValueType # 103
|
|
117
|
+
INFO_CODE_VENDOR_SUBSTRAIT_MAX_VERSION: _InfoCode.ValueType # 104
|
|
118
|
+
INFO_CODE_DRIVER_NAME: _InfoCode.ValueType # 201
|
|
119
|
+
INFO_CODE_DRIVER_VERSION: _InfoCode.ValueType # 202
|
|
120
|
+
INFO_CODE_DRIVER_ARROW_VERSION: _InfoCode.ValueType # 203
|
|
121
|
+
INFO_CODE_DRIVER_ADBC_VERSION: _InfoCode.ValueType # 204
|
|
122
|
+
|
|
123
|
+
class InfoCode(_InfoCode, metaclass=_InfoCodeEnumTypeWrapper):
|
|
124
|
+
"""Info codes corresponding to Thrift InfoCode enum"""
|
|
125
|
+
|
|
126
|
+
INFO_CODE_UNSPECIFIED: InfoCode.ValueType # 0
|
|
127
|
+
INFO_CODE_VENDOR_NAME: InfoCode.ValueType # 1
|
|
128
|
+
INFO_CODE_VENDOR_VERSION: InfoCode.ValueType # 2
|
|
129
|
+
INFO_CODE_VENDOR_ARROW_VERSION: InfoCode.ValueType # 3
|
|
130
|
+
INFO_CODE_VENDOR_SQL: InfoCode.ValueType # 101
|
|
131
|
+
INFO_CODE_VENDOR_SUBSTRAIT: InfoCode.ValueType # 102
|
|
132
|
+
INFO_CODE_VENDOR_SUBSTRAIT_MIN_VERSION: InfoCode.ValueType # 103
|
|
133
|
+
INFO_CODE_VENDOR_SUBSTRAIT_MAX_VERSION: InfoCode.ValueType # 104
|
|
134
|
+
INFO_CODE_DRIVER_NAME: InfoCode.ValueType # 201
|
|
135
|
+
INFO_CODE_DRIVER_VERSION: InfoCode.ValueType # 202
|
|
136
|
+
INFO_CODE_DRIVER_ARROW_VERSION: InfoCode.ValueType # 203
|
|
137
|
+
INFO_CODE_DRIVER_ADBC_VERSION: InfoCode.ValueType # 204
|
|
138
|
+
Global___InfoCode: _TypeAlias = InfoCode # noqa: Y015
|
|
139
|
+
|
|
140
|
+
class _CancellationAbortOutcome:
|
|
141
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
142
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
143
|
+
|
|
144
|
+
class _CancellationAbortOutcomeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_CancellationAbortOutcome.ValueType], _builtins.type):
|
|
145
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
146
|
+
CANCELLATION_ABORT_OUTCOME_UNSPECIFIED: _CancellationAbortOutcome.ValueType # 0
|
|
147
|
+
"""Required proto3 zero value; never sent. "No abort was issued" — because the
|
|
148
|
+
error is not a cancellation, or the operation was cancelled before its query
|
|
149
|
+
reached the server — is carried by the field being absent, so that state has
|
|
150
|
+
exactly one encoding.
|
|
151
|
+
"""
|
|
152
|
+
CANCELLATION_ABORT_OUTCOME_ABORTED: _CancellationAbortOutcome.ValueType # 1
|
|
153
|
+
"""The server acknowledged the abort. Means the abort request was *processed*,
|
|
154
|
+
NOT a guarantee the query had stopped by the time this was reported.
|
|
155
|
+
"""
|
|
156
|
+
CANCELLATION_ABORT_OUTCOME_NOT_RUNNING: _CancellationAbortOutcome.ValueType # 2
|
|
157
|
+
"""The server reported the query was not running, so there was nothing to
|
|
158
|
+
abort (it had already finished, or never started).
|
|
159
|
+
"""
|
|
160
|
+
CANCELLATION_ABORT_OUTCOME_NOT_CONFIRMED: _CancellationAbortOutcome.ValueType # 3
|
|
161
|
+
"""The abort was issued but its result is unknown: the request failed, or it
|
|
162
|
+
had not finished by the time the cancelled caller was released.
|
|
163
|
+
"""
|
|
164
|
+
|
|
165
|
+
class CancellationAbortOutcome(_CancellationAbortOutcome, metaclass=_CancellationAbortOutcomeEnumTypeWrapper):
|
|
166
|
+
"""What the abort-request the driver fired *because its operation was cancelled*
|
|
167
|
+
achieved. Only meaningful on a DriverException whose kind is
|
|
168
|
+
ERROR_KIND_CANCELLED; it is the answer to "did my cancel actually stop the
|
|
169
|
+
query on the server", delivered to the caller whose query was cancelled.
|
|
170
|
+
|
|
171
|
+
Deliberately not AbortQueryOutcome: that enum answers an explicit abort RPC
|
|
172
|
+
and reserves failures for the RPC error, whereas here the abort is a side
|
|
173
|
+
effect of cancellation and its failure has nowhere else to surface.
|
|
174
|
+
"""
|
|
175
|
+
|
|
176
|
+
CANCELLATION_ABORT_OUTCOME_UNSPECIFIED: CancellationAbortOutcome.ValueType # 0
|
|
177
|
+
"""Required proto3 zero value; never sent. "No abort was issued" — because the
|
|
178
|
+
error is not a cancellation, or the operation was cancelled before its query
|
|
179
|
+
reached the server — is carried by the field being absent, so that state has
|
|
180
|
+
exactly one encoding.
|
|
181
|
+
"""
|
|
182
|
+
CANCELLATION_ABORT_OUTCOME_ABORTED: CancellationAbortOutcome.ValueType # 1
|
|
183
|
+
"""The server acknowledged the abort. Means the abort request was *processed*,
|
|
184
|
+
NOT a guarantee the query had stopped by the time this was reported.
|
|
185
|
+
"""
|
|
186
|
+
CANCELLATION_ABORT_OUTCOME_NOT_RUNNING: CancellationAbortOutcome.ValueType # 2
|
|
187
|
+
"""The server reported the query was not running, so there was nothing to
|
|
188
|
+
abort (it had already finished, or never started).
|
|
189
|
+
"""
|
|
190
|
+
CANCELLATION_ABORT_OUTCOME_NOT_CONFIRMED: CancellationAbortOutcome.ValueType # 3
|
|
191
|
+
"""The abort was issued but its result is unknown: the request failed, or it
|
|
192
|
+
had not finished by the time the cancelled caller was released.
|
|
193
|
+
"""
|
|
194
|
+
Global___CancellationAbortOutcome: _TypeAlias = CancellationAbortOutcome # noqa: Y015
|
|
195
|
+
|
|
196
|
+
class _TokenRequestType:
|
|
197
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
198
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
199
|
+
|
|
200
|
+
class _TokenRequestTypeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_TokenRequestType.ValueType], _builtins.type):
|
|
201
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
202
|
+
TOKEN_REQUEST_TYPE_UNSPECIFIED: _TokenRequestType.ValueType # 0
|
|
203
|
+
TOKEN_REQUEST_TYPE_ISSUE: _TokenRequestType.ValueType # 1
|
|
204
|
+
TOKEN_REQUEST_TYPE_RENEW: _TokenRequestType.ValueType # 2
|
|
205
|
+
|
|
206
|
+
class TokenRequestType(_TokenRequestType, metaclass=_TokenRequestTypeEnumTypeWrapper): ...
|
|
207
|
+
|
|
208
|
+
TOKEN_REQUEST_TYPE_UNSPECIFIED: TokenRequestType.ValueType # 0
|
|
209
|
+
TOKEN_REQUEST_TYPE_ISSUE: TokenRequestType.ValueType # 1
|
|
210
|
+
TOKEN_REQUEST_TYPE_RENEW: TokenRequestType.ValueType # 2
|
|
211
|
+
Global___TokenRequestType: _TypeAlias = TokenRequestType # noqa: Y015
|
|
212
|
+
|
|
213
|
+
class _AbortQueryOutcome:
|
|
214
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
215
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
216
|
+
|
|
217
|
+
class _AbortQueryOutcomeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_AbortQueryOutcome.ValueType], _builtins.type):
|
|
218
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
219
|
+
ABORT_QUERY_OUTCOME_UNSPECIFIED: _AbortQueryOutcome.ValueType # 0
|
|
220
|
+
ABORT_QUERY_OUTCOME_ABORTED: _AbortQueryOutcome.ValueType # 1
|
|
221
|
+
"""The query was running and the abort was acknowledged."""
|
|
222
|
+
ABORT_QUERY_OUTCOME_NOT_RUNNING: _AbortQueryOutcome.ValueType # 2
|
|
223
|
+
"""The query was not running (e.g. already completed, or never started),
|
|
224
|
+
so there was nothing to abort.
|
|
225
|
+
"""
|
|
226
|
+
|
|
227
|
+
class AbortQueryOutcome(_AbortQueryOutcome, metaclass=_AbortQueryOutcomeEnumTypeWrapper):
|
|
228
|
+
"""Outcome of a ConnectionAbortQuery call. Genuine failures (invalid handle,
|
|
229
|
+
transport errors, ...) are reported as an RPC error, not through this enum.
|
|
230
|
+
"""
|
|
231
|
+
|
|
232
|
+
ABORT_QUERY_OUTCOME_UNSPECIFIED: AbortQueryOutcome.ValueType # 0
|
|
233
|
+
ABORT_QUERY_OUTCOME_ABORTED: AbortQueryOutcome.ValueType # 1
|
|
234
|
+
"""The query was running and the abort was acknowledged."""
|
|
235
|
+
ABORT_QUERY_OUTCOME_NOT_RUNNING: AbortQueryOutcome.ValueType # 2
|
|
236
|
+
"""The query was not running (e.g. already completed, or never started),
|
|
237
|
+
so there was nothing to abort.
|
|
238
|
+
"""
|
|
239
|
+
Global___AbortQueryOutcome: _TypeAlias = AbortQueryOutcome # noqa: Y015
|
|
240
|
+
|
|
241
|
+
class _ChunkFormat:
|
|
242
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
243
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
244
|
+
|
|
245
|
+
class _ChunkFormatEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_ChunkFormat.ValueType], _builtins.type):
|
|
246
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
247
|
+
CHUNK_FORMAT_UNSPECIFIED: _ChunkFormat.ValueType # 0
|
|
248
|
+
CHUNK_FORMAT_ARROW_IPC: _ChunkFormat.ValueType # 1
|
|
249
|
+
CHUNK_FORMAT_JSON: _ChunkFormat.ValueType # 2
|
|
250
|
+
|
|
251
|
+
class ChunkFormat(_ChunkFormat, metaclass=_ChunkFormatEnumTypeWrapper):
|
|
252
|
+
"""Distributed fetch types"""
|
|
253
|
+
|
|
254
|
+
CHUNK_FORMAT_UNSPECIFIED: ChunkFormat.ValueType # 0
|
|
255
|
+
CHUNK_FORMAT_ARROW_IPC: ChunkFormat.ValueType # 1
|
|
256
|
+
CHUNK_FORMAT_JSON: ChunkFormat.ValueType # 2
|
|
257
|
+
Global___ChunkFormat: _TypeAlias = ChunkFormat # noqa: Y015
|
|
258
|
+
|
|
259
|
+
class _ValidationSeverity:
|
|
260
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
261
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
262
|
+
|
|
263
|
+
class _ValidationSeverityEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_ValidationSeverity.ValueType], _builtins.type):
|
|
264
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
265
|
+
VALIDATION_SEVERITY_ERROR: _ValidationSeverity.ValueType # 0
|
|
266
|
+
VALIDATION_SEVERITY_WARNING: _ValidationSeverity.ValueType # 1
|
|
267
|
+
|
|
268
|
+
class ValidationSeverity(_ValidationSeverity, metaclass=_ValidationSeverityEnumTypeWrapper): ...
|
|
269
|
+
|
|
270
|
+
VALIDATION_SEVERITY_ERROR: ValidationSeverity.ValueType # 0
|
|
271
|
+
VALIDATION_SEVERITY_WARNING: ValidationSeverity.ValueType # 1
|
|
272
|
+
Global___ValidationSeverity: _TypeAlias = ValidationSeverity # noqa: Y015
|
|
273
|
+
|
|
274
|
+
class _ValidationCode:
|
|
275
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
276
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
277
|
+
|
|
278
|
+
class _ValidationCodeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_ValidationCode.ValueType], _builtins.type):
|
|
279
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
280
|
+
VALIDATION_CODE_UNSPECIFIED: _ValidationCode.ValueType # 0
|
|
281
|
+
VALIDATION_CODE_MISSING_REQUIRED: _ValidationCode.ValueType # 1
|
|
282
|
+
VALIDATION_CODE_INVALID_TYPE: _ValidationCode.ValueType # 2
|
|
283
|
+
VALIDATION_CODE_INVALID_VALUE: _ValidationCode.ValueType # 3
|
|
284
|
+
VALIDATION_CODE_UNKNOWN_PARAMETER: _ValidationCode.ValueType # 4
|
|
285
|
+
VALIDATION_CODE_DEPRECATED_PARAMETER: _ValidationCode.ValueType # 5
|
|
286
|
+
VALIDATION_CODE_CONFLICTING_PARAMETERS: _ValidationCode.ValueType # 6
|
|
287
|
+
VALIDATION_CODE_CONFLICTING_WIF_PARAMETERS: _ValidationCode.ValueType # 7
|
|
288
|
+
"""Specialization of CONFLICTING_PARAMETERS for the WIF cross-parameter
|
|
289
|
+
guards, carried across FFI so wrappers can remap to a native WIF error
|
|
290
|
+
identity (Python errno=251017) without matching on parameter name.
|
|
291
|
+
"""
|
|
292
|
+
|
|
293
|
+
class ValidationCode(_ValidationCode, metaclass=_ValidationCodeEnumTypeWrapper): ...
|
|
294
|
+
|
|
295
|
+
VALIDATION_CODE_UNSPECIFIED: ValidationCode.ValueType # 0
|
|
296
|
+
VALIDATION_CODE_MISSING_REQUIRED: ValidationCode.ValueType # 1
|
|
297
|
+
VALIDATION_CODE_INVALID_TYPE: ValidationCode.ValueType # 2
|
|
298
|
+
VALIDATION_CODE_INVALID_VALUE: ValidationCode.ValueType # 3
|
|
299
|
+
VALIDATION_CODE_UNKNOWN_PARAMETER: ValidationCode.ValueType # 4
|
|
300
|
+
VALIDATION_CODE_DEPRECATED_PARAMETER: ValidationCode.ValueType # 5
|
|
301
|
+
VALIDATION_CODE_CONFLICTING_PARAMETERS: ValidationCode.ValueType # 6
|
|
302
|
+
VALIDATION_CODE_CONFLICTING_WIF_PARAMETERS: ValidationCode.ValueType # 7
|
|
303
|
+
"""Specialization of CONFLICTING_PARAMETERS for the WIF cross-parameter
|
|
304
|
+
guards, carried across FFI so wrappers can remap to a native WIF error
|
|
305
|
+
identity (Python errno=251017) without matching on parameter name.
|
|
306
|
+
"""
|
|
307
|
+
Global___ValidationCode: _TypeAlias = ValidationCode # noqa: Y015
|
|
308
|
+
|
|
309
|
+
@_typing.final
|
|
310
|
+
class ErrorTraceEntry(_message.Message):
|
|
311
|
+
"""Single entry in an error trace (analogous to a stack-trace frame)"""
|
|
312
|
+
|
|
313
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
314
|
+
|
|
315
|
+
FILE_FIELD_NUMBER: _builtins.int
|
|
316
|
+
LINE_FIELD_NUMBER: _builtins.int
|
|
317
|
+
COLUMN_FIELD_NUMBER: _builtins.int
|
|
318
|
+
MESSAGE_FIELD_NUMBER: _builtins.int
|
|
319
|
+
file: _builtins.str
|
|
320
|
+
line: _builtins.int
|
|
321
|
+
column: _builtins.int
|
|
322
|
+
message: _builtins.str
|
|
323
|
+
def __init__(
|
|
324
|
+
self,
|
|
325
|
+
*,
|
|
326
|
+
file: _builtins.str = ...,
|
|
327
|
+
line: _builtins.int = ...,
|
|
328
|
+
column: _builtins.int = ...,
|
|
329
|
+
message: _builtins.str = ...,
|
|
330
|
+
) -> None: ...
|
|
331
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
332
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
333
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["column", b"column", "file", b"file", "line", b"line", "message", b"message"] # noqa: Y015
|
|
334
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
335
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
336
|
+
|
|
337
|
+
Global___ErrorTraceEntry: _TypeAlias = ErrorTraceEntry # noqa: Y015
|
|
338
|
+
|
|
339
|
+
@_typing.final
|
|
340
|
+
class DriverException(_message.Message):
|
|
341
|
+
"""Driver exception"""
|
|
342
|
+
|
|
343
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
344
|
+
|
|
345
|
+
MESSAGE_FIELD_NUMBER: _builtins.int
|
|
346
|
+
KIND_FIELD_NUMBER: _builtins.int
|
|
347
|
+
ERROR_TRACE_FIELD_NUMBER: _builtins.int
|
|
348
|
+
VENDOR_CODE_FIELD_NUMBER: _builtins.int
|
|
349
|
+
SQL_STATE_FIELD_NUMBER: _builtins.int
|
|
350
|
+
ROOT_CAUSE_FIELD_NUMBER: _builtins.int
|
|
351
|
+
QUERY_ID_FIELD_NUMBER: _builtins.int
|
|
352
|
+
REQUEST_ID_FIELD_NUMBER: _builtins.int
|
|
353
|
+
PARAMETER_FIELD_NUMBER: _builtins.int
|
|
354
|
+
PARAMETER_VALUE_FIELD_NUMBER: _builtins.int
|
|
355
|
+
VALIDATION_CODE_FIELD_NUMBER: _builtins.int
|
|
356
|
+
REAUTHENTICATION_REQUIRED_FIELD_NUMBER: _builtins.int
|
|
357
|
+
CANCELLATION_ABORT_OUTCOME_FIELD_NUMBER: _builtins.int
|
|
358
|
+
IO_CLASS_FIELD_NUMBER: _builtins.int
|
|
359
|
+
message: _builtins.str
|
|
360
|
+
kind: Global___ErrorKind.ValueType
|
|
361
|
+
vendor_code: _builtins.int
|
|
362
|
+
"""Snowflake server error code (e.g. 1003 for syntax error, 904 for invalid identifier).
|
|
363
|
+
Present when the error originated from a Snowflake server response.
|
|
364
|
+
"""
|
|
365
|
+
sql_state: _builtins.str
|
|
366
|
+
"""ANSI SQL state code (e.g. "42000" for syntax error).
|
|
367
|
+
Present when the server provides a sqlState in its response.
|
|
368
|
+
"""
|
|
369
|
+
root_cause: _builtins.str
|
|
370
|
+
"""The deepest cause in the error chain (root cause).
|
|
371
|
+
More informative than the top-level message for end users.
|
|
372
|
+
"""
|
|
373
|
+
query_id: _builtins.str
|
|
374
|
+
"""Snowflake Query ID (sfqid) associated with the failed query, if available."""
|
|
375
|
+
request_id: _builtins.str
|
|
376
|
+
"""Client-generated UUID v4 sent as ?requestId= on the query submission
|
|
377
|
+
request. Present when the error originated from a query execution attempt.
|
|
378
|
+
"""
|
|
379
|
+
parameter: _builtins.str
|
|
380
|
+
"""Offending config/bind parameter name, when the failure is about a parameter."""
|
|
381
|
+
parameter_value: _builtins.str
|
|
382
|
+
"""Value associated with `parameter`; for conflicts, the other parameter's name."""
|
|
383
|
+
validation_code: Global___ValidationCode.ValueType
|
|
384
|
+
"""Discriminant for which sf_core validation rule produced this error, when
|
|
385
|
+
known. Unset when the error did not originate from `validate_settings`.
|
|
386
|
+
"""
|
|
387
|
+
reauthentication_required: _builtins.bool
|
|
388
|
+
"""True when the session cannot be renewed automatically; the caller must
|
|
389
|
+
open a new connection. Additive field, default false. The GS code, if
|
|
390
|
+
any, travels on vendor_code — the same channel every other error type
|
|
391
|
+
uses — not duplicated here.
|
|
392
|
+
"""
|
|
393
|
+
cancellation_abort_outcome: Global___CancellationAbortOutcome.ValueType
|
|
394
|
+
"""What the abort-request fired on cancellation achieved. Set only when kind is
|
|
395
|
+
ERROR_KIND_CANCELLED *and* an abort was actually issued; unset otherwise.
|
|
396
|
+
"""
|
|
397
|
+
io_class: Global___IoClass.ValueType
|
|
398
|
+
"""Present when kind is ERROR_KIND_IO and the failure has a legacy JDBC vendor code."""
|
|
399
|
+
@_builtins.property
|
|
400
|
+
def error_trace(self) -> _containers.RepeatedCompositeFieldContainer[Global___ErrorTraceEntry]: ...
|
|
401
|
+
def __init__(
|
|
402
|
+
self,
|
|
403
|
+
*,
|
|
404
|
+
message: _builtins.str = ...,
|
|
405
|
+
kind: Global___ErrorKind.ValueType = ...,
|
|
406
|
+
error_trace: _abc.Iterable[Global___ErrorTraceEntry] | None = ...,
|
|
407
|
+
vendor_code: _builtins.int | None = ...,
|
|
408
|
+
sql_state: _builtins.str | None = ...,
|
|
409
|
+
root_cause: _builtins.str | None = ...,
|
|
410
|
+
query_id: _builtins.str | None = ...,
|
|
411
|
+
request_id: _builtins.str | None = ...,
|
|
412
|
+
parameter: _builtins.str | None = ...,
|
|
413
|
+
parameter_value: _builtins.str | None = ...,
|
|
414
|
+
validation_code: Global___ValidationCode.ValueType | None = ...,
|
|
415
|
+
reauthentication_required: _builtins.bool = ...,
|
|
416
|
+
cancellation_abort_outcome: Global___CancellationAbortOutcome.ValueType | None = ...,
|
|
417
|
+
io_class: Global___IoClass.ValueType | None = ...,
|
|
418
|
+
) -> None: ...
|
|
419
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_cancellation_abort_outcome", b"_cancellation_abort_outcome", "_io_class", b"_io_class", "_parameter", b"_parameter", "_parameter_value", b"_parameter_value", "_query_id", b"_query_id", "_request_id", b"_request_id", "_root_cause", b"_root_cause", "_sql_state", b"_sql_state", "_validation_code", b"_validation_code", "_vendor_code", b"_vendor_code", "cancellation_abort_outcome", b"cancellation_abort_outcome", "io_class", b"io_class", "parameter", b"parameter", "parameter_value", b"parameter_value", "query_id", b"query_id", "request_id", b"request_id", "root_cause", b"root_cause", "sql_state", b"sql_state", "validation_code", b"validation_code", "vendor_code", b"vendor_code"] # noqa: Y015
|
|
420
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
421
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_cancellation_abort_outcome", b"_cancellation_abort_outcome", "_io_class", b"_io_class", "_parameter", b"_parameter", "_parameter_value", b"_parameter_value", "_query_id", b"_query_id", "_request_id", b"_request_id", "_root_cause", b"_root_cause", "_sql_state", b"_sql_state", "_validation_code", b"_validation_code", "_vendor_code", b"_vendor_code", "cancellation_abort_outcome", b"cancellation_abort_outcome", "error_trace", b"error_trace", "io_class", b"io_class", "kind", b"kind", "message", b"message", "parameter", b"parameter", "parameter_value", b"parameter_value", "query_id", b"query_id", "reauthentication_required", b"reauthentication_required", "request_id", b"request_id", "root_cause", b"root_cause", "sql_state", b"sql_state", "validation_code", b"validation_code", "vendor_code", b"vendor_code"] # noqa: Y015
|
|
422
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
423
|
+
_WhichOneofReturnType__cancellation_abort_outcome: _TypeAlias = _typing.Literal["cancellation_abort_outcome"] # noqa: Y015
|
|
424
|
+
_WhichOneofArgType__cancellation_abort_outcome: _TypeAlias = _typing.Literal["_cancellation_abort_outcome", b"_cancellation_abort_outcome"] # noqa: Y015
|
|
425
|
+
_WhichOneofReturnType__io_class: _TypeAlias = _typing.Literal["io_class"] # noqa: Y015
|
|
426
|
+
_WhichOneofArgType__io_class: _TypeAlias = _typing.Literal["_io_class", b"_io_class"] # noqa: Y015
|
|
427
|
+
_WhichOneofReturnType__parameter: _TypeAlias = _typing.Literal["parameter"] # noqa: Y015
|
|
428
|
+
_WhichOneofArgType__parameter: _TypeAlias = _typing.Literal["_parameter", b"_parameter"] # noqa: Y015
|
|
429
|
+
_WhichOneofReturnType__parameter_value: _TypeAlias = _typing.Literal["parameter_value"] # noqa: Y015
|
|
430
|
+
_WhichOneofArgType__parameter_value: _TypeAlias = _typing.Literal["_parameter_value", b"_parameter_value"] # noqa: Y015
|
|
431
|
+
_WhichOneofReturnType__query_id: _TypeAlias = _typing.Literal["query_id"] # noqa: Y015
|
|
432
|
+
_WhichOneofArgType__query_id: _TypeAlias = _typing.Literal["_query_id", b"_query_id"] # noqa: Y015
|
|
433
|
+
_WhichOneofReturnType__request_id: _TypeAlias = _typing.Literal["request_id"] # noqa: Y015
|
|
434
|
+
_WhichOneofArgType__request_id: _TypeAlias = _typing.Literal["_request_id", b"_request_id"] # noqa: Y015
|
|
435
|
+
_WhichOneofReturnType__root_cause: _TypeAlias = _typing.Literal["root_cause"] # noqa: Y015
|
|
436
|
+
_WhichOneofArgType__root_cause: _TypeAlias = _typing.Literal["_root_cause", b"_root_cause"] # noqa: Y015
|
|
437
|
+
_WhichOneofReturnType__sql_state: _TypeAlias = _typing.Literal["sql_state"] # noqa: Y015
|
|
438
|
+
_WhichOneofArgType__sql_state: _TypeAlias = _typing.Literal["_sql_state", b"_sql_state"] # noqa: Y015
|
|
439
|
+
_WhichOneofReturnType__validation_code: _TypeAlias = _typing.Literal["validation_code"] # noqa: Y015
|
|
440
|
+
_WhichOneofArgType__validation_code: _TypeAlias = _typing.Literal["_validation_code", b"_validation_code"] # noqa: Y015
|
|
441
|
+
_WhichOneofReturnType__vendor_code: _TypeAlias = _typing.Literal["vendor_code"] # noqa: Y015
|
|
442
|
+
_WhichOneofArgType__vendor_code: _TypeAlias = _typing.Literal["_vendor_code", b"_vendor_code"] # noqa: Y015
|
|
443
|
+
@_typing.overload
|
|
444
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__cancellation_abort_outcome) -> _WhichOneofReturnType__cancellation_abort_outcome | None: ...
|
|
445
|
+
@_typing.overload
|
|
446
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__io_class) -> _WhichOneofReturnType__io_class | None: ...
|
|
447
|
+
@_typing.overload
|
|
448
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__parameter) -> _WhichOneofReturnType__parameter | None: ...
|
|
449
|
+
@_typing.overload
|
|
450
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__parameter_value) -> _WhichOneofReturnType__parameter_value | None: ...
|
|
451
|
+
@_typing.overload
|
|
452
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__query_id) -> _WhichOneofReturnType__query_id | None: ...
|
|
453
|
+
@_typing.overload
|
|
454
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__request_id) -> _WhichOneofReturnType__request_id | None: ...
|
|
455
|
+
@_typing.overload
|
|
456
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__root_cause) -> _WhichOneofReturnType__root_cause | None: ...
|
|
457
|
+
@_typing.overload
|
|
458
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__sql_state) -> _WhichOneofReturnType__sql_state | None: ...
|
|
459
|
+
@_typing.overload
|
|
460
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__validation_code) -> _WhichOneofReturnType__validation_code | None: ...
|
|
461
|
+
@_typing.overload
|
|
462
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__vendor_code) -> _WhichOneofReturnType__vendor_code | None: ...
|
|
463
|
+
|
|
464
|
+
Global___DriverException: _TypeAlias = DriverException # noqa: Y015
|
|
465
|
+
|
|
466
|
+
@_typing.final
|
|
467
|
+
class ColumnMetadata(_message.Message):
|
|
468
|
+
"""Column metadata for description"""
|
|
469
|
+
|
|
470
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
471
|
+
|
|
472
|
+
NAME_FIELD_NUMBER: _builtins.int
|
|
473
|
+
TYPE_FIELD_NUMBER: _builtins.int
|
|
474
|
+
PRECISION_FIELD_NUMBER: _builtins.int
|
|
475
|
+
SCALE_FIELD_NUMBER: _builtins.int
|
|
476
|
+
LENGTH_FIELD_NUMBER: _builtins.int
|
|
477
|
+
BYTE_LENGTH_FIELD_NUMBER: _builtins.int
|
|
478
|
+
NULLABLE_FIELD_NUMBER: _builtins.int
|
|
479
|
+
DIMENSION_FIELD_NUMBER: _builtins.int
|
|
480
|
+
FIXED_FIELD_NUMBER: _builtins.int
|
|
481
|
+
COLUMN_SRC_DATABASE_FIELD_NUMBER: _builtins.int
|
|
482
|
+
COLUMN_SRC_SCHEMA_FIELD_NUMBER: _builtins.int
|
|
483
|
+
COLUMN_SRC_TABLE_FIELD_NUMBER: _builtins.int
|
|
484
|
+
IS_AUTO_INCREMENT_FIELD_NUMBER: _builtins.int
|
|
485
|
+
EXT_COL_TYPE_NAME_FIELD_NUMBER: _builtins.int
|
|
486
|
+
UDT_OUTPUT_TYPE_FIELD_NUMBER: _builtins.int
|
|
487
|
+
FIELDS_FIELD_NUMBER: _builtins.int
|
|
488
|
+
name: _builtins.str
|
|
489
|
+
type: _builtins.str
|
|
490
|
+
precision: _builtins.int
|
|
491
|
+
scale: _builtins.int
|
|
492
|
+
length: _builtins.int
|
|
493
|
+
byte_length: _builtins.int
|
|
494
|
+
nullable: _builtins.bool
|
|
495
|
+
dimension: _builtins.int
|
|
496
|
+
fixed: _builtins.bool
|
|
497
|
+
column_src_database: _builtins.str
|
|
498
|
+
column_src_schema: _builtins.str
|
|
499
|
+
column_src_table: _builtins.str
|
|
500
|
+
is_auto_increment: _builtins.bool
|
|
501
|
+
ext_col_type_name: _builtins.str
|
|
502
|
+
udt_output_type: _builtins.str
|
|
503
|
+
@_builtins.property
|
|
504
|
+
def fields(self) -> _containers.RepeatedCompositeFieldContainer[Global___ColumnMetadata]:
|
|
505
|
+
"""Nested column metadata for structured types. Carries the element type for
|
|
506
|
+
VECTOR and ARRAY, the key and value types for MAP, and one entry per
|
|
507
|
+
attribute for structured OBJECT. Empty for every other type, and also for
|
|
508
|
+
semi-structured (unstructured) ARRAY/OBJECT/MAP, which the server sends
|
|
509
|
+
without a nested field list.
|
|
510
|
+
"""
|
|
511
|
+
|
|
512
|
+
def __init__(
|
|
513
|
+
self,
|
|
514
|
+
*,
|
|
515
|
+
name: _builtins.str = ...,
|
|
516
|
+
type: _builtins.str = ...,
|
|
517
|
+
precision: _builtins.int | None = ...,
|
|
518
|
+
scale: _builtins.int | None = ...,
|
|
519
|
+
length: _builtins.int | None = ...,
|
|
520
|
+
byte_length: _builtins.int | None = ...,
|
|
521
|
+
nullable: _builtins.bool = ...,
|
|
522
|
+
dimension: _builtins.int | None = ...,
|
|
523
|
+
fixed: _builtins.bool = ...,
|
|
524
|
+
column_src_database: _builtins.str = ...,
|
|
525
|
+
column_src_schema: _builtins.str = ...,
|
|
526
|
+
column_src_table: _builtins.str = ...,
|
|
527
|
+
is_auto_increment: _builtins.bool = ...,
|
|
528
|
+
ext_col_type_name: _builtins.str = ...,
|
|
529
|
+
udt_output_type: _builtins.str = ...,
|
|
530
|
+
fields: _abc.Iterable[Global___ColumnMetadata] | None = ...,
|
|
531
|
+
) -> None: ...
|
|
532
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_byte_length", b"_byte_length", "_dimension", b"_dimension", "_length", b"_length", "_precision", b"_precision", "_scale", b"_scale", "byte_length", b"byte_length", "dimension", b"dimension", "length", b"length", "precision", b"precision", "scale", b"scale"] # noqa: Y015
|
|
533
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
534
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_byte_length", b"_byte_length", "_dimension", b"_dimension", "_length", b"_length", "_precision", b"_precision", "_scale", b"_scale", "byte_length", b"byte_length", "column_src_database", b"column_src_database", "column_src_schema", b"column_src_schema", "column_src_table", b"column_src_table", "dimension", b"dimension", "ext_col_type_name", b"ext_col_type_name", "fields", b"fields", "fixed", b"fixed", "is_auto_increment", b"is_auto_increment", "length", b"length", "name", b"name", "nullable", b"nullable", "precision", b"precision", "scale", b"scale", "type", b"type", "udt_output_type", b"udt_output_type"] # noqa: Y015
|
|
535
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
536
|
+
_WhichOneofReturnType__byte_length: _TypeAlias = _typing.Literal["byte_length"] # noqa: Y015
|
|
537
|
+
_WhichOneofArgType__byte_length: _TypeAlias = _typing.Literal["_byte_length", b"_byte_length"] # noqa: Y015
|
|
538
|
+
_WhichOneofReturnType__dimension: _TypeAlias = _typing.Literal["dimension"] # noqa: Y015
|
|
539
|
+
_WhichOneofArgType__dimension: _TypeAlias = _typing.Literal["_dimension", b"_dimension"] # noqa: Y015
|
|
540
|
+
_WhichOneofReturnType__length: _TypeAlias = _typing.Literal["length"] # noqa: Y015
|
|
541
|
+
_WhichOneofArgType__length: _TypeAlias = _typing.Literal["_length", b"_length"] # noqa: Y015
|
|
542
|
+
_WhichOneofReturnType__precision: _TypeAlias = _typing.Literal["precision"] # noqa: Y015
|
|
543
|
+
_WhichOneofArgType__precision: _TypeAlias = _typing.Literal["_precision", b"_precision"] # noqa: Y015
|
|
544
|
+
_WhichOneofReturnType__scale: _TypeAlias = _typing.Literal["scale"] # noqa: Y015
|
|
545
|
+
_WhichOneofArgType__scale: _TypeAlias = _typing.Literal["_scale", b"_scale"] # noqa: Y015
|
|
546
|
+
@_typing.overload
|
|
547
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__byte_length) -> _WhichOneofReturnType__byte_length | None: ...
|
|
548
|
+
@_typing.overload
|
|
549
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__dimension) -> _WhichOneofReturnType__dimension | None: ...
|
|
550
|
+
@_typing.overload
|
|
551
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__length) -> _WhichOneofReturnType__length | None: ...
|
|
552
|
+
@_typing.overload
|
|
553
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__precision) -> _WhichOneofReturnType__precision | None: ...
|
|
554
|
+
@_typing.overload
|
|
555
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__scale) -> _WhichOneofReturnType__scale | None: ...
|
|
556
|
+
|
|
557
|
+
Global___ColumnMetadata: _TypeAlias = ColumnMetadata # noqa: Y015
|
|
558
|
+
|
|
559
|
+
@_typing.final
|
|
560
|
+
class QueryStats(_message.Message):
|
|
561
|
+
"""DML operation statistics"""
|
|
562
|
+
|
|
563
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
564
|
+
|
|
565
|
+
NUM_ROWS_INSERTED_FIELD_NUMBER: _builtins.int
|
|
566
|
+
NUM_ROWS_UPDATED_FIELD_NUMBER: _builtins.int
|
|
567
|
+
NUM_ROWS_DELETED_FIELD_NUMBER: _builtins.int
|
|
568
|
+
NUM_DML_DUPLICATES_FIELD_NUMBER: _builtins.int
|
|
569
|
+
num_rows_inserted: _builtins.int
|
|
570
|
+
num_rows_updated: _builtins.int
|
|
571
|
+
num_rows_deleted: _builtins.int
|
|
572
|
+
num_dml_duplicates: _builtins.int
|
|
573
|
+
def __init__(
|
|
574
|
+
self,
|
|
575
|
+
*,
|
|
576
|
+
num_rows_inserted: _builtins.int | None = ...,
|
|
577
|
+
num_rows_updated: _builtins.int | None = ...,
|
|
578
|
+
num_rows_deleted: _builtins.int | None = ...,
|
|
579
|
+
num_dml_duplicates: _builtins.int | None = ...,
|
|
580
|
+
) -> None: ...
|
|
581
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_num_dml_duplicates", b"_num_dml_duplicates", "_num_rows_deleted", b"_num_rows_deleted", "_num_rows_inserted", b"_num_rows_inserted", "_num_rows_updated", b"_num_rows_updated", "num_dml_duplicates", b"num_dml_duplicates", "num_rows_deleted", b"num_rows_deleted", "num_rows_inserted", b"num_rows_inserted", "num_rows_updated", b"num_rows_updated"] # noqa: Y015
|
|
582
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
583
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_num_dml_duplicates", b"_num_dml_duplicates", "_num_rows_deleted", b"_num_rows_deleted", "_num_rows_inserted", b"_num_rows_inserted", "_num_rows_updated", b"_num_rows_updated", "num_dml_duplicates", b"num_dml_duplicates", "num_rows_deleted", b"num_rows_deleted", "num_rows_inserted", b"num_rows_inserted", "num_rows_updated", b"num_rows_updated"] # noqa: Y015
|
|
584
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
585
|
+
_WhichOneofReturnType__num_dml_duplicates: _TypeAlias = _typing.Literal["num_dml_duplicates"] # noqa: Y015
|
|
586
|
+
_WhichOneofArgType__num_dml_duplicates: _TypeAlias = _typing.Literal["_num_dml_duplicates", b"_num_dml_duplicates"] # noqa: Y015
|
|
587
|
+
_WhichOneofReturnType__num_rows_deleted: _TypeAlias = _typing.Literal["num_rows_deleted"] # noqa: Y015
|
|
588
|
+
_WhichOneofArgType__num_rows_deleted: _TypeAlias = _typing.Literal["_num_rows_deleted", b"_num_rows_deleted"] # noqa: Y015
|
|
589
|
+
_WhichOneofReturnType__num_rows_inserted: _TypeAlias = _typing.Literal["num_rows_inserted"] # noqa: Y015
|
|
590
|
+
_WhichOneofArgType__num_rows_inserted: _TypeAlias = _typing.Literal["_num_rows_inserted", b"_num_rows_inserted"] # noqa: Y015
|
|
591
|
+
_WhichOneofReturnType__num_rows_updated: _TypeAlias = _typing.Literal["num_rows_updated"] # noqa: Y015
|
|
592
|
+
_WhichOneofArgType__num_rows_updated: _TypeAlias = _typing.Literal["_num_rows_updated", b"_num_rows_updated"] # noqa: Y015
|
|
593
|
+
@_typing.overload
|
|
594
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__num_dml_duplicates) -> _WhichOneofReturnType__num_dml_duplicates | None: ...
|
|
595
|
+
@_typing.overload
|
|
596
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__num_rows_deleted) -> _WhichOneofReturnType__num_rows_deleted | None: ...
|
|
597
|
+
@_typing.overload
|
|
598
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__num_rows_inserted) -> _WhichOneofReturnType__num_rows_inserted | None: ...
|
|
599
|
+
@_typing.overload
|
|
600
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__num_rows_updated) -> _WhichOneofReturnType__num_rows_updated | None: ...
|
|
601
|
+
|
|
602
|
+
Global___QueryStats: _TypeAlias = QueryStats # noqa: Y015
|
|
603
|
+
|
|
604
|
+
@_typing.final
|
|
605
|
+
class ResultSetDescriptor(_message.Message):
|
|
606
|
+
"""Describes one result set from a (possibly multi-statement) execution."""
|
|
607
|
+
|
|
608
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
609
|
+
|
|
610
|
+
QUERY_ID_FIELD_NUMBER: _builtins.int
|
|
611
|
+
COLUMNS_FIELD_NUMBER: _builtins.int
|
|
612
|
+
ROWS_AFFECTED_FIELD_NUMBER: _builtins.int
|
|
613
|
+
STATEMENT_TYPE_ID_FIELD_NUMBER: _builtins.int
|
|
614
|
+
SQL_STATE_FIELD_NUMBER: _builtins.int
|
|
615
|
+
STATS_FIELD_NUMBER: _builtins.int
|
|
616
|
+
ROW_COUNT_FIELD_NUMBER: _builtins.int
|
|
617
|
+
QUERY_RESULT_FORMAT_FIELD_NUMBER: _builtins.int
|
|
618
|
+
query_id: _builtins.str
|
|
619
|
+
rows_affected: _builtins.int
|
|
620
|
+
statement_type_id: _builtins.int
|
|
621
|
+
sql_state: _builtins.str
|
|
622
|
+
row_count: _builtins.int
|
|
623
|
+
query_result_format: _builtins.str
|
|
624
|
+
"""Server's `data.queryResultFormat`, verbatim. Absent when the response
|
|
625
|
+
carried none, as some PUT/GET responses do.
|
|
626
|
+
"""
|
|
627
|
+
@_builtins.property
|
|
628
|
+
def columns(self) -> _containers.RepeatedCompositeFieldContainer[Global___ColumnMetadata]: ...
|
|
629
|
+
@_builtins.property
|
|
630
|
+
def stats(self) -> Global___QueryStats: ...
|
|
631
|
+
def __init__(
|
|
632
|
+
self,
|
|
633
|
+
*,
|
|
634
|
+
query_id: _builtins.str = ...,
|
|
635
|
+
columns: _abc.Iterable[Global___ColumnMetadata] | None = ...,
|
|
636
|
+
rows_affected: _builtins.int | None = ...,
|
|
637
|
+
statement_type_id: _builtins.int | None = ...,
|
|
638
|
+
sql_state: _builtins.str | None = ...,
|
|
639
|
+
stats: Global___QueryStats | None = ...,
|
|
640
|
+
row_count: _builtins.int | None = ...,
|
|
641
|
+
query_result_format: _builtins.str | None = ...,
|
|
642
|
+
) -> None: ...
|
|
643
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_query_result_format", b"_query_result_format", "_row_count", b"_row_count", "_rows_affected", b"_rows_affected", "_sql_state", b"_sql_state", "_statement_type_id", b"_statement_type_id", "_stats", b"_stats", "query_result_format", b"query_result_format", "row_count", b"row_count", "rows_affected", b"rows_affected", "sql_state", b"sql_state", "statement_type_id", b"statement_type_id", "stats", b"stats"] # noqa: Y015
|
|
644
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
645
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_query_result_format", b"_query_result_format", "_row_count", b"_row_count", "_rows_affected", b"_rows_affected", "_sql_state", b"_sql_state", "_statement_type_id", b"_statement_type_id", "_stats", b"_stats", "columns", b"columns", "query_id", b"query_id", "query_result_format", b"query_result_format", "row_count", b"row_count", "rows_affected", b"rows_affected", "sql_state", b"sql_state", "statement_type_id", b"statement_type_id", "stats", b"stats"] # noqa: Y015
|
|
646
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
647
|
+
_WhichOneofReturnType__query_result_format: _TypeAlias = _typing.Literal["query_result_format"] # noqa: Y015
|
|
648
|
+
_WhichOneofArgType__query_result_format: _TypeAlias = _typing.Literal["_query_result_format", b"_query_result_format"] # noqa: Y015
|
|
649
|
+
_WhichOneofReturnType__row_count: _TypeAlias = _typing.Literal["row_count"] # noqa: Y015
|
|
650
|
+
_WhichOneofArgType__row_count: _TypeAlias = _typing.Literal["_row_count", b"_row_count"] # noqa: Y015
|
|
651
|
+
_WhichOneofReturnType__rows_affected: _TypeAlias = _typing.Literal["rows_affected"] # noqa: Y015
|
|
652
|
+
_WhichOneofArgType__rows_affected: _TypeAlias = _typing.Literal["_rows_affected", b"_rows_affected"] # noqa: Y015
|
|
653
|
+
_WhichOneofReturnType__sql_state: _TypeAlias = _typing.Literal["sql_state"] # noqa: Y015
|
|
654
|
+
_WhichOneofArgType__sql_state: _TypeAlias = _typing.Literal["_sql_state", b"_sql_state"] # noqa: Y015
|
|
655
|
+
_WhichOneofReturnType__statement_type_id: _TypeAlias = _typing.Literal["statement_type_id"] # noqa: Y015
|
|
656
|
+
_WhichOneofArgType__statement_type_id: _TypeAlias = _typing.Literal["_statement_type_id", b"_statement_type_id"] # noqa: Y015
|
|
657
|
+
_WhichOneofReturnType__stats: _TypeAlias = _typing.Literal["stats"] # noqa: Y015
|
|
658
|
+
_WhichOneofArgType__stats: _TypeAlias = _typing.Literal["_stats", b"_stats"] # noqa: Y015
|
|
659
|
+
@_typing.overload
|
|
660
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__query_result_format) -> _WhichOneofReturnType__query_result_format | None: ...
|
|
661
|
+
@_typing.overload
|
|
662
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__row_count) -> _WhichOneofReturnType__row_count | None: ...
|
|
663
|
+
@_typing.overload
|
|
664
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__rows_affected) -> _WhichOneofReturnType__rows_affected | None: ...
|
|
665
|
+
@_typing.overload
|
|
666
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__sql_state) -> _WhichOneofReturnType__sql_state | None: ...
|
|
667
|
+
@_typing.overload
|
|
668
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__statement_type_id) -> _WhichOneofReturnType__statement_type_id | None: ...
|
|
669
|
+
@_typing.overload
|
|
670
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__stats) -> _WhichOneofReturnType__stats | None: ...
|
|
671
|
+
|
|
672
|
+
Global___ResultSetDescriptor: _TypeAlias = ResultSetDescriptor # noqa: Y015
|
|
673
|
+
|
|
674
|
+
@_typing.final
|
|
675
|
+
class ResultSetResponse(_message.Message):
|
|
676
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
677
|
+
|
|
678
|
+
RESULT_SET_HANDLE_FIELD_NUMBER: _builtins.int
|
|
679
|
+
RESULT_DESCRIPTOR_FIELD_NUMBER: _builtins.int
|
|
680
|
+
@_builtins.property
|
|
681
|
+
def result_set_handle(self) -> Global___ResultSetHandle: ...
|
|
682
|
+
@_builtins.property
|
|
683
|
+
def result_descriptor(self) -> Global___ResultSetDescriptor: ...
|
|
684
|
+
def __init__(
|
|
685
|
+
self,
|
|
686
|
+
*,
|
|
687
|
+
result_set_handle: Global___ResultSetHandle | None = ...,
|
|
688
|
+
result_descriptor: Global___ResultSetDescriptor | None = ...,
|
|
689
|
+
) -> None: ...
|
|
690
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["result_descriptor", b"result_descriptor", "result_set_handle", b"result_set_handle"] # noqa: Y015
|
|
691
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
692
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["result_descriptor", b"result_descriptor", "result_set_handle", b"result_set_handle"] # noqa: Y015
|
|
693
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
694
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
695
|
+
|
|
696
|
+
Global___ResultSetResponse: _TypeAlias = ResultSetResponse # noqa: Y015
|
|
697
|
+
|
|
698
|
+
@_typing.final
|
|
699
|
+
class MultiStatementResult(_message.Message):
|
|
700
|
+
"""Multi-statement execution: child query IDs and their statement types."""
|
|
701
|
+
|
|
702
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
703
|
+
|
|
704
|
+
PARENT_FIELD_NUMBER: _builtins.int
|
|
705
|
+
QUERY_IDS_FIELD_NUMBER: _builtins.int
|
|
706
|
+
STATEMENT_TYPE_IDS_FIELD_NUMBER: _builtins.int
|
|
707
|
+
@_builtins.property
|
|
708
|
+
def parent(self) -> Global___ResultSetDescriptor: ...
|
|
709
|
+
@_builtins.property
|
|
710
|
+
def query_ids(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
|
|
711
|
+
@_builtins.property
|
|
712
|
+
def statement_type_ids(self) -> _containers.RepeatedScalarFieldContainer[_builtins.int]:
|
|
713
|
+
"""Statement type IDs for each child, parallel to query_ids.
|
|
714
|
+
Used by wrappers to classify results (ResultSet vs update count) without lazy fetch.
|
|
715
|
+
"""
|
|
716
|
+
|
|
717
|
+
def __init__(
|
|
718
|
+
self,
|
|
719
|
+
*,
|
|
720
|
+
parent: Global___ResultSetDescriptor | None = ...,
|
|
721
|
+
query_ids: _abc.Iterable[_builtins.str] | None = ...,
|
|
722
|
+
statement_type_ids: _abc.Iterable[_builtins.int] | None = ...,
|
|
723
|
+
) -> None: ...
|
|
724
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["parent", b"parent"] # noqa: Y015
|
|
725
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
726
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["parent", b"parent", "query_ids", b"query_ids", "statement_type_ids", b"statement_type_ids"] # noqa: Y015
|
|
727
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
728
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
729
|
+
|
|
730
|
+
Global___MultiStatementResult: _TypeAlias = MultiStatementResult # noqa: Y015
|
|
731
|
+
|
|
732
|
+
@_typing.final
|
|
733
|
+
class PartitionedResult(_message.Message):
|
|
734
|
+
"""Partitioned result"""
|
|
735
|
+
|
|
736
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
737
|
+
|
|
738
|
+
SCHEMA_FIELD_NUMBER: _builtins.int
|
|
739
|
+
PARTITIONS_FIELD_NUMBER: _builtins.int
|
|
740
|
+
ROWS_AFFECTED_FIELD_NUMBER: _builtins.int
|
|
741
|
+
schema: _builtins.int
|
|
742
|
+
rows_affected: _builtins.int
|
|
743
|
+
@_builtins.property
|
|
744
|
+
def partitions(self) -> _containers.RepeatedScalarFieldContainer[_builtins.bytes]: ...
|
|
745
|
+
def __init__(
|
|
746
|
+
self,
|
|
747
|
+
*,
|
|
748
|
+
schema: _builtins.int = ...,
|
|
749
|
+
partitions: _abc.Iterable[_builtins.bytes] | None = ...,
|
|
750
|
+
rows_affected: _builtins.int | None = ...,
|
|
751
|
+
) -> None: ...
|
|
752
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_rows_affected", b"_rows_affected", "rows_affected", b"rows_affected"] # noqa: Y015
|
|
753
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
754
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_rows_affected", b"_rows_affected", "partitions", b"partitions", "rows_affected", b"rows_affected", "schema", b"schema"] # noqa: Y015
|
|
755
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
756
|
+
_WhichOneofReturnType__rows_affected: _TypeAlias = _typing.Literal["rows_affected"] # noqa: Y015
|
|
757
|
+
_WhichOneofArgType__rows_affected: _TypeAlias = _typing.Literal["_rows_affected", b"_rows_affected"] # noqa: Y015
|
|
758
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__rows_affected) -> _WhichOneofReturnType__rows_affected | None: ...
|
|
759
|
+
|
|
760
|
+
Global___PartitionedResult: _TypeAlias = PartitionedResult # noqa: Y015
|
|
761
|
+
|
|
762
|
+
@_typing.final
|
|
763
|
+
class DatabaseHandle(_message.Message):
|
|
764
|
+
"""Database handle"""
|
|
765
|
+
|
|
766
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
767
|
+
|
|
768
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
769
|
+
MAGIC_FIELD_NUMBER: _builtins.int
|
|
770
|
+
id: _builtins.int
|
|
771
|
+
magic: _builtins.int
|
|
772
|
+
def __init__(
|
|
773
|
+
self,
|
|
774
|
+
*,
|
|
775
|
+
id: _builtins.int = ...,
|
|
776
|
+
magic: _builtins.int = ...,
|
|
777
|
+
) -> None: ...
|
|
778
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
779
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
780
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["id", b"id", "magic", b"magic"] # noqa: Y015
|
|
781
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
782
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
783
|
+
|
|
784
|
+
Global___DatabaseHandle: _TypeAlias = DatabaseHandle # noqa: Y015
|
|
785
|
+
|
|
786
|
+
@_typing.final
|
|
787
|
+
class ConnectionHandle(_message.Message):
|
|
788
|
+
"""Connection handle"""
|
|
789
|
+
|
|
790
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
791
|
+
|
|
792
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
793
|
+
MAGIC_FIELD_NUMBER: _builtins.int
|
|
794
|
+
id: _builtins.int
|
|
795
|
+
magic: _builtins.int
|
|
796
|
+
def __init__(
|
|
797
|
+
self,
|
|
798
|
+
*,
|
|
799
|
+
id: _builtins.int = ...,
|
|
800
|
+
magic: _builtins.int = ...,
|
|
801
|
+
) -> None: ...
|
|
802
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
803
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
804
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["id", b"id", "magic", b"magic"] # noqa: Y015
|
|
805
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
806
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
807
|
+
|
|
808
|
+
Global___ConnectionHandle: _TypeAlias = ConnectionHandle # noqa: Y015
|
|
809
|
+
|
|
810
|
+
@_typing.final
|
|
811
|
+
class StatementHandle(_message.Message):
|
|
812
|
+
"""Statement handle"""
|
|
813
|
+
|
|
814
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
815
|
+
|
|
816
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
817
|
+
MAGIC_FIELD_NUMBER: _builtins.int
|
|
818
|
+
id: _builtins.int
|
|
819
|
+
magic: _builtins.int
|
|
820
|
+
def __init__(
|
|
821
|
+
self,
|
|
822
|
+
*,
|
|
823
|
+
id: _builtins.int = ...,
|
|
824
|
+
magic: _builtins.int = ...,
|
|
825
|
+
) -> None: ...
|
|
826
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
827
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
828
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["id", b"id", "magic", b"magic"] # noqa: Y015
|
|
829
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
830
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
831
|
+
|
|
832
|
+
Global___StatementHandle: _TypeAlias = StatementHandle # noqa: Y015
|
|
833
|
+
|
|
834
|
+
@_typing.final
|
|
835
|
+
class ResultSetHandle(_message.Message):
|
|
836
|
+
"""ResultSet handle"""
|
|
837
|
+
|
|
838
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
839
|
+
|
|
840
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
841
|
+
MAGIC_FIELD_NUMBER: _builtins.int
|
|
842
|
+
id: _builtins.int
|
|
843
|
+
magic: _builtins.int
|
|
844
|
+
def __init__(
|
|
845
|
+
self,
|
|
846
|
+
*,
|
|
847
|
+
id: _builtins.int = ...,
|
|
848
|
+
magic: _builtins.int = ...,
|
|
849
|
+
) -> None: ...
|
|
850
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
851
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
852
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["id", b"id", "magic", b"magic"] # noqa: Y015
|
|
853
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
854
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
855
|
+
|
|
856
|
+
Global___ResultSetHandle: _TypeAlias = ResultSetHandle # noqa: Y015
|
|
857
|
+
|
|
858
|
+
@_typing.final
|
|
859
|
+
class ArrowArrayStreamPtr(_message.Message):
|
|
860
|
+
"""Arrow array stream pointer"""
|
|
861
|
+
|
|
862
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
863
|
+
|
|
864
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
865
|
+
value: _builtins.bytes
|
|
866
|
+
def __init__(
|
|
867
|
+
self,
|
|
868
|
+
*,
|
|
869
|
+
value: _builtins.bytes = ...,
|
|
870
|
+
) -> None: ...
|
|
871
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
872
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
873
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
|
|
874
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
875
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
876
|
+
|
|
877
|
+
Global___ArrowArrayStreamPtr: _TypeAlias = ArrowArrayStreamPtr # noqa: Y015
|
|
878
|
+
|
|
879
|
+
@_typing.final
|
|
880
|
+
class ArrowSchemaPtr(_message.Message):
|
|
881
|
+
"""Arrow schema pointer"""
|
|
882
|
+
|
|
883
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
884
|
+
|
|
885
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
886
|
+
value: _builtins.bytes
|
|
887
|
+
def __init__(
|
|
888
|
+
self,
|
|
889
|
+
*,
|
|
890
|
+
value: _builtins.bytes = ...,
|
|
891
|
+
) -> None: ...
|
|
892
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
893
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
894
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
|
|
895
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
896
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
897
|
+
|
|
898
|
+
Global___ArrowSchemaPtr: _TypeAlias = ArrowSchemaPtr # noqa: Y015
|
|
899
|
+
|
|
900
|
+
@_typing.final
|
|
901
|
+
class BinaryDataPtr(_message.Message):
|
|
902
|
+
"""=============================================================================
|
|
903
|
+
POINTER TYPES - For passing data references to core
|
|
904
|
+
=============================================================================
|
|
905
|
+
|
|
906
|
+
Pointer to raw binary data in memory with explicit length.
|
|
907
|
+
Used for passing data from language wrappers without copying.
|
|
908
|
+
|
|
909
|
+
Both JSON and CSV use this same pointer type since both point to raw bytes:
|
|
910
|
+
- JSON: pointer to UTF-8 encoded JSON bytes (e.g., from json_str.encode('utf-8'))
|
|
911
|
+
- CSV: pointer to raw CSV file bytes
|
|
912
|
+
"""
|
|
913
|
+
|
|
914
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
915
|
+
|
|
916
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
917
|
+
LENGTH_FIELD_NUMBER: _builtins.int
|
|
918
|
+
value: _builtins.bytes
|
|
919
|
+
"""8-byte pointer (encoded as little-endian)"""
|
|
920
|
+
length: _builtins.int
|
|
921
|
+
"""Length of data in bytes"""
|
|
922
|
+
def __init__(
|
|
923
|
+
self,
|
|
924
|
+
*,
|
|
925
|
+
value: _builtins.bytes = ...,
|
|
926
|
+
length: _builtins.int = ...,
|
|
927
|
+
) -> None: ...
|
|
928
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
929
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
930
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["length", b"length", "value", b"value"] # noqa: Y015
|
|
931
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
932
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
933
|
+
|
|
934
|
+
Global___BinaryDataPtr: _TypeAlias = BinaryDataPtr # noqa: Y015
|
|
935
|
+
|
|
936
|
+
@_typing.final
|
|
937
|
+
class QueryBindings(_message.Message):
|
|
938
|
+
"""Union of all binding types.
|
|
939
|
+
Both variants use BinaryDataPtr since both point to raw bytes in memory.
|
|
940
|
+
"""
|
|
941
|
+
|
|
942
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
943
|
+
|
|
944
|
+
JSON_FIELD_NUMBER: _builtins.int
|
|
945
|
+
CSV_FIELD_NUMBER: _builtins.int
|
|
946
|
+
@_builtins.property
|
|
947
|
+
def json(self) -> Global___BinaryDataPtr:
|
|
948
|
+
"""Pointer to UTF-8 encoded JSON bytes"""
|
|
949
|
+
|
|
950
|
+
@_builtins.property
|
|
951
|
+
def csv(self) -> Global___BinaryDataPtr:
|
|
952
|
+
"""Pointer to raw CSV bytes"""
|
|
953
|
+
|
|
954
|
+
def __init__(
|
|
955
|
+
self,
|
|
956
|
+
*,
|
|
957
|
+
json: Global___BinaryDataPtr | None = ...,
|
|
958
|
+
csv: Global___BinaryDataPtr | None = ...,
|
|
959
|
+
) -> None: ...
|
|
960
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["binding_type", b"binding_type", "csv", b"csv", "json", b"json"] # noqa: Y015
|
|
961
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
962
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["binding_type", b"binding_type", "csv", b"csv", "json", b"json"] # noqa: Y015
|
|
963
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
964
|
+
_WhichOneofReturnType_binding_type: _TypeAlias = _typing.Literal["json", "csv"] # noqa: Y015
|
|
965
|
+
_WhichOneofArgType_binding_type: _TypeAlias = _typing.Literal["binding_type", b"binding_type"] # noqa: Y015
|
|
966
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType_binding_type) -> _WhichOneofReturnType_binding_type | None: ...
|
|
967
|
+
|
|
968
|
+
Global___QueryBindings: _TypeAlias = QueryBindings # noqa: Y015
|
|
969
|
+
|
|
970
|
+
@_typing.final
|
|
971
|
+
class DatabaseNewRequest(_message.Message):
|
|
972
|
+
"""Database service requests and responses"""
|
|
973
|
+
|
|
974
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
975
|
+
|
|
976
|
+
def __init__(
|
|
977
|
+
self,
|
|
978
|
+
) -> None: ...
|
|
979
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
980
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
981
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
982
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
983
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
984
|
+
|
|
985
|
+
Global___DatabaseNewRequest: _TypeAlias = DatabaseNewRequest # noqa: Y015
|
|
986
|
+
|
|
987
|
+
@_typing.final
|
|
988
|
+
class DatabaseNewResponse(_message.Message):
|
|
989
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
990
|
+
|
|
991
|
+
DB_HANDLE_FIELD_NUMBER: _builtins.int
|
|
992
|
+
@_builtins.property
|
|
993
|
+
def db_handle(self) -> Global___DatabaseHandle: ...
|
|
994
|
+
def __init__(
|
|
995
|
+
self,
|
|
996
|
+
*,
|
|
997
|
+
db_handle: Global___DatabaseHandle | None = ...,
|
|
998
|
+
) -> None: ...
|
|
999
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["db_handle", b"db_handle"] # noqa: Y015
|
|
1000
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1001
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["db_handle", b"db_handle"] # noqa: Y015
|
|
1002
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1003
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1004
|
+
|
|
1005
|
+
Global___DatabaseNewResponse: _TypeAlias = DatabaseNewResponse # noqa: Y015
|
|
1006
|
+
|
|
1007
|
+
@_typing.final
|
|
1008
|
+
class DatabaseInitRequest(_message.Message):
|
|
1009
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1010
|
+
|
|
1011
|
+
DB_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1012
|
+
@_builtins.property
|
|
1013
|
+
def db_handle(self) -> Global___DatabaseHandle: ...
|
|
1014
|
+
def __init__(
|
|
1015
|
+
self,
|
|
1016
|
+
*,
|
|
1017
|
+
db_handle: Global___DatabaseHandle | None = ...,
|
|
1018
|
+
) -> None: ...
|
|
1019
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["db_handle", b"db_handle"] # noqa: Y015
|
|
1020
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1021
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["db_handle", b"db_handle"] # noqa: Y015
|
|
1022
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1023
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1024
|
+
|
|
1025
|
+
Global___DatabaseInitRequest: _TypeAlias = DatabaseInitRequest # noqa: Y015
|
|
1026
|
+
|
|
1027
|
+
@_typing.final
|
|
1028
|
+
class DatabaseInitResponse(_message.Message):
|
|
1029
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1030
|
+
|
|
1031
|
+
def __init__(
|
|
1032
|
+
self,
|
|
1033
|
+
) -> None: ...
|
|
1034
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1035
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1036
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1037
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1038
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1039
|
+
|
|
1040
|
+
Global___DatabaseInitResponse: _TypeAlias = DatabaseInitResponse # noqa: Y015
|
|
1041
|
+
|
|
1042
|
+
@_typing.final
|
|
1043
|
+
class DatabaseReleaseRequest(_message.Message):
|
|
1044
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1045
|
+
|
|
1046
|
+
DB_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1047
|
+
@_builtins.property
|
|
1048
|
+
def db_handle(self) -> Global___DatabaseHandle: ...
|
|
1049
|
+
def __init__(
|
|
1050
|
+
self,
|
|
1051
|
+
*,
|
|
1052
|
+
db_handle: Global___DatabaseHandle | None = ...,
|
|
1053
|
+
) -> None: ...
|
|
1054
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["db_handle", b"db_handle"] # noqa: Y015
|
|
1055
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1056
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["db_handle", b"db_handle"] # noqa: Y015
|
|
1057
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1058
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1059
|
+
|
|
1060
|
+
Global___DatabaseReleaseRequest: _TypeAlias = DatabaseReleaseRequest # noqa: Y015
|
|
1061
|
+
|
|
1062
|
+
@_typing.final
|
|
1063
|
+
class DatabaseReleaseResponse(_message.Message):
|
|
1064
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1065
|
+
|
|
1066
|
+
def __init__(
|
|
1067
|
+
self,
|
|
1068
|
+
) -> None: ...
|
|
1069
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1070
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1071
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1072
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1073
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1074
|
+
|
|
1075
|
+
Global___DatabaseReleaseResponse: _TypeAlias = DatabaseReleaseResponse # noqa: Y015
|
|
1076
|
+
|
|
1077
|
+
@_typing.final
|
|
1078
|
+
class ConnectionNewRequest(_message.Message):
|
|
1079
|
+
"""Connection service requests and responses"""
|
|
1080
|
+
|
|
1081
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1082
|
+
|
|
1083
|
+
def __init__(
|
|
1084
|
+
self,
|
|
1085
|
+
) -> None: ...
|
|
1086
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1087
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1088
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1089
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1090
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1091
|
+
|
|
1092
|
+
Global___ConnectionNewRequest: _TypeAlias = ConnectionNewRequest # noqa: Y015
|
|
1093
|
+
|
|
1094
|
+
@_typing.final
|
|
1095
|
+
class ConnectionNewResponse(_message.Message):
|
|
1096
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1097
|
+
|
|
1098
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1099
|
+
@_builtins.property
|
|
1100
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
1101
|
+
def __init__(
|
|
1102
|
+
self,
|
|
1103
|
+
*,
|
|
1104
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
1105
|
+
) -> None: ...
|
|
1106
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1107
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1108
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1109
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1110
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1111
|
+
|
|
1112
|
+
Global___ConnectionNewResponse: _TypeAlias = ConnectionNewResponse # noqa: Y015
|
|
1113
|
+
|
|
1114
|
+
@_typing.final
|
|
1115
|
+
class WrapperIdentity(_message.Message):
|
|
1116
|
+
"""Identity of the language-specific wrapper invoking core via protobuf."""
|
|
1117
|
+
|
|
1118
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1119
|
+
|
|
1120
|
+
DRIVER_NAME_FIELD_NUMBER: _builtins.int
|
|
1121
|
+
DRIVER_VERSION_FIELD_NUMBER: _builtins.int
|
|
1122
|
+
LANGUAGE_RUNTIME_FIELD_NUMBER: _builtins.int
|
|
1123
|
+
LANGUAGE_VERSION_FIELD_NUMBER: _builtins.int
|
|
1124
|
+
LANGUAGE_COMPILER_FIELD_NUMBER: _builtins.int
|
|
1125
|
+
RELEASE_TYPE_FIELD_NUMBER: _builtins.int
|
|
1126
|
+
APPLICATION_PATH_FIELD_NUMBER: _builtins.int
|
|
1127
|
+
driver_name: _builtins.str
|
|
1128
|
+
driver_version: _builtins.str
|
|
1129
|
+
language_runtime: _builtins.str
|
|
1130
|
+
language_version: _builtins.str
|
|
1131
|
+
language_compiler: _builtins.str
|
|
1132
|
+
release_type: _builtins.str
|
|
1133
|
+
application_path: _builtins.str
|
|
1134
|
+
def __init__(
|
|
1135
|
+
self,
|
|
1136
|
+
*,
|
|
1137
|
+
driver_name: _builtins.str | None = ...,
|
|
1138
|
+
driver_version: _builtins.str | None = ...,
|
|
1139
|
+
language_runtime: _builtins.str | None = ...,
|
|
1140
|
+
language_version: _builtins.str | None = ...,
|
|
1141
|
+
language_compiler: _builtins.str | None = ...,
|
|
1142
|
+
release_type: _builtins.str | None = ...,
|
|
1143
|
+
application_path: _builtins.str | None = ...,
|
|
1144
|
+
) -> None: ...
|
|
1145
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_application_path", b"_application_path", "_driver_name", b"_driver_name", "_driver_version", b"_driver_version", "_language_compiler", b"_language_compiler", "_language_runtime", b"_language_runtime", "_language_version", b"_language_version", "_release_type", b"_release_type", "application_path", b"application_path", "driver_name", b"driver_name", "driver_version", b"driver_version", "language_compiler", b"language_compiler", "language_runtime", b"language_runtime", "language_version", b"language_version", "release_type", b"release_type"] # noqa: Y015
|
|
1146
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1147
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_application_path", b"_application_path", "_driver_name", b"_driver_name", "_driver_version", b"_driver_version", "_language_compiler", b"_language_compiler", "_language_runtime", b"_language_runtime", "_language_version", b"_language_version", "_release_type", b"_release_type", "application_path", b"application_path", "driver_name", b"driver_name", "driver_version", b"driver_version", "language_compiler", b"language_compiler", "language_runtime", b"language_runtime", "language_version", b"language_version", "release_type", b"release_type"] # noqa: Y015
|
|
1148
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1149
|
+
_WhichOneofReturnType__application_path: _TypeAlias = _typing.Literal["application_path"] # noqa: Y015
|
|
1150
|
+
_WhichOneofArgType__application_path: _TypeAlias = _typing.Literal["_application_path", b"_application_path"] # noqa: Y015
|
|
1151
|
+
_WhichOneofReturnType__driver_name: _TypeAlias = _typing.Literal["driver_name"] # noqa: Y015
|
|
1152
|
+
_WhichOneofArgType__driver_name: _TypeAlias = _typing.Literal["_driver_name", b"_driver_name"] # noqa: Y015
|
|
1153
|
+
_WhichOneofReturnType__driver_version: _TypeAlias = _typing.Literal["driver_version"] # noqa: Y015
|
|
1154
|
+
_WhichOneofArgType__driver_version: _TypeAlias = _typing.Literal["_driver_version", b"_driver_version"] # noqa: Y015
|
|
1155
|
+
_WhichOneofReturnType__language_compiler: _TypeAlias = _typing.Literal["language_compiler"] # noqa: Y015
|
|
1156
|
+
_WhichOneofArgType__language_compiler: _TypeAlias = _typing.Literal["_language_compiler", b"_language_compiler"] # noqa: Y015
|
|
1157
|
+
_WhichOneofReturnType__language_runtime: _TypeAlias = _typing.Literal["language_runtime"] # noqa: Y015
|
|
1158
|
+
_WhichOneofArgType__language_runtime: _TypeAlias = _typing.Literal["_language_runtime", b"_language_runtime"] # noqa: Y015
|
|
1159
|
+
_WhichOneofReturnType__language_version: _TypeAlias = _typing.Literal["language_version"] # noqa: Y015
|
|
1160
|
+
_WhichOneofArgType__language_version: _TypeAlias = _typing.Literal["_language_version", b"_language_version"] # noqa: Y015
|
|
1161
|
+
_WhichOneofReturnType__release_type: _TypeAlias = _typing.Literal["release_type"] # noqa: Y015
|
|
1162
|
+
_WhichOneofArgType__release_type: _TypeAlias = _typing.Literal["_release_type", b"_release_type"] # noqa: Y015
|
|
1163
|
+
@_typing.overload
|
|
1164
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__application_path) -> _WhichOneofReturnType__application_path | None: ...
|
|
1165
|
+
@_typing.overload
|
|
1166
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__driver_name) -> _WhichOneofReturnType__driver_name | None: ...
|
|
1167
|
+
@_typing.overload
|
|
1168
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__driver_version) -> _WhichOneofReturnType__driver_version | None: ...
|
|
1169
|
+
@_typing.overload
|
|
1170
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__language_compiler) -> _WhichOneofReturnType__language_compiler | None: ...
|
|
1171
|
+
@_typing.overload
|
|
1172
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__language_runtime) -> _WhichOneofReturnType__language_runtime | None: ...
|
|
1173
|
+
@_typing.overload
|
|
1174
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__language_version) -> _WhichOneofReturnType__language_version | None: ...
|
|
1175
|
+
@_typing.overload
|
|
1176
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__release_type) -> _WhichOneofReturnType__release_type | None: ...
|
|
1177
|
+
|
|
1178
|
+
Global___WrapperIdentity: _TypeAlias = WrapperIdentity # noqa: Y015
|
|
1179
|
+
|
|
1180
|
+
@_typing.final
|
|
1181
|
+
class ConnectionInitRequest(_message.Message):
|
|
1182
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1183
|
+
|
|
1184
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1185
|
+
DB_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1186
|
+
WRAPPER_IDENTITY_FIELD_NUMBER: _builtins.int
|
|
1187
|
+
@_builtins.property
|
|
1188
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
1189
|
+
@_builtins.property
|
|
1190
|
+
def db_handle(self) -> Global___DatabaseHandle: ...
|
|
1191
|
+
@_builtins.property
|
|
1192
|
+
def wrapper_identity(self) -> Global___WrapperIdentity:
|
|
1193
|
+
"""Wrapper identity — used to emit session_init telemetry during connection init."""
|
|
1194
|
+
|
|
1195
|
+
def __init__(
|
|
1196
|
+
self,
|
|
1197
|
+
*,
|
|
1198
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
1199
|
+
db_handle: Global___DatabaseHandle | None = ...,
|
|
1200
|
+
wrapper_identity: Global___WrapperIdentity | None = ...,
|
|
1201
|
+
) -> None: ...
|
|
1202
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_wrapper_identity", b"_wrapper_identity", "conn_handle", b"conn_handle", "db_handle", b"db_handle", "wrapper_identity", b"wrapper_identity"] # noqa: Y015
|
|
1203
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1204
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_wrapper_identity", b"_wrapper_identity", "conn_handle", b"conn_handle", "db_handle", b"db_handle", "wrapper_identity", b"wrapper_identity"] # noqa: Y015
|
|
1205
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1206
|
+
_WhichOneofReturnType__wrapper_identity: _TypeAlias = _typing.Literal["wrapper_identity"] # noqa: Y015
|
|
1207
|
+
_WhichOneofArgType__wrapper_identity: _TypeAlias = _typing.Literal["_wrapper_identity", b"_wrapper_identity"] # noqa: Y015
|
|
1208
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__wrapper_identity) -> _WhichOneofReturnType__wrapper_identity | None: ...
|
|
1209
|
+
|
|
1210
|
+
Global___ConnectionInitRequest: _TypeAlias = ConnectionInitRequest # noqa: Y015
|
|
1211
|
+
|
|
1212
|
+
@_typing.final
|
|
1213
|
+
class ConnectionInitResponse(_message.Message):
|
|
1214
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1215
|
+
|
|
1216
|
+
def __init__(
|
|
1217
|
+
self,
|
|
1218
|
+
) -> None: ...
|
|
1219
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1220
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1221
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1222
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1223
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1224
|
+
|
|
1225
|
+
Global___ConnectionInitResponse: _TypeAlias = ConnectionInitResponse # noqa: Y015
|
|
1226
|
+
|
|
1227
|
+
@_typing.final
|
|
1228
|
+
class ConnectionReleaseRequest(_message.Message):
|
|
1229
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1230
|
+
|
|
1231
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1232
|
+
@_builtins.property
|
|
1233
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
1234
|
+
def __init__(
|
|
1235
|
+
self,
|
|
1236
|
+
*,
|
|
1237
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
1238
|
+
) -> None: ...
|
|
1239
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1240
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1241
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1242
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1243
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1244
|
+
|
|
1245
|
+
Global___ConnectionReleaseRequest: _TypeAlias = ConnectionReleaseRequest # noqa: Y015
|
|
1246
|
+
|
|
1247
|
+
@_typing.final
|
|
1248
|
+
class ConnectionReleaseResponse(_message.Message):
|
|
1249
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1250
|
+
|
|
1251
|
+
def __init__(
|
|
1252
|
+
self,
|
|
1253
|
+
) -> None: ...
|
|
1254
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1255
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1256
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1257
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1258
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1259
|
+
|
|
1260
|
+
Global___ConnectionReleaseResponse: _TypeAlias = ConnectionReleaseResponse # noqa: Y015
|
|
1261
|
+
|
|
1262
|
+
@_typing.final
|
|
1263
|
+
class ConnectionCloseRequest(_message.Message):
|
|
1264
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1265
|
+
|
|
1266
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1267
|
+
@_builtins.property
|
|
1268
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
1269
|
+
def __init__(
|
|
1270
|
+
self,
|
|
1271
|
+
*,
|
|
1272
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
1273
|
+
) -> None: ...
|
|
1274
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1275
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1276
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1277
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1278
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1279
|
+
|
|
1280
|
+
Global___ConnectionCloseRequest: _TypeAlias = ConnectionCloseRequest # noqa: Y015
|
|
1281
|
+
|
|
1282
|
+
@_typing.final
|
|
1283
|
+
class ConnectionCloseResponse(_message.Message):
|
|
1284
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1285
|
+
|
|
1286
|
+
def __init__(
|
|
1287
|
+
self,
|
|
1288
|
+
) -> None: ...
|
|
1289
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1290
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1291
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1292
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1293
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1294
|
+
|
|
1295
|
+
Global___ConnectionCloseResponse: _TypeAlias = ConnectionCloseResponse # noqa: Y015
|
|
1296
|
+
|
|
1297
|
+
@_typing.final
|
|
1298
|
+
class ConnectionIsClosedRequest(_message.Message):
|
|
1299
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1300
|
+
|
|
1301
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1302
|
+
@_builtins.property
|
|
1303
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
1304
|
+
def __init__(
|
|
1305
|
+
self,
|
|
1306
|
+
*,
|
|
1307
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
1308
|
+
) -> None: ...
|
|
1309
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1310
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1311
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1312
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1313
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1314
|
+
|
|
1315
|
+
Global___ConnectionIsClosedRequest: _TypeAlias = ConnectionIsClosedRequest # noqa: Y015
|
|
1316
|
+
|
|
1317
|
+
@_typing.final
|
|
1318
|
+
class ConnectionIsClosedResponse(_message.Message):
|
|
1319
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1320
|
+
|
|
1321
|
+
IS_CLOSED_FIELD_NUMBER: _builtins.int
|
|
1322
|
+
is_closed: _builtins.bool
|
|
1323
|
+
def __init__(
|
|
1324
|
+
self,
|
|
1325
|
+
*,
|
|
1326
|
+
is_closed: _builtins.bool = ...,
|
|
1327
|
+
) -> None: ...
|
|
1328
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1329
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1330
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["is_closed", b"is_closed"] # noqa: Y015
|
|
1331
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1332
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1333
|
+
|
|
1334
|
+
Global___ConnectionIsClosedResponse: _TypeAlias = ConnectionIsClosedResponse # noqa: Y015
|
|
1335
|
+
|
|
1336
|
+
@_typing.final
|
|
1337
|
+
class ConnectionIsExpiredRequest(_message.Message):
|
|
1338
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1339
|
+
|
|
1340
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1341
|
+
@_builtins.property
|
|
1342
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
1343
|
+
def __init__(
|
|
1344
|
+
self,
|
|
1345
|
+
*,
|
|
1346
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
1347
|
+
) -> None: ...
|
|
1348
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1349
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1350
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1351
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1352
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1353
|
+
|
|
1354
|
+
Global___ConnectionIsExpiredRequest: _TypeAlias = ConnectionIsExpiredRequest # noqa: Y015
|
|
1355
|
+
|
|
1356
|
+
@_typing.final
|
|
1357
|
+
class ConnectionIsExpiredResponse(_message.Message):
|
|
1358
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1359
|
+
|
|
1360
|
+
IS_EXPIRED_FIELD_NUMBER: _builtins.int
|
|
1361
|
+
is_expired: _builtins.bool
|
|
1362
|
+
def __init__(
|
|
1363
|
+
self,
|
|
1364
|
+
*,
|
|
1365
|
+
is_expired: _builtins.bool = ...,
|
|
1366
|
+
) -> None: ...
|
|
1367
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1368
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1369
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["is_expired", b"is_expired"] # noqa: Y015
|
|
1370
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1371
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1372
|
+
|
|
1373
|
+
Global___ConnectionIsExpiredResponse: _TypeAlias = ConnectionIsExpiredResponse # noqa: Y015
|
|
1374
|
+
|
|
1375
|
+
@_typing.final
|
|
1376
|
+
class ConnectionGetInfoRequest(_message.Message):
|
|
1377
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1378
|
+
|
|
1379
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1380
|
+
INFO_CODES_FIELD_NUMBER: _builtins.int
|
|
1381
|
+
INCLUDE_MASTER_TOKEN_FIELD_NUMBER: _builtins.int
|
|
1382
|
+
include_master_token: _builtins.bool
|
|
1383
|
+
"""Opt-in to include sensitive tokens (e.g. master_token) in the response.
|
|
1384
|
+
Defaults to false; only set when the caller needs tokens for REST-compat.
|
|
1385
|
+
"""
|
|
1386
|
+
@_builtins.property
|
|
1387
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
1388
|
+
@_builtins.property
|
|
1389
|
+
def info_codes(self) -> _containers.RepeatedScalarFieldContainer[Global___InfoCode.ValueType]: ...
|
|
1390
|
+
def __init__(
|
|
1391
|
+
self,
|
|
1392
|
+
*,
|
|
1393
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
1394
|
+
info_codes: _abc.Iterable[Global___InfoCode.ValueType] | None = ...,
|
|
1395
|
+
include_master_token: _builtins.bool = ...,
|
|
1396
|
+
) -> None: ...
|
|
1397
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1398
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1399
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle", "include_master_token", b"include_master_token", "info_codes", b"info_codes"] # noqa: Y015
|
|
1400
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1401
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1402
|
+
|
|
1403
|
+
Global___ConnectionGetInfoRequest: _TypeAlias = ConnectionGetInfoRequest # noqa: Y015
|
|
1404
|
+
|
|
1405
|
+
@_typing.final
|
|
1406
|
+
class ConnectionGetInfoResponse(_message.Message):
|
|
1407
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1408
|
+
|
|
1409
|
+
HOST_FIELD_NUMBER: _builtins.int
|
|
1410
|
+
PORT_FIELD_NUMBER: _builtins.int
|
|
1411
|
+
SERVER_URL_FIELD_NUMBER: _builtins.int
|
|
1412
|
+
SESSION_TOKEN_FIELD_NUMBER: _builtins.int
|
|
1413
|
+
SESSION_ID_FIELD_NUMBER: _builtins.int
|
|
1414
|
+
ACCOUNT_FIELD_NUMBER: _builtins.int
|
|
1415
|
+
USER_FIELD_NUMBER: _builtins.int
|
|
1416
|
+
ROLE_FIELD_NUMBER: _builtins.int
|
|
1417
|
+
DATABASE_FIELD_NUMBER: _builtins.int
|
|
1418
|
+
SCHEMA_FIELD_NUMBER: _builtins.int
|
|
1419
|
+
WAREHOUSE_FIELD_NUMBER: _builtins.int
|
|
1420
|
+
MASTER_TOKEN_FIELD_NUMBER: _builtins.int
|
|
1421
|
+
USER_AGENT_FIELD_NUMBER: _builtins.int
|
|
1422
|
+
PROXY_HOST_FIELD_NUMBER: _builtins.int
|
|
1423
|
+
PROXY_PORT_FIELD_NUMBER: _builtins.int
|
|
1424
|
+
PROXY_USER_FIELD_NUMBER: _builtins.int
|
|
1425
|
+
PROXY_PASSWORD_FIELD_NUMBER: _builtins.int
|
|
1426
|
+
NO_PROXY_FIELD_NUMBER: _builtins.int
|
|
1427
|
+
SESSION_TOKEN_EXPIRES_AT_MS_FIELD_NUMBER: _builtins.int
|
|
1428
|
+
MASTER_TOKEN_EXPIRES_AT_MS_FIELD_NUMBER: _builtins.int
|
|
1429
|
+
host: _builtins.str
|
|
1430
|
+
port: _builtins.int
|
|
1431
|
+
server_url: _builtins.str
|
|
1432
|
+
session_token: _builtins.str
|
|
1433
|
+
session_id: _builtins.int
|
|
1434
|
+
account: _builtins.str
|
|
1435
|
+
user: _builtins.str
|
|
1436
|
+
role: _builtins.str
|
|
1437
|
+
database: _builtins.str
|
|
1438
|
+
schema: _builtins.str
|
|
1439
|
+
warehouse: _builtins.str
|
|
1440
|
+
master_token: _builtins.str
|
|
1441
|
+
user_agent: _builtins.str
|
|
1442
|
+
proxy_host: _builtins.str
|
|
1443
|
+
proxy_port: _builtins.int
|
|
1444
|
+
proxy_user: _builtins.str
|
|
1445
|
+
proxy_password: _builtins.str
|
|
1446
|
+
no_proxy: _builtins.str
|
|
1447
|
+
session_token_expires_at_ms: _builtins.int
|
|
1448
|
+
"""Token expiry as milliseconds since the Unix epoch, resolved against the
|
|
1449
|
+
wall clock when the response is built. Both are set regardless of
|
|
1450
|
+
include_master_token.
|
|
1451
|
+
"""
|
|
1452
|
+
master_token_expires_at_ms: _builtins.int
|
|
1453
|
+
def __init__(
|
|
1454
|
+
self,
|
|
1455
|
+
*,
|
|
1456
|
+
host: _builtins.str | None = ...,
|
|
1457
|
+
port: _builtins.int | None = ...,
|
|
1458
|
+
server_url: _builtins.str | None = ...,
|
|
1459
|
+
session_token: _builtins.str | None = ...,
|
|
1460
|
+
session_id: _builtins.int | None = ...,
|
|
1461
|
+
account: _builtins.str | None = ...,
|
|
1462
|
+
user: _builtins.str | None = ...,
|
|
1463
|
+
role: _builtins.str | None = ...,
|
|
1464
|
+
database: _builtins.str | None = ...,
|
|
1465
|
+
schema: _builtins.str | None = ...,
|
|
1466
|
+
warehouse: _builtins.str | None = ...,
|
|
1467
|
+
master_token: _builtins.str | None = ...,
|
|
1468
|
+
user_agent: _builtins.str | None = ...,
|
|
1469
|
+
proxy_host: _builtins.str | None = ...,
|
|
1470
|
+
proxy_port: _builtins.int | None = ...,
|
|
1471
|
+
proxy_user: _builtins.str | None = ...,
|
|
1472
|
+
proxy_password: _builtins.str | None = ...,
|
|
1473
|
+
no_proxy: _builtins.str | None = ...,
|
|
1474
|
+
session_token_expires_at_ms: _builtins.int | None = ...,
|
|
1475
|
+
master_token_expires_at_ms: _builtins.int | None = ...,
|
|
1476
|
+
) -> None: ...
|
|
1477
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_account", b"_account", "_database", b"_database", "_host", b"_host", "_master_token", b"_master_token", "_master_token_expires_at_ms", b"_master_token_expires_at_ms", "_no_proxy", b"_no_proxy", "_port", b"_port", "_proxy_host", b"_proxy_host", "_proxy_password", b"_proxy_password", "_proxy_port", b"_proxy_port", "_proxy_user", b"_proxy_user", "_role", b"_role", "_schema", b"_schema", "_server_url", b"_server_url", "_session_id", b"_session_id", "_session_token", b"_session_token", "_session_token_expires_at_ms", b"_session_token_expires_at_ms", "_user", b"_user", "_user_agent", b"_user_agent", "_warehouse", b"_warehouse", "account", b"account", "database", b"database", "host", b"host", "master_token", b"master_token", "master_token_expires_at_ms", b"master_token_expires_at_ms", "no_proxy", b"no_proxy", "port", b"port", "proxy_host", b"proxy_host", "proxy_password", b"proxy_password", "proxy_port", b"proxy_port", "proxy_user", b"proxy_user", "role", b"role", "schema", b"schema", "server_url", b"server_url", "session_id", b"session_id", "session_token", b"session_token", "session_token_expires_at_ms", b"session_token_expires_at_ms", "user", b"user", "user_agent", b"user_agent", "warehouse", b"warehouse"] # noqa: Y015
|
|
1478
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1479
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_account", b"_account", "_database", b"_database", "_host", b"_host", "_master_token", b"_master_token", "_master_token_expires_at_ms", b"_master_token_expires_at_ms", "_no_proxy", b"_no_proxy", "_port", b"_port", "_proxy_host", b"_proxy_host", "_proxy_password", b"_proxy_password", "_proxy_port", b"_proxy_port", "_proxy_user", b"_proxy_user", "_role", b"_role", "_schema", b"_schema", "_server_url", b"_server_url", "_session_id", b"_session_id", "_session_token", b"_session_token", "_session_token_expires_at_ms", b"_session_token_expires_at_ms", "_user", b"_user", "_user_agent", b"_user_agent", "_warehouse", b"_warehouse", "account", b"account", "database", b"database", "host", b"host", "master_token", b"master_token", "master_token_expires_at_ms", b"master_token_expires_at_ms", "no_proxy", b"no_proxy", "port", b"port", "proxy_host", b"proxy_host", "proxy_password", b"proxy_password", "proxy_port", b"proxy_port", "proxy_user", b"proxy_user", "role", b"role", "schema", b"schema", "server_url", b"server_url", "session_id", b"session_id", "session_token", b"session_token", "session_token_expires_at_ms", b"session_token_expires_at_ms", "user", b"user", "user_agent", b"user_agent", "warehouse", b"warehouse"] # noqa: Y015
|
|
1480
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1481
|
+
_WhichOneofReturnType__account: _TypeAlias = _typing.Literal["account"] # noqa: Y015
|
|
1482
|
+
_WhichOneofArgType__account: _TypeAlias = _typing.Literal["_account", b"_account"] # noqa: Y015
|
|
1483
|
+
_WhichOneofReturnType__database: _TypeAlias = _typing.Literal["database"] # noqa: Y015
|
|
1484
|
+
_WhichOneofArgType__database: _TypeAlias = _typing.Literal["_database", b"_database"] # noqa: Y015
|
|
1485
|
+
_WhichOneofReturnType__host: _TypeAlias = _typing.Literal["host"] # noqa: Y015
|
|
1486
|
+
_WhichOneofArgType__host: _TypeAlias = _typing.Literal["_host", b"_host"] # noqa: Y015
|
|
1487
|
+
_WhichOneofReturnType__master_token: _TypeAlias = _typing.Literal["master_token"] # noqa: Y015
|
|
1488
|
+
_WhichOneofArgType__master_token: _TypeAlias = _typing.Literal["_master_token", b"_master_token"] # noqa: Y015
|
|
1489
|
+
_WhichOneofReturnType__master_token_expires_at_ms: _TypeAlias = _typing.Literal["master_token_expires_at_ms"] # noqa: Y015
|
|
1490
|
+
_WhichOneofArgType__master_token_expires_at_ms: _TypeAlias = _typing.Literal["_master_token_expires_at_ms", b"_master_token_expires_at_ms"] # noqa: Y015
|
|
1491
|
+
_WhichOneofReturnType__no_proxy: _TypeAlias = _typing.Literal["no_proxy"] # noqa: Y015
|
|
1492
|
+
_WhichOneofArgType__no_proxy: _TypeAlias = _typing.Literal["_no_proxy", b"_no_proxy"] # noqa: Y015
|
|
1493
|
+
_WhichOneofReturnType__port: _TypeAlias = _typing.Literal["port"] # noqa: Y015
|
|
1494
|
+
_WhichOneofArgType__port: _TypeAlias = _typing.Literal["_port", b"_port"] # noqa: Y015
|
|
1495
|
+
_WhichOneofReturnType__proxy_host: _TypeAlias = _typing.Literal["proxy_host"] # noqa: Y015
|
|
1496
|
+
_WhichOneofArgType__proxy_host: _TypeAlias = _typing.Literal["_proxy_host", b"_proxy_host"] # noqa: Y015
|
|
1497
|
+
_WhichOneofReturnType__proxy_password: _TypeAlias = _typing.Literal["proxy_password"] # noqa: Y015
|
|
1498
|
+
_WhichOneofArgType__proxy_password: _TypeAlias = _typing.Literal["_proxy_password", b"_proxy_password"] # noqa: Y015
|
|
1499
|
+
_WhichOneofReturnType__proxy_port: _TypeAlias = _typing.Literal["proxy_port"] # noqa: Y015
|
|
1500
|
+
_WhichOneofArgType__proxy_port: _TypeAlias = _typing.Literal["_proxy_port", b"_proxy_port"] # noqa: Y015
|
|
1501
|
+
_WhichOneofReturnType__proxy_user: _TypeAlias = _typing.Literal["proxy_user"] # noqa: Y015
|
|
1502
|
+
_WhichOneofArgType__proxy_user: _TypeAlias = _typing.Literal["_proxy_user", b"_proxy_user"] # noqa: Y015
|
|
1503
|
+
_WhichOneofReturnType__role: _TypeAlias = _typing.Literal["role"] # noqa: Y015
|
|
1504
|
+
_WhichOneofArgType__role: _TypeAlias = _typing.Literal["_role", b"_role"] # noqa: Y015
|
|
1505
|
+
_WhichOneofReturnType__schema: _TypeAlias = _typing.Literal["schema"] # noqa: Y015
|
|
1506
|
+
_WhichOneofArgType__schema: _TypeAlias = _typing.Literal["_schema", b"_schema"] # noqa: Y015
|
|
1507
|
+
_WhichOneofReturnType__server_url: _TypeAlias = _typing.Literal["server_url"] # noqa: Y015
|
|
1508
|
+
_WhichOneofArgType__server_url: _TypeAlias = _typing.Literal["_server_url", b"_server_url"] # noqa: Y015
|
|
1509
|
+
_WhichOneofReturnType__session_id: _TypeAlias = _typing.Literal["session_id"] # noqa: Y015
|
|
1510
|
+
_WhichOneofArgType__session_id: _TypeAlias = _typing.Literal["_session_id", b"_session_id"] # noqa: Y015
|
|
1511
|
+
_WhichOneofReturnType__session_token: _TypeAlias = _typing.Literal["session_token"] # noqa: Y015
|
|
1512
|
+
_WhichOneofArgType__session_token: _TypeAlias = _typing.Literal["_session_token", b"_session_token"] # noqa: Y015
|
|
1513
|
+
_WhichOneofReturnType__session_token_expires_at_ms: _TypeAlias = _typing.Literal["session_token_expires_at_ms"] # noqa: Y015
|
|
1514
|
+
_WhichOneofArgType__session_token_expires_at_ms: _TypeAlias = _typing.Literal["_session_token_expires_at_ms", b"_session_token_expires_at_ms"] # noqa: Y015
|
|
1515
|
+
_WhichOneofReturnType__user: _TypeAlias = _typing.Literal["user"] # noqa: Y015
|
|
1516
|
+
_WhichOneofArgType__user: _TypeAlias = _typing.Literal["_user", b"_user"] # noqa: Y015
|
|
1517
|
+
_WhichOneofReturnType__user_agent: _TypeAlias = _typing.Literal["user_agent"] # noqa: Y015
|
|
1518
|
+
_WhichOneofArgType__user_agent: _TypeAlias = _typing.Literal["_user_agent", b"_user_agent"] # noqa: Y015
|
|
1519
|
+
_WhichOneofReturnType__warehouse: _TypeAlias = _typing.Literal["warehouse"] # noqa: Y015
|
|
1520
|
+
_WhichOneofArgType__warehouse: _TypeAlias = _typing.Literal["_warehouse", b"_warehouse"] # noqa: Y015
|
|
1521
|
+
@_typing.overload
|
|
1522
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__account) -> _WhichOneofReturnType__account | None: ...
|
|
1523
|
+
@_typing.overload
|
|
1524
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__database) -> _WhichOneofReturnType__database | None: ...
|
|
1525
|
+
@_typing.overload
|
|
1526
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__host) -> _WhichOneofReturnType__host | None: ...
|
|
1527
|
+
@_typing.overload
|
|
1528
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__master_token) -> _WhichOneofReturnType__master_token | None: ...
|
|
1529
|
+
@_typing.overload
|
|
1530
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__master_token_expires_at_ms) -> _WhichOneofReturnType__master_token_expires_at_ms | None: ...
|
|
1531
|
+
@_typing.overload
|
|
1532
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__no_proxy) -> _WhichOneofReturnType__no_proxy | None: ...
|
|
1533
|
+
@_typing.overload
|
|
1534
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__port) -> _WhichOneofReturnType__port | None: ...
|
|
1535
|
+
@_typing.overload
|
|
1536
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__proxy_host) -> _WhichOneofReturnType__proxy_host | None: ...
|
|
1537
|
+
@_typing.overload
|
|
1538
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__proxy_password) -> _WhichOneofReturnType__proxy_password | None: ...
|
|
1539
|
+
@_typing.overload
|
|
1540
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__proxy_port) -> _WhichOneofReturnType__proxy_port | None: ...
|
|
1541
|
+
@_typing.overload
|
|
1542
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__proxy_user) -> _WhichOneofReturnType__proxy_user | None: ...
|
|
1543
|
+
@_typing.overload
|
|
1544
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__role) -> _WhichOneofReturnType__role | None: ...
|
|
1545
|
+
@_typing.overload
|
|
1546
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__schema) -> _WhichOneofReturnType__schema | None: ...
|
|
1547
|
+
@_typing.overload
|
|
1548
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__server_url) -> _WhichOneofReturnType__server_url | None: ...
|
|
1549
|
+
@_typing.overload
|
|
1550
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__session_id) -> _WhichOneofReturnType__session_id | None: ...
|
|
1551
|
+
@_typing.overload
|
|
1552
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__session_token) -> _WhichOneofReturnType__session_token | None: ...
|
|
1553
|
+
@_typing.overload
|
|
1554
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__session_token_expires_at_ms) -> _WhichOneofReturnType__session_token_expires_at_ms | None: ...
|
|
1555
|
+
@_typing.overload
|
|
1556
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__user) -> _WhichOneofReturnType__user | None: ...
|
|
1557
|
+
@_typing.overload
|
|
1558
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__user_agent) -> _WhichOneofReturnType__user_agent | None: ...
|
|
1559
|
+
@_typing.overload
|
|
1560
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__warehouse) -> _WhichOneofReturnType__warehouse | None: ...
|
|
1561
|
+
|
|
1562
|
+
Global___ConnectionGetInfoResponse: _TypeAlias = ConnectionGetInfoResponse # noqa: Y015
|
|
1563
|
+
|
|
1564
|
+
@_typing.final
|
|
1565
|
+
class ConnectionGetObjectsRequest(_message.Message):
|
|
1566
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1567
|
+
|
|
1568
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1569
|
+
DEPTH_FIELD_NUMBER: _builtins.int
|
|
1570
|
+
CATALOG_FIELD_NUMBER: _builtins.int
|
|
1571
|
+
DB_SCHEMA_FIELD_NUMBER: _builtins.int
|
|
1572
|
+
TABLE_NAME_FIELD_NUMBER: _builtins.int
|
|
1573
|
+
TABLE_TYPE_FIELD_NUMBER: _builtins.int
|
|
1574
|
+
COLUMN_NAME_FIELD_NUMBER: _builtins.int
|
|
1575
|
+
depth: _builtins.int
|
|
1576
|
+
catalog: _builtins.str
|
|
1577
|
+
db_schema: _builtins.str
|
|
1578
|
+
table_name: _builtins.str
|
|
1579
|
+
column_name: _builtins.str
|
|
1580
|
+
@_builtins.property
|
|
1581
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
1582
|
+
@_builtins.property
|
|
1583
|
+
def table_type(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
|
|
1584
|
+
def __init__(
|
|
1585
|
+
self,
|
|
1586
|
+
*,
|
|
1587
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
1588
|
+
depth: _builtins.int = ...,
|
|
1589
|
+
catalog: _builtins.str | None = ...,
|
|
1590
|
+
db_schema: _builtins.str | None = ...,
|
|
1591
|
+
table_name: _builtins.str | None = ...,
|
|
1592
|
+
table_type: _abc.Iterable[_builtins.str] | None = ...,
|
|
1593
|
+
column_name: _builtins.str | None = ...,
|
|
1594
|
+
) -> None: ...
|
|
1595
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_catalog", b"_catalog", "_column_name", b"_column_name", "_db_schema", b"_db_schema", "_table_name", b"_table_name", "catalog", b"catalog", "column_name", b"column_name", "conn_handle", b"conn_handle", "db_schema", b"db_schema", "table_name", b"table_name"] # noqa: Y015
|
|
1596
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1597
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_catalog", b"_catalog", "_column_name", b"_column_name", "_db_schema", b"_db_schema", "_table_name", b"_table_name", "catalog", b"catalog", "column_name", b"column_name", "conn_handle", b"conn_handle", "db_schema", b"db_schema", "depth", b"depth", "table_name", b"table_name", "table_type", b"table_type"] # noqa: Y015
|
|
1598
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1599
|
+
_WhichOneofReturnType__catalog: _TypeAlias = _typing.Literal["catalog"] # noqa: Y015
|
|
1600
|
+
_WhichOneofArgType__catalog: _TypeAlias = _typing.Literal["_catalog", b"_catalog"] # noqa: Y015
|
|
1601
|
+
_WhichOneofReturnType__column_name: _TypeAlias = _typing.Literal["column_name"] # noqa: Y015
|
|
1602
|
+
_WhichOneofArgType__column_name: _TypeAlias = _typing.Literal["_column_name", b"_column_name"] # noqa: Y015
|
|
1603
|
+
_WhichOneofReturnType__db_schema: _TypeAlias = _typing.Literal["db_schema"] # noqa: Y015
|
|
1604
|
+
_WhichOneofArgType__db_schema: _TypeAlias = _typing.Literal["_db_schema", b"_db_schema"] # noqa: Y015
|
|
1605
|
+
_WhichOneofReturnType__table_name: _TypeAlias = _typing.Literal["table_name"] # noqa: Y015
|
|
1606
|
+
_WhichOneofArgType__table_name: _TypeAlias = _typing.Literal["_table_name", b"_table_name"] # noqa: Y015
|
|
1607
|
+
@_typing.overload
|
|
1608
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__catalog) -> _WhichOneofReturnType__catalog | None: ...
|
|
1609
|
+
@_typing.overload
|
|
1610
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__column_name) -> _WhichOneofReturnType__column_name | None: ...
|
|
1611
|
+
@_typing.overload
|
|
1612
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__db_schema) -> _WhichOneofReturnType__db_schema | None: ...
|
|
1613
|
+
@_typing.overload
|
|
1614
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__table_name) -> _WhichOneofReturnType__table_name | None: ...
|
|
1615
|
+
|
|
1616
|
+
Global___ConnectionGetObjectsRequest: _TypeAlias = ConnectionGetObjectsRequest # noqa: Y015
|
|
1617
|
+
|
|
1618
|
+
@_typing.final
|
|
1619
|
+
class ConnectionGetObjectsResponse(_message.Message):
|
|
1620
|
+
"""ConnectionGetObjects returns a result set (streaming, via result_set_get_stream)
|
|
1621
|
+
containing a nested ADBC-shaped Arrow batch:
|
|
1622
|
+
catalog_name: utf8
|
|
1623
|
+
catalog_db_schemas: list<struct<
|
|
1624
|
+
db_schema_name: utf8,
|
|
1625
|
+
db_schema_tables: list<struct<
|
|
1626
|
+
table_name: utf8,
|
|
1627
|
+
table_type: utf8,
|
|
1628
|
+
table_columns: list (always empty in this impl),
|
|
1629
|
+
table_constraints: list (always empty in this impl)
|
|
1630
|
+
>>
|
|
1631
|
+
>>
|
|
1632
|
+
|
|
1633
|
+
depth constants:
|
|
1634
|
+
0 = ALL (not used)
|
|
1635
|
+
1 = CATALOGS -> populates only catalog_name
|
|
1636
|
+
2 = DB_SCHEMAS -> populates catalog_name + db_schema_name
|
|
1637
|
+
3 = TABLES -> populates down to table_name/table_type
|
|
1638
|
+
4 = COLUMNS -> deferred (not implemented yet)
|
|
1639
|
+
|
|
1640
|
+
Filter semantics (search patterns, ADBC + backslash-escape extension):
|
|
1641
|
+
- NULL filter = no filter (account-wide or connection-context if
|
|
1642
|
+
CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX is set)
|
|
1643
|
+
- empty string "" = matches nothing (returns empty result)
|
|
1644
|
+
- % = any sequence, _ = any single char
|
|
1645
|
+
- \\%, \\_, \\\\ = literal %, _, \\ (escape extension, not in ADBC spec)
|
|
1646
|
+
- Matching is case-insensitive (Snowflake unquoted-identifier semantics)
|
|
1647
|
+
"""
|
|
1648
|
+
|
|
1649
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1650
|
+
|
|
1651
|
+
RESULT_SET_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1652
|
+
RESULT_DESCRIPTOR_FIELD_NUMBER: _builtins.int
|
|
1653
|
+
@_builtins.property
|
|
1654
|
+
def result_set_handle(self) -> Global___ResultSetHandle: ...
|
|
1655
|
+
@_builtins.property
|
|
1656
|
+
def result_descriptor(self) -> Global___ResultSetDescriptor: ...
|
|
1657
|
+
def __init__(
|
|
1658
|
+
self,
|
|
1659
|
+
*,
|
|
1660
|
+
result_set_handle: Global___ResultSetHandle | None = ...,
|
|
1661
|
+
result_descriptor: Global___ResultSetDescriptor | None = ...,
|
|
1662
|
+
) -> None: ...
|
|
1663
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["result_descriptor", b"result_descriptor", "result_set_handle", b"result_set_handle"] # noqa: Y015
|
|
1664
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1665
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["result_descriptor", b"result_descriptor", "result_set_handle", b"result_set_handle"] # noqa: Y015
|
|
1666
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1667
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1668
|
+
|
|
1669
|
+
Global___ConnectionGetObjectsResponse: _TypeAlias = ConnectionGetObjectsResponse # noqa: Y015
|
|
1670
|
+
|
|
1671
|
+
@_typing.final
|
|
1672
|
+
class ConnectionGetTableSchemaRequest(_message.Message):
|
|
1673
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1674
|
+
|
|
1675
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1676
|
+
CATALOG_FIELD_NUMBER: _builtins.int
|
|
1677
|
+
DB_SCHEMA_FIELD_NUMBER: _builtins.int
|
|
1678
|
+
TABLE_NAME_FIELD_NUMBER: _builtins.int
|
|
1679
|
+
catalog: _builtins.str
|
|
1680
|
+
db_schema: _builtins.str
|
|
1681
|
+
table_name: _builtins.str
|
|
1682
|
+
@_builtins.property
|
|
1683
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
1684
|
+
def __init__(
|
|
1685
|
+
self,
|
|
1686
|
+
*,
|
|
1687
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
1688
|
+
catalog: _builtins.str | None = ...,
|
|
1689
|
+
db_schema: _builtins.str | None = ...,
|
|
1690
|
+
table_name: _builtins.str = ...,
|
|
1691
|
+
) -> None: ...
|
|
1692
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_catalog", b"_catalog", "_db_schema", b"_db_schema", "catalog", b"catalog", "conn_handle", b"conn_handle", "db_schema", b"db_schema"] # noqa: Y015
|
|
1693
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1694
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_catalog", b"_catalog", "_db_schema", b"_db_schema", "catalog", b"catalog", "conn_handle", b"conn_handle", "db_schema", b"db_schema", "table_name", b"table_name"] # noqa: Y015
|
|
1695
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1696
|
+
_WhichOneofReturnType__catalog: _TypeAlias = _typing.Literal["catalog"] # noqa: Y015
|
|
1697
|
+
_WhichOneofArgType__catalog: _TypeAlias = _typing.Literal["_catalog", b"_catalog"] # noqa: Y015
|
|
1698
|
+
_WhichOneofReturnType__db_schema: _TypeAlias = _typing.Literal["db_schema"] # noqa: Y015
|
|
1699
|
+
_WhichOneofArgType__db_schema: _TypeAlias = _typing.Literal["_db_schema", b"_db_schema"] # noqa: Y015
|
|
1700
|
+
@_typing.overload
|
|
1701
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__catalog) -> _WhichOneofReturnType__catalog | None: ...
|
|
1702
|
+
@_typing.overload
|
|
1703
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__db_schema) -> _WhichOneofReturnType__db_schema | None: ...
|
|
1704
|
+
|
|
1705
|
+
Global___ConnectionGetTableSchemaRequest: _TypeAlias = ConnectionGetTableSchemaRequest # noqa: Y015
|
|
1706
|
+
|
|
1707
|
+
@_typing.final
|
|
1708
|
+
class ConnectionGetTableSchemaResponse(_message.Message):
|
|
1709
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1710
|
+
|
|
1711
|
+
SCHEMA_DATA_FIELD_NUMBER: _builtins.int
|
|
1712
|
+
schema_data: _builtins.bytes
|
|
1713
|
+
def __init__(
|
|
1714
|
+
self,
|
|
1715
|
+
*,
|
|
1716
|
+
schema_data: _builtins.bytes = ...,
|
|
1717
|
+
) -> None: ...
|
|
1718
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1719
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1720
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["schema_data", b"schema_data"] # noqa: Y015
|
|
1721
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1722
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1723
|
+
|
|
1724
|
+
Global___ConnectionGetTableSchemaResponse: _TypeAlias = ConnectionGetTableSchemaResponse # noqa: Y015
|
|
1725
|
+
|
|
1726
|
+
@_typing.final
|
|
1727
|
+
class ConnectionGetTableTypesRequest(_message.Message):
|
|
1728
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1729
|
+
|
|
1730
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1731
|
+
@_builtins.property
|
|
1732
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
1733
|
+
def __init__(
|
|
1734
|
+
self,
|
|
1735
|
+
*,
|
|
1736
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
1737
|
+
) -> None: ...
|
|
1738
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1739
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1740
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1741
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1742
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1743
|
+
|
|
1744
|
+
Global___ConnectionGetTableTypesRequest: _TypeAlias = ConnectionGetTableTypesRequest # noqa: Y015
|
|
1745
|
+
|
|
1746
|
+
@_typing.final
|
|
1747
|
+
class ConnectionGetTableTypesResponse(_message.Message):
|
|
1748
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1749
|
+
|
|
1750
|
+
TABLE_TYPES_DATA_FIELD_NUMBER: _builtins.int
|
|
1751
|
+
table_types_data: _builtins.bytes
|
|
1752
|
+
def __init__(
|
|
1753
|
+
self,
|
|
1754
|
+
*,
|
|
1755
|
+
table_types_data: _builtins.bytes = ...,
|
|
1756
|
+
) -> None: ...
|
|
1757
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1758
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1759
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["table_types_data", b"table_types_data"] # noqa: Y015
|
|
1760
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1761
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1762
|
+
|
|
1763
|
+
Global___ConnectionGetTableTypesResponse: _TypeAlias = ConnectionGetTableTypesResponse # noqa: Y015
|
|
1764
|
+
|
|
1765
|
+
@_typing.final
|
|
1766
|
+
class ConnectionCommitRequest(_message.Message):
|
|
1767
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1768
|
+
|
|
1769
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1770
|
+
@_builtins.property
|
|
1771
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
1772
|
+
def __init__(
|
|
1773
|
+
self,
|
|
1774
|
+
*,
|
|
1775
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
1776
|
+
) -> None: ...
|
|
1777
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1778
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1779
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1780
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1781
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1782
|
+
|
|
1783
|
+
Global___ConnectionCommitRequest: _TypeAlias = ConnectionCommitRequest # noqa: Y015
|
|
1784
|
+
|
|
1785
|
+
@_typing.final
|
|
1786
|
+
class ConnectionCommitResponse(_message.Message):
|
|
1787
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1788
|
+
|
|
1789
|
+
def __init__(
|
|
1790
|
+
self,
|
|
1791
|
+
) -> None: ...
|
|
1792
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1793
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1794
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1795
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1796
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1797
|
+
|
|
1798
|
+
Global___ConnectionCommitResponse: _TypeAlias = ConnectionCommitResponse # noqa: Y015
|
|
1799
|
+
|
|
1800
|
+
@_typing.final
|
|
1801
|
+
class ConnectionRollbackRequest(_message.Message):
|
|
1802
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1803
|
+
|
|
1804
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1805
|
+
@_builtins.property
|
|
1806
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
1807
|
+
def __init__(
|
|
1808
|
+
self,
|
|
1809
|
+
*,
|
|
1810
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
1811
|
+
) -> None: ...
|
|
1812
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1813
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1814
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1815
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1816
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1817
|
+
|
|
1818
|
+
Global___ConnectionRollbackRequest: _TypeAlias = ConnectionRollbackRequest # noqa: Y015
|
|
1819
|
+
|
|
1820
|
+
@_typing.final
|
|
1821
|
+
class ConnectionRollbackResponse(_message.Message):
|
|
1822
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1823
|
+
|
|
1824
|
+
def __init__(
|
|
1825
|
+
self,
|
|
1826
|
+
) -> None: ...
|
|
1827
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1828
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1829
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1830
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1831
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1832
|
+
|
|
1833
|
+
Global___ConnectionRollbackResponse: _TypeAlias = ConnectionRollbackResponse # noqa: Y015
|
|
1834
|
+
|
|
1835
|
+
@_typing.final
|
|
1836
|
+
class ConnectionSetAutocommitRequest(_message.Message):
|
|
1837
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1838
|
+
|
|
1839
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1840
|
+
AUTOCOMMIT_FIELD_NUMBER: _builtins.int
|
|
1841
|
+
autocommit: _builtins.bool
|
|
1842
|
+
@_builtins.property
|
|
1843
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
1844
|
+
def __init__(
|
|
1845
|
+
self,
|
|
1846
|
+
*,
|
|
1847
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
1848
|
+
autocommit: _builtins.bool = ...,
|
|
1849
|
+
) -> None: ...
|
|
1850
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1851
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1852
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["autocommit", b"autocommit", "conn_handle", b"conn_handle"] # noqa: Y015
|
|
1853
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1854
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1855
|
+
|
|
1856
|
+
Global___ConnectionSetAutocommitRequest: _TypeAlias = ConnectionSetAutocommitRequest # noqa: Y015
|
|
1857
|
+
|
|
1858
|
+
@_typing.final
|
|
1859
|
+
class ConnectionSetAutocommitResponse(_message.Message):
|
|
1860
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1861
|
+
|
|
1862
|
+
def __init__(
|
|
1863
|
+
self,
|
|
1864
|
+
) -> None: ...
|
|
1865
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1866
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1867
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1868
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1869
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1870
|
+
|
|
1871
|
+
Global___ConnectionSetAutocommitResponse: _TypeAlias = ConnectionSetAutocommitResponse # noqa: Y015
|
|
1872
|
+
|
|
1873
|
+
@_typing.final
|
|
1874
|
+
class ConnectionUseDatabaseRequest(_message.Message):
|
|
1875
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1876
|
+
|
|
1877
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1878
|
+
DATABASE_FIELD_NUMBER: _builtins.int
|
|
1879
|
+
database: _builtins.str
|
|
1880
|
+
@_builtins.property
|
|
1881
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
1882
|
+
def __init__(
|
|
1883
|
+
self,
|
|
1884
|
+
*,
|
|
1885
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
1886
|
+
database: _builtins.str = ...,
|
|
1887
|
+
) -> None: ...
|
|
1888
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1889
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1890
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle", "database", b"database"] # noqa: Y015
|
|
1891
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1892
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1893
|
+
|
|
1894
|
+
Global___ConnectionUseDatabaseRequest: _TypeAlias = ConnectionUseDatabaseRequest # noqa: Y015
|
|
1895
|
+
|
|
1896
|
+
@_typing.final
|
|
1897
|
+
class ConnectionUseDatabaseResponse(_message.Message):
|
|
1898
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1899
|
+
|
|
1900
|
+
def __init__(
|
|
1901
|
+
self,
|
|
1902
|
+
) -> None: ...
|
|
1903
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1904
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1905
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1906
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1907
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1908
|
+
|
|
1909
|
+
Global___ConnectionUseDatabaseResponse: _TypeAlias = ConnectionUseDatabaseResponse # noqa: Y015
|
|
1910
|
+
|
|
1911
|
+
@_typing.final
|
|
1912
|
+
class ConnectionUseSchemaRequest(_message.Message):
|
|
1913
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1914
|
+
|
|
1915
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1916
|
+
SCHEMA_FIELD_NUMBER: _builtins.int
|
|
1917
|
+
schema: _builtins.str
|
|
1918
|
+
@_builtins.property
|
|
1919
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
1920
|
+
def __init__(
|
|
1921
|
+
self,
|
|
1922
|
+
*,
|
|
1923
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
1924
|
+
schema: _builtins.str = ...,
|
|
1925
|
+
) -> None: ...
|
|
1926
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1927
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1928
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle", "schema", b"schema"] # noqa: Y015
|
|
1929
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1930
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1931
|
+
|
|
1932
|
+
Global___ConnectionUseSchemaRequest: _TypeAlias = ConnectionUseSchemaRequest # noqa: Y015
|
|
1933
|
+
|
|
1934
|
+
@_typing.final
|
|
1935
|
+
class ConnectionUseSchemaResponse(_message.Message):
|
|
1936
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1937
|
+
|
|
1938
|
+
def __init__(
|
|
1939
|
+
self,
|
|
1940
|
+
) -> None: ...
|
|
1941
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1942
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1943
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1944
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1945
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1946
|
+
|
|
1947
|
+
Global___ConnectionUseSchemaResponse: _TypeAlias = ConnectionUseSchemaResponse # noqa: Y015
|
|
1948
|
+
|
|
1949
|
+
@_typing.final
|
|
1950
|
+
class ConnectionSetSessionParametersRequest(_message.Message):
|
|
1951
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1952
|
+
|
|
1953
|
+
@_typing.final
|
|
1954
|
+
class ParametersEntry(_message.Message):
|
|
1955
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1956
|
+
|
|
1957
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
1958
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
1959
|
+
key: _builtins.str
|
|
1960
|
+
value: _builtins.str
|
|
1961
|
+
def __init__(
|
|
1962
|
+
self,
|
|
1963
|
+
*,
|
|
1964
|
+
key: _builtins.str = ...,
|
|
1965
|
+
value: _builtins.str = ...,
|
|
1966
|
+
) -> None: ...
|
|
1967
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
1968
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1969
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
|
|
1970
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1971
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1972
|
+
|
|
1973
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
1974
|
+
PARAMETERS_FIELD_NUMBER: _builtins.int
|
|
1975
|
+
@_builtins.property
|
|
1976
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
1977
|
+
@_builtins.property
|
|
1978
|
+
def parameters(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ...
|
|
1979
|
+
def __init__(
|
|
1980
|
+
self,
|
|
1981
|
+
*,
|
|
1982
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
1983
|
+
parameters: _abc.Mapping[_builtins.str, _builtins.str] | None = ...,
|
|
1984
|
+
) -> None: ...
|
|
1985
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
1986
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1987
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle", "parameters", b"parameters"] # noqa: Y015
|
|
1988
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1989
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
1990
|
+
|
|
1991
|
+
Global___ConnectionSetSessionParametersRequest: _TypeAlias = ConnectionSetSessionParametersRequest # noqa: Y015
|
|
1992
|
+
|
|
1993
|
+
@_typing.final
|
|
1994
|
+
class ConnectionSetSessionParametersResponse(_message.Message):
|
|
1995
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1996
|
+
|
|
1997
|
+
def __init__(
|
|
1998
|
+
self,
|
|
1999
|
+
) -> None: ...
|
|
2000
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2001
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2002
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2003
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2004
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2005
|
+
|
|
2006
|
+
Global___ConnectionSetSessionParametersResponse: _TypeAlias = ConnectionSetSessionParametersResponse # noqa: Y015
|
|
2007
|
+
|
|
2008
|
+
@_typing.final
|
|
2009
|
+
class ConnectionGetParameterRequest(_message.Message):
|
|
2010
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2011
|
+
|
|
2012
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2013
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
2014
|
+
key: _builtins.str
|
|
2015
|
+
@_builtins.property
|
|
2016
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
2017
|
+
def __init__(
|
|
2018
|
+
self,
|
|
2019
|
+
*,
|
|
2020
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
2021
|
+
key: _builtins.str = ...,
|
|
2022
|
+
) -> None: ...
|
|
2023
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
2024
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2025
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle", "key", b"key"] # noqa: Y015
|
|
2026
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2027
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2028
|
+
|
|
2029
|
+
Global___ConnectionGetParameterRequest: _TypeAlias = ConnectionGetParameterRequest # noqa: Y015
|
|
2030
|
+
|
|
2031
|
+
@_typing.final
|
|
2032
|
+
class ConnectionGetParameterResponse(_message.Message):
|
|
2033
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2034
|
+
|
|
2035
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
2036
|
+
TYPED_VALUE_FIELD_NUMBER: _builtins.int
|
|
2037
|
+
@_builtins.property
|
|
2038
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
2039
|
+
def value(self) -> _builtins.str:
|
|
2040
|
+
"""Superseded by typed_value, which carries the server's native type. Removed
|
|
2041
|
+
once every wrapper reads typed_value; both fields are populated until then.
|
|
2042
|
+
"""
|
|
2043
|
+
|
|
2044
|
+
@value.setter
|
|
2045
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
2046
|
+
def value(self, value: _builtins.str) -> None:
|
|
2047
|
+
"""Superseded by typed_value, which carries the server's native type. Removed
|
|
2048
|
+
once every wrapper reads typed_value; both fields are populated until then.
|
|
2049
|
+
"""
|
|
2050
|
+
|
|
2051
|
+
@_builtins.property
|
|
2052
|
+
def typed_value(self) -> Global___ConfigSetting: ...
|
|
2053
|
+
def __init__(
|
|
2054
|
+
self,
|
|
2055
|
+
*,
|
|
2056
|
+
value: _builtins.str | None = ...,
|
|
2057
|
+
typed_value: Global___ConfigSetting | None = ...,
|
|
2058
|
+
) -> None: ...
|
|
2059
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_typed_value", b"_typed_value", "_value", b"_value", "typed_value", b"typed_value", "value", b"value"] # noqa: Y015
|
|
2060
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2061
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_typed_value", b"_typed_value", "_value", b"_value", "typed_value", b"typed_value", "value", b"value"] # noqa: Y015
|
|
2062
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2063
|
+
_WhichOneofReturnType__typed_value: _TypeAlias = _typing.Literal["typed_value"] # noqa: Y015
|
|
2064
|
+
_WhichOneofArgType__typed_value: _TypeAlias = _typing.Literal["_typed_value", b"_typed_value"] # noqa: Y015
|
|
2065
|
+
_WhichOneofReturnType__value: _TypeAlias = _typing.Literal["value"] # noqa: Y015
|
|
2066
|
+
_WhichOneofArgType__value: _TypeAlias = _typing.Literal["_value", b"_value"] # noqa: Y015
|
|
2067
|
+
@_typing.overload
|
|
2068
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__typed_value) -> _WhichOneofReturnType__typed_value | None: ...
|
|
2069
|
+
@_typing.overload
|
|
2070
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__value) -> _WhichOneofReturnType__value | None: ...
|
|
2071
|
+
|
|
2072
|
+
Global___ConnectionGetParameterResponse: _TypeAlias = ConnectionGetParameterResponse # noqa: Y015
|
|
2073
|
+
|
|
2074
|
+
@_typing.final
|
|
2075
|
+
class ConnectionGetAllParametersRequest(_message.Message):
|
|
2076
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2077
|
+
|
|
2078
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2079
|
+
@_builtins.property
|
|
2080
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
2081
|
+
def __init__(
|
|
2082
|
+
self,
|
|
2083
|
+
*,
|
|
2084
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
2085
|
+
) -> None: ...
|
|
2086
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
2087
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2088
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
2089
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2090
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2091
|
+
|
|
2092
|
+
Global___ConnectionGetAllParametersRequest: _TypeAlias = ConnectionGetAllParametersRequest # noqa: Y015
|
|
2093
|
+
|
|
2094
|
+
@_typing.final
|
|
2095
|
+
class ConnectionGetAllParametersResponse(_message.Message):
|
|
2096
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2097
|
+
|
|
2098
|
+
@_typing.final
|
|
2099
|
+
class ParametersEntry(_message.Message):
|
|
2100
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2101
|
+
|
|
2102
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
2103
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
2104
|
+
key: _builtins.str
|
|
2105
|
+
value: _builtins.str
|
|
2106
|
+
def __init__(
|
|
2107
|
+
self,
|
|
2108
|
+
*,
|
|
2109
|
+
key: _builtins.str = ...,
|
|
2110
|
+
value: _builtins.str = ...,
|
|
2111
|
+
) -> None: ...
|
|
2112
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2113
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2114
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
|
|
2115
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2116
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2117
|
+
|
|
2118
|
+
@_typing.final
|
|
2119
|
+
class TypedParametersEntry(_message.Message):
|
|
2120
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2121
|
+
|
|
2122
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
2123
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
2124
|
+
key: _builtins.str
|
|
2125
|
+
@_builtins.property
|
|
2126
|
+
def value(self) -> Global___ConfigSetting: ...
|
|
2127
|
+
def __init__(
|
|
2128
|
+
self,
|
|
2129
|
+
*,
|
|
2130
|
+
key: _builtins.str = ...,
|
|
2131
|
+
value: Global___ConfigSetting | None = ...,
|
|
2132
|
+
) -> None: ...
|
|
2133
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
|
|
2134
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2135
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
|
|
2136
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2137
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2138
|
+
|
|
2139
|
+
PARAMETERS_FIELD_NUMBER: _builtins.int
|
|
2140
|
+
TYPED_PARAMETERS_FIELD_NUMBER: _builtins.int
|
|
2141
|
+
@_builtins.property
|
|
2142
|
+
@_deprecated("""This field has been marked as deprecated using proto field options.""")
|
|
2143
|
+
def parameters(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]:
|
|
2144
|
+
"""Superseded by typed_parameters. See ConnectionGetParameterResponse.value."""
|
|
2145
|
+
|
|
2146
|
+
@_builtins.property
|
|
2147
|
+
def typed_parameters(self) -> _containers.MessageMap[_builtins.str, Global___ConfigSetting]: ...
|
|
2148
|
+
def __init__(
|
|
2149
|
+
self,
|
|
2150
|
+
*,
|
|
2151
|
+
parameters: _abc.Mapping[_builtins.str, _builtins.str] | None = ...,
|
|
2152
|
+
typed_parameters: _abc.Mapping[_builtins.str, Global___ConfigSetting] | None = ...,
|
|
2153
|
+
) -> None: ...
|
|
2154
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2155
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2156
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["parameters", b"parameters", "typed_parameters", b"typed_parameters"] # noqa: Y015
|
|
2157
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2158
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2159
|
+
|
|
2160
|
+
Global___ConnectionGetAllParametersResponse: _TypeAlias = ConnectionGetAllParametersResponse # noqa: Y015
|
|
2161
|
+
|
|
2162
|
+
@_typing.final
|
|
2163
|
+
class ConnectionGetServerVersionRequest(_message.Message):
|
|
2164
|
+
"""Reads the Snowflake server version cached from the login response.
|
|
2165
|
+
Distinct from ConnectionGetInfo (which aggregates ~12 fields and takes
|
|
2166
|
+
several locks) so SQLGetInfo(SQL_DBMS_VER) / JDBC getDatabaseProductVersion
|
|
2167
|
+
stay cheap even when callers poll them per-statement.
|
|
2168
|
+
"""
|
|
2169
|
+
|
|
2170
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2171
|
+
|
|
2172
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2173
|
+
@_builtins.property
|
|
2174
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
2175
|
+
def __init__(
|
|
2176
|
+
self,
|
|
2177
|
+
*,
|
|
2178
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
2179
|
+
) -> None: ...
|
|
2180
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
2181
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2182
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
2183
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2184
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2185
|
+
|
|
2186
|
+
Global___ConnectionGetServerVersionRequest: _TypeAlias = ConnectionGetServerVersionRequest # noqa: Y015
|
|
2187
|
+
|
|
2188
|
+
@_typing.final
|
|
2189
|
+
class ConnectionGetServerVersionResponse(_message.Message):
|
|
2190
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2191
|
+
|
|
2192
|
+
SERVER_VERSION_FIELD_NUMBER: _builtins.int
|
|
2193
|
+
server_version: _builtins.str
|
|
2194
|
+
"""Empty when called before login completes."""
|
|
2195
|
+
def __init__(
|
|
2196
|
+
self,
|
|
2197
|
+
*,
|
|
2198
|
+
server_version: _builtins.str | None = ...,
|
|
2199
|
+
) -> None: ...
|
|
2200
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_server_version", b"_server_version", "server_version", b"server_version"] # noqa: Y015
|
|
2201
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2202
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_server_version", b"_server_version", "server_version", b"server_version"] # noqa: Y015
|
|
2203
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2204
|
+
_WhichOneofReturnType__server_version: _TypeAlias = _typing.Literal["server_version"] # noqa: Y015
|
|
2205
|
+
_WhichOneofArgType__server_version: _TypeAlias = _typing.Literal["_server_version", b"_server_version"] # noqa: Y015
|
|
2206
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__server_version) -> _WhichOneofReturnType__server_version | None: ...
|
|
2207
|
+
|
|
2208
|
+
Global___ConnectionGetServerVersionResponse: _TypeAlias = ConnectionGetServerVersionResponse # noqa: Y015
|
|
2209
|
+
|
|
2210
|
+
@_typing.final
|
|
2211
|
+
class ConnectionValidateOptionsRequest(_message.Message):
|
|
2212
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2213
|
+
|
|
2214
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2215
|
+
@_builtins.property
|
|
2216
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
2217
|
+
def __init__(
|
|
2218
|
+
self,
|
|
2219
|
+
*,
|
|
2220
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
2221
|
+
) -> None: ...
|
|
2222
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
2223
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2224
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
2225
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2226
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2227
|
+
|
|
2228
|
+
Global___ConnectionValidateOptionsRequest: _TypeAlias = ConnectionValidateOptionsRequest # noqa: Y015
|
|
2229
|
+
|
|
2230
|
+
@_typing.final
|
|
2231
|
+
class ConnectionValidateOptionsResponse(_message.Message):
|
|
2232
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2233
|
+
|
|
2234
|
+
ISSUES_FIELD_NUMBER: _builtins.int
|
|
2235
|
+
@_builtins.property
|
|
2236
|
+
def issues(self) -> _containers.RepeatedCompositeFieldContainer[Global___ValidationIssue]: ...
|
|
2237
|
+
def __init__(
|
|
2238
|
+
self,
|
|
2239
|
+
*,
|
|
2240
|
+
issues: _abc.Iterable[Global___ValidationIssue] | None = ...,
|
|
2241
|
+
) -> None: ...
|
|
2242
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2243
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2244
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["issues", b"issues"] # noqa: Y015
|
|
2245
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2246
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2247
|
+
|
|
2248
|
+
Global___ConnectionValidateOptionsResponse: _TypeAlias = ConnectionValidateOptionsResponse # noqa: Y015
|
|
2249
|
+
|
|
2250
|
+
@_typing.final
|
|
2251
|
+
class ConnectionSendHttpRequest(_message.Message):
|
|
2252
|
+
"""HTTP request via sf_core (uses connection's TLS/OCSP/CRL client).
|
|
2253
|
+
URL is resolved relative to the connection's server_url.
|
|
2254
|
+
Auth is always the current session token (managed by sf_core).
|
|
2255
|
+
"""
|
|
2256
|
+
|
|
2257
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2258
|
+
|
|
2259
|
+
@_typing.final
|
|
2260
|
+
class HeadersEntry(_message.Message):
|
|
2261
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2262
|
+
|
|
2263
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
2264
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
2265
|
+
key: _builtins.str
|
|
2266
|
+
value: _builtins.str
|
|
2267
|
+
def __init__(
|
|
2268
|
+
self,
|
|
2269
|
+
*,
|
|
2270
|
+
key: _builtins.str = ...,
|
|
2271
|
+
value: _builtins.str = ...,
|
|
2272
|
+
) -> None: ...
|
|
2273
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2274
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2275
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
|
|
2276
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2277
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2278
|
+
|
|
2279
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2280
|
+
METHOD_FIELD_NUMBER: _builtins.int
|
|
2281
|
+
URL_FIELD_NUMBER: _builtins.int
|
|
2282
|
+
HEADERS_FIELD_NUMBER: _builtins.int
|
|
2283
|
+
BODY_FIELD_NUMBER: _builtins.int
|
|
2284
|
+
method: _builtins.str
|
|
2285
|
+
"""GET, POST, PUT, DELETE, PATCH"""
|
|
2286
|
+
url: _builtins.str
|
|
2287
|
+
"""relative URL path (e.g. "/session/token-request")"""
|
|
2288
|
+
body: _builtins.bytes
|
|
2289
|
+
@_builtins.property
|
|
2290
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
2291
|
+
@_builtins.property
|
|
2292
|
+
def headers(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ...
|
|
2293
|
+
def __init__(
|
|
2294
|
+
self,
|
|
2295
|
+
*,
|
|
2296
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
2297
|
+
method: _builtins.str = ...,
|
|
2298
|
+
url: _builtins.str = ...,
|
|
2299
|
+
headers: _abc.Mapping[_builtins.str, _builtins.str] | None = ...,
|
|
2300
|
+
body: _builtins.bytes | None = ...,
|
|
2301
|
+
) -> None: ...
|
|
2302
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_body", b"_body", "body", b"body", "conn_handle", b"conn_handle"] # noqa: Y015
|
|
2303
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2304
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_body", b"_body", "body", b"body", "conn_handle", b"conn_handle", "headers", b"headers", "method", b"method", "url", b"url"] # noqa: Y015
|
|
2305
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2306
|
+
_WhichOneofReturnType__body: _TypeAlias = _typing.Literal["body"] # noqa: Y015
|
|
2307
|
+
_WhichOneofArgType__body: _TypeAlias = _typing.Literal["_body", b"_body"] # noqa: Y015
|
|
2308
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__body) -> _WhichOneofReturnType__body | None: ...
|
|
2309
|
+
|
|
2310
|
+
Global___ConnectionSendHttpRequest: _TypeAlias = ConnectionSendHttpRequest # noqa: Y015
|
|
2311
|
+
|
|
2312
|
+
@_typing.final
|
|
2313
|
+
class ConnectionSendHttpResponse(_message.Message):
|
|
2314
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2315
|
+
|
|
2316
|
+
@_typing.final
|
|
2317
|
+
class HeadersEntry(_message.Message):
|
|
2318
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2319
|
+
|
|
2320
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
2321
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
2322
|
+
key: _builtins.str
|
|
2323
|
+
value: _builtins.str
|
|
2324
|
+
def __init__(
|
|
2325
|
+
self,
|
|
2326
|
+
*,
|
|
2327
|
+
key: _builtins.str = ...,
|
|
2328
|
+
value: _builtins.str = ...,
|
|
2329
|
+
) -> None: ...
|
|
2330
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2331
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2332
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
|
|
2333
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2334
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2335
|
+
|
|
2336
|
+
STATUS_CODE_FIELD_NUMBER: _builtins.int
|
|
2337
|
+
HEADERS_FIELD_NUMBER: _builtins.int
|
|
2338
|
+
BODY_FIELD_NUMBER: _builtins.int
|
|
2339
|
+
status_code: _builtins.int
|
|
2340
|
+
body: _builtins.bytes
|
|
2341
|
+
@_builtins.property
|
|
2342
|
+
def headers(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ...
|
|
2343
|
+
def __init__(
|
|
2344
|
+
self,
|
|
2345
|
+
*,
|
|
2346
|
+
status_code: _builtins.int = ...,
|
|
2347
|
+
headers: _abc.Mapping[_builtins.str, _builtins.str] | None = ...,
|
|
2348
|
+
body: _builtins.bytes = ...,
|
|
2349
|
+
) -> None: ...
|
|
2350
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2351
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2352
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["body", b"body", "headers", b"headers", "status_code", b"status_code"] # noqa: Y015
|
|
2353
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2354
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2355
|
+
|
|
2356
|
+
Global___ConnectionSendHttpResponse: _TypeAlias = ConnectionSendHttpResponse # noqa: Y015
|
|
2357
|
+
|
|
2358
|
+
@_typing.final
|
|
2359
|
+
class ConnectionTokenRequest(_message.Message):
|
|
2360
|
+
"""Token request (ISSUE/RENEW) — executed entirely in sf_core with master token"""
|
|
2361
|
+
|
|
2362
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2363
|
+
|
|
2364
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2365
|
+
REQUEST_TYPE_FIELD_NUMBER: _builtins.int
|
|
2366
|
+
request_type: Global___TokenRequestType.ValueType
|
|
2367
|
+
@_builtins.property
|
|
2368
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
2369
|
+
def __init__(
|
|
2370
|
+
self,
|
|
2371
|
+
*,
|
|
2372
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
2373
|
+
request_type: Global___TokenRequestType.ValueType = ...,
|
|
2374
|
+
) -> None: ...
|
|
2375
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
2376
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2377
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle", "request_type", b"request_type"] # noqa: Y015
|
|
2378
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2379
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2380
|
+
|
|
2381
|
+
Global___ConnectionTokenRequest: _TypeAlias = ConnectionTokenRequest # noqa: Y015
|
|
2382
|
+
|
|
2383
|
+
@_typing.final
|
|
2384
|
+
class ConnectionTokenResponse(_message.Message):
|
|
2385
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2386
|
+
|
|
2387
|
+
SESSION_TOKEN_FIELD_NUMBER: _builtins.int
|
|
2388
|
+
VALIDITY_IN_SECONDS_FIELD_NUMBER: _builtins.int
|
|
2389
|
+
session_token: _builtins.str
|
|
2390
|
+
validity_in_seconds: _builtins.int
|
|
2391
|
+
def __init__(
|
|
2392
|
+
self,
|
|
2393
|
+
*,
|
|
2394
|
+
session_token: _builtins.str = ...,
|
|
2395
|
+
validity_in_seconds: _builtins.int | None = ...,
|
|
2396
|
+
) -> None: ...
|
|
2397
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_validity_in_seconds", b"_validity_in_seconds", "validity_in_seconds", b"validity_in_seconds"] # noqa: Y015
|
|
2398
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2399
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_validity_in_seconds", b"_validity_in_seconds", "session_token", b"session_token", "validity_in_seconds", b"validity_in_seconds"] # noqa: Y015
|
|
2400
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2401
|
+
_WhichOneofReturnType__validity_in_seconds: _TypeAlias = _typing.Literal["validity_in_seconds"] # noqa: Y015
|
|
2402
|
+
_WhichOneofArgType__validity_in_seconds: _TypeAlias = _typing.Literal["_validity_in_seconds", b"_validity_in_seconds"] # noqa: Y015
|
|
2403
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__validity_in_seconds) -> _WhichOneofReturnType__validity_in_seconds | None: ...
|
|
2404
|
+
|
|
2405
|
+
Global___ConnectionTokenResponse: _TypeAlias = ConnectionTokenResponse # noqa: Y015
|
|
2406
|
+
|
|
2407
|
+
@_typing.final
|
|
2408
|
+
class ConnectionHeartbeatRequest(_message.Message):
|
|
2409
|
+
"""Heartbeat request to validate that the connection and session are still alive."""
|
|
2410
|
+
|
|
2411
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2412
|
+
|
|
2413
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2414
|
+
TIMEOUT_SECONDS_FIELD_NUMBER: _builtins.int
|
|
2415
|
+
timeout_seconds: _builtins.int
|
|
2416
|
+
"""0 / absent = use default (300s)"""
|
|
2417
|
+
@_builtins.property
|
|
2418
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
2419
|
+
def __init__(
|
|
2420
|
+
self,
|
|
2421
|
+
*,
|
|
2422
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
2423
|
+
timeout_seconds: _builtins.int | None = ...,
|
|
2424
|
+
) -> None: ...
|
|
2425
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_timeout_seconds", b"_timeout_seconds", "conn_handle", b"conn_handle", "timeout_seconds", b"timeout_seconds"] # noqa: Y015
|
|
2426
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2427
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_timeout_seconds", b"_timeout_seconds", "conn_handle", b"conn_handle", "timeout_seconds", b"timeout_seconds"] # noqa: Y015
|
|
2428
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2429
|
+
_WhichOneofReturnType__timeout_seconds: _TypeAlias = _typing.Literal["timeout_seconds"] # noqa: Y015
|
|
2430
|
+
_WhichOneofArgType__timeout_seconds: _TypeAlias = _typing.Literal["_timeout_seconds", b"_timeout_seconds"] # noqa: Y015
|
|
2431
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__timeout_seconds) -> _WhichOneofReturnType__timeout_seconds | None: ...
|
|
2432
|
+
|
|
2433
|
+
Global___ConnectionHeartbeatRequest: _TypeAlias = ConnectionHeartbeatRequest # noqa: Y015
|
|
2434
|
+
|
|
2435
|
+
@_typing.final
|
|
2436
|
+
class ConnectionHeartbeatResponse(_message.Message):
|
|
2437
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2438
|
+
|
|
2439
|
+
VALID_FIELD_NUMBER: _builtins.int
|
|
2440
|
+
valid: _builtins.bool
|
|
2441
|
+
def __init__(
|
|
2442
|
+
self,
|
|
2443
|
+
*,
|
|
2444
|
+
valid: _builtins.bool = ...,
|
|
2445
|
+
) -> None: ...
|
|
2446
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2447
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2448
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["valid", b"valid"] # noqa: Y015
|
|
2449
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2450
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2451
|
+
|
|
2452
|
+
Global___ConnectionHeartbeatResponse: _TypeAlias = ConnectionHeartbeatResponse # noqa: Y015
|
|
2453
|
+
|
|
2454
|
+
@_typing.final
|
|
2455
|
+
class ConnectionGetQueryResultRequest(_message.Message):
|
|
2456
|
+
"""Fetch the result of a previously executed query by its Snowflake Query ID."""
|
|
2457
|
+
|
|
2458
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2459
|
+
|
|
2460
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2461
|
+
QUERY_ID_FIELD_NUMBER: _builtins.int
|
|
2462
|
+
query_id: _builtins.str
|
|
2463
|
+
@_builtins.property
|
|
2464
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
2465
|
+
def __init__(
|
|
2466
|
+
self,
|
|
2467
|
+
*,
|
|
2468
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
2469
|
+
query_id: _builtins.str = ...,
|
|
2470
|
+
) -> None: ...
|
|
2471
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
2472
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2473
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle", "query_id", b"query_id"] # noqa: Y015
|
|
2474
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2475
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2476
|
+
|
|
2477
|
+
Global___ConnectionGetQueryResultRequest: _TypeAlias = ConnectionGetQueryResultRequest # noqa: Y015
|
|
2478
|
+
|
|
2479
|
+
@_typing.final
|
|
2480
|
+
class ConnectionGetResultSetRequest(_message.Message):
|
|
2481
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2482
|
+
|
|
2483
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2484
|
+
QUERY_ID_FIELD_NUMBER: _builtins.int
|
|
2485
|
+
query_id: _builtins.str
|
|
2486
|
+
@_builtins.property
|
|
2487
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
2488
|
+
def __init__(
|
|
2489
|
+
self,
|
|
2490
|
+
*,
|
|
2491
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
2492
|
+
query_id: _builtins.str = ...,
|
|
2493
|
+
) -> None: ...
|
|
2494
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
2495
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2496
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle", "query_id", b"query_id"] # noqa: Y015
|
|
2497
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2498
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2499
|
+
|
|
2500
|
+
Global___ConnectionGetResultSetRequest: _TypeAlias = ConnectionGetResultSetRequest # noqa: Y015
|
|
2501
|
+
|
|
2502
|
+
@_typing.final
|
|
2503
|
+
class ConnectionAbortQueryRequest(_message.Message):
|
|
2504
|
+
"""Abort a running query by its Snowflake Query ID."""
|
|
2505
|
+
|
|
2506
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2507
|
+
|
|
2508
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2509
|
+
QUERY_ID_FIELD_NUMBER: _builtins.int
|
|
2510
|
+
query_id: _builtins.str
|
|
2511
|
+
@_builtins.property
|
|
2512
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
2513
|
+
def __init__(
|
|
2514
|
+
self,
|
|
2515
|
+
*,
|
|
2516
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
2517
|
+
query_id: _builtins.str = ...,
|
|
2518
|
+
) -> None: ...
|
|
2519
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
2520
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2521
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle", "query_id", b"query_id"] # noqa: Y015
|
|
2522
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2523
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2524
|
+
|
|
2525
|
+
Global___ConnectionAbortQueryRequest: _TypeAlias = ConnectionAbortQueryRequest # noqa: Y015
|
|
2526
|
+
|
|
2527
|
+
@_typing.final
|
|
2528
|
+
class ConnectionAbortQueryResponse(_message.Message):
|
|
2529
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2530
|
+
|
|
2531
|
+
OUTCOME_FIELD_NUMBER: _builtins.int
|
|
2532
|
+
outcome: Global___AbortQueryOutcome.ValueType
|
|
2533
|
+
def __init__(
|
|
2534
|
+
self,
|
|
2535
|
+
*,
|
|
2536
|
+
outcome: Global___AbortQueryOutcome.ValueType = ...,
|
|
2537
|
+
) -> None: ...
|
|
2538
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2539
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2540
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["outcome", b"outcome"] # noqa: Y015
|
|
2541
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2542
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2543
|
+
|
|
2544
|
+
Global___ConnectionAbortQueryResponse: _TypeAlias = ConnectionAbortQueryResponse # noqa: Y015
|
|
2545
|
+
|
|
2546
|
+
@_typing.final
|
|
2547
|
+
class UploadStreamHandle(_message.Message):
|
|
2548
|
+
"""Handle for a chunked upload stream session opened by
|
|
2549
|
+
ConnectionUploadStreamBegin. Opaque outside sf_core, same shape as the
|
|
2550
|
+
other handle types.
|
|
2551
|
+
"""
|
|
2552
|
+
|
|
2553
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2554
|
+
|
|
2555
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
2556
|
+
MAGIC_FIELD_NUMBER: _builtins.int
|
|
2557
|
+
id: _builtins.int
|
|
2558
|
+
magic: _builtins.int
|
|
2559
|
+
def __init__(
|
|
2560
|
+
self,
|
|
2561
|
+
*,
|
|
2562
|
+
id: _builtins.int = ...,
|
|
2563
|
+
magic: _builtins.int = ...,
|
|
2564
|
+
) -> None: ...
|
|
2565
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2566
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2567
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["id", b"id", "magic", b"magic"] # noqa: Y015
|
|
2568
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2569
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2570
|
+
|
|
2571
|
+
Global___UploadStreamHandle: _TypeAlias = UploadStreamHandle # noqa: Y015
|
|
2572
|
+
|
|
2573
|
+
@_typing.final
|
|
2574
|
+
class ConnectionUploadStreamBeginRequest(_message.Message):
|
|
2575
|
+
"""Chunked streaming PUT, part 1/3: registers the PUT SQL and opens a session
|
|
2576
|
+
that accumulates chunks handed in via ConnectionUploadStreamChunk. The core
|
|
2577
|
+
does not contact GS until ConnectionUploadStreamFinish — bounding wrapper
|
|
2578
|
+
memory to ~one chunk while preserving the existing upload path (digest,
|
|
2579
|
+
retry, CSE, multipart) unchanged. Backs JDBC `uploadStream` and Python
|
|
2580
|
+
`cursor.execute(file_stream=…)`.
|
|
2581
|
+
"""
|
|
2582
|
+
|
|
2583
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2584
|
+
|
|
2585
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2586
|
+
SQL_FIELD_NUMBER: _builtins.int
|
|
2587
|
+
sql: _builtins.str
|
|
2588
|
+
"""The PUT SQL statement. Must begin with PUT and reference a `file://`
|
|
2589
|
+
path whose basename is used as the destination filename in the stage.
|
|
2590
|
+
"""
|
|
2591
|
+
@_builtins.property
|
|
2592
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
2593
|
+
def __init__(
|
|
2594
|
+
self,
|
|
2595
|
+
*,
|
|
2596
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
2597
|
+
sql: _builtins.str = ...,
|
|
2598
|
+
) -> None: ...
|
|
2599
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
2600
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2601
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle", "sql", b"sql"] # noqa: Y015
|
|
2602
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2603
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2604
|
+
|
|
2605
|
+
Global___ConnectionUploadStreamBeginRequest: _TypeAlias = ConnectionUploadStreamBeginRequest # noqa: Y015
|
|
2606
|
+
|
|
2607
|
+
@_typing.final
|
|
2608
|
+
class ConnectionUploadStreamBeginResponse(_message.Message):
|
|
2609
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2610
|
+
|
|
2611
|
+
UPLOAD_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2612
|
+
@_builtins.property
|
|
2613
|
+
def upload_handle(self) -> Global___UploadStreamHandle: ...
|
|
2614
|
+
def __init__(
|
|
2615
|
+
self,
|
|
2616
|
+
*,
|
|
2617
|
+
upload_handle: Global___UploadStreamHandle | None = ...,
|
|
2618
|
+
) -> None: ...
|
|
2619
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["upload_handle", b"upload_handle"] # noqa: Y015
|
|
2620
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2621
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["upload_handle", b"upload_handle"] # noqa: Y015
|
|
2622
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2623
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2624
|
+
|
|
2625
|
+
Global___ConnectionUploadStreamBeginResponse: _TypeAlias = ConnectionUploadStreamBeginResponse # noqa: Y015
|
|
2626
|
+
|
|
2627
|
+
@_typing.final
|
|
2628
|
+
class ConnectionUploadStreamChunkRequest(_message.Message):
|
|
2629
|
+
"""Chunked streaming PUT, part 2/3: appends one chunk of the source to the
|
|
2630
|
+
session opened by ConnectionUploadStreamBegin. Callers should keep chunks
|
|
2631
|
+
bounded (e.g. 8 MiB) to preserve the wrapper memory bound this RPC exists
|
|
2632
|
+
for.
|
|
2633
|
+
"""
|
|
2634
|
+
|
|
2635
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2636
|
+
|
|
2637
|
+
UPLOAD_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2638
|
+
DATA_FIELD_NUMBER: _builtins.int
|
|
2639
|
+
data: _builtins.bytes
|
|
2640
|
+
@_builtins.property
|
|
2641
|
+
def upload_handle(self) -> Global___UploadStreamHandle: ...
|
|
2642
|
+
def __init__(
|
|
2643
|
+
self,
|
|
2644
|
+
*,
|
|
2645
|
+
upload_handle: Global___UploadStreamHandle | None = ...,
|
|
2646
|
+
data: _builtins.bytes = ...,
|
|
2647
|
+
) -> None: ...
|
|
2648
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["upload_handle", b"upload_handle"] # noqa: Y015
|
|
2649
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2650
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["data", b"data", "upload_handle", b"upload_handle"] # noqa: Y015
|
|
2651
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2652
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2653
|
+
|
|
2654
|
+
Global___ConnectionUploadStreamChunkRequest: _TypeAlias = ConnectionUploadStreamChunkRequest # noqa: Y015
|
|
2655
|
+
|
|
2656
|
+
@_typing.final
|
|
2657
|
+
class ConnectionUploadStreamChunkResponse(_message.Message):
|
|
2658
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2659
|
+
|
|
2660
|
+
def __init__(
|
|
2661
|
+
self,
|
|
2662
|
+
) -> None: ...
|
|
2663
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2664
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2665
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2666
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2667
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2668
|
+
|
|
2669
|
+
Global___ConnectionUploadStreamChunkResponse: _TypeAlias = ConnectionUploadStreamChunkResponse # noqa: Y015
|
|
2670
|
+
|
|
2671
|
+
@_typing.final
|
|
2672
|
+
class ConnectionUploadStreamFinishRequest(_message.Message):
|
|
2673
|
+
"""Chunked streaming PUT, part 3/3: closes the session, reassembles the
|
|
2674
|
+
buffered chunks into a re-readable source, and runs the PUT. Mirrors
|
|
2675
|
+
`ResultSetResponse`: a PUT-shaped result set (handle + descriptor), so the
|
|
2676
|
+
caller can read the standard 8-column PUT rowset.
|
|
2677
|
+
"""
|
|
2678
|
+
|
|
2679
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2680
|
+
|
|
2681
|
+
UPLOAD_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2682
|
+
@_builtins.property
|
|
2683
|
+
def upload_handle(self) -> Global___UploadStreamHandle: ...
|
|
2684
|
+
def __init__(
|
|
2685
|
+
self,
|
|
2686
|
+
*,
|
|
2687
|
+
upload_handle: Global___UploadStreamHandle | None = ...,
|
|
2688
|
+
) -> None: ...
|
|
2689
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["upload_handle", b"upload_handle"] # noqa: Y015
|
|
2690
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2691
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["upload_handle", b"upload_handle"] # noqa: Y015
|
|
2692
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2693
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2694
|
+
|
|
2695
|
+
Global___ConnectionUploadStreamFinishRequest: _TypeAlias = ConnectionUploadStreamFinishRequest # noqa: Y015
|
|
2696
|
+
|
|
2697
|
+
@_typing.final
|
|
2698
|
+
class ConnectionUploadStreamFinishResponse(_message.Message):
|
|
2699
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2700
|
+
|
|
2701
|
+
RESULT_SET_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2702
|
+
RESULT_DESCRIPTOR_FIELD_NUMBER: _builtins.int
|
|
2703
|
+
@_builtins.property
|
|
2704
|
+
def result_set_handle(self) -> Global___ResultSetHandle: ...
|
|
2705
|
+
@_builtins.property
|
|
2706
|
+
def result_descriptor(self) -> Global___ResultSetDescriptor: ...
|
|
2707
|
+
def __init__(
|
|
2708
|
+
self,
|
|
2709
|
+
*,
|
|
2710
|
+
result_set_handle: Global___ResultSetHandle | None = ...,
|
|
2711
|
+
result_descriptor: Global___ResultSetDescriptor | None = ...,
|
|
2712
|
+
) -> None: ...
|
|
2713
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["result_descriptor", b"result_descriptor", "result_set_handle", b"result_set_handle"] # noqa: Y015
|
|
2714
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2715
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["result_descriptor", b"result_descriptor", "result_set_handle", b"result_set_handle"] # noqa: Y015
|
|
2716
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2717
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2718
|
+
|
|
2719
|
+
Global___ConnectionUploadStreamFinishResponse: _TypeAlias = ConnectionUploadStreamFinishResponse # noqa: Y015
|
|
2720
|
+
|
|
2721
|
+
@_typing.final
|
|
2722
|
+
class ConnectionUploadStreamAbortRequest(_message.Message):
|
|
2723
|
+
"""Aborts a chunked upload session opened by ConnectionUploadStreamBegin
|
|
2724
|
+
without running the PUT (e.g. the caller's source stream failed mid-read).
|
|
2725
|
+
Any buffered/spooled bytes are discarded.
|
|
2726
|
+
"""
|
|
2727
|
+
|
|
2728
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2729
|
+
|
|
2730
|
+
UPLOAD_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2731
|
+
@_builtins.property
|
|
2732
|
+
def upload_handle(self) -> Global___UploadStreamHandle: ...
|
|
2733
|
+
def __init__(
|
|
2734
|
+
self,
|
|
2735
|
+
*,
|
|
2736
|
+
upload_handle: Global___UploadStreamHandle | None = ...,
|
|
2737
|
+
) -> None: ...
|
|
2738
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["upload_handle", b"upload_handle"] # noqa: Y015
|
|
2739
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2740
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["upload_handle", b"upload_handle"] # noqa: Y015
|
|
2741
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2742
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2743
|
+
|
|
2744
|
+
Global___ConnectionUploadStreamAbortRequest: _TypeAlias = ConnectionUploadStreamAbortRequest # noqa: Y015
|
|
2745
|
+
|
|
2746
|
+
@_typing.final
|
|
2747
|
+
class ConnectionUploadStreamAbortResponse(_message.Message):
|
|
2748
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2749
|
+
|
|
2750
|
+
def __init__(
|
|
2751
|
+
self,
|
|
2752
|
+
) -> None: ...
|
|
2753
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2754
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2755
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2756
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2757
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2758
|
+
|
|
2759
|
+
Global___ConnectionUploadStreamAbortResponse: _TypeAlias = ConnectionUploadStreamAbortResponse # noqa: Y015
|
|
2760
|
+
|
|
2761
|
+
@_typing.final
|
|
2762
|
+
class DownloadStreamHandle(_message.Message):
|
|
2763
|
+
"""Handle for a chunked download stream session opened by
|
|
2764
|
+
ConnectionDownloadStreamBegin. Opaque outside sf_core, same shape as the
|
|
2765
|
+
other handle types.
|
|
2766
|
+
"""
|
|
2767
|
+
|
|
2768
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2769
|
+
|
|
2770
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
2771
|
+
MAGIC_FIELD_NUMBER: _builtins.int
|
|
2772
|
+
id: _builtins.int
|
|
2773
|
+
magic: _builtins.int
|
|
2774
|
+
def __init__(
|
|
2775
|
+
self,
|
|
2776
|
+
*,
|
|
2777
|
+
id: _builtins.int = ...,
|
|
2778
|
+
magic: _builtins.int = ...,
|
|
2779
|
+
) -> None: ...
|
|
2780
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2781
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2782
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["id", b"id", "magic", b"magic"] # noqa: Y015
|
|
2783
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2784
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2785
|
+
|
|
2786
|
+
Global___DownloadStreamHandle: _TypeAlias = DownloadStreamHandle # noqa: Y015
|
|
2787
|
+
|
|
2788
|
+
@_typing.final
|
|
2789
|
+
class ConnectionDownloadStreamBeginRequest(_message.Message):
|
|
2790
|
+
"""Chunked streaming GET, part 1/3: resolves the stage location and opens a
|
|
2791
|
+
session that streams the file from cloud storage without ever landing the
|
|
2792
|
+
whole file on local disk or fully buffering it in memory. The core keeps
|
|
2793
|
+
only a small bounded window of bytes in flight regardless of file size.
|
|
2794
|
+
Supports S3, GCS, and Azure-backed stages.
|
|
2795
|
+
"""
|
|
2796
|
+
|
|
2797
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2798
|
+
|
|
2799
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2800
|
+
STAGE_NAME_FIELD_NUMBER: _builtins.int
|
|
2801
|
+
SOURCE_FILENAME_FIELD_NUMBER: _builtins.int
|
|
2802
|
+
DECOMPRESS_FIELD_NUMBER: _builtins.int
|
|
2803
|
+
stage_name: _builtins.str
|
|
2804
|
+
source_filename: _builtins.str
|
|
2805
|
+
decompress: _builtins.bool
|
|
2806
|
+
"""When true, the core gunzips the downloaded bytes before returning
|
|
2807
|
+
(opt-in; the bytes are returned verbatim otherwise).
|
|
2808
|
+
"""
|
|
2809
|
+
@_builtins.property
|
|
2810
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
2811
|
+
def __init__(
|
|
2812
|
+
self,
|
|
2813
|
+
*,
|
|
2814
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
2815
|
+
stage_name: _builtins.str = ...,
|
|
2816
|
+
source_filename: _builtins.str = ...,
|
|
2817
|
+
decompress: _builtins.bool = ...,
|
|
2818
|
+
) -> None: ...
|
|
2819
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
2820
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2821
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle", "decompress", b"decompress", "source_filename", b"source_filename", "stage_name", b"stage_name"] # noqa: Y015
|
|
2822
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2823
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2824
|
+
|
|
2825
|
+
Global___ConnectionDownloadStreamBeginRequest: _TypeAlias = ConnectionDownloadStreamBeginRequest # noqa: Y015
|
|
2826
|
+
|
|
2827
|
+
@_typing.final
|
|
2828
|
+
class ConnectionDownloadStreamBeginResponse(_message.Message):
|
|
2829
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2830
|
+
|
|
2831
|
+
DOWNLOAD_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2832
|
+
TOTAL_LEN_FIELD_NUMBER: _builtins.int
|
|
2833
|
+
total_len: _builtins.int
|
|
2834
|
+
"""Size of the file in the stage, in bytes, when known up front (before
|
|
2835
|
+
any decompression). Absent if the size could not be determined.
|
|
2836
|
+
"""
|
|
2837
|
+
@_builtins.property
|
|
2838
|
+
def download_handle(self) -> Global___DownloadStreamHandle: ...
|
|
2839
|
+
def __init__(
|
|
2840
|
+
self,
|
|
2841
|
+
*,
|
|
2842
|
+
download_handle: Global___DownloadStreamHandle | None = ...,
|
|
2843
|
+
total_len: _builtins.int | None = ...,
|
|
2844
|
+
) -> None: ...
|
|
2845
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_total_len", b"_total_len", "download_handle", b"download_handle", "total_len", b"total_len"] # noqa: Y015
|
|
2846
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2847
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_total_len", b"_total_len", "download_handle", b"download_handle", "total_len", b"total_len"] # noqa: Y015
|
|
2848
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2849
|
+
_WhichOneofReturnType__total_len: _TypeAlias = _typing.Literal["total_len"] # noqa: Y015
|
|
2850
|
+
_WhichOneofArgType__total_len: _TypeAlias = _typing.Literal["_total_len", b"_total_len"] # noqa: Y015
|
|
2851
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__total_len) -> _WhichOneofReturnType__total_len | None: ...
|
|
2852
|
+
|
|
2853
|
+
Global___ConnectionDownloadStreamBeginResponse: _TypeAlias = ConnectionDownloadStreamBeginResponse # noqa: Y015
|
|
2854
|
+
|
|
2855
|
+
@_typing.final
|
|
2856
|
+
class ConnectionDownloadStreamChunkRequest(_message.Message):
|
|
2857
|
+
"""Chunked streaming GET, part 2/3: pulls up to max_len bytes of the session
|
|
2858
|
+
opened by ConnectionDownloadStreamBegin. The core clamps max_len to 8 MiB
|
|
2859
|
+
per call regardless of what is requested here — this is an enforced cap,
|
|
2860
|
+
not just advisory guidance — to keep its bounded-memory guarantee a real
|
|
2861
|
+
guarantee. eof is true once the producer has finished and no more bytes
|
|
2862
|
+
remain.
|
|
2863
|
+
"""
|
|
2864
|
+
|
|
2865
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2866
|
+
|
|
2867
|
+
DOWNLOAD_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2868
|
+
MAX_LEN_FIELD_NUMBER: _builtins.int
|
|
2869
|
+
max_len: _builtins.int
|
|
2870
|
+
@_builtins.property
|
|
2871
|
+
def download_handle(self) -> Global___DownloadStreamHandle: ...
|
|
2872
|
+
def __init__(
|
|
2873
|
+
self,
|
|
2874
|
+
*,
|
|
2875
|
+
download_handle: Global___DownloadStreamHandle | None = ...,
|
|
2876
|
+
max_len: _builtins.int = ...,
|
|
2877
|
+
) -> None: ...
|
|
2878
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["download_handle", b"download_handle"] # noqa: Y015
|
|
2879
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2880
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["download_handle", b"download_handle", "max_len", b"max_len"] # noqa: Y015
|
|
2881
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2882
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2883
|
+
|
|
2884
|
+
Global___ConnectionDownloadStreamChunkRequest: _TypeAlias = ConnectionDownloadStreamChunkRequest # noqa: Y015
|
|
2885
|
+
|
|
2886
|
+
@_typing.final
|
|
2887
|
+
class ConnectionDownloadStreamChunkResponse(_message.Message):
|
|
2888
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2889
|
+
|
|
2890
|
+
DATA_FIELD_NUMBER: _builtins.int
|
|
2891
|
+
EOF_FIELD_NUMBER: _builtins.int
|
|
2892
|
+
data: _builtins.bytes
|
|
2893
|
+
eof: _builtins.bool
|
|
2894
|
+
def __init__(
|
|
2895
|
+
self,
|
|
2896
|
+
*,
|
|
2897
|
+
data: _builtins.bytes = ...,
|
|
2898
|
+
eof: _builtins.bool = ...,
|
|
2899
|
+
) -> None: ...
|
|
2900
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2901
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2902
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["data", b"data", "eof", b"eof"] # noqa: Y015
|
|
2903
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2904
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2905
|
+
|
|
2906
|
+
Global___ConnectionDownloadStreamChunkResponse: _TypeAlias = ConnectionDownloadStreamChunkResponse # noqa: Y015
|
|
2907
|
+
|
|
2908
|
+
@_typing.final
|
|
2909
|
+
class ConnectionDownloadStreamCloseRequest(_message.Message):
|
|
2910
|
+
"""Chunked streaming GET, part 3/3: closes the session, aborting the
|
|
2911
|
+
in-flight download if it has not already finished. Safe to call after
|
|
2912
|
+
eof, or early (e.g. the caller's consumer failed mid-read).
|
|
2913
|
+
"""
|
|
2914
|
+
|
|
2915
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2916
|
+
|
|
2917
|
+
DOWNLOAD_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2918
|
+
@_builtins.property
|
|
2919
|
+
def download_handle(self) -> Global___DownloadStreamHandle: ...
|
|
2920
|
+
def __init__(
|
|
2921
|
+
self,
|
|
2922
|
+
*,
|
|
2923
|
+
download_handle: Global___DownloadStreamHandle | None = ...,
|
|
2924
|
+
) -> None: ...
|
|
2925
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["download_handle", b"download_handle"] # noqa: Y015
|
|
2926
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2927
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["download_handle", b"download_handle"] # noqa: Y015
|
|
2928
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2929
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2930
|
+
|
|
2931
|
+
Global___ConnectionDownloadStreamCloseRequest: _TypeAlias = ConnectionDownloadStreamCloseRequest # noqa: Y015
|
|
2932
|
+
|
|
2933
|
+
@_typing.final
|
|
2934
|
+
class ConnectionDownloadStreamCloseResponse(_message.Message):
|
|
2935
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2936
|
+
|
|
2937
|
+
def __init__(
|
|
2938
|
+
self,
|
|
2939
|
+
) -> None: ...
|
|
2940
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2941
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2942
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
2943
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2944
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2945
|
+
|
|
2946
|
+
Global___ConnectionDownloadStreamCloseResponse: _TypeAlias = ConnectionDownloadStreamCloseResponse # noqa: Y015
|
|
2947
|
+
|
|
2948
|
+
@_typing.final
|
|
2949
|
+
class StatementNewRequest(_message.Message):
|
|
2950
|
+
"""Statement service requests and responses"""
|
|
2951
|
+
|
|
2952
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2953
|
+
|
|
2954
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2955
|
+
@_builtins.property
|
|
2956
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
2957
|
+
def __init__(
|
|
2958
|
+
self,
|
|
2959
|
+
*,
|
|
2960
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
2961
|
+
) -> None: ...
|
|
2962
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
2963
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2964
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
2965
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2966
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2967
|
+
|
|
2968
|
+
Global___StatementNewRequest: _TypeAlias = StatementNewRequest # noqa: Y015
|
|
2969
|
+
|
|
2970
|
+
@_typing.final
|
|
2971
|
+
class StatementNewResponse(_message.Message):
|
|
2972
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2973
|
+
|
|
2974
|
+
STMT_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2975
|
+
@_builtins.property
|
|
2976
|
+
def stmt_handle(self) -> Global___StatementHandle: ...
|
|
2977
|
+
def __init__(
|
|
2978
|
+
self,
|
|
2979
|
+
*,
|
|
2980
|
+
stmt_handle: Global___StatementHandle | None = ...,
|
|
2981
|
+
) -> None: ...
|
|
2982
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
2983
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2984
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
2985
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2986
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
2987
|
+
|
|
2988
|
+
Global___StatementNewResponse: _TypeAlias = StatementNewResponse # noqa: Y015
|
|
2989
|
+
|
|
2990
|
+
@_typing.final
|
|
2991
|
+
class StatementReleaseRequest(_message.Message):
|
|
2992
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
2993
|
+
|
|
2994
|
+
STMT_HANDLE_FIELD_NUMBER: _builtins.int
|
|
2995
|
+
@_builtins.property
|
|
2996
|
+
def stmt_handle(self) -> Global___StatementHandle: ...
|
|
2997
|
+
def __init__(
|
|
2998
|
+
self,
|
|
2999
|
+
*,
|
|
3000
|
+
stmt_handle: Global___StatementHandle | None = ...,
|
|
3001
|
+
) -> None: ...
|
|
3002
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
3003
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3004
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
3005
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3006
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3007
|
+
|
|
3008
|
+
Global___StatementReleaseRequest: _TypeAlias = StatementReleaseRequest # noqa: Y015
|
|
3009
|
+
|
|
3010
|
+
@_typing.final
|
|
3011
|
+
class StatementReleaseResponse(_message.Message):
|
|
3012
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3013
|
+
|
|
3014
|
+
def __init__(
|
|
3015
|
+
self,
|
|
3016
|
+
) -> None: ...
|
|
3017
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
3018
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3019
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
3020
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3021
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3022
|
+
|
|
3023
|
+
Global___StatementReleaseResponse: _TypeAlias = StatementReleaseResponse # noqa: Y015
|
|
3024
|
+
|
|
3025
|
+
@_typing.final
|
|
3026
|
+
class StatementSetSqlQueryRequest(_message.Message):
|
|
3027
|
+
"""Cancel the query currently in flight on a statement (cross-thread SQLCancel).
|
|
3028
|
+
Keyed on the statement's own client-generated requestId, captured by the core
|
|
3029
|
+
at submit time — the caller passes only the handle.
|
|
3030
|
+
"""
|
|
3031
|
+
|
|
3032
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3033
|
+
|
|
3034
|
+
STMT_HANDLE_FIELD_NUMBER: _builtins.int
|
|
3035
|
+
QUERY_FIELD_NUMBER: _builtins.int
|
|
3036
|
+
query: _builtins.str
|
|
3037
|
+
@_builtins.property
|
|
3038
|
+
def stmt_handle(self) -> Global___StatementHandle: ...
|
|
3039
|
+
def __init__(
|
|
3040
|
+
self,
|
|
3041
|
+
*,
|
|
3042
|
+
stmt_handle: Global___StatementHandle | None = ...,
|
|
3043
|
+
query: _builtins.str = ...,
|
|
3044
|
+
) -> None: ...
|
|
3045
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
3046
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3047
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["query", b"query", "stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
3048
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3049
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3050
|
+
|
|
3051
|
+
Global___StatementSetSqlQueryRequest: _TypeAlias = StatementSetSqlQueryRequest # noqa: Y015
|
|
3052
|
+
|
|
3053
|
+
@_typing.final
|
|
3054
|
+
class StatementSetSqlQueryResponse(_message.Message):
|
|
3055
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3056
|
+
|
|
3057
|
+
def __init__(
|
|
3058
|
+
self,
|
|
3059
|
+
) -> None: ...
|
|
3060
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
3061
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3062
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
3063
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3064
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3065
|
+
|
|
3066
|
+
Global___StatementSetSqlQueryResponse: _TypeAlias = StatementSetSqlQueryResponse # noqa: Y015
|
|
3067
|
+
|
|
3068
|
+
@_typing.final
|
|
3069
|
+
class StatementSetSubstraitPlanRequest(_message.Message):
|
|
3070
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3071
|
+
|
|
3072
|
+
STMT_HANDLE_FIELD_NUMBER: _builtins.int
|
|
3073
|
+
PLAN_FIELD_NUMBER: _builtins.int
|
|
3074
|
+
plan: _builtins.bytes
|
|
3075
|
+
@_builtins.property
|
|
3076
|
+
def stmt_handle(self) -> Global___StatementHandle: ...
|
|
3077
|
+
def __init__(
|
|
3078
|
+
self,
|
|
3079
|
+
*,
|
|
3080
|
+
stmt_handle: Global___StatementHandle | None = ...,
|
|
3081
|
+
plan: _builtins.bytes = ...,
|
|
3082
|
+
) -> None: ...
|
|
3083
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
3084
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3085
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["plan", b"plan", "stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
3086
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3087
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3088
|
+
|
|
3089
|
+
Global___StatementSetSubstraitPlanRequest: _TypeAlias = StatementSetSubstraitPlanRequest # noqa: Y015
|
|
3090
|
+
|
|
3091
|
+
@_typing.final
|
|
3092
|
+
class StatementSetSubstraitPlanResponse(_message.Message):
|
|
3093
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3094
|
+
|
|
3095
|
+
def __init__(
|
|
3096
|
+
self,
|
|
3097
|
+
) -> None: ...
|
|
3098
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
3099
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3100
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
3101
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3102
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3103
|
+
|
|
3104
|
+
Global___StatementSetSubstraitPlanResponse: _TypeAlias = StatementSetSubstraitPlanResponse # noqa: Y015
|
|
3105
|
+
|
|
3106
|
+
@_typing.final
|
|
3107
|
+
class PrepareResult(_message.Message):
|
|
3108
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3109
|
+
|
|
3110
|
+
STREAM_FIELD_NUMBER: _builtins.int
|
|
3111
|
+
QUERY_ID_FIELD_NUMBER: _builtins.int
|
|
3112
|
+
COLUMNS_FIELD_NUMBER: _builtins.int
|
|
3113
|
+
NUMBER_OF_BINDS_FIELD_NUMBER: _builtins.int
|
|
3114
|
+
QUERY_FIELD_NUMBER: _builtins.int
|
|
3115
|
+
SQL_STATE_FIELD_NUMBER: _builtins.int
|
|
3116
|
+
ARRAY_BIND_SUPPORTED_FIELD_NUMBER: _builtins.int
|
|
3117
|
+
BINDS_FIELD_NUMBER: _builtins.int
|
|
3118
|
+
REQUEST_ID_FIELD_NUMBER: _builtins.int
|
|
3119
|
+
query_id: _builtins.str
|
|
3120
|
+
number_of_binds: _builtins.int
|
|
3121
|
+
query: _builtins.str
|
|
3122
|
+
sql_state: _builtins.str
|
|
3123
|
+
array_bind_supported: _builtins.bool
|
|
3124
|
+
request_id: _builtins.str
|
|
3125
|
+
"""Client-generated UUID v4 sent as ?requestId= on the submission request; unlike ExecuteQueryResponse.request_id, never absent."""
|
|
3126
|
+
@_builtins.property
|
|
3127
|
+
def stream(self) -> Global___ArrowArrayStreamPtr: ...
|
|
3128
|
+
@_builtins.property
|
|
3129
|
+
def columns(self) -> _containers.RepeatedCompositeFieldContainer[Global___ColumnMetadata]: ...
|
|
3130
|
+
@_builtins.property
|
|
3131
|
+
def binds(self) -> _containers.RepeatedCompositeFieldContainer[Global___ColumnMetadata]: ...
|
|
3132
|
+
def __init__(
|
|
3133
|
+
self,
|
|
3134
|
+
*,
|
|
3135
|
+
stream: Global___ArrowArrayStreamPtr | None = ...,
|
|
3136
|
+
query_id: _builtins.str = ...,
|
|
3137
|
+
columns: _abc.Iterable[Global___ColumnMetadata] | None = ...,
|
|
3138
|
+
number_of_binds: _builtins.int = ...,
|
|
3139
|
+
query: _builtins.str = ...,
|
|
3140
|
+
sql_state: _builtins.str | None = ...,
|
|
3141
|
+
array_bind_supported: _builtins.bool = ...,
|
|
3142
|
+
binds: _abc.Iterable[Global___ColumnMetadata] | None = ...,
|
|
3143
|
+
request_id: _builtins.str = ...,
|
|
3144
|
+
) -> None: ...
|
|
3145
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_sql_state", b"_sql_state", "sql_state", b"sql_state", "stream", b"stream"] # noqa: Y015
|
|
3146
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3147
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_sql_state", b"_sql_state", "array_bind_supported", b"array_bind_supported", "binds", b"binds", "columns", b"columns", "number_of_binds", b"number_of_binds", "query", b"query", "query_id", b"query_id", "request_id", b"request_id", "sql_state", b"sql_state", "stream", b"stream"] # noqa: Y015
|
|
3148
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3149
|
+
_WhichOneofReturnType__sql_state: _TypeAlias = _typing.Literal["sql_state"] # noqa: Y015
|
|
3150
|
+
_WhichOneofArgType__sql_state: _TypeAlias = _typing.Literal["_sql_state", b"_sql_state"] # noqa: Y015
|
|
3151
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__sql_state) -> _WhichOneofReturnType__sql_state | None: ...
|
|
3152
|
+
|
|
3153
|
+
Global___PrepareResult: _TypeAlias = PrepareResult # noqa: Y015
|
|
3154
|
+
|
|
3155
|
+
@_typing.final
|
|
3156
|
+
class StatementPrepareRequest(_message.Message):
|
|
3157
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3158
|
+
|
|
3159
|
+
STMT_HANDLE_FIELD_NUMBER: _builtins.int
|
|
3160
|
+
BINDINGS_FIELD_NUMBER: _builtins.int
|
|
3161
|
+
@_builtins.property
|
|
3162
|
+
def stmt_handle(self) -> Global___StatementHandle: ...
|
|
3163
|
+
@_builtins.property
|
|
3164
|
+
def bindings(self) -> Global___QueryBindings:
|
|
3165
|
+
"""None = no bindings"""
|
|
3166
|
+
|
|
3167
|
+
def __init__(
|
|
3168
|
+
self,
|
|
3169
|
+
*,
|
|
3170
|
+
stmt_handle: Global___StatementHandle | None = ...,
|
|
3171
|
+
bindings: Global___QueryBindings | None = ...,
|
|
3172
|
+
) -> None: ...
|
|
3173
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_bindings", b"_bindings", "bindings", b"bindings", "stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
3174
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3175
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_bindings", b"_bindings", "bindings", b"bindings", "stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
3176
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3177
|
+
_WhichOneofReturnType__bindings: _TypeAlias = _typing.Literal["bindings"] # noqa: Y015
|
|
3178
|
+
_WhichOneofArgType__bindings: _TypeAlias = _typing.Literal["_bindings", b"_bindings"] # noqa: Y015
|
|
3179
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__bindings) -> _WhichOneofReturnType__bindings | None: ...
|
|
3180
|
+
|
|
3181
|
+
Global___StatementPrepareRequest: _TypeAlias = StatementPrepareRequest # noqa: Y015
|
|
3182
|
+
|
|
3183
|
+
@_typing.final
|
|
3184
|
+
class StatementPrepareResponse(_message.Message):
|
|
3185
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3186
|
+
|
|
3187
|
+
RESULT_FIELD_NUMBER: _builtins.int
|
|
3188
|
+
@_builtins.property
|
|
3189
|
+
def result(self) -> Global___PrepareResult: ...
|
|
3190
|
+
def __init__(
|
|
3191
|
+
self,
|
|
3192
|
+
*,
|
|
3193
|
+
result: Global___PrepareResult | None = ...,
|
|
3194
|
+
) -> None: ...
|
|
3195
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["result", b"result"] # noqa: Y015
|
|
3196
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3197
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["result", b"result"] # noqa: Y015
|
|
3198
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3199
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3200
|
+
|
|
3201
|
+
Global___StatementPrepareResponse: _TypeAlias = StatementPrepareResponse # noqa: Y015
|
|
3202
|
+
|
|
3203
|
+
@_typing.final
|
|
3204
|
+
class StatementGetParameterSchemaRequest(_message.Message):
|
|
3205
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3206
|
+
|
|
3207
|
+
STMT_HANDLE_FIELD_NUMBER: _builtins.int
|
|
3208
|
+
@_builtins.property
|
|
3209
|
+
def stmt_handle(self) -> Global___StatementHandle: ...
|
|
3210
|
+
def __init__(
|
|
3211
|
+
self,
|
|
3212
|
+
*,
|
|
3213
|
+
stmt_handle: Global___StatementHandle | None = ...,
|
|
3214
|
+
) -> None: ...
|
|
3215
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
3216
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3217
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
3218
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3219
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3220
|
+
|
|
3221
|
+
Global___StatementGetParameterSchemaRequest: _TypeAlias = StatementGetParameterSchemaRequest # noqa: Y015
|
|
3222
|
+
|
|
3223
|
+
@_typing.final
|
|
3224
|
+
class StatementGetParameterSchemaResponse(_message.Message):
|
|
3225
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3226
|
+
|
|
3227
|
+
SCHEMA_FIELD_NUMBER: _builtins.int
|
|
3228
|
+
@_builtins.property
|
|
3229
|
+
def schema(self) -> Global___ArrowSchemaPtr: ...
|
|
3230
|
+
def __init__(
|
|
3231
|
+
self,
|
|
3232
|
+
*,
|
|
3233
|
+
schema: Global___ArrowSchemaPtr | None = ...,
|
|
3234
|
+
) -> None: ...
|
|
3235
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["schema", b"schema"] # noqa: Y015
|
|
3236
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3237
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["schema", b"schema"] # noqa: Y015
|
|
3238
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3239
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3240
|
+
|
|
3241
|
+
Global___StatementGetParameterSchemaResponse: _TypeAlias = StatementGetParameterSchemaResponse # noqa: Y015
|
|
3242
|
+
|
|
3243
|
+
@_typing.final
|
|
3244
|
+
class StatementExecuteQueryRequest(_message.Message):
|
|
3245
|
+
"""Extend current StatementExecute"""
|
|
3246
|
+
|
|
3247
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3248
|
+
|
|
3249
|
+
STMT_HANDLE_FIELD_NUMBER: _builtins.int
|
|
3250
|
+
BINDINGS_FIELD_NUMBER: _builtins.int
|
|
3251
|
+
TIMEOUT_SECONDS_FIELD_NUMBER: _builtins.int
|
|
3252
|
+
timeout_seconds: _builtins.int
|
|
3253
|
+
"""0 / absent = no timeout override"""
|
|
3254
|
+
@_builtins.property
|
|
3255
|
+
def stmt_handle(self) -> Global___StatementHandle: ...
|
|
3256
|
+
@_builtins.property
|
|
3257
|
+
def bindings(self) -> Global___QueryBindings:
|
|
3258
|
+
"""None = no bindings"""
|
|
3259
|
+
|
|
3260
|
+
def __init__(
|
|
3261
|
+
self,
|
|
3262
|
+
*,
|
|
3263
|
+
stmt_handle: Global___StatementHandle | None = ...,
|
|
3264
|
+
bindings: Global___QueryBindings | None = ...,
|
|
3265
|
+
timeout_seconds: _builtins.int | None = ...,
|
|
3266
|
+
) -> None: ...
|
|
3267
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_bindings", b"_bindings", "_timeout_seconds", b"_timeout_seconds", "bindings", b"bindings", "stmt_handle", b"stmt_handle", "timeout_seconds", b"timeout_seconds"] # noqa: Y015
|
|
3268
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3269
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_bindings", b"_bindings", "_timeout_seconds", b"_timeout_seconds", "bindings", b"bindings", "stmt_handle", b"stmt_handle", "timeout_seconds", b"timeout_seconds"] # noqa: Y015
|
|
3270
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3271
|
+
_WhichOneofReturnType__bindings: _TypeAlias = _typing.Literal["bindings"] # noqa: Y015
|
|
3272
|
+
_WhichOneofArgType__bindings: _TypeAlias = _typing.Literal["_bindings", b"_bindings"] # noqa: Y015
|
|
3273
|
+
_WhichOneofReturnType__timeout_seconds: _TypeAlias = _typing.Literal["timeout_seconds"] # noqa: Y015
|
|
3274
|
+
_WhichOneofArgType__timeout_seconds: _TypeAlias = _typing.Literal["_timeout_seconds", b"_timeout_seconds"] # noqa: Y015
|
|
3275
|
+
@_typing.overload
|
|
3276
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__bindings) -> _WhichOneofReturnType__bindings | None: ...
|
|
3277
|
+
@_typing.overload
|
|
3278
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__timeout_seconds) -> _WhichOneofReturnType__timeout_seconds | None: ...
|
|
3279
|
+
|
|
3280
|
+
Global___StatementExecuteQueryRequest: _TypeAlias = StatementExecuteQueryRequest # noqa: Y015
|
|
3281
|
+
|
|
3282
|
+
@_typing.final
|
|
3283
|
+
class ExecuteQueryResponse(_message.Message):
|
|
3284
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3285
|
+
|
|
3286
|
+
SINGLE_FIELD_NUMBER: _builtins.int
|
|
3287
|
+
MULTI_FIELD_NUMBER: _builtins.int
|
|
3288
|
+
REQUEST_ID_FIELD_NUMBER: _builtins.int
|
|
3289
|
+
request_id: _builtins.str
|
|
3290
|
+
"""Client-generated UUID v4 sent as ?requestId= on the submission request.
|
|
3291
|
+
Absent only for connection_get_query_result, which fetches results for
|
|
3292
|
+
an already-executed query and never generates a new submission UUID.
|
|
3293
|
+
"""
|
|
3294
|
+
@_builtins.property
|
|
3295
|
+
def single(self) -> Global___ResultSetResponse:
|
|
3296
|
+
"""Single statement — descriptor + result_set_handle for stream/chunks access."""
|
|
3297
|
+
|
|
3298
|
+
@_builtins.property
|
|
3299
|
+
def multi(self) -> Global___MultiStatementResult:
|
|
3300
|
+
"""Multi-statement — child query IDs only, fetch metadata lazily."""
|
|
3301
|
+
|
|
3302
|
+
def __init__(
|
|
3303
|
+
self,
|
|
3304
|
+
*,
|
|
3305
|
+
single: Global___ResultSetResponse | None = ...,
|
|
3306
|
+
multi: Global___MultiStatementResult | None = ...,
|
|
3307
|
+
request_id: _builtins.str | None = ...,
|
|
3308
|
+
) -> None: ...
|
|
3309
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_request_id", b"_request_id", "multi", b"multi", "request_id", b"request_id", "result", b"result", "single", b"single"] # noqa: Y015
|
|
3310
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3311
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_request_id", b"_request_id", "multi", b"multi", "request_id", b"request_id", "result", b"result", "single", b"single"] # noqa: Y015
|
|
3312
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3313
|
+
_WhichOneofReturnType__request_id: _TypeAlias = _typing.Literal["request_id"] # noqa: Y015
|
|
3314
|
+
_WhichOneofArgType__request_id: _TypeAlias = _typing.Literal["_request_id", b"_request_id"] # noqa: Y015
|
|
3315
|
+
_WhichOneofReturnType_result: _TypeAlias = _typing.Literal["single", "multi"] # noqa: Y015
|
|
3316
|
+
_WhichOneofArgType_result: _TypeAlias = _typing.Literal["result", b"result"] # noqa: Y015
|
|
3317
|
+
@_typing.overload
|
|
3318
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__request_id) -> _WhichOneofReturnType__request_id | None: ...
|
|
3319
|
+
@_typing.overload
|
|
3320
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType_result) -> _WhichOneofReturnType_result | None: ...
|
|
3321
|
+
|
|
3322
|
+
Global___ExecuteQueryResponse: _TypeAlias = ExecuteQueryResponse # noqa: Y015
|
|
3323
|
+
|
|
3324
|
+
@_typing.final
|
|
3325
|
+
class StatementExecuteAsyncRequest(_message.Message):
|
|
3326
|
+
"""Async query execution: submit and return immediately with query_id"""
|
|
3327
|
+
|
|
3328
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3329
|
+
|
|
3330
|
+
STMT_HANDLE_FIELD_NUMBER: _builtins.int
|
|
3331
|
+
BINDINGS_FIELD_NUMBER: _builtins.int
|
|
3332
|
+
@_builtins.property
|
|
3333
|
+
def stmt_handle(self) -> Global___StatementHandle: ...
|
|
3334
|
+
@_builtins.property
|
|
3335
|
+
def bindings(self) -> Global___QueryBindings: ...
|
|
3336
|
+
def __init__(
|
|
3337
|
+
self,
|
|
3338
|
+
*,
|
|
3339
|
+
stmt_handle: Global___StatementHandle | None = ...,
|
|
3340
|
+
bindings: Global___QueryBindings | None = ...,
|
|
3341
|
+
) -> None: ...
|
|
3342
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_bindings", b"_bindings", "bindings", b"bindings", "stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
3343
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3344
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_bindings", b"_bindings", "bindings", b"bindings", "stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
3345
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3346
|
+
_WhichOneofReturnType__bindings: _TypeAlias = _typing.Literal["bindings"] # noqa: Y015
|
|
3347
|
+
_WhichOneofArgType__bindings: _TypeAlias = _typing.Literal["_bindings", b"_bindings"] # noqa: Y015
|
|
3348
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__bindings) -> _WhichOneofReturnType__bindings | None: ...
|
|
3349
|
+
|
|
3350
|
+
Global___StatementExecuteAsyncRequest: _TypeAlias = StatementExecuteAsyncRequest # noqa: Y015
|
|
3351
|
+
|
|
3352
|
+
@_typing.final
|
|
3353
|
+
class StatementExecuteAsyncResponse(_message.Message):
|
|
3354
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3355
|
+
|
|
3356
|
+
QUERY_ID_FIELD_NUMBER: _builtins.int
|
|
3357
|
+
REQUEST_ID_FIELD_NUMBER: _builtins.int
|
|
3358
|
+
query_id: _builtins.str
|
|
3359
|
+
request_id: _builtins.str
|
|
3360
|
+
"""Client-generated UUID v4 sent as ?requestId= on the submission request."""
|
|
3361
|
+
def __init__(
|
|
3362
|
+
self,
|
|
3363
|
+
*,
|
|
3364
|
+
query_id: _builtins.str = ...,
|
|
3365
|
+
request_id: _builtins.str = ...,
|
|
3366
|
+
) -> None: ...
|
|
3367
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
3368
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3369
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["query_id", b"query_id", "request_id", b"request_id"] # noqa: Y015
|
|
3370
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3371
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3372
|
+
|
|
3373
|
+
Global___StatementExecuteAsyncResponse: _TypeAlias = StatementExecuteAsyncResponse # noqa: Y015
|
|
3374
|
+
|
|
3375
|
+
@_typing.final
|
|
3376
|
+
class StatementExecutePartitionsRequest(_message.Message):
|
|
3377
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3378
|
+
|
|
3379
|
+
STMT_HANDLE_FIELD_NUMBER: _builtins.int
|
|
3380
|
+
@_builtins.property
|
|
3381
|
+
def stmt_handle(self) -> Global___StatementHandle: ...
|
|
3382
|
+
def __init__(
|
|
3383
|
+
self,
|
|
3384
|
+
*,
|
|
3385
|
+
stmt_handle: Global___StatementHandle | None = ...,
|
|
3386
|
+
) -> None: ...
|
|
3387
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
3388
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3389
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
3390
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3391
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3392
|
+
|
|
3393
|
+
Global___StatementExecutePartitionsRequest: _TypeAlias = StatementExecutePartitionsRequest # noqa: Y015
|
|
3394
|
+
|
|
3395
|
+
@_typing.final
|
|
3396
|
+
class StatementExecutePartitionsResponse(_message.Message):
|
|
3397
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3398
|
+
|
|
3399
|
+
RESULT_FIELD_NUMBER: _builtins.int
|
|
3400
|
+
@_builtins.property
|
|
3401
|
+
def result(self) -> Global___PartitionedResult: ...
|
|
3402
|
+
def __init__(
|
|
3403
|
+
self,
|
|
3404
|
+
*,
|
|
3405
|
+
result: Global___PartitionedResult | None = ...,
|
|
3406
|
+
) -> None: ...
|
|
3407
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["result", b"result"] # noqa: Y015
|
|
3408
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3409
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["result", b"result"] # noqa: Y015
|
|
3410
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3411
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3412
|
+
|
|
3413
|
+
Global___StatementExecutePartitionsResponse: _TypeAlias = StatementExecutePartitionsResponse # noqa: Y015
|
|
3414
|
+
|
|
3415
|
+
@_typing.final
|
|
3416
|
+
class StatementReadPartitionRequest(_message.Message):
|
|
3417
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3418
|
+
|
|
3419
|
+
STMT_HANDLE_FIELD_NUMBER: _builtins.int
|
|
3420
|
+
PARTITION_DESCRIPTOR_FIELD_NUMBER: _builtins.int
|
|
3421
|
+
partition_descriptor: _builtins.bytes
|
|
3422
|
+
@_builtins.property
|
|
3423
|
+
def stmt_handle(self) -> Global___StatementHandle: ...
|
|
3424
|
+
def __init__(
|
|
3425
|
+
self,
|
|
3426
|
+
*,
|
|
3427
|
+
stmt_handle: Global___StatementHandle | None = ...,
|
|
3428
|
+
partition_descriptor: _builtins.bytes = ...,
|
|
3429
|
+
) -> None: ...
|
|
3430
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
3431
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3432
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["partition_descriptor", b"partition_descriptor", "stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
3433
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3434
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3435
|
+
|
|
3436
|
+
Global___StatementReadPartitionRequest: _TypeAlias = StatementReadPartitionRequest # noqa: Y015
|
|
3437
|
+
|
|
3438
|
+
@_typing.final
|
|
3439
|
+
class StatementReadPartitionResponse(_message.Message):
|
|
3440
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3441
|
+
|
|
3442
|
+
PARTITION_STREAM_FIELD_NUMBER: _builtins.int
|
|
3443
|
+
partition_stream: _builtins.int
|
|
3444
|
+
def __init__(
|
|
3445
|
+
self,
|
|
3446
|
+
*,
|
|
3447
|
+
partition_stream: _builtins.int = ...,
|
|
3448
|
+
) -> None: ...
|
|
3449
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
3450
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3451
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["partition_stream", b"partition_stream"] # noqa: Y015
|
|
3452
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3453
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3454
|
+
|
|
3455
|
+
Global___StatementReadPartitionResponse: _TypeAlias = StatementReadPartitionResponse # noqa: Y015
|
|
3456
|
+
|
|
3457
|
+
@_typing.final
|
|
3458
|
+
class RemoteChunk(_message.Message):
|
|
3459
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3460
|
+
|
|
3461
|
+
@_typing.final
|
|
3462
|
+
class HeadersEntry(_message.Message):
|
|
3463
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3464
|
+
|
|
3465
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
3466
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
3467
|
+
key: _builtins.str
|
|
3468
|
+
value: _builtins.str
|
|
3469
|
+
def __init__(
|
|
3470
|
+
self,
|
|
3471
|
+
*,
|
|
3472
|
+
key: _builtins.str = ...,
|
|
3473
|
+
value: _builtins.str = ...,
|
|
3474
|
+
) -> None: ...
|
|
3475
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
3476
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3477
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
|
|
3478
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3479
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3480
|
+
|
|
3481
|
+
URL_FIELD_NUMBER: _builtins.int
|
|
3482
|
+
HEADERS_FIELD_NUMBER: _builtins.int
|
|
3483
|
+
COMPRESSED_SIZE_FIELD_NUMBER: _builtins.int
|
|
3484
|
+
UNCOMPRESSED_SIZE_FIELD_NUMBER: _builtins.int
|
|
3485
|
+
url: _builtins.str
|
|
3486
|
+
compressed_size: _builtins.int
|
|
3487
|
+
uncompressed_size: _builtins.int
|
|
3488
|
+
@_builtins.property
|
|
3489
|
+
def headers(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ...
|
|
3490
|
+
def __init__(
|
|
3491
|
+
self,
|
|
3492
|
+
*,
|
|
3493
|
+
url: _builtins.str = ...,
|
|
3494
|
+
headers: _abc.Mapping[_builtins.str, _builtins.str] | None = ...,
|
|
3495
|
+
compressed_size: _builtins.int = ...,
|
|
3496
|
+
uncompressed_size: _builtins.int = ...,
|
|
3497
|
+
) -> None: ...
|
|
3498
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
3499
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3500
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["compressed_size", b"compressed_size", "headers", b"headers", "uncompressed_size", b"uncompressed_size", "url", b"url"] # noqa: Y015
|
|
3501
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3502
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3503
|
+
|
|
3504
|
+
Global___RemoteChunk: _TypeAlias = RemoteChunk # noqa: Y015
|
|
3505
|
+
|
|
3506
|
+
@_typing.final
|
|
3507
|
+
class ResultChunk(_message.Message):
|
|
3508
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3509
|
+
|
|
3510
|
+
FORMAT_FIELD_NUMBER: _builtins.int
|
|
3511
|
+
INLINE_FIELD_NUMBER: _builtins.int
|
|
3512
|
+
REMOTE_FIELD_NUMBER: _builtins.int
|
|
3513
|
+
ROW_COUNT_FIELD_NUMBER: _builtins.int
|
|
3514
|
+
format: Global___ChunkFormat.ValueType
|
|
3515
|
+
"""Format of the decoded payload (after base64 decoding when using `inline`)."""
|
|
3516
|
+
inline: _builtins.str
|
|
3517
|
+
"""Inline payload: the UTF-8 bytes of a base64-encoded string.
|
|
3518
|
+
Clients must base64-decode this field, then interpret the resulting
|
|
3519
|
+
bytes according to `format` (e.g. Arrow IPC or JSON).
|
|
3520
|
+
"""
|
|
3521
|
+
row_count: _builtins.int
|
|
3522
|
+
@_builtins.property
|
|
3523
|
+
def remote(self) -> Global___RemoteChunk: ...
|
|
3524
|
+
def __init__(
|
|
3525
|
+
self,
|
|
3526
|
+
*,
|
|
3527
|
+
format: Global___ChunkFormat.ValueType = ...,
|
|
3528
|
+
inline: _builtins.str = ...,
|
|
3529
|
+
remote: Global___RemoteChunk | None = ...,
|
|
3530
|
+
row_count: _builtins.int = ...,
|
|
3531
|
+
) -> None: ...
|
|
3532
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["data", b"data", "inline", b"inline", "remote", b"remote"] # noqa: Y015
|
|
3533
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3534
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["data", b"data", "format", b"format", "inline", b"inline", "remote", b"remote", "row_count", b"row_count"] # noqa: Y015
|
|
3535
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3536
|
+
_WhichOneofReturnType_data: _TypeAlias = _typing.Literal["inline", "remote"] # noqa: Y015
|
|
3537
|
+
_WhichOneofArgType_data: _TypeAlias = _typing.Literal["data", b"data"] # noqa: Y015
|
|
3538
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType_data) -> _WhichOneofReturnType_data | None: ...
|
|
3539
|
+
|
|
3540
|
+
Global___ResultChunk: _TypeAlias = ResultChunk # noqa: Y015
|
|
3541
|
+
|
|
3542
|
+
@_typing.final
|
|
3543
|
+
class DatabaseFetchChunkRequest(_message.Message):
|
|
3544
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3545
|
+
|
|
3546
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
3547
|
+
CHUNKS_FIELD_NUMBER: _builtins.int
|
|
3548
|
+
COLUMNS_FIELD_NUMBER: _builtins.int
|
|
3549
|
+
@_builtins.property
|
|
3550
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
3551
|
+
@_builtins.property
|
|
3552
|
+
def chunks(self) -> _containers.RepeatedCompositeFieldContainer[Global___ResultChunk]: ...
|
|
3553
|
+
@_builtins.property
|
|
3554
|
+
def columns(self) -> _containers.RepeatedCompositeFieldContainer[Global___ColumnMetadata]:
|
|
3555
|
+
"""Required for JSON remote chunks (forward from ResultSetGetChunksResponse.columns). Ignored otherwise."""
|
|
3556
|
+
|
|
3557
|
+
def __init__(
|
|
3558
|
+
self,
|
|
3559
|
+
*,
|
|
3560
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
3561
|
+
chunks: _abc.Iterable[Global___ResultChunk] | None = ...,
|
|
3562
|
+
columns: _abc.Iterable[Global___ColumnMetadata] | None = ...,
|
|
3563
|
+
) -> None: ...
|
|
3564
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
3565
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3566
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["chunks", b"chunks", "columns", b"columns", "conn_handle", b"conn_handle"] # noqa: Y015
|
|
3567
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3568
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3569
|
+
|
|
3570
|
+
Global___DatabaseFetchChunkRequest: _TypeAlias = DatabaseFetchChunkRequest # noqa: Y015
|
|
3571
|
+
|
|
3572
|
+
@_typing.final
|
|
3573
|
+
class DatabaseFetchChunkResponse(_message.Message):
|
|
3574
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3575
|
+
|
|
3576
|
+
STREAM_FIELD_NUMBER: _builtins.int
|
|
3577
|
+
@_builtins.property
|
|
3578
|
+
def stream(self) -> Global___ArrowArrayStreamPtr: ...
|
|
3579
|
+
def __init__(
|
|
3580
|
+
self,
|
|
3581
|
+
*,
|
|
3582
|
+
stream: Global___ArrowArrayStreamPtr | None = ...,
|
|
3583
|
+
) -> None: ...
|
|
3584
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["stream", b"stream"] # noqa: Y015
|
|
3585
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3586
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["stream", b"stream"] # noqa: Y015
|
|
3587
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3588
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3589
|
+
|
|
3590
|
+
Global___DatabaseFetchChunkResponse: _TypeAlias = DatabaseFetchChunkResponse # noqa: Y015
|
|
3591
|
+
|
|
3592
|
+
@_typing.final
|
|
3593
|
+
class ResultSetGetStreamRequest(_message.Message):
|
|
3594
|
+
"""ResultSet RPCs"""
|
|
3595
|
+
|
|
3596
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3597
|
+
|
|
3598
|
+
RESULT_SET_HANDLE_FIELD_NUMBER: _builtins.int
|
|
3599
|
+
@_builtins.property
|
|
3600
|
+
def result_set_handle(self) -> Global___ResultSetHandle: ...
|
|
3601
|
+
def __init__(
|
|
3602
|
+
self,
|
|
3603
|
+
*,
|
|
3604
|
+
result_set_handle: Global___ResultSetHandle | None = ...,
|
|
3605
|
+
) -> None: ...
|
|
3606
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["result_set_handle", b"result_set_handle"] # noqa: Y015
|
|
3607
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3608
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["result_set_handle", b"result_set_handle"] # noqa: Y015
|
|
3609
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3610
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3611
|
+
|
|
3612
|
+
Global___ResultSetGetStreamRequest: _TypeAlias = ResultSetGetStreamRequest # noqa: Y015
|
|
3613
|
+
|
|
3614
|
+
@_typing.final
|
|
3615
|
+
class ResultSetGetStreamResponse(_message.Message):
|
|
3616
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3617
|
+
|
|
3618
|
+
STREAM_FIELD_NUMBER: _builtins.int
|
|
3619
|
+
@_builtins.property
|
|
3620
|
+
def stream(self) -> Global___ArrowArrayStreamPtr: ...
|
|
3621
|
+
def __init__(
|
|
3622
|
+
self,
|
|
3623
|
+
*,
|
|
3624
|
+
stream: Global___ArrowArrayStreamPtr | None = ...,
|
|
3625
|
+
) -> None: ...
|
|
3626
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["stream", b"stream"] # noqa: Y015
|
|
3627
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3628
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["stream", b"stream"] # noqa: Y015
|
|
3629
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3630
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3631
|
+
|
|
3632
|
+
Global___ResultSetGetStreamResponse: _TypeAlias = ResultSetGetStreamResponse # noqa: Y015
|
|
3633
|
+
|
|
3634
|
+
@_typing.final
|
|
3635
|
+
class ResultSetGetChunksRequest(_message.Message):
|
|
3636
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3637
|
+
|
|
3638
|
+
RESULT_SET_HANDLE_FIELD_NUMBER: _builtins.int
|
|
3639
|
+
@_builtins.property
|
|
3640
|
+
def result_set_handle(self) -> Global___ResultSetHandle: ...
|
|
3641
|
+
def __init__(
|
|
3642
|
+
self,
|
|
3643
|
+
*,
|
|
3644
|
+
result_set_handle: Global___ResultSetHandle | None = ...,
|
|
3645
|
+
) -> None: ...
|
|
3646
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["result_set_handle", b"result_set_handle"] # noqa: Y015
|
|
3647
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3648
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["result_set_handle", b"result_set_handle"] # noqa: Y015
|
|
3649
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3650
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3651
|
+
|
|
3652
|
+
Global___ResultSetGetChunksRequest: _TypeAlias = ResultSetGetChunksRequest # noqa: Y015
|
|
3653
|
+
|
|
3654
|
+
@_typing.final
|
|
3655
|
+
class ResultSetGetChunksResponse(_message.Message):
|
|
3656
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3657
|
+
|
|
3658
|
+
CHUNKS_FIELD_NUMBER: _builtins.int
|
|
3659
|
+
COLUMNS_FIELD_NUMBER: _builtins.int
|
|
3660
|
+
@_builtins.property
|
|
3661
|
+
def chunks(self) -> _containers.RepeatedCompositeFieldContainer[Global___ResultChunk]: ...
|
|
3662
|
+
@_builtins.property
|
|
3663
|
+
def columns(self) -> _containers.RepeatedCompositeFieldContainer[Global___ColumnMetadata]:
|
|
3664
|
+
"""Column metadata. Required when any chunk is CHUNK_FORMAT_JSON; ignored for Arrow-only results."""
|
|
3665
|
+
|
|
3666
|
+
def __init__(
|
|
3667
|
+
self,
|
|
3668
|
+
*,
|
|
3669
|
+
chunks: _abc.Iterable[Global___ResultChunk] | None = ...,
|
|
3670
|
+
columns: _abc.Iterable[Global___ColumnMetadata] | None = ...,
|
|
3671
|
+
) -> None: ...
|
|
3672
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
3673
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3674
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["chunks", b"chunks", "columns", b"columns"] # noqa: Y015
|
|
3675
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3676
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3677
|
+
|
|
3678
|
+
Global___ResultSetGetChunksResponse: _TypeAlias = ResultSetGetChunksResponse # noqa: Y015
|
|
3679
|
+
|
|
3680
|
+
@_typing.final
|
|
3681
|
+
class ResultSetReleaseRequest(_message.Message):
|
|
3682
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3683
|
+
|
|
3684
|
+
RESULT_SET_HANDLE_FIELD_NUMBER: _builtins.int
|
|
3685
|
+
@_builtins.property
|
|
3686
|
+
def result_set_handle(self) -> Global___ResultSetHandle: ...
|
|
3687
|
+
def __init__(
|
|
3688
|
+
self,
|
|
3689
|
+
*,
|
|
3690
|
+
result_set_handle: Global___ResultSetHandle | None = ...,
|
|
3691
|
+
) -> None: ...
|
|
3692
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["result_set_handle", b"result_set_handle"] # noqa: Y015
|
|
3693
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3694
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["result_set_handle", b"result_set_handle"] # noqa: Y015
|
|
3695
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3696
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3697
|
+
|
|
3698
|
+
Global___ResultSetReleaseRequest: _TypeAlias = ResultSetReleaseRequest # noqa: Y015
|
|
3699
|
+
|
|
3700
|
+
@_typing.final
|
|
3701
|
+
class ResultSetReleaseResponse(_message.Message):
|
|
3702
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3703
|
+
|
|
3704
|
+
def __init__(
|
|
3705
|
+
self,
|
|
3706
|
+
) -> None: ...
|
|
3707
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
3708
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3709
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
3710
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3711
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3712
|
+
|
|
3713
|
+
Global___ResultSetReleaseResponse: _TypeAlias = ResultSetReleaseResponse # noqa: Y015
|
|
3714
|
+
|
|
3715
|
+
@_typing.final
|
|
3716
|
+
class ValidationIssue(_message.Message):
|
|
3717
|
+
"""Validation issue reported during set or validate operations."""
|
|
3718
|
+
|
|
3719
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3720
|
+
|
|
3721
|
+
SEVERITY_FIELD_NUMBER: _builtins.int
|
|
3722
|
+
PARAMETER_FIELD_NUMBER: _builtins.int
|
|
3723
|
+
MESSAGE_FIELD_NUMBER: _builtins.int
|
|
3724
|
+
CODE_FIELD_NUMBER: _builtins.int
|
|
3725
|
+
severity: Global___ValidationSeverity.ValueType
|
|
3726
|
+
parameter: _builtins.str
|
|
3727
|
+
message: _builtins.str
|
|
3728
|
+
code: Global___ValidationCode.ValueType
|
|
3729
|
+
def __init__(
|
|
3730
|
+
self,
|
|
3731
|
+
*,
|
|
3732
|
+
severity: Global___ValidationSeverity.ValueType = ...,
|
|
3733
|
+
parameter: _builtins.str = ...,
|
|
3734
|
+
message: _builtins.str = ...,
|
|
3735
|
+
code: Global___ValidationCode.ValueType = ...,
|
|
3736
|
+
) -> None: ...
|
|
3737
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
3738
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3739
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["code", b"code", "message", b"message", "parameter", b"parameter", "severity", b"severity"] # noqa: Y015
|
|
3740
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3741
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3742
|
+
|
|
3743
|
+
Global___ValidationIssue: _TypeAlias = ValidationIssue # noqa: Y015
|
|
3744
|
+
|
|
3745
|
+
@_typing.final
|
|
3746
|
+
class ConfigSetting(_message.Message):
|
|
3747
|
+
"""Config setting value (union type)"""
|
|
3748
|
+
|
|
3749
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3750
|
+
|
|
3751
|
+
STRING_VALUE_FIELD_NUMBER: _builtins.int
|
|
3752
|
+
INT_VALUE_FIELD_NUMBER: _builtins.int
|
|
3753
|
+
DOUBLE_VALUE_FIELD_NUMBER: _builtins.int
|
|
3754
|
+
BYTES_VALUE_FIELD_NUMBER: _builtins.int
|
|
3755
|
+
BOOL_VALUE_FIELD_NUMBER: _builtins.int
|
|
3756
|
+
string_value: _builtins.str
|
|
3757
|
+
int_value: _builtins.int
|
|
3758
|
+
double_value: _builtins.float
|
|
3759
|
+
bytes_value: _builtins.bytes
|
|
3760
|
+
bool_value: _builtins.bool
|
|
3761
|
+
def __init__(
|
|
3762
|
+
self,
|
|
3763
|
+
*,
|
|
3764
|
+
string_value: _builtins.str = ...,
|
|
3765
|
+
int_value: _builtins.int = ...,
|
|
3766
|
+
double_value: _builtins.float = ...,
|
|
3767
|
+
bytes_value: _builtins.bytes = ...,
|
|
3768
|
+
bool_value: _builtins.bool = ...,
|
|
3769
|
+
) -> None: ...
|
|
3770
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["bool_value", b"bool_value", "bytes_value", b"bytes_value", "double_value", b"double_value", "int_value", b"int_value", "string_value", b"string_value", "value", b"value"] # noqa: Y015
|
|
3771
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3772
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["bool_value", b"bool_value", "bytes_value", b"bytes_value", "double_value", b"double_value", "int_value", b"int_value", "string_value", b"string_value", "value", b"value"] # noqa: Y015
|
|
3773
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3774
|
+
_WhichOneofReturnType_value: _TypeAlias = _typing.Literal["string_value", "int_value", "double_value", "bytes_value", "bool_value"] # noqa: Y015
|
|
3775
|
+
_WhichOneofArgType_value: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
|
|
3776
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType_value) -> _WhichOneofReturnType_value | None: ...
|
|
3777
|
+
|
|
3778
|
+
Global___ConfigSetting: _TypeAlias = ConfigSetting # noqa: Y015
|
|
3779
|
+
|
|
3780
|
+
@_typing.final
|
|
3781
|
+
class ConfigSection(_message.Message):
|
|
3782
|
+
"""A config section containing key-value settings"""
|
|
3783
|
+
|
|
3784
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3785
|
+
|
|
3786
|
+
@_typing.final
|
|
3787
|
+
class SettingsEntry(_message.Message):
|
|
3788
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3789
|
+
|
|
3790
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
3791
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
3792
|
+
key: _builtins.str
|
|
3793
|
+
@_builtins.property
|
|
3794
|
+
def value(self) -> Global___ConfigSetting: ...
|
|
3795
|
+
def __init__(
|
|
3796
|
+
self,
|
|
3797
|
+
*,
|
|
3798
|
+
key: _builtins.str = ...,
|
|
3799
|
+
value: Global___ConfigSetting | None = ...,
|
|
3800
|
+
) -> None: ...
|
|
3801
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
|
|
3802
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3803
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
|
|
3804
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3805
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3806
|
+
|
|
3807
|
+
SETTINGS_FIELD_NUMBER: _builtins.int
|
|
3808
|
+
@_builtins.property
|
|
3809
|
+
def settings(self) -> _containers.MessageMap[_builtins.str, Global___ConfigSetting]: ...
|
|
3810
|
+
def __init__(
|
|
3811
|
+
self,
|
|
3812
|
+
*,
|
|
3813
|
+
settings: _abc.Mapping[_builtins.str, Global___ConfigSetting] | None = ...,
|
|
3814
|
+
) -> None: ...
|
|
3815
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
3816
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3817
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["settings", b"settings"] # noqa: Y015
|
|
3818
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3819
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3820
|
+
|
|
3821
|
+
Global___ConfigSection: _TypeAlias = ConfigSection # noqa: Y015
|
|
3822
|
+
|
|
3823
|
+
@_typing.final
|
|
3824
|
+
class ConnectionSetOptionsRequest(_message.Message):
|
|
3825
|
+
"""Batch set options"""
|
|
3826
|
+
|
|
3827
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3828
|
+
|
|
3829
|
+
@_typing.final
|
|
3830
|
+
class OptionsEntry(_message.Message):
|
|
3831
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3832
|
+
|
|
3833
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
3834
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
3835
|
+
key: _builtins.str
|
|
3836
|
+
@_builtins.property
|
|
3837
|
+
def value(self) -> Global___ConfigSetting: ...
|
|
3838
|
+
def __init__(
|
|
3839
|
+
self,
|
|
3840
|
+
*,
|
|
3841
|
+
key: _builtins.str = ...,
|
|
3842
|
+
value: Global___ConfigSetting | None = ...,
|
|
3843
|
+
) -> None: ...
|
|
3844
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
|
|
3845
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3846
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
|
|
3847
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3848
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3849
|
+
|
|
3850
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
3851
|
+
OPTIONS_FIELD_NUMBER: _builtins.int
|
|
3852
|
+
NO_CONNECTION_DETAILS_FIELD_NUMBER: _builtins.int
|
|
3853
|
+
CONNECTIONS_FILE_PATH_FIELD_NUMBER: _builtins.int
|
|
3854
|
+
no_connection_details: _builtins.bool
|
|
3855
|
+
"""True when the caller invoked connect() with zero connection-identifying
|
|
3856
|
+
options (the legacy Python driver's `is_kwargs_empty` condition). The core
|
|
3857
|
+
then falls back to the default connection profile from connections.toml,
|
|
3858
|
+
honoring SNOWFLAKE_DEFAULT_CONNECTION_NAME and config.toml's
|
|
3859
|
+
`default_connection_name`. Language wrappers MUST compute this from the
|
|
3860
|
+
raw caller input *before* injecting any bookkeeping params (application,
|
|
3861
|
+
client_app_id, …); a value of `false` (the default) means "caller supplied
|
|
3862
|
+
something", so do not load the default profile.
|
|
3863
|
+
"""
|
|
3864
|
+
connections_file_path: _builtins.str
|
|
3865
|
+
"""Optional override for connections.toml. When set (and non-empty), profiles
|
|
3866
|
+
are loaded from this path instead of SNOWFLAKE_HOME / the platform config
|
|
3867
|
+
directory — both the profile named by `connection_name` and, when
|
|
3868
|
+
`no_connection_details` is true, the default profile. A leading `~` is
|
|
3869
|
+
expanded the same way as SNOWFLAKE_HOME. Empty string is treated as unset.
|
|
3870
|
+
Setting this alone does not identify a connection, so wrappers MUST NOT
|
|
3871
|
+
let it clear `no_connection_details`.
|
|
3872
|
+
"""
|
|
3873
|
+
@_builtins.property
|
|
3874
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
3875
|
+
@_builtins.property
|
|
3876
|
+
def options(self) -> _containers.MessageMap[_builtins.str, Global___ConfigSetting]: ...
|
|
3877
|
+
def __init__(
|
|
3878
|
+
self,
|
|
3879
|
+
*,
|
|
3880
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
3881
|
+
options: _abc.Mapping[_builtins.str, Global___ConfigSetting] | None = ...,
|
|
3882
|
+
no_connection_details: _builtins.bool = ...,
|
|
3883
|
+
connections_file_path: _builtins.str | None = ...,
|
|
3884
|
+
) -> None: ...
|
|
3885
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_connections_file_path", b"_connections_file_path", "conn_handle", b"conn_handle", "connections_file_path", b"connections_file_path"] # noqa: Y015
|
|
3886
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3887
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_connections_file_path", b"_connections_file_path", "conn_handle", b"conn_handle", "connections_file_path", b"connections_file_path", "no_connection_details", b"no_connection_details", "options", b"options"] # noqa: Y015
|
|
3888
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3889
|
+
_WhichOneofReturnType__connections_file_path: _TypeAlias = _typing.Literal["connections_file_path"] # noqa: Y015
|
|
3890
|
+
_WhichOneofArgType__connections_file_path: _TypeAlias = _typing.Literal["_connections_file_path", b"_connections_file_path"] # noqa: Y015
|
|
3891
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__connections_file_path) -> _WhichOneofReturnType__connections_file_path | None: ...
|
|
3892
|
+
|
|
3893
|
+
Global___ConnectionSetOptionsRequest: _TypeAlias = ConnectionSetOptionsRequest # noqa: Y015
|
|
3894
|
+
|
|
3895
|
+
@_typing.final
|
|
3896
|
+
class ConnectionSetOptionsResponse(_message.Message):
|
|
3897
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3898
|
+
|
|
3899
|
+
WARNINGS_FIELD_NUMBER: _builtins.int
|
|
3900
|
+
@_builtins.property
|
|
3901
|
+
def warnings(self) -> _containers.RepeatedCompositeFieldContainer[Global___ValidationIssue]: ...
|
|
3902
|
+
def __init__(
|
|
3903
|
+
self,
|
|
3904
|
+
*,
|
|
3905
|
+
warnings: _abc.Iterable[Global___ValidationIssue] | None = ...,
|
|
3906
|
+
) -> None: ...
|
|
3907
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
3908
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3909
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["warnings", b"warnings"] # noqa: Y015
|
|
3910
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3911
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3912
|
+
|
|
3913
|
+
Global___ConnectionSetOptionsResponse: _TypeAlias = ConnectionSetOptionsResponse # noqa: Y015
|
|
3914
|
+
|
|
3915
|
+
@_typing.final
|
|
3916
|
+
class DatabaseSetOptionsRequest(_message.Message):
|
|
3917
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3918
|
+
|
|
3919
|
+
@_typing.final
|
|
3920
|
+
class OptionsEntry(_message.Message):
|
|
3921
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3922
|
+
|
|
3923
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
3924
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
3925
|
+
key: _builtins.str
|
|
3926
|
+
@_builtins.property
|
|
3927
|
+
def value(self) -> Global___ConfigSetting: ...
|
|
3928
|
+
def __init__(
|
|
3929
|
+
self,
|
|
3930
|
+
*,
|
|
3931
|
+
key: _builtins.str = ...,
|
|
3932
|
+
value: Global___ConfigSetting | None = ...,
|
|
3933
|
+
) -> None: ...
|
|
3934
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
|
|
3935
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3936
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
|
|
3937
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3938
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3939
|
+
|
|
3940
|
+
DB_HANDLE_FIELD_NUMBER: _builtins.int
|
|
3941
|
+
OPTIONS_FIELD_NUMBER: _builtins.int
|
|
3942
|
+
@_builtins.property
|
|
3943
|
+
def db_handle(self) -> Global___DatabaseHandle: ...
|
|
3944
|
+
@_builtins.property
|
|
3945
|
+
def options(self) -> _containers.MessageMap[_builtins.str, Global___ConfigSetting]: ...
|
|
3946
|
+
def __init__(
|
|
3947
|
+
self,
|
|
3948
|
+
*,
|
|
3949
|
+
db_handle: Global___DatabaseHandle | None = ...,
|
|
3950
|
+
options: _abc.Mapping[_builtins.str, Global___ConfigSetting] | None = ...,
|
|
3951
|
+
) -> None: ...
|
|
3952
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["db_handle", b"db_handle"] # noqa: Y015
|
|
3953
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3954
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["db_handle", b"db_handle", "options", b"options"] # noqa: Y015
|
|
3955
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3956
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3957
|
+
|
|
3958
|
+
Global___DatabaseSetOptionsRequest: _TypeAlias = DatabaseSetOptionsRequest # noqa: Y015
|
|
3959
|
+
|
|
3960
|
+
@_typing.final
|
|
3961
|
+
class DatabaseSetOptionsResponse(_message.Message):
|
|
3962
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3963
|
+
|
|
3964
|
+
WARNINGS_FIELD_NUMBER: _builtins.int
|
|
3965
|
+
@_builtins.property
|
|
3966
|
+
def warnings(self) -> _containers.RepeatedCompositeFieldContainer[Global___ValidationIssue]: ...
|
|
3967
|
+
def __init__(
|
|
3968
|
+
self,
|
|
3969
|
+
*,
|
|
3970
|
+
warnings: _abc.Iterable[Global___ValidationIssue] | None = ...,
|
|
3971
|
+
) -> None: ...
|
|
3972
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
3973
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
3974
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["warnings", b"warnings"] # noqa: Y015
|
|
3975
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
3976
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
3977
|
+
|
|
3978
|
+
Global___DatabaseSetOptionsResponse: _TypeAlias = DatabaseSetOptionsResponse # noqa: Y015
|
|
3979
|
+
|
|
3980
|
+
@_typing.final
|
|
3981
|
+
class StatementSetOptionsRequest(_message.Message):
|
|
3982
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3983
|
+
|
|
3984
|
+
@_typing.final
|
|
3985
|
+
class OptionsEntry(_message.Message):
|
|
3986
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
3987
|
+
|
|
3988
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
3989
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
3990
|
+
key: _builtins.str
|
|
3991
|
+
@_builtins.property
|
|
3992
|
+
def value(self) -> Global___ConfigSetting: ...
|
|
3993
|
+
def __init__(
|
|
3994
|
+
self,
|
|
3995
|
+
*,
|
|
3996
|
+
key: _builtins.str = ...,
|
|
3997
|
+
value: Global___ConfigSetting | None = ...,
|
|
3998
|
+
) -> None: ...
|
|
3999
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
|
|
4000
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
4001
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
|
|
4002
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
4003
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
4004
|
+
|
|
4005
|
+
STMT_HANDLE_FIELD_NUMBER: _builtins.int
|
|
4006
|
+
OPTIONS_FIELD_NUMBER: _builtins.int
|
|
4007
|
+
@_builtins.property
|
|
4008
|
+
def stmt_handle(self) -> Global___StatementHandle: ...
|
|
4009
|
+
@_builtins.property
|
|
4010
|
+
def options(self) -> _containers.MessageMap[_builtins.str, Global___ConfigSetting]: ...
|
|
4011
|
+
def __init__(
|
|
4012
|
+
self,
|
|
4013
|
+
*,
|
|
4014
|
+
stmt_handle: Global___StatementHandle | None = ...,
|
|
4015
|
+
options: _abc.Mapping[_builtins.str, Global___ConfigSetting] | None = ...,
|
|
4016
|
+
) -> None: ...
|
|
4017
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
4018
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
4019
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["options", b"options", "stmt_handle", b"stmt_handle"] # noqa: Y015
|
|
4020
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
4021
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
4022
|
+
|
|
4023
|
+
Global___StatementSetOptionsRequest: _TypeAlias = StatementSetOptionsRequest # noqa: Y015
|
|
4024
|
+
|
|
4025
|
+
@_typing.final
|
|
4026
|
+
class StatementSetOptionsResponse(_message.Message):
|
|
4027
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
4028
|
+
|
|
4029
|
+
WARNINGS_FIELD_NUMBER: _builtins.int
|
|
4030
|
+
@_builtins.property
|
|
4031
|
+
def warnings(self) -> _containers.RepeatedCompositeFieldContainer[Global___ValidationIssue]: ...
|
|
4032
|
+
def __init__(
|
|
4033
|
+
self,
|
|
4034
|
+
*,
|
|
4035
|
+
warnings: _abc.Iterable[Global___ValidationIssue] | None = ...,
|
|
4036
|
+
) -> None: ...
|
|
4037
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
4038
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
4039
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["warnings", b"warnings"] # noqa: Y015
|
|
4040
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
4041
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
4042
|
+
|
|
4043
|
+
Global___StatementSetOptionsResponse: _TypeAlias = StatementSetOptionsResponse # noqa: Y015
|
|
4044
|
+
|
|
4045
|
+
@_typing.final
|
|
4046
|
+
class ConfigLoadAllSectionsRequest(_message.Message):
|
|
4047
|
+
"""Config service requests and responses"""
|
|
4048
|
+
|
|
4049
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
4050
|
+
|
|
4051
|
+
CONFIG_FILE_FIELD_NUMBER: _builtins.int
|
|
4052
|
+
CONNECTIONS_FILE_FIELD_NUMBER: _builtins.int
|
|
4053
|
+
SKIP_PERMISSIONS_FIELD_NUMBER: _builtins.int
|
|
4054
|
+
config_file: _builtins.str
|
|
4055
|
+
connections_file: _builtins.str
|
|
4056
|
+
skip_permissions: _builtins.bool
|
|
4057
|
+
def __init__(
|
|
4058
|
+
self,
|
|
4059
|
+
*,
|
|
4060
|
+
config_file: _builtins.str | None = ...,
|
|
4061
|
+
connections_file: _builtins.str | None = ...,
|
|
4062
|
+
skip_permissions: _builtins.bool = ...,
|
|
4063
|
+
) -> None: ...
|
|
4064
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_config_file", b"_config_file", "_connections_file", b"_connections_file", "config_file", b"config_file", "connections_file", b"connections_file"] # noqa: Y015
|
|
4065
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
4066
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_config_file", b"_config_file", "_connections_file", b"_connections_file", "config_file", b"config_file", "connections_file", b"connections_file", "skip_permissions", b"skip_permissions"] # noqa: Y015
|
|
4067
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
4068
|
+
_WhichOneofReturnType__config_file: _TypeAlias = _typing.Literal["config_file"] # noqa: Y015
|
|
4069
|
+
_WhichOneofArgType__config_file: _TypeAlias = _typing.Literal["_config_file", b"_config_file"] # noqa: Y015
|
|
4070
|
+
_WhichOneofReturnType__connections_file: _TypeAlias = _typing.Literal["connections_file"] # noqa: Y015
|
|
4071
|
+
_WhichOneofArgType__connections_file: _TypeAlias = _typing.Literal["_connections_file", b"_connections_file"] # noqa: Y015
|
|
4072
|
+
@_typing.overload
|
|
4073
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__config_file) -> _WhichOneofReturnType__config_file | None: ...
|
|
4074
|
+
@_typing.overload
|
|
4075
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__connections_file) -> _WhichOneofReturnType__connections_file | None: ...
|
|
4076
|
+
|
|
4077
|
+
Global___ConfigLoadAllSectionsRequest: _TypeAlias = ConfigLoadAllSectionsRequest # noqa: Y015
|
|
4078
|
+
|
|
4079
|
+
@_typing.final
|
|
4080
|
+
class ConfigLoadAllSectionsResponse(_message.Message):
|
|
4081
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
4082
|
+
|
|
4083
|
+
CONFIG_JSON_FIELD_NUMBER: _builtins.int
|
|
4084
|
+
config_json: _builtins.str
|
|
4085
|
+
def __init__(
|
|
4086
|
+
self,
|
|
4087
|
+
*,
|
|
4088
|
+
config_json: _builtins.str = ...,
|
|
4089
|
+
) -> None: ...
|
|
4090
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
4091
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
4092
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["config_json", b"config_json"] # noqa: Y015
|
|
4093
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
4094
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
4095
|
+
|
|
4096
|
+
Global___ConfigLoadAllSectionsResponse: _TypeAlias = ConfigLoadAllSectionsResponse # noqa: Y015
|
|
4097
|
+
|
|
4098
|
+
@_typing.final
|
|
4099
|
+
class ConnectionGetQueryStatusRequest(_message.Message):
|
|
4100
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
4101
|
+
|
|
4102
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
4103
|
+
QUERY_ID_FIELD_NUMBER: _builtins.int
|
|
4104
|
+
query_id: _builtins.str
|
|
4105
|
+
@_builtins.property
|
|
4106
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
4107
|
+
def __init__(
|
|
4108
|
+
self,
|
|
4109
|
+
*,
|
|
4110
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
4111
|
+
query_id: _builtins.str = ...,
|
|
4112
|
+
) -> None: ...
|
|
4113
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
4114
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
4115
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle", "query_id", b"query_id"] # noqa: Y015
|
|
4116
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
4117
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
4118
|
+
|
|
4119
|
+
Global___ConnectionGetQueryStatusRequest: _TypeAlias = ConnectionGetQueryStatusRequest # noqa: Y015
|
|
4120
|
+
|
|
4121
|
+
@_typing.final
|
|
4122
|
+
class ConnectionGetQueryStatusResponse(_message.Message):
|
|
4123
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
4124
|
+
|
|
4125
|
+
STATUS_NAME_FIELD_NUMBER: _builtins.int
|
|
4126
|
+
END_TIME_FIELD_NUMBER: _builtins.int
|
|
4127
|
+
ERROR_CODE_FIELD_NUMBER: _builtins.int
|
|
4128
|
+
ERROR_MESSAGE_FIELD_NUMBER: _builtins.int
|
|
4129
|
+
QUERY_ID_FIELD_NUMBER: _builtins.int
|
|
4130
|
+
SESSION_ID_FIELD_NUMBER: _builtins.int
|
|
4131
|
+
SQL_TEXT_FIELD_NUMBER: _builtins.int
|
|
4132
|
+
START_TIME_FIELD_NUMBER: _builtins.int
|
|
4133
|
+
STATE_FIELD_NUMBER: _builtins.int
|
|
4134
|
+
TOTAL_DURATION_FIELD_NUMBER: _builtins.int
|
|
4135
|
+
WAREHOUSE_EXTERNAL_SIZE_FIELD_NUMBER: _builtins.int
|
|
4136
|
+
WAREHOUSE_ID_FIELD_NUMBER: _builtins.int
|
|
4137
|
+
WAREHOUSE_NAME_FIELD_NUMBER: _builtins.int
|
|
4138
|
+
WAREHOUSE_SERVER_TYPE_FIELD_NUMBER: _builtins.int
|
|
4139
|
+
status_name: _builtins.str
|
|
4140
|
+
"""Status name as returned by the server (e.g. "RUNNING", "SUCCESS", "FAILED_WITH_ERROR")"""
|
|
4141
|
+
end_time: _builtins.int
|
|
4142
|
+
error_code: _builtins.int
|
|
4143
|
+
error_message: _builtins.str
|
|
4144
|
+
query_id: _builtins.str
|
|
4145
|
+
session_id: _builtins.int
|
|
4146
|
+
sql_text: _builtins.str
|
|
4147
|
+
start_time: _builtins.int
|
|
4148
|
+
state: _builtins.str
|
|
4149
|
+
total_duration: _builtins.int
|
|
4150
|
+
warehouse_external_size: _builtins.str
|
|
4151
|
+
warehouse_id: _builtins.int
|
|
4152
|
+
warehouse_name: _builtins.str
|
|
4153
|
+
warehouse_server_type: _builtins.str
|
|
4154
|
+
def __init__(
|
|
4155
|
+
self,
|
|
4156
|
+
*,
|
|
4157
|
+
status_name: _builtins.str = ...,
|
|
4158
|
+
end_time: _builtins.int = ...,
|
|
4159
|
+
error_code: _builtins.int | None = ...,
|
|
4160
|
+
error_message: _builtins.str | None = ...,
|
|
4161
|
+
query_id: _builtins.str = ...,
|
|
4162
|
+
session_id: _builtins.int = ...,
|
|
4163
|
+
sql_text: _builtins.str = ...,
|
|
4164
|
+
start_time: _builtins.int = ...,
|
|
4165
|
+
state: _builtins.str = ...,
|
|
4166
|
+
total_duration: _builtins.int = ...,
|
|
4167
|
+
warehouse_external_size: _builtins.str | None = ...,
|
|
4168
|
+
warehouse_id: _builtins.int = ...,
|
|
4169
|
+
warehouse_name: _builtins.str | None = ...,
|
|
4170
|
+
warehouse_server_type: _builtins.str | None = ...,
|
|
4171
|
+
) -> None: ...
|
|
4172
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_error_code", b"_error_code", "_error_message", b"_error_message", "_warehouse_external_size", b"_warehouse_external_size", "_warehouse_name", b"_warehouse_name", "_warehouse_server_type", b"_warehouse_server_type", "error_code", b"error_code", "error_message", b"error_message", "warehouse_external_size", b"warehouse_external_size", "warehouse_name", b"warehouse_name", "warehouse_server_type", b"warehouse_server_type"] # noqa: Y015
|
|
4173
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
4174
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_error_code", b"_error_code", "_error_message", b"_error_message", "_warehouse_external_size", b"_warehouse_external_size", "_warehouse_name", b"_warehouse_name", "_warehouse_server_type", b"_warehouse_server_type", "end_time", b"end_time", "error_code", b"error_code", "error_message", b"error_message", "query_id", b"query_id", "session_id", b"session_id", "sql_text", b"sql_text", "start_time", b"start_time", "state", b"state", "status_name", b"status_name", "total_duration", b"total_duration", "warehouse_external_size", b"warehouse_external_size", "warehouse_id", b"warehouse_id", "warehouse_name", b"warehouse_name", "warehouse_server_type", b"warehouse_server_type"] # noqa: Y015
|
|
4175
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
4176
|
+
_WhichOneofReturnType__error_code: _TypeAlias = _typing.Literal["error_code"] # noqa: Y015
|
|
4177
|
+
_WhichOneofArgType__error_code: _TypeAlias = _typing.Literal["_error_code", b"_error_code"] # noqa: Y015
|
|
4178
|
+
_WhichOneofReturnType__error_message: _TypeAlias = _typing.Literal["error_message"] # noqa: Y015
|
|
4179
|
+
_WhichOneofArgType__error_message: _TypeAlias = _typing.Literal["_error_message", b"_error_message"] # noqa: Y015
|
|
4180
|
+
_WhichOneofReturnType__warehouse_external_size: _TypeAlias = _typing.Literal["warehouse_external_size"] # noqa: Y015
|
|
4181
|
+
_WhichOneofArgType__warehouse_external_size: _TypeAlias = _typing.Literal["_warehouse_external_size", b"_warehouse_external_size"] # noqa: Y015
|
|
4182
|
+
_WhichOneofReturnType__warehouse_name: _TypeAlias = _typing.Literal["warehouse_name"] # noqa: Y015
|
|
4183
|
+
_WhichOneofArgType__warehouse_name: _TypeAlias = _typing.Literal["_warehouse_name", b"_warehouse_name"] # noqa: Y015
|
|
4184
|
+
_WhichOneofReturnType__warehouse_server_type: _TypeAlias = _typing.Literal["warehouse_server_type"] # noqa: Y015
|
|
4185
|
+
_WhichOneofArgType__warehouse_server_type: _TypeAlias = _typing.Literal["_warehouse_server_type", b"_warehouse_server_type"] # noqa: Y015
|
|
4186
|
+
@_typing.overload
|
|
4187
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__error_code) -> _WhichOneofReturnType__error_code | None: ...
|
|
4188
|
+
@_typing.overload
|
|
4189
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__error_message) -> _WhichOneofReturnType__error_message | None: ...
|
|
4190
|
+
@_typing.overload
|
|
4191
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__warehouse_external_size) -> _WhichOneofReturnType__warehouse_external_size | None: ...
|
|
4192
|
+
@_typing.overload
|
|
4193
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__warehouse_name) -> _WhichOneofReturnType__warehouse_name | None: ...
|
|
4194
|
+
@_typing.overload
|
|
4195
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__warehouse_server_type) -> _WhichOneofReturnType__warehouse_server_type | None: ...
|
|
4196
|
+
|
|
4197
|
+
Global___ConnectionGetQueryStatusResponse: _TypeAlias = ConnectionGetQueryStatusResponse # noqa: Y015
|
|
4198
|
+
|
|
4199
|
+
@_typing.final
|
|
4200
|
+
class ConfigGetPathsRequest(_message.Message):
|
|
4201
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
4202
|
+
|
|
4203
|
+
def __init__(
|
|
4204
|
+
self,
|
|
4205
|
+
) -> None: ...
|
|
4206
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
4207
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
4208
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
4209
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
4210
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
4211
|
+
|
|
4212
|
+
Global___ConfigGetPathsRequest: _TypeAlias = ConfigGetPathsRequest # noqa: Y015
|
|
4213
|
+
|
|
4214
|
+
@_typing.final
|
|
4215
|
+
class ConfigGetPathsResponse(_message.Message):
|
|
4216
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
4217
|
+
|
|
4218
|
+
CONFIG_FILE_FIELD_NUMBER: _builtins.int
|
|
4219
|
+
CONNECTIONS_FILE_FIELD_NUMBER: _builtins.int
|
|
4220
|
+
config_file: _builtins.str
|
|
4221
|
+
connections_file: _builtins.str
|
|
4222
|
+
def __init__(
|
|
4223
|
+
self,
|
|
4224
|
+
*,
|
|
4225
|
+
config_file: _builtins.str = ...,
|
|
4226
|
+
connections_file: _builtins.str = ...,
|
|
4227
|
+
) -> None: ...
|
|
4228
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
4229
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
4230
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["config_file", b"config_file", "connections_file", b"connections_file"] # noqa: Y015
|
|
4231
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
4232
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
4233
|
+
|
|
4234
|
+
Global___ConfigGetPathsResponse: _TypeAlias = ConfigGetPathsResponse # noqa: Y015
|
|
4235
|
+
|
|
4236
|
+
@_typing.final
|
|
4237
|
+
class DriverGetFipsStatusRequest(_message.Message):
|
|
4238
|
+
"""Reports whether this process is the FIPS driver. Does not open a connection."""
|
|
4239
|
+
|
|
4240
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
4241
|
+
|
|
4242
|
+
def __init__(
|
|
4243
|
+
self,
|
|
4244
|
+
) -> None: ...
|
|
4245
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
4246
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
4247
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
4248
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
4249
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
4250
|
+
|
|
4251
|
+
Global___DriverGetFipsStatusRequest: _TypeAlias = DriverGetFipsStatusRequest # noqa: Y015
|
|
4252
|
+
|
|
4253
|
+
@_typing.final
|
|
4254
|
+
class DriverGetFipsStatusResponse(_message.Message):
|
|
4255
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
4256
|
+
|
|
4257
|
+
IS_FIPS_FIELD_NUMBER: _builtins.int
|
|
4258
|
+
is_fips: _builtins.bool
|
|
4259
|
+
"""True when this binary was built with the fips feature and its linked TLS
|
|
4260
|
+
provider is in FIPS mode. A standard build returns false.
|
|
4261
|
+
"""
|
|
4262
|
+
def __init__(
|
|
4263
|
+
self,
|
|
4264
|
+
*,
|
|
4265
|
+
is_fips: _builtins.bool = ...,
|
|
4266
|
+
) -> None: ...
|
|
4267
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
4268
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
4269
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["is_fips", b"is_fips"] # noqa: Y015
|
|
4270
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
4271
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
4272
|
+
|
|
4273
|
+
Global___DriverGetFipsStatusResponse: _TypeAlias = DriverGetFipsStatusResponse # noqa: Y015
|
|
4274
|
+
|
|
4275
|
+
@_typing.final
|
|
4276
|
+
class WifCreateAttestationRequest(_message.Message):
|
|
4277
|
+
"""=============================================================================
|
|
4278
|
+
WORKLOAD IDENTITY FEDERATION (WIF) - standalone attestation
|
|
4279
|
+
=============================================================================
|
|
4280
|
+
Acquires a WIF attestation independently of the driver's own login flow.
|
|
4281
|
+
Reused by Snowpark to authenticate to the external event-table telemetry
|
|
4282
|
+
endpoint with the connection's already-configured WIF provider, not to
|
|
4283
|
+
establish a Snowflake session.
|
|
4284
|
+
"""
|
|
4285
|
+
|
|
4286
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
4287
|
+
|
|
4288
|
+
PROVIDER_FIELD_NUMBER: _builtins.int
|
|
4289
|
+
ENTRA_RESOURCE_FIELD_NUMBER: _builtins.int
|
|
4290
|
+
TOKEN_FIELD_NUMBER: _builtins.int
|
|
4291
|
+
IMPERSONATION_PATH_FIELD_NUMBER: _builtins.int
|
|
4292
|
+
AWS_USE_OUTBOUND_TOKEN_FIELD_NUMBER: _builtins.int
|
|
4293
|
+
WIF_HOST_FIELD_NUMBER: _builtins.int
|
|
4294
|
+
provider: _builtins.str
|
|
4295
|
+
"""Wire-format provider name: "AWS", "AZURE", "GCP", or "OIDC"."""
|
|
4296
|
+
entra_resource: _builtins.str
|
|
4297
|
+
"""Azure Entra resource URI. AZURE provider only; ignored otherwise.
|
|
4298
|
+
Empty ⇒ use the default Snowflake Entra resource.
|
|
4299
|
+
"""
|
|
4300
|
+
token: _builtins.str
|
|
4301
|
+
"""Pre-acquired OIDC JWT. OIDC provider only; ignored otherwise."""
|
|
4302
|
+
aws_use_outbound_token: _builtins.bool
|
|
4303
|
+
"""When true (AWS provider only), use outbound STS GetWebIdentityToken instead
|
|
4304
|
+
of the default pre-signed GetCallerIdentity attestation. Takes precedence
|
|
4305
|
+
over SNOWFLAKE_ENABLE_AWS_WIF_OUTBOUND_TOKEN.
|
|
4306
|
+
"""
|
|
4307
|
+
wif_host: _builtins.str
|
|
4308
|
+
"""AWS STS hostname override. Empty/unset uses the regional STS default."""
|
|
4309
|
+
@_builtins.property
|
|
4310
|
+
def impersonation_path(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
4311
|
+
"""Ordered impersonation chain, forwarded verbatim to sf_core's
|
|
4312
|
+
WorkloadIdentityConfig.impersonation_path. Empty ⇒ use the ambient
|
|
4313
|
+
workload identity directly (AWS/GCP role chain; Azure: single SP client_id).
|
|
4314
|
+
"""
|
|
4315
|
+
|
|
4316
|
+
def __init__(
|
|
4317
|
+
self,
|
|
4318
|
+
*,
|
|
4319
|
+
provider: _builtins.str = ...,
|
|
4320
|
+
entra_resource: _builtins.str | None = ...,
|
|
4321
|
+
token: _builtins.str | None = ...,
|
|
4322
|
+
impersonation_path: _abc.Iterable[_builtins.str] | None = ...,
|
|
4323
|
+
aws_use_outbound_token: _builtins.bool | None = ...,
|
|
4324
|
+
wif_host: _builtins.str | None = ...,
|
|
4325
|
+
) -> None: ...
|
|
4326
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_aws_use_outbound_token", b"_aws_use_outbound_token", "_entra_resource", b"_entra_resource", "_token", b"_token", "_wif_host", b"_wif_host", "aws_use_outbound_token", b"aws_use_outbound_token", "entra_resource", b"entra_resource", "token", b"token", "wif_host", b"wif_host"] # noqa: Y015
|
|
4327
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
4328
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_aws_use_outbound_token", b"_aws_use_outbound_token", "_entra_resource", b"_entra_resource", "_token", b"_token", "_wif_host", b"_wif_host", "aws_use_outbound_token", b"aws_use_outbound_token", "entra_resource", b"entra_resource", "impersonation_path", b"impersonation_path", "provider", b"provider", "token", b"token", "wif_host", b"wif_host"] # noqa: Y015
|
|
4329
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
4330
|
+
_WhichOneofReturnType__aws_use_outbound_token: _TypeAlias = _typing.Literal["aws_use_outbound_token"] # noqa: Y015
|
|
4331
|
+
_WhichOneofArgType__aws_use_outbound_token: _TypeAlias = _typing.Literal["_aws_use_outbound_token", b"_aws_use_outbound_token"] # noqa: Y015
|
|
4332
|
+
_WhichOneofReturnType__entra_resource: _TypeAlias = _typing.Literal["entra_resource"] # noqa: Y015
|
|
4333
|
+
_WhichOneofArgType__entra_resource: _TypeAlias = _typing.Literal["_entra_resource", b"_entra_resource"] # noqa: Y015
|
|
4334
|
+
_WhichOneofReturnType__token: _TypeAlias = _typing.Literal["token"] # noqa: Y015
|
|
4335
|
+
_WhichOneofArgType__token: _TypeAlias = _typing.Literal["_token", b"_token"] # noqa: Y015
|
|
4336
|
+
_WhichOneofReturnType__wif_host: _TypeAlias = _typing.Literal["wif_host"] # noqa: Y015
|
|
4337
|
+
_WhichOneofArgType__wif_host: _TypeAlias = _typing.Literal["_wif_host", b"_wif_host"] # noqa: Y015
|
|
4338
|
+
@_typing.overload
|
|
4339
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__aws_use_outbound_token) -> _WhichOneofReturnType__aws_use_outbound_token | None: ...
|
|
4340
|
+
@_typing.overload
|
|
4341
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__entra_resource) -> _WhichOneofReturnType__entra_resource | None: ...
|
|
4342
|
+
@_typing.overload
|
|
4343
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__token) -> _WhichOneofReturnType__token | None: ...
|
|
4344
|
+
@_typing.overload
|
|
4345
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__wif_host) -> _WhichOneofReturnType__wif_host | None: ...
|
|
4346
|
+
|
|
4347
|
+
Global___WifCreateAttestationRequest: _TypeAlias = WifCreateAttestationRequest # noqa: Y015
|
|
4348
|
+
|
|
4349
|
+
@_typing.final
|
|
4350
|
+
class WifCreateAttestationResponse(_message.Message):
|
|
4351
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
4352
|
+
|
|
4353
|
+
PROVIDER_FIELD_NUMBER: _builtins.int
|
|
4354
|
+
CREDENTIAL_FIELD_NUMBER: _builtins.int
|
|
4355
|
+
provider: _builtins.str
|
|
4356
|
+
"""Wire-format provider name echoed back ("AWS", "AZURE", "GCP", "OIDC")."""
|
|
4357
|
+
credential: _builtins.str
|
|
4358
|
+
"""The attestation credential (JWT or attested request) to forward to the
|
|
4359
|
+
relying party as proof of workload identity.
|
|
4360
|
+
"""
|
|
4361
|
+
def __init__(
|
|
4362
|
+
self,
|
|
4363
|
+
*,
|
|
4364
|
+
provider: _builtins.str = ...,
|
|
4365
|
+
credential: _builtins.str = ...,
|
|
4366
|
+
) -> None: ...
|
|
4367
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
4368
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
4369
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["credential", b"credential", "provider", b"provider"] # noqa: Y015
|
|
4370
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
4371
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
4372
|
+
|
|
4373
|
+
Global___WifCreateAttestationResponse: _TypeAlias = WifCreateAttestationResponse # noqa: Y015
|
|
4374
|
+
|
|
4375
|
+
@_typing.final
|
|
4376
|
+
class TelemetrySendApiUsageRequest(_message.Message):
|
|
4377
|
+
"""=============================================================================
|
|
4378
|
+
TELEMETRY - In-band telemetry messages sent from wrappers via core
|
|
4379
|
+
=============================================================================
|
|
4380
|
+
"""
|
|
4381
|
+
|
|
4382
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
4383
|
+
|
|
4384
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
4385
|
+
API_METHOD_FIELD_NUMBER: _builtins.int
|
|
4386
|
+
PASSED_ARGUMENTS_FIELD_NUMBER: _builtins.int
|
|
4387
|
+
api_method: _builtins.str
|
|
4388
|
+
@_builtins.property
|
|
4389
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
4390
|
+
@_builtins.property
|
|
4391
|
+
def passed_arguments(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
4392
|
+
"""Names of the arguments the caller explicitly passed to the API method.
|
|
4393
|
+
Names only — never argument values, and parameters left at their default
|
|
4394
|
+
are omitted. Used to learn which optional fields callers actually exercise.
|
|
4395
|
+
"""
|
|
4396
|
+
|
|
4397
|
+
def __init__(
|
|
4398
|
+
self,
|
|
4399
|
+
*,
|
|
4400
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
4401
|
+
api_method: _builtins.str = ...,
|
|
4402
|
+
passed_arguments: _abc.Iterable[_builtins.str] | None = ...,
|
|
4403
|
+
) -> None: ...
|
|
4404
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
4405
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
4406
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["api_method", b"api_method", "conn_handle", b"conn_handle", "passed_arguments", b"passed_arguments"] # noqa: Y015
|
|
4407
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
4408
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
4409
|
+
|
|
4410
|
+
Global___TelemetrySendApiUsageRequest: _TypeAlias = TelemetrySendApiUsageRequest # noqa: Y015
|
|
4411
|
+
|
|
4412
|
+
@_typing.final
|
|
4413
|
+
class TelemetrySendWrapperErrorRequest(_message.Message):
|
|
4414
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
4415
|
+
|
|
4416
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
4417
|
+
EXCEPTION_TYPE_FIELD_NUMBER: _builtins.int
|
|
4418
|
+
ERROR_SOURCE_FIELD_NUMBER: _builtins.int
|
|
4419
|
+
exception_type: _builtins.str
|
|
4420
|
+
error_source: _builtins.str
|
|
4421
|
+
@_builtins.property
|
|
4422
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
4423
|
+
def __init__(
|
|
4424
|
+
self,
|
|
4425
|
+
*,
|
|
4426
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
4427
|
+
exception_type: _builtins.str = ...,
|
|
4428
|
+
error_source: _builtins.str = ...,
|
|
4429
|
+
) -> None: ...
|
|
4430
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
4431
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
4432
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle", "error_source", b"error_source", "exception_type", b"exception_type"] # noqa: Y015
|
|
4433
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
4434
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
4435
|
+
|
|
4436
|
+
Global___TelemetrySendWrapperErrorRequest: _TypeAlias = TelemetrySendWrapperErrorRequest # noqa: Y015
|
|
4437
|
+
|
|
4438
|
+
@_typing.final
|
|
4439
|
+
class TelemetrySendResponse(_message.Message):
|
|
4440
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
4441
|
+
|
|
4442
|
+
def __init__(
|
|
4443
|
+
self,
|
|
4444
|
+
) -> None: ...
|
|
4445
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
4446
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
4447
|
+
_ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
4448
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
4449
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
4450
|
+
|
|
4451
|
+
Global___TelemetrySendResponse: _TypeAlias = TelemetrySendResponse # noqa: Y015
|
|
4452
|
+
|
|
4453
|
+
@_typing.final
|
|
4454
|
+
class TelemetrySendLogRequest(_message.Message):
|
|
4455
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
4456
|
+
|
|
4457
|
+
CONN_HANDLE_FIELD_NUMBER: _builtins.int
|
|
4458
|
+
MESSAGE_JSON_FIELD_NUMBER: _builtins.int
|
|
4459
|
+
TIMESTAMP_MS_FIELD_NUMBER: _builtins.int
|
|
4460
|
+
message_json: _builtins.str
|
|
4461
|
+
timestamp_ms: _builtins.int
|
|
4462
|
+
@_builtins.property
|
|
4463
|
+
def conn_handle(self) -> Global___ConnectionHandle: ...
|
|
4464
|
+
def __init__(
|
|
4465
|
+
self,
|
|
4466
|
+
*,
|
|
4467
|
+
conn_handle: Global___ConnectionHandle | None = ...,
|
|
4468
|
+
message_json: _builtins.str = ...,
|
|
4469
|
+
timestamp_ms: _builtins.int = ...,
|
|
4470
|
+
) -> None: ...
|
|
4471
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle"] # noqa: Y015
|
|
4472
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
4473
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["conn_handle", b"conn_handle", "message_json", b"message_json", "timestamp_ms", b"timestamp_ms"] # noqa: Y015
|
|
4474
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
4475
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
4476
|
+
|
|
4477
|
+
Global___TelemetrySendLogRequest: _TypeAlias = TelemetrySendLogRequest # noqa: Y015
|
|
4478
|
+
|
|
4479
|
+
SERVICE_ERROR_FIELD_NUMBER: _builtins.int
|
|
4480
|
+
METHOD_ERROR_FIELD_NUMBER: _builtins.int
|
|
4481
|
+
ASYNC_FIRST_FIELD_NUMBER: _builtins.int
|
|
4482
|
+
service_error: _extension_dict._ExtensionFieldDescriptor[_descriptor_pb2.ServiceOptions, _builtins.str]
|
|
4483
|
+
method_error: _extension_dict._ExtensionFieldDescriptor[_descriptor_pb2.MethodOptions, _builtins.str]
|
|
4484
|
+
async_first: _extension_dict._ExtensionFieldDescriptor[_descriptor_pb2.MethodOptions, _builtins.bool]
|
|
4485
|
+
"""Marks a slow, cancellable RPC as async-first: language generators emit a
|
|
4486
|
+
Future/awaitable-returning client method instead of a blocking one.
|
|
4487
|
+
"""
|