/ mlflow / protos / databricks_managed_catalog_service_pb2.py
databricks_managed_catalog_service_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_service.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 . import databricks_pb2 as databricks__pb2
20    from . import databricks_managed_catalog_messages_pb2 as databricks_managed_catalog_messages_pb2
21    from .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2
22  
23  
24    DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(databricks_managed_catalog_service.proto\x12\x15mlflow.managedcatalog\x1a\x10\x64\x61tabricks.proto\x1a)databricks_managed_catalog_messages.proto\x1a\x15scalapb/scalapb.proto2\xb2\x01\n\x1d\x44\x61tabricksUnityCatalogService\x12\x90\x01\n\x08getTable\x12\x1f.mlflow.managedcatalog.GetTable\x1a\'.mlflow.managedcatalog.GetTableResponse\":\xf2\x86\x19\x36\n2\n\x03GET\x12%/unity-catalog/tables/{full_name_arg}\x1a\x04\x08\x02\x10\x00\x10\x03\x42\x34\n\'com.databricks.api.proto.managedcatalog\x90\x01\x01\xa0\x01\x01\xe2?\x02\x10\x01')
25  
26    _globals = globals()
27    _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
28    _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'databricks_managed_catalog_service_pb2', _globals)
29    if not _descriptor._USE_C_DESCRIPTORS:
30      _globals['DESCRIPTOR']._loaded_options = None
31      _globals['DESCRIPTOR']._serialized_options = b'\n\'com.databricks.api.proto.managedcatalog\220\001\001\240\001\001\342?\002\020\001'
32      _globals['_DATABRICKSUNITYCATALOGSERVICE'].methods_by_name['getTable']._loaded_options = None
33      _globals['_DATABRICKSUNITYCATALOGSERVICE'].methods_by_name['getTable']._serialized_options = b'\362\206\0316\n2\n\003GET\022%/unity-catalog/tables/{full_name_arg}\032\004\010\002\020\000\020\003'
34      _globals['_DATABRICKSUNITYCATALOGSERVICE']._serialized_start=152
35      _globals['_DATABRICKSUNITYCATALOGSERVICE']._serialized_end=330
36    _builder.BuildServices(DESCRIPTOR, 'databricks_managed_catalog_service_pb2', _globals)
37    # @@protoc_insertion_point(module_scope)
38  
39  else:
40    # -*- coding: utf-8 -*-
41    # Generated by the protocol buffer compiler.  DO NOT EDIT!
42    # source: databricks_managed_catalog_service.proto
43    """Generated protocol buffer code."""
44    from google.protobuf import descriptor as _descriptor
45    from google.protobuf import descriptor_pool as _descriptor_pool
46    from google.protobuf import message as _message
47    from google.protobuf import reflection as _reflection
48    from google.protobuf import symbol_database as _symbol_database
49    from google.protobuf import service as _service
50    from google.protobuf import service_reflection
51    # @@protoc_insertion_point(imports)
52  
53    _sym_db = _symbol_database.Default()
54  
55  
56    from . import databricks_pb2 as databricks__pb2
57    from . import databricks_managed_catalog_messages_pb2 as databricks_managed_catalog_messages_pb2
58    from .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2
59  
60  
61    DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(databricks_managed_catalog_service.proto\x12\x15mlflow.managedcatalog\x1a\x10\x64\x61tabricks.proto\x1a)databricks_managed_catalog_messages.proto\x1a\x15scalapb/scalapb.proto2\xb2\x01\n\x1d\x44\x61tabricksUnityCatalogService\x12\x90\x01\n\x08getTable\x12\x1f.mlflow.managedcatalog.GetTable\x1a\'.mlflow.managedcatalog.GetTableResponse\":\xf2\x86\x19\x36\n2\n\x03GET\x12%/unity-catalog/tables/{full_name_arg}\x1a\x04\x08\x02\x10\x00\x10\x03\x42\x34\n\'com.databricks.api.proto.managedcatalog\x90\x01\x01\xa0\x01\x01\xe2?\x02\x10\x01')
62  
63  
64  
65    _DATABRICKSUNITYCATALOGSERVICE = DESCRIPTOR.services_by_name['DatabricksUnityCatalogService']
66    if _descriptor._USE_C_DESCRIPTORS == False:
67  
68      DESCRIPTOR._options = None
69      DESCRIPTOR._serialized_options = b'\n\'com.databricks.api.proto.managedcatalog\220\001\001\240\001\001\342?\002\020\001'
70      _DATABRICKSUNITYCATALOGSERVICE.methods_by_name['getTable']._options = None
71      _DATABRICKSUNITYCATALOGSERVICE.methods_by_name['getTable']._serialized_options = b'\362\206\0316\n2\n\003GET\022%/unity-catalog/tables/{full_name_arg}\032\004\010\002\020\000\020\003'
72      _DATABRICKSUNITYCATALOGSERVICE._serialized_start=152
73      _DATABRICKSUNITYCATALOGSERVICE._serialized_end=330
74    DatabricksUnityCatalogService = service_reflection.GeneratedServiceType('DatabricksUnityCatalogService', (_service.Service,), dict(
75      DESCRIPTOR = _DATABRICKSUNITYCATALOGSERVICE,
76      __module__ = 'databricks_managed_catalog_service_pb2'
77      ))
78  
79    DatabricksUnityCatalogService_Stub = service_reflection.GeneratedServiceStubType('DatabricksUnityCatalogService_Stub', (DatabricksUnityCatalogService,), dict(
80      DESCRIPTOR = _DATABRICKSUNITYCATALOGSERVICE,
81      __module__ = 'databricks_managed_catalog_service_pb2'
82      ))
83  
84  
85    # @@protoc_insertion_point(module_scope)
86