/ mlflow / protos / databricks_managed_catalog_messages_pb2.py
databricks_managed_catalog_messages_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_managed_catalog_messages.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_managed_catalog_messages.proto\x12\x15mlflow.managedcatalog\x1a\x15scalapb/scalapb.proto\"0\n\tTableInfo\x12\x11\n\tfull_name\x18\x0f \x01(\t\x12\x10\n\x08table_id\x18\x16 \x01(\t\"\xc2\x01\n\x08GetTable\x12\x15\n\rfull_name_arg\x18\x01 \x01(\t\x12\x14\n\x0comit_columns\x18\x05 \x01(\x08\x12\x17\n\x0fomit_properties\x18\x06 \x01(\x08\x12\x18\n\x10omit_constraints\x18\x07 \x01(\x08\x12\x19\n\x11omit_dependencies\x18\x08 \x01(\x08\x12\x15\n\romit_username\x18\x0b \x01(\x08\x12$\n\x1comit_storage_credential_name\x18\x0c \x01(\x08\"7\n\x10GetTableResponse\x12\x11\n\tfull_name\x18\x0f \x01(\t\x12\x10\n\x08table_id\x18\x16 \x01(\tB1\n\'com.databricks.api.proto.managedcatalog\xa0\x01\x01\xe2?\x02\x10\x01')
23  
24    _globals = globals()
25    _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
26    _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'databricks_managed_catalog_messages_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.managedcatalog\240\001\001\342?\002\020\001'
30      _globals['_TABLEINFO']._serialized_start=91
31      _globals['_TABLEINFO']._serialized_end=139
32      _globals['_GETTABLE']._serialized_start=142
33      _globals['_GETTABLE']._serialized_end=336
34      _globals['_GETTABLERESPONSE']._serialized_start=338
35      _globals['_GETTABLERESPONSE']._serialized_end=393
36    # @@protoc_insertion_point(module_scope)
37  
38  else:
39    # -*- coding: utf-8 -*-
40    # Generated by the protocol buffer compiler.  DO NOT EDIT!
41    # source: databricks_managed_catalog_messages.proto
42    """Generated protocol buffer code."""
43    from google.protobuf import descriptor as _descriptor
44    from google.protobuf import descriptor_pool as _descriptor_pool
45    from google.protobuf import message as _message
46    from google.protobuf import reflection as _reflection
47    from google.protobuf import symbol_database as _symbol_database
48    # @@protoc_insertion_point(imports)
49  
50    _sym_db = _symbol_database.Default()
51  
52  
53    from .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2
54  
55  
56    DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)databricks_managed_catalog_messages.proto\x12\x15mlflow.managedcatalog\x1a\x15scalapb/scalapb.proto\"0\n\tTableInfo\x12\x11\n\tfull_name\x18\x0f \x01(\t\x12\x10\n\x08table_id\x18\x16 \x01(\t\"\xc2\x01\n\x08GetTable\x12\x15\n\rfull_name_arg\x18\x01 \x01(\t\x12\x14\n\x0comit_columns\x18\x05 \x01(\x08\x12\x17\n\x0fomit_properties\x18\x06 \x01(\x08\x12\x18\n\x10omit_constraints\x18\x07 \x01(\x08\x12\x19\n\x11omit_dependencies\x18\x08 \x01(\x08\x12\x15\n\romit_username\x18\x0b \x01(\x08\x12$\n\x1comit_storage_credential_name\x18\x0c \x01(\x08\"7\n\x10GetTableResponse\x12\x11\n\tfull_name\x18\x0f \x01(\t\x12\x10\n\x08table_id\x18\x16 \x01(\tB1\n\'com.databricks.api.proto.managedcatalog\xa0\x01\x01\xe2?\x02\x10\x01')
57  
58  
59  
60    _TABLEINFO = DESCRIPTOR.message_types_by_name['TableInfo']
61    _GETTABLE = DESCRIPTOR.message_types_by_name['GetTable']
62    _GETTABLERESPONSE = DESCRIPTOR.message_types_by_name['GetTableResponse']
63    TableInfo = _reflection.GeneratedProtocolMessageType('TableInfo', (_message.Message,), {
64      'DESCRIPTOR' : _TABLEINFO,
65      '__module__' : 'databricks_managed_catalog_messages_pb2'
66      # @@protoc_insertion_point(class_scope:mlflow.managedcatalog.TableInfo)
67      })
68    _sym_db.RegisterMessage(TableInfo)
69  
70    GetTable = _reflection.GeneratedProtocolMessageType('GetTable', (_message.Message,), {
71      'DESCRIPTOR' : _GETTABLE,
72      '__module__' : 'databricks_managed_catalog_messages_pb2'
73      # @@protoc_insertion_point(class_scope:mlflow.managedcatalog.GetTable)
74      })
75    _sym_db.RegisterMessage(GetTable)
76  
77    GetTableResponse = _reflection.GeneratedProtocolMessageType('GetTableResponse', (_message.Message,), {
78      'DESCRIPTOR' : _GETTABLERESPONSE,
79      '__module__' : 'databricks_managed_catalog_messages_pb2'
80      # @@protoc_insertion_point(class_scope:mlflow.managedcatalog.GetTableResponse)
81      })
82    _sym_db.RegisterMessage(GetTableResponse)
83  
84    if _descriptor._USE_C_DESCRIPTORS == False:
85  
86      DESCRIPTOR._options = None
87      DESCRIPTOR._serialized_options = b'\n\'com.databricks.api.proto.managedcatalog\240\001\001\342?\002\020\001'
88      _TABLEINFO._serialized_start=91
89      _TABLEINFO._serialized_end=139
90      _GETTABLE._serialized_start=142
91      _GETTABLE._serialized_end=336
92      _GETTABLERESPONSE._serialized_start=338
93      _GETTABLERESPONSE._serialized_end=393
94    # @@protoc_insertion_point(module_scope)
95