import google.protobuf from packaging.version import Version if Version(google.protobuf.__version__).major >= 5: # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: databricks_exception_with_details.proto # Protobuf Python Version: 5.26.0 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'databricks_exception_with_details.proto\x12\x0e\x64\x61tabricks.api\x1a\x15scalapb/scalapb.proto\"f\n*DatabricksServiceExceptionWithDetailsProto\x12\x12\n\nerror_code\x18\x01 \x01(\t\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x13\n\x0bstack_trace\x18\x03 \x01(\tBv\n*com.databricks.api.proto.databricks.jprotoB\x19\x45xceptionWithDetailsProtoP\x01\xa0\x01\x01\xe2?\'\n#com.databricks.api.proto.databricks\x10\x01') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'databricks_exception_with_details_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: _globals['DESCRIPTOR']._loaded_options = None _globals['DESCRIPTOR']._serialized_options = b'\n*com.databricks.api.proto.databricks.jprotoB\031ExceptionWithDetailsProtoP\001\240\001\001\342?\'\n#com.databricks.api.proto.databricks\020\001' _globals['_DATABRICKSSERVICEEXCEPTIONWITHDETAILSPROTO']._serialized_start=82 _globals['_DATABRICKSSERVICEEXCEPTIONWITHDETAILSPROTO']._serialized_end=184 # @@protoc_insertion_point(module_scope) else: # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: databricks_exception_with_details.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'databricks_exception_with_details.proto\x12\x0e\x64\x61tabricks.api\x1a\x15scalapb/scalapb.proto\"f\n*DatabricksServiceExceptionWithDetailsProto\x12\x12\n\nerror_code\x18\x01 \x01(\t\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x13\n\x0bstack_trace\x18\x03 \x01(\tBy\n*com.databricks.api.proto.databricks.jprotoB\x19\x45xceptionWithDetailsProtoP\x01\xa0\x01\x01\xe2?\x02\x10\x01\xe2?%\n#com.databricks.api.proto.databricks') _DATABRICKSSERVICEEXCEPTIONWITHDETAILSPROTO = DESCRIPTOR.message_types_by_name['DatabricksServiceExceptionWithDetailsProto'] DatabricksServiceExceptionWithDetailsProto = _reflection.GeneratedProtocolMessageType('DatabricksServiceExceptionWithDetailsProto', (_message.Message,), { 'DESCRIPTOR' : _DATABRICKSSERVICEEXCEPTIONWITHDETAILSPROTO, '__module__' : 'databricks_exception_with_details_pb2' # @@protoc_insertion_point(class_scope:databricks.api.DatabricksServiceExceptionWithDetailsProto) }) _sym_db.RegisterMessage(DatabricksServiceExceptionWithDetailsProto) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n*com.databricks.api.proto.databricks.jprotoB\031ExceptionWithDetailsProtoP\001\240\001\001\342?\002\020\001\342?%\n#com.databricks.api.proto.databricks' _DATABRICKSSERVICEEXCEPTIONWITHDETAILSPROTO._serialized_start=82 _DATABRICKSSERVICEEXCEPTIONWITHDETAILSPROTO._serialized_end=184 # @@protoc_insertion_point(module_scope)