/ mlflow / protos / databricks_exception_with_details_pb2.py
databricks_exception_with_details_pb2.py
 1  
 2  import google.protobuf
 3  from packaging.version import Version
 4  if Version(google.protobuf.__version__).major >= 5:
 5    # -*- coding: utf-8 -*-
 6    # Generated by the protocol buffer compiler.  DO NOT EDIT!
 7    # source: databricks_exception_with_details.proto
 8    # Protobuf Python Version: 5.26.0
 9    """Generated protocol buffer code."""
10    from google.protobuf import descriptor as _descriptor
11    from google.protobuf import descriptor_pool as _descriptor_pool
12    from google.protobuf import symbol_database as _symbol_database
13    from google.protobuf.internal import builder as _builder
14    # @@protoc_insertion_point(imports)
15  
16    _sym_db = _symbol_database.Default()
17  
18  
19    from .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2
20  
21  
22    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')
23  
24    _globals = globals()
25    _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
26    _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'databricks_exception_with_details_pb2', _globals)
27    if not _descriptor._USE_C_DESCRIPTORS:
28      _globals['DESCRIPTOR']._loaded_options = None
29      _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'
30      _globals['_DATABRICKSSERVICEEXCEPTIONWITHDETAILSPROTO']._serialized_start=82
31      _globals['_DATABRICKSSERVICEEXCEPTIONWITHDETAILSPROTO']._serialized_end=184
32    # @@protoc_insertion_point(module_scope)
33  
34  else:
35    # -*- coding: utf-8 -*-
36    # Generated by the protocol buffer compiler.  DO NOT EDIT!
37    # source: databricks_exception_with_details.proto
38    """Generated protocol buffer code."""
39    from google.protobuf import descriptor as _descriptor
40    from google.protobuf import descriptor_pool as _descriptor_pool
41    from google.protobuf import message as _message
42    from google.protobuf import reflection as _reflection
43    from google.protobuf import symbol_database as _symbol_database
44    # @@protoc_insertion_point(imports)
45  
46    _sym_db = _symbol_database.Default()
47  
48  
49    from .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2
50  
51  
52    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')
53  
54  
55  
56    _DATABRICKSSERVICEEXCEPTIONWITHDETAILSPROTO = DESCRIPTOR.message_types_by_name['DatabricksServiceExceptionWithDetailsProto']
57    DatabricksServiceExceptionWithDetailsProto = _reflection.GeneratedProtocolMessageType('DatabricksServiceExceptionWithDetailsProto', (_message.Message,), {
58      'DESCRIPTOR' : _DATABRICKSSERVICEEXCEPTIONWITHDETAILSPROTO,
59      '__module__' : 'databricks_exception_with_details_pb2'
60      # @@protoc_insertion_point(class_scope:databricks.api.DatabricksServiceExceptionWithDetailsProto)
61      })
62    _sym_db.RegisterMessage(DatabricksServiceExceptionWithDetailsProto)
63  
64    if _descriptor._USE_C_DESCRIPTORS == False:
65  
66      DESCRIPTOR._options = None
67      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'
68      _DATABRICKSSERVICEEXCEPTIONWITHDETAILSPROTO._serialized_start=82
69      _DATABRICKSSERVICEEXCEPTIONWITHDETAILSPROTO._serialized_end=184
70    # @@protoc_insertion_point(module_scope)
71