This commit is contained in:
Christian Mantha
2026-03-02 19:10:52 -05:00
commit 2ca0b9ef7c
28907 changed files with 5233713 additions and 0 deletions

View File

@@ -0,0 +1,161 @@
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: assessments.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 . import databricks_pb2 as databricks__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x61ssessments.proto\x12\x12mlflow.assessments\x1a\x10\x64\x61tabricks.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc6\x01\n\x10\x41ssessmentSource\x12J\n\x0bsource_type\x18\x01 \x01(\x0e\x32/.mlflow.assessments.AssessmentSource.SourceTypeB\x04\xf8\x86\x19\x01\x12\x17\n\tsource_id\x18\x02 \x01(\tB\x04\xf8\x86\x19\x01\"M\n\nSourceType\x12\x1b\n\x17SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05HUMAN\x10\x01\x12\r\n\tLLM_JUDGE\x10\x02\x12\x08\n\x04\x43ODE\x10\x03\"<\n\x0f\x41ssessmentError\x12\x12\n\nerror_code\x18\x01 \x01(\t\x12\x15\n\rerror_message\x18\x02 \x01(\t\"4\n\x0b\x45xpectation\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value\"e\n\x08\x46\x65\x65\x64\x62\x61\x63k\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value\x12\x32\n\x05\x65rror\x18\x03 \x01(\x0b\x32#.mlflow.assessments.AssessmentError\"\xb1\x04\n\nAssessment\x12\x15\n\rassessment_id\x18\x01 \x01(\t\x12\x1d\n\x0f\x61ssessment_name\x18\x02 \x01(\tB\x04\xf8\x86\x19\x01\x12\x10\n\x08trace_id\x18\x03 \x01(\t\x12\x0f\n\x07span_id\x18\x04 \x01(\t\x12\x34\n\x06source\x18\x05 \x01(\x0b\x32$.mlflow.assessments.AssessmentSource\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10last_update_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x08\x66\x65\x65\x64\x62\x61\x63k\x18\t \x01(\x0b\x32\x1c.mlflow.assessments.FeedbackH\x00\x12\x36\n\x0b\x65xpectation\x18\n \x01(\x0b\x32\x1f.mlflow.assessments.ExpectationH\x00\x12\x11\n\trationale\x18\x0b \x01(\t\x12\x36\n\x05\x65rror\x18\x0c \x01(\x0b\x32#.mlflow.assessments.AssessmentErrorB\x02\x18\x01\x12>\n\x08metadata\x18\r \x03(\x0b\x32,.mlflow.assessments.Assessment.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x07\n\x05valueB\x19\n\x14org.mlflow.api.proto\x90\x01\x01')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'assessments_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
_globals['DESCRIPTOR']._loaded_options = None
_globals['DESCRIPTOR']._serialized_options = b'\n\024org.mlflow.api.proto\220\001\001'
_globals['_ASSESSMENTSOURCE'].fields_by_name['source_type']._loaded_options = None
_globals['_ASSESSMENTSOURCE'].fields_by_name['source_type']._serialized_options = b'\370\206\031\001'
_globals['_ASSESSMENTSOURCE'].fields_by_name['source_id']._loaded_options = None
_globals['_ASSESSMENTSOURCE'].fields_by_name['source_id']._serialized_options = b'\370\206\031\001'
_globals['_ASSESSMENT_METADATAENTRY']._loaded_options = None
_globals['_ASSESSMENT_METADATAENTRY']._serialized_options = b'8\001'
_globals['_ASSESSMENT'].fields_by_name['assessment_name']._loaded_options = None
_globals['_ASSESSMENT'].fields_by_name['assessment_name']._serialized_options = b'\370\206\031\001'
_globals['_ASSESSMENT'].fields_by_name['error']._loaded_options = None
_globals['_ASSESSMENT'].fields_by_name['error']._serialized_options = b'\030\001'
_globals['_ASSESSMENTSOURCE']._serialized_start=123
_globals['_ASSESSMENTSOURCE']._serialized_end=321
_globals['_ASSESSMENTSOURCE_SOURCETYPE']._serialized_start=244
_globals['_ASSESSMENTSOURCE_SOURCETYPE']._serialized_end=321
_globals['_ASSESSMENTERROR']._serialized_start=323
_globals['_ASSESSMENTERROR']._serialized_end=383
_globals['_EXPECTATION']._serialized_start=385
_globals['_EXPECTATION']._serialized_end=437
_globals['_FEEDBACK']._serialized_start=439
_globals['_FEEDBACK']._serialized_end=540
_globals['_ASSESSMENT']._serialized_start=543
_globals['_ASSESSMENT']._serialized_end=1104
_globals['_ASSESSMENT_METADATAENTRY']._serialized_start=1048
_globals['_ASSESSMENT_METADATAENTRY']._serialized_end=1095
# @@protoc_insertion_point(module_scope)
else:
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: assessments.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 . import databricks_pb2 as databricks__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x61ssessments.proto\x12\x12mlflow.assessments\x1a\x10\x64\x61tabricks.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc6\x01\n\x10\x41ssessmentSource\x12J\n\x0bsource_type\x18\x01 \x01(\x0e\x32/.mlflow.assessments.AssessmentSource.SourceTypeB\x04\xf8\x86\x19\x01\x12\x17\n\tsource_id\x18\x02 \x01(\tB\x04\xf8\x86\x19\x01\"M\n\nSourceType\x12\x1b\n\x17SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05HUMAN\x10\x01\x12\r\n\tLLM_JUDGE\x10\x02\x12\x08\n\x04\x43ODE\x10\x03\"<\n\x0f\x41ssessmentError\x12\x12\n\nerror_code\x18\x01 \x01(\t\x12\x15\n\rerror_message\x18\x02 \x01(\t\"4\n\x0b\x45xpectation\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value\"e\n\x08\x46\x65\x65\x64\x62\x61\x63k\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value\x12\x32\n\x05\x65rror\x18\x03 \x01(\x0b\x32#.mlflow.assessments.AssessmentError\"\xb1\x04\n\nAssessment\x12\x15\n\rassessment_id\x18\x01 \x01(\t\x12\x1d\n\x0f\x61ssessment_name\x18\x02 \x01(\tB\x04\xf8\x86\x19\x01\x12\x10\n\x08trace_id\x18\x03 \x01(\t\x12\x0f\n\x07span_id\x18\x04 \x01(\t\x12\x34\n\x06source\x18\x05 \x01(\x0b\x32$.mlflow.assessments.AssessmentSource\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10last_update_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x08\x66\x65\x65\x64\x62\x61\x63k\x18\t \x01(\x0b\x32\x1c.mlflow.assessments.FeedbackH\x00\x12\x36\n\x0b\x65xpectation\x18\n \x01(\x0b\x32\x1f.mlflow.assessments.ExpectationH\x00\x12\x11\n\trationale\x18\x0b \x01(\t\x12\x36\n\x05\x65rror\x18\x0c \x01(\x0b\x32#.mlflow.assessments.AssessmentErrorB\x02\x18\x01\x12>\n\x08metadata\x18\r \x03(\x0b\x32,.mlflow.assessments.Assessment.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x07\n\x05valueB\x19\n\x14org.mlflow.api.proto\x90\x01\x01')
_ASSESSMENTSOURCE = DESCRIPTOR.message_types_by_name['AssessmentSource']
_ASSESSMENTERROR = DESCRIPTOR.message_types_by_name['AssessmentError']
_EXPECTATION = DESCRIPTOR.message_types_by_name['Expectation']
_FEEDBACK = DESCRIPTOR.message_types_by_name['Feedback']
_ASSESSMENT = DESCRIPTOR.message_types_by_name['Assessment']
_ASSESSMENT_METADATAENTRY = _ASSESSMENT.nested_types_by_name['MetadataEntry']
_ASSESSMENTSOURCE_SOURCETYPE = _ASSESSMENTSOURCE.enum_types_by_name['SourceType']
AssessmentSource = _reflection.GeneratedProtocolMessageType('AssessmentSource', (_message.Message,), {
'DESCRIPTOR' : _ASSESSMENTSOURCE,
'__module__' : 'assessments_pb2'
# @@protoc_insertion_point(class_scope:mlflow.assessments.AssessmentSource)
})
_sym_db.RegisterMessage(AssessmentSource)
AssessmentError = _reflection.GeneratedProtocolMessageType('AssessmentError', (_message.Message,), {
'DESCRIPTOR' : _ASSESSMENTERROR,
'__module__' : 'assessments_pb2'
# @@protoc_insertion_point(class_scope:mlflow.assessments.AssessmentError)
})
_sym_db.RegisterMessage(AssessmentError)
Expectation = _reflection.GeneratedProtocolMessageType('Expectation', (_message.Message,), {
'DESCRIPTOR' : _EXPECTATION,
'__module__' : 'assessments_pb2'
# @@protoc_insertion_point(class_scope:mlflow.assessments.Expectation)
})
_sym_db.RegisterMessage(Expectation)
Feedback = _reflection.GeneratedProtocolMessageType('Feedback', (_message.Message,), {
'DESCRIPTOR' : _FEEDBACK,
'__module__' : 'assessments_pb2'
# @@protoc_insertion_point(class_scope:mlflow.assessments.Feedback)
})
_sym_db.RegisterMessage(Feedback)
Assessment = _reflection.GeneratedProtocolMessageType('Assessment', (_message.Message,), {
'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), {
'DESCRIPTOR' : _ASSESSMENT_METADATAENTRY,
'__module__' : 'assessments_pb2'
# @@protoc_insertion_point(class_scope:mlflow.assessments.Assessment.MetadataEntry)
})
,
'DESCRIPTOR' : _ASSESSMENT,
'__module__' : 'assessments_pb2'
# @@protoc_insertion_point(class_scope:mlflow.assessments.Assessment)
})
_sym_db.RegisterMessage(Assessment)
_sym_db.RegisterMessage(Assessment.MetadataEntry)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'\n\024org.mlflow.api.proto\220\001\001'
_ASSESSMENTSOURCE.fields_by_name['source_type']._options = None
_ASSESSMENTSOURCE.fields_by_name['source_type']._serialized_options = b'\370\206\031\001'
_ASSESSMENTSOURCE.fields_by_name['source_id']._options = None
_ASSESSMENTSOURCE.fields_by_name['source_id']._serialized_options = b'\370\206\031\001'
_ASSESSMENT_METADATAENTRY._options = None
_ASSESSMENT_METADATAENTRY._serialized_options = b'8\001'
_ASSESSMENT.fields_by_name['assessment_name']._options = None
_ASSESSMENT.fields_by_name['assessment_name']._serialized_options = b'\370\206\031\001'
_ASSESSMENT.fields_by_name['error']._options = None
_ASSESSMENT.fields_by_name['error']._serialized_options = b'\030\001'
_ASSESSMENTSOURCE._serialized_start=123
_ASSESSMENTSOURCE._serialized_end=321
_ASSESSMENTSOURCE_SOURCETYPE._serialized_start=244
_ASSESSMENTSOURCE_SOURCETYPE._serialized_end=321
_ASSESSMENTERROR._serialized_start=323
_ASSESSMENTERROR._serialized_end=383
_EXPECTATION._serialized_start=385
_EXPECTATION._serialized_end=437
_FEEDBACK._serialized_start=439
_FEEDBACK._serialized_end=540
_ASSESSMENT._serialized_start=543
_ASSESSMENT._serialized_end=1104
_ASSESSMENT_METADATAENTRY._serialized_start=1048
_ASSESSMENT_METADATAENTRY._serialized_end=1095
# @@protoc_insertion_point(module_scope)

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,196 @@
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_filesystem_service.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 . import databricks_pb2 as databricks__pb2
from .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#databricks_filesystem_service.proto\x12\x11mlflow.filesystem\x1a\x10\x64\x61tabricks.proto\x1a\x15scalapb/scalapb.proto\")\n\nHttpHeader\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"`\n\x18\x43reateDownloadUrlRequest\x12\x0c\n\x04path\x18\x01 \x01(\t:6\xe2?3\n1com.databricks.rpc.RPC[CreateDownloadUrlResponse]\"\x82\x01\n\x19\x43reateDownloadUrlResponse\x12\x0b\n\x03url\x18\x01 \x01(\t\x12.\n\x07headers\x18\x02 \x03(\x0b\x32\x1d.mlflow.filesystem.HttpHeader:(\xe2?%\n#com.databricks.rpc.DoNotLogContents\"\\\n\x16\x43reateUploadUrlRequest\x12\x0c\n\x04path\x18\x01 \x01(\t:4\xe2?1\n/com.databricks.rpc.RPC[CreateUploadUrlResponse]\"\x80\x01\n\x17\x43reateUploadUrlResponse\x12\x0b\n\x03url\x18\x01 \x01(\t\x12.\n\x07headers\x18\x02 \x03(\x0b\x32\x1d.mlflow.filesystem.HttpHeader:(\xe2?%\n#com.databricks.rpc.DoNotLogContents\"\x96\x01\n\x0e\x44irectoryEntry\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x14\n\x0cis_directory\x18\x02 \x01(\x08\x12\x11\n\tfile_size\x18\x03 \x01(\x03\x12\x15\n\rlast_modified\x18\x04 \x01(\x03\x12\x0c\n\x04name\x18\x05 \x01(\t:(\xe2?%\n#com.databricks.rpc.DoNotLogContents\"\x8f\x01\n\x15ListDirectoryResponse\x12\x33\n\x08\x63ontents\x18\x01 \x03(\x0b\x32!.mlflow.filesystem.DirectoryEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t:(\xe2?%\n#com.databricks.rpc.DoNotLogContents2\xcb\x02\n\x11\x46ilesystemService\x12\x9d\x01\n\x11\x43reateDownloadUrl\x12+.mlflow.filesystem.CreateDownloadUrlRequest\x1a,.mlflow.filesystem.CreateDownloadUrlResponse\"-\xf2\x86\x19)\n%\n\x04POST\x12\x17/fs/create-download-url\x1a\x04\x08\x02\x10\x00\x10\x03\x12\x95\x01\n\x0f\x43reateUploadUrl\x12).mlflow.filesystem.CreateUploadUrlRequest\x1a*.mlflow.filesystem.CreateUploadUrlResponse\"+\xf2\x86\x19\'\n#\n\x04POST\x12\x15/fs/create-upload-url\x1a\x04\x08\x02\x10\x00\x10\x03\x42\x30\n#com.databricks.api.proto.filesystem\x90\x01\x01\xa0\x01\x01\xe2?\x02\x10\x01')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'databricks_filesystem_service_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
_globals['DESCRIPTOR']._loaded_options = None
_globals['DESCRIPTOR']._serialized_options = b'\n#com.databricks.api.proto.filesystem\220\001\001\240\001\001\342?\002\020\001'
_globals['_CREATEDOWNLOADURLREQUEST']._loaded_options = None
_globals['_CREATEDOWNLOADURLREQUEST']._serialized_options = b'\342?3\n1com.databricks.rpc.RPC[CreateDownloadUrlResponse]'
_globals['_CREATEDOWNLOADURLRESPONSE']._loaded_options = None
_globals['_CREATEDOWNLOADURLRESPONSE']._serialized_options = b'\342?%\n#com.databricks.rpc.DoNotLogContents'
_globals['_CREATEUPLOADURLREQUEST']._loaded_options = None
_globals['_CREATEUPLOADURLREQUEST']._serialized_options = b'\342?1\n/com.databricks.rpc.RPC[CreateUploadUrlResponse]'
_globals['_CREATEUPLOADURLRESPONSE']._loaded_options = None
_globals['_CREATEUPLOADURLRESPONSE']._serialized_options = b'\342?%\n#com.databricks.rpc.DoNotLogContents'
_globals['_DIRECTORYENTRY']._loaded_options = None
_globals['_DIRECTORYENTRY']._serialized_options = b'\342?%\n#com.databricks.rpc.DoNotLogContents'
_globals['_LISTDIRECTORYRESPONSE']._loaded_options = None
_globals['_LISTDIRECTORYRESPONSE']._serialized_options = b'\342?%\n#com.databricks.rpc.DoNotLogContents'
_globals['_FILESYSTEMSERVICE'].methods_by_name['CreateDownloadUrl']._loaded_options = None
_globals['_FILESYSTEMSERVICE'].methods_by_name['CreateDownloadUrl']._serialized_options = b'\362\206\031)\n%\n\004POST\022\027/fs/create-download-url\032\004\010\002\020\000\020\003'
_globals['_FILESYSTEMSERVICE'].methods_by_name['CreateUploadUrl']._loaded_options = None
_globals['_FILESYSTEMSERVICE'].methods_by_name['CreateUploadUrl']._serialized_options = b'\362\206\031\'\n#\n\004POST\022\025/fs/create-upload-url\032\004\010\002\020\000\020\003'
_globals['_HTTPHEADER']._serialized_start=99
_globals['_HTTPHEADER']._serialized_end=140
_globals['_CREATEDOWNLOADURLREQUEST']._serialized_start=142
_globals['_CREATEDOWNLOADURLREQUEST']._serialized_end=238
_globals['_CREATEDOWNLOADURLRESPONSE']._serialized_start=241
_globals['_CREATEDOWNLOADURLRESPONSE']._serialized_end=371
_globals['_CREATEUPLOADURLREQUEST']._serialized_start=373
_globals['_CREATEUPLOADURLREQUEST']._serialized_end=465
_globals['_CREATEUPLOADURLRESPONSE']._serialized_start=468
_globals['_CREATEUPLOADURLRESPONSE']._serialized_end=596
_globals['_DIRECTORYENTRY']._serialized_start=599
_globals['_DIRECTORYENTRY']._serialized_end=749
_globals['_LISTDIRECTORYRESPONSE']._serialized_start=752
_globals['_LISTDIRECTORYRESPONSE']._serialized_end=895
_globals['_FILESYSTEMSERVICE']._serialized_start=898
_globals['_FILESYSTEMSERVICE']._serialized_end=1229
_builder.BuildServices(DESCRIPTOR, 'databricks_filesystem_service_pb2', _globals)
# @@protoc_insertion_point(module_scope)
else:
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: databricks_filesystem_service.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
from google.protobuf import service as _service
from google.protobuf import service_reflection
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from . import databricks_pb2 as databricks__pb2
from .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#databricks_filesystem_service.proto\x12\x11mlflow.filesystem\x1a\x10\x64\x61tabricks.proto\x1a\x15scalapb/scalapb.proto\")\n\nHttpHeader\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"`\n\x18\x43reateDownloadUrlRequest\x12\x0c\n\x04path\x18\x01 \x01(\t:6\xe2?3\n1com.databricks.rpc.RPC[CreateDownloadUrlResponse]\"\x82\x01\n\x19\x43reateDownloadUrlResponse\x12\x0b\n\x03url\x18\x01 \x01(\t\x12.\n\x07headers\x18\x02 \x03(\x0b\x32\x1d.mlflow.filesystem.HttpHeader:(\xe2?%\n#com.databricks.rpc.DoNotLogContents\"\\\n\x16\x43reateUploadUrlRequest\x12\x0c\n\x04path\x18\x01 \x01(\t:4\xe2?1\n/com.databricks.rpc.RPC[CreateUploadUrlResponse]\"\x80\x01\n\x17\x43reateUploadUrlResponse\x12\x0b\n\x03url\x18\x01 \x01(\t\x12.\n\x07headers\x18\x02 \x03(\x0b\x32\x1d.mlflow.filesystem.HttpHeader:(\xe2?%\n#com.databricks.rpc.DoNotLogContents\"\x96\x01\n\x0e\x44irectoryEntry\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x14\n\x0cis_directory\x18\x02 \x01(\x08\x12\x11\n\tfile_size\x18\x03 \x01(\x03\x12\x15\n\rlast_modified\x18\x04 \x01(\x03\x12\x0c\n\x04name\x18\x05 \x01(\t:(\xe2?%\n#com.databricks.rpc.DoNotLogContents\"\x8f\x01\n\x15ListDirectoryResponse\x12\x33\n\x08\x63ontents\x18\x01 \x03(\x0b\x32!.mlflow.filesystem.DirectoryEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t:(\xe2?%\n#com.databricks.rpc.DoNotLogContents2\xcb\x02\n\x11\x46ilesystemService\x12\x9d\x01\n\x11\x43reateDownloadUrl\x12+.mlflow.filesystem.CreateDownloadUrlRequest\x1a,.mlflow.filesystem.CreateDownloadUrlResponse\"-\xf2\x86\x19)\n%\n\x04POST\x12\x17/fs/create-download-url\x1a\x04\x08\x02\x10\x00\x10\x03\x12\x95\x01\n\x0f\x43reateUploadUrl\x12).mlflow.filesystem.CreateUploadUrlRequest\x1a*.mlflow.filesystem.CreateUploadUrlResponse\"+\xf2\x86\x19\'\n#\n\x04POST\x12\x15/fs/create-upload-url\x1a\x04\x08\x02\x10\x00\x10\x03\x42\x30\n#com.databricks.api.proto.filesystem\x90\x01\x01\xa0\x01\x01\xe2?\x02\x10\x01')
_HTTPHEADER = DESCRIPTOR.message_types_by_name['HttpHeader']
_CREATEDOWNLOADURLREQUEST = DESCRIPTOR.message_types_by_name['CreateDownloadUrlRequest']
_CREATEDOWNLOADURLRESPONSE = DESCRIPTOR.message_types_by_name['CreateDownloadUrlResponse']
_CREATEUPLOADURLREQUEST = DESCRIPTOR.message_types_by_name['CreateUploadUrlRequest']
_CREATEUPLOADURLRESPONSE = DESCRIPTOR.message_types_by_name['CreateUploadUrlResponse']
_DIRECTORYENTRY = DESCRIPTOR.message_types_by_name['DirectoryEntry']
_LISTDIRECTORYRESPONSE = DESCRIPTOR.message_types_by_name['ListDirectoryResponse']
HttpHeader = _reflection.GeneratedProtocolMessageType('HttpHeader', (_message.Message,), {
'DESCRIPTOR' : _HTTPHEADER,
'__module__' : 'databricks_filesystem_service_pb2'
# @@protoc_insertion_point(class_scope:mlflow.filesystem.HttpHeader)
})
_sym_db.RegisterMessage(HttpHeader)
CreateDownloadUrlRequest = _reflection.GeneratedProtocolMessageType('CreateDownloadUrlRequest', (_message.Message,), {
'DESCRIPTOR' : _CREATEDOWNLOADURLREQUEST,
'__module__' : 'databricks_filesystem_service_pb2'
# @@protoc_insertion_point(class_scope:mlflow.filesystem.CreateDownloadUrlRequest)
})
_sym_db.RegisterMessage(CreateDownloadUrlRequest)
CreateDownloadUrlResponse = _reflection.GeneratedProtocolMessageType('CreateDownloadUrlResponse', (_message.Message,), {
'DESCRIPTOR' : _CREATEDOWNLOADURLRESPONSE,
'__module__' : 'databricks_filesystem_service_pb2'
# @@protoc_insertion_point(class_scope:mlflow.filesystem.CreateDownloadUrlResponse)
})
_sym_db.RegisterMessage(CreateDownloadUrlResponse)
CreateUploadUrlRequest = _reflection.GeneratedProtocolMessageType('CreateUploadUrlRequest', (_message.Message,), {
'DESCRIPTOR' : _CREATEUPLOADURLREQUEST,
'__module__' : 'databricks_filesystem_service_pb2'
# @@protoc_insertion_point(class_scope:mlflow.filesystem.CreateUploadUrlRequest)
})
_sym_db.RegisterMessage(CreateUploadUrlRequest)
CreateUploadUrlResponse = _reflection.GeneratedProtocolMessageType('CreateUploadUrlResponse', (_message.Message,), {
'DESCRIPTOR' : _CREATEUPLOADURLRESPONSE,
'__module__' : 'databricks_filesystem_service_pb2'
# @@protoc_insertion_point(class_scope:mlflow.filesystem.CreateUploadUrlResponse)
})
_sym_db.RegisterMessage(CreateUploadUrlResponse)
DirectoryEntry = _reflection.GeneratedProtocolMessageType('DirectoryEntry', (_message.Message,), {
'DESCRIPTOR' : _DIRECTORYENTRY,
'__module__' : 'databricks_filesystem_service_pb2'
# @@protoc_insertion_point(class_scope:mlflow.filesystem.DirectoryEntry)
})
_sym_db.RegisterMessage(DirectoryEntry)
ListDirectoryResponse = _reflection.GeneratedProtocolMessageType('ListDirectoryResponse', (_message.Message,), {
'DESCRIPTOR' : _LISTDIRECTORYRESPONSE,
'__module__' : 'databricks_filesystem_service_pb2'
# @@protoc_insertion_point(class_scope:mlflow.filesystem.ListDirectoryResponse)
})
_sym_db.RegisterMessage(ListDirectoryResponse)
_FILESYSTEMSERVICE = DESCRIPTOR.services_by_name['FilesystemService']
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'\n#com.databricks.api.proto.filesystem\220\001\001\240\001\001\342?\002\020\001'
_CREATEDOWNLOADURLREQUEST._options = None
_CREATEDOWNLOADURLREQUEST._serialized_options = b'\342?3\n1com.databricks.rpc.RPC[CreateDownloadUrlResponse]'
_CREATEDOWNLOADURLRESPONSE._options = None
_CREATEDOWNLOADURLRESPONSE._serialized_options = b'\342?%\n#com.databricks.rpc.DoNotLogContents'
_CREATEUPLOADURLREQUEST._options = None
_CREATEUPLOADURLREQUEST._serialized_options = b'\342?1\n/com.databricks.rpc.RPC[CreateUploadUrlResponse]'
_CREATEUPLOADURLRESPONSE._options = None
_CREATEUPLOADURLRESPONSE._serialized_options = b'\342?%\n#com.databricks.rpc.DoNotLogContents'
_DIRECTORYENTRY._options = None
_DIRECTORYENTRY._serialized_options = b'\342?%\n#com.databricks.rpc.DoNotLogContents'
_LISTDIRECTORYRESPONSE._options = None
_LISTDIRECTORYRESPONSE._serialized_options = b'\342?%\n#com.databricks.rpc.DoNotLogContents'
_FILESYSTEMSERVICE.methods_by_name['CreateDownloadUrl']._options = None
_FILESYSTEMSERVICE.methods_by_name['CreateDownloadUrl']._serialized_options = b'\362\206\031)\n%\n\004POST\022\027/fs/create-download-url\032\004\010\002\020\000\020\003'
_FILESYSTEMSERVICE.methods_by_name['CreateUploadUrl']._options = None
_FILESYSTEMSERVICE.methods_by_name['CreateUploadUrl']._serialized_options = b'\362\206\031\'\n#\n\004POST\022\025/fs/create-upload-url\032\004\010\002\020\000\020\003'
_HTTPHEADER._serialized_start=99
_HTTPHEADER._serialized_end=140
_CREATEDOWNLOADURLREQUEST._serialized_start=142
_CREATEDOWNLOADURLREQUEST._serialized_end=238
_CREATEDOWNLOADURLRESPONSE._serialized_start=241
_CREATEDOWNLOADURLRESPONSE._serialized_end=371
_CREATEUPLOADURLREQUEST._serialized_start=373
_CREATEUPLOADURLREQUEST._serialized_end=465
_CREATEUPLOADURLRESPONSE._serialized_start=468
_CREATEUPLOADURLRESPONSE._serialized_end=596
_DIRECTORYENTRY._serialized_start=599
_DIRECTORYENTRY._serialized_end=749
_LISTDIRECTORYRESPONSE._serialized_start=752
_LISTDIRECTORYRESPONSE._serialized_end=895
_FILESYSTEMSERVICE._serialized_start=898
_FILESYSTEMSERVICE._serialized_end=1229
FilesystemService = service_reflection.GeneratedServiceType('FilesystemService', (_service.Service,), dict(
DESCRIPTOR = _FILESYSTEMSERVICE,
__module__ = 'databricks_filesystem_service_pb2'
))
FilesystemService_Stub = service_reflection.GeneratedServiceStubType('FilesystemService_Stub', (FilesystemService,), dict(
DESCRIPTOR = _FILESYSTEMSERVICE,
__module__ = 'databricks_filesystem_service_pb2'
))
# @@protoc_insertion_point(module_scope)

View File

@@ -0,0 +1,95 @@
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_managed_catalog_messages.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_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')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'databricks_managed_catalog_messages_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
_globals['DESCRIPTOR']._loaded_options = None
_globals['DESCRIPTOR']._serialized_options = b'\n\'com.databricks.api.proto.managedcatalog\240\001\001\342?\002\020\001'
_globals['_TABLEINFO']._serialized_start=91
_globals['_TABLEINFO']._serialized_end=139
_globals['_GETTABLE']._serialized_start=142
_globals['_GETTABLE']._serialized_end=336
_globals['_GETTABLERESPONSE']._serialized_start=338
_globals['_GETTABLERESPONSE']._serialized_end=393
# @@protoc_insertion_point(module_scope)
else:
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: databricks_managed_catalog_messages.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_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')
_TABLEINFO = DESCRIPTOR.message_types_by_name['TableInfo']
_GETTABLE = DESCRIPTOR.message_types_by_name['GetTable']
_GETTABLERESPONSE = DESCRIPTOR.message_types_by_name['GetTableResponse']
TableInfo = _reflection.GeneratedProtocolMessageType('TableInfo', (_message.Message,), {
'DESCRIPTOR' : _TABLEINFO,
'__module__' : 'databricks_managed_catalog_messages_pb2'
# @@protoc_insertion_point(class_scope:mlflow.managedcatalog.TableInfo)
})
_sym_db.RegisterMessage(TableInfo)
GetTable = _reflection.GeneratedProtocolMessageType('GetTable', (_message.Message,), {
'DESCRIPTOR' : _GETTABLE,
'__module__' : 'databricks_managed_catalog_messages_pb2'
# @@protoc_insertion_point(class_scope:mlflow.managedcatalog.GetTable)
})
_sym_db.RegisterMessage(GetTable)
GetTableResponse = _reflection.GeneratedProtocolMessageType('GetTableResponse', (_message.Message,), {
'DESCRIPTOR' : _GETTABLERESPONSE,
'__module__' : 'databricks_managed_catalog_messages_pb2'
# @@protoc_insertion_point(class_scope:mlflow.managedcatalog.GetTableResponse)
})
_sym_db.RegisterMessage(GetTableResponse)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'\n\'com.databricks.api.proto.managedcatalog\240\001\001\342?\002\020\001'
_TABLEINFO._serialized_start=91
_TABLEINFO._serialized_end=139
_GETTABLE._serialized_start=142
_GETTABLE._serialized_end=336
_GETTABLERESPONSE._serialized_start=338
_GETTABLERESPONSE._serialized_end=393
# @@protoc_insertion_point(module_scope)

View File

@@ -0,0 +1,86 @@
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_managed_catalog_service.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 . import databricks_pb2 as databricks__pb2
from . import databricks_managed_catalog_messages_pb2 as databricks_managed_catalog_messages_pb2
from .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2
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')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'databricks_managed_catalog_service_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
_globals['DESCRIPTOR']._loaded_options = None
_globals['DESCRIPTOR']._serialized_options = b'\n\'com.databricks.api.proto.managedcatalog\220\001\001\240\001\001\342?\002\020\001'
_globals['_DATABRICKSUNITYCATALOGSERVICE'].methods_by_name['getTable']._loaded_options = None
_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'
_globals['_DATABRICKSUNITYCATALOGSERVICE']._serialized_start=152
_globals['_DATABRICKSUNITYCATALOGSERVICE']._serialized_end=330
_builder.BuildServices(DESCRIPTOR, 'databricks_managed_catalog_service_pb2', _globals)
# @@protoc_insertion_point(module_scope)
else:
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: databricks_managed_catalog_service.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
from google.protobuf import service as _service
from google.protobuf import service_reflection
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from . import databricks_pb2 as databricks__pb2
from . import databricks_managed_catalog_messages_pb2 as databricks_managed_catalog_messages_pb2
from .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2
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')
_DATABRICKSUNITYCATALOGSERVICE = DESCRIPTOR.services_by_name['DatabricksUnityCatalogService']
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'\n\'com.databricks.api.proto.managedcatalog\220\001\001\240\001\001\342?\002\020\001'
_DATABRICKSUNITYCATALOGSERVICE.methods_by_name['getTable']._options = None
_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'
_DATABRICKSUNITYCATALOGSERVICE._serialized_start=152
_DATABRICKSUNITYCATALOGSERVICE._serialized_end=330
DatabricksUnityCatalogService = service_reflection.GeneratedServiceType('DatabricksUnityCatalogService', (_service.Service,), dict(
DESCRIPTOR = _DATABRICKSUNITYCATALOGSERVICE,
__module__ = 'databricks_managed_catalog_service_pb2'
))
DatabricksUnityCatalogService_Stub = service_reflection.GeneratedServiceStubType('DatabricksUnityCatalogService_Stub', (DatabricksUnityCatalogService,), dict(
DESCRIPTOR = _DATABRICKSUNITYCATALOGSERVICE,
__module__ = 'databricks_managed_catalog_service_pb2'
))
# @@protoc_insertion_point(module_scope)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,68 @@
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: internal.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\x0einternal.proto\x12\x0fmlflow.internal\x1a\x15scalapb/scalapb.proto*\'\n\x0fInputVertexType\x12\x07\n\x03RUN\x10\x01\x12\x0b\n\x07\x44\x41TASET\x10\x02\x42#\n\x19org.mlflow.internal.proto\x90\x01\x01\xe2?\x02\x10\x01')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'internal_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
_globals['DESCRIPTOR']._loaded_options = None
_globals['DESCRIPTOR']._serialized_options = b'\n\031org.mlflow.internal.proto\220\001\001\342?\002\020\001'
_globals['_INPUTVERTEXTYPE']._serialized_start=58
_globals['_INPUTVERTEXTYPE']._serialized_end=97
# @@protoc_insertion_point(module_scope)
else:
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: internal.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
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\x0einternal.proto\x12\x0fmlflow.internal\x1a\x15scalapb/scalapb.proto*\'\n\x0fInputVertexType\x12\x07\n\x03RUN\x10\x01\x12\x0b\n\x07\x44\x41TASET\x10\x02\x42#\n\x19org.mlflow.internal.proto\x90\x01\x01\xe2?\x02\x10\x01')
_INPUTVERTEXTYPE = DESCRIPTOR.enum_types_by_name['InputVertexType']
InputVertexType = enum_type_wrapper.EnumTypeWrapper(_INPUTVERTEXTYPE)
RUN = 1
DATASET = 2
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'\n\031org.mlflow.internal.proto\220\001\001\342?\002\020\001'
_INPUTVERTEXTYPE._serialized_start=58
_INPUTVERTEXTYPE._serialized_end=97
# @@protoc_insertion_point(module_scope)

View File

@@ -0,0 +1,336 @@
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: mlflow_artifacts.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
from . import databricks_pb2 as databricks__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16mlflow_artifacts.proto\x12\x10mlflow.artifacts\x1a\x15scalapb/scalapb.proto\x1a\x10\x64\x61tabricks.proto\"\x1e\n\x10\x44ownloadArtifact\x1a\n\n\x08Response\"\x1c\n\x0eUploadArtifact\x1a\n\n\x08Response\"T\n\rListArtifacts\x12\x0c\n\x04path\x18\x01 \x01(\t\x1a\x35\n\x08Response\x12)\n\x05\x66iles\x18\x01 \x03(\x0b\x32\x1a.mlflow.artifacts.FileInfo\"\x1c\n\x0e\x44\x65leteArtifact\x1a\n\n\x08Response\";\n\x08\x46ileInfo\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x0e\n\x06is_dir\x18\x02 \x01(\x08\x12\x11\n\tfile_size\x18\x03 \x01(\x03\"\x99\x01\n\x15\x43reateMultipartUpload\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x11\n\tnum_parts\x18\x02 \x01(\x03\x1a_\n\x08Response\x12\x11\n\tupload_id\x18\x01 \x01(\t\x12@\n\x0b\x63redentials\x18\x02 \x03(\x0b\x32+.mlflow.artifacts.MultipartUploadCredential\"|\n\x17\x43ompleteMultipartUpload\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x11\n\tupload_id\x18\x02 \x01(\t\x12\x34\n\x05parts\x18\x03 \x03(\x0b\x32%.mlflow.artifacts.MultipartUploadPart\x1a\n\n\x08Response\"C\n\x14\x41\x62ortMultipartUpload\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x11\n\tupload_id\x18\x02 \x01(\t\x1a\n\n\x08Response\"\xb8\x01\n\x19MultipartUploadCredential\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x13\n\x0bpart_number\x18\x02 \x01(\x03\x12I\n\x07headers\x18\x03 \x03(\x0b\x32\x38.mlflow.artifacts.MultipartUploadCredential.HeadersEntry\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"E\n\x13MultipartUploadPart\x12\x13\n\x0bpart_number\x18\x01 \x01(\x03\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\x0b\n\x03url\x18\x03 \x01(\t2\x99\x0b\n\x16MlflowArtifactsService\x12\xbd\x01\n\x10\x64ownloadArtifact\x12\".mlflow.artifacts.DownloadArtifact\x1a+.mlflow.artifacts.DownloadArtifact.Response\"X\xf2\x86\x19T\n=\n\x03GET\x12\x30/mlflow-artifacts/artifacts/<path:artifact_path>\x1a\x04\x08\x02\x10\x00\x10\x01*\x11\x44ownload Artifact\x12\xb5\x01\n\x0euploadArtifact\x12 .mlflow.artifacts.UploadArtifact\x1a).mlflow.artifacts.UploadArtifact.Response\"V\xf2\x86\x19R\n=\n\x03PUT\x12\x30/mlflow-artifacts/artifacts/<path:artifact_path>\x1a\x04\x08\x02\x10\x00\x10\x01*\x0fUpload Artifact\x12\x9c\x01\n\rlistArtifacts\x12\x1f.mlflow.artifacts.ListArtifacts\x1a(.mlflow.artifacts.ListArtifacts.Response\"@\xf2\x86\x19<\n(\n\x03GET\x12\x1b/mlflow-artifacts/artifacts\x1a\x04\x08\x02\x10\x00\x10\x01*\x0eList Artifacts\x12\xb9\x01\n\x0e\x64\x65leteArtifact\x12 .mlflow.artifacts.DeleteArtifact\x1a).mlflow.artifacts.DeleteArtifact.Response\"Z\xf2\x86\x19V\n@\n\x06\x44\x45LETE\x12\x30/mlflow-artifacts/artifacts/<path:artifact_path>\x1a\x04\x08\x02\x10\x00\x10\x01*\x10\x44\x65lete Artifacts\x12\xe0\x01\n\x15\x63reateMultipartUpload\x12\'.mlflow.artifacts.CreateMultipartUpload\x1a\x30.mlflow.artifacts.CreateMultipartUpload.Response\"l\xf2\x86\x19h\n?\n\x04POST\x12\x31/mlflow-artifacts/mpu/create/<path:artifact_path>\x1a\x04\x08\x02\x10\x00\x10\x01*#Create an Artifact Multipart Upload\x12\xea\x01\n\x17\x63ompleteMultipartUpload\x12).mlflow.artifacts.CompleteMultipartUpload\x1a\x32.mlflow.artifacts.CompleteMultipartUpload.Response\"p\xf2\x86\x19l\nA\n\x04POST\x12\x33/mlflow-artifacts/mpu/complete/<path:artifact_path>\x1a\x04\x08\x02\x10\x00\x10\x01*%Complete an Artifact Multipart Upload\x12\xdb\x01\n\x14\x61\x62ortMultipartUpload\x12&.mlflow.artifacts.AbortMultipartUpload\x1a/.mlflow.artifacts.AbortMultipartUpload.Response\"j\xf2\x86\x19\x66\n>\n\x04POST\x12\x30/mlflow-artifacts/mpu/abort/<path:artifact_path>\x1a\x04\x08\x02\x10\x00\x10\x01*\"Abort an Artifact Multipart UploadB\x1e\n\x14org.mlflow.api.proto\x90\x01\x01\xe2?\x02\x10\x01')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mlflow_artifacts_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
_globals['DESCRIPTOR']._loaded_options = None
_globals['DESCRIPTOR']._serialized_options = b'\n\024org.mlflow.api.proto\220\001\001\342?\002\020\001'
_globals['_MULTIPARTUPLOADCREDENTIAL_HEADERSENTRY']._loaded_options = None
_globals['_MULTIPARTUPLOADCREDENTIAL_HEADERSENTRY']._serialized_options = b'8\001'
_globals['_MLFLOWARTIFACTSSERVICE'].methods_by_name['downloadArtifact']._loaded_options = None
_globals['_MLFLOWARTIFACTSSERVICE'].methods_by_name['downloadArtifact']._serialized_options = b'\362\206\031T\n=\n\003GET\0220/mlflow-artifacts/artifacts/<path:artifact_path>\032\004\010\002\020\000\020\001*\021Download Artifact'
_globals['_MLFLOWARTIFACTSSERVICE'].methods_by_name['uploadArtifact']._loaded_options = None
_globals['_MLFLOWARTIFACTSSERVICE'].methods_by_name['uploadArtifact']._serialized_options = b'\362\206\031R\n=\n\003PUT\0220/mlflow-artifacts/artifacts/<path:artifact_path>\032\004\010\002\020\000\020\001*\017Upload Artifact'
_globals['_MLFLOWARTIFACTSSERVICE'].methods_by_name['listArtifacts']._loaded_options = None
_globals['_MLFLOWARTIFACTSSERVICE'].methods_by_name['listArtifacts']._serialized_options = b'\362\206\031<\n(\n\003GET\022\033/mlflow-artifacts/artifacts\032\004\010\002\020\000\020\001*\016List Artifacts'
_globals['_MLFLOWARTIFACTSSERVICE'].methods_by_name['deleteArtifact']._loaded_options = None
_globals['_MLFLOWARTIFACTSSERVICE'].methods_by_name['deleteArtifact']._serialized_options = b'\362\206\031V\n@\n\006DELETE\0220/mlflow-artifacts/artifacts/<path:artifact_path>\032\004\010\002\020\000\020\001*\020Delete Artifacts'
_globals['_MLFLOWARTIFACTSSERVICE'].methods_by_name['createMultipartUpload']._loaded_options = None
_globals['_MLFLOWARTIFACTSSERVICE'].methods_by_name['createMultipartUpload']._serialized_options = b'\362\206\031h\n?\n\004POST\0221/mlflow-artifacts/mpu/create/<path:artifact_path>\032\004\010\002\020\000\020\001*#Create an Artifact Multipart Upload'
_globals['_MLFLOWARTIFACTSSERVICE'].methods_by_name['completeMultipartUpload']._loaded_options = None
_globals['_MLFLOWARTIFACTSSERVICE'].methods_by_name['completeMultipartUpload']._serialized_options = b'\362\206\031l\nA\n\004POST\0223/mlflow-artifacts/mpu/complete/<path:artifact_path>\032\004\010\002\020\000\020\001*%Complete an Artifact Multipart Upload'
_globals['_MLFLOWARTIFACTSSERVICE'].methods_by_name['abortMultipartUpload']._loaded_options = None
_globals['_MLFLOWARTIFACTSSERVICE'].methods_by_name['abortMultipartUpload']._serialized_options = b'\362\206\031f\n>\n\004POST\0220/mlflow-artifacts/mpu/abort/<path:artifact_path>\032\004\010\002\020\000\020\001*\"Abort an Artifact Multipart Upload'
_globals['_DOWNLOADARTIFACT']._serialized_start=85
_globals['_DOWNLOADARTIFACT']._serialized_end=115
_globals['_DOWNLOADARTIFACT_RESPONSE']._serialized_start=105
_globals['_DOWNLOADARTIFACT_RESPONSE']._serialized_end=115
_globals['_UPLOADARTIFACT']._serialized_start=117
_globals['_UPLOADARTIFACT']._serialized_end=145
_globals['_UPLOADARTIFACT_RESPONSE']._serialized_start=105
_globals['_UPLOADARTIFACT_RESPONSE']._serialized_end=115
_globals['_LISTARTIFACTS']._serialized_start=147
_globals['_LISTARTIFACTS']._serialized_end=231
_globals['_LISTARTIFACTS_RESPONSE']._serialized_start=178
_globals['_LISTARTIFACTS_RESPONSE']._serialized_end=231
_globals['_DELETEARTIFACT']._serialized_start=233
_globals['_DELETEARTIFACT']._serialized_end=261
_globals['_DELETEARTIFACT_RESPONSE']._serialized_start=105
_globals['_DELETEARTIFACT_RESPONSE']._serialized_end=115
_globals['_FILEINFO']._serialized_start=263
_globals['_FILEINFO']._serialized_end=322
_globals['_CREATEMULTIPARTUPLOAD']._serialized_start=325
_globals['_CREATEMULTIPARTUPLOAD']._serialized_end=478
_globals['_CREATEMULTIPARTUPLOAD_RESPONSE']._serialized_start=383
_globals['_CREATEMULTIPARTUPLOAD_RESPONSE']._serialized_end=478
_globals['_COMPLETEMULTIPARTUPLOAD']._serialized_start=480
_globals['_COMPLETEMULTIPARTUPLOAD']._serialized_end=604
_globals['_COMPLETEMULTIPARTUPLOAD_RESPONSE']._serialized_start=105
_globals['_COMPLETEMULTIPARTUPLOAD_RESPONSE']._serialized_end=115
_globals['_ABORTMULTIPARTUPLOAD']._serialized_start=606
_globals['_ABORTMULTIPARTUPLOAD']._serialized_end=673
_globals['_ABORTMULTIPARTUPLOAD_RESPONSE']._serialized_start=105
_globals['_ABORTMULTIPARTUPLOAD_RESPONSE']._serialized_end=115
_globals['_MULTIPARTUPLOADCREDENTIAL']._serialized_start=676
_globals['_MULTIPARTUPLOADCREDENTIAL']._serialized_end=860
_globals['_MULTIPARTUPLOADCREDENTIAL_HEADERSENTRY']._serialized_start=814
_globals['_MULTIPARTUPLOADCREDENTIAL_HEADERSENTRY']._serialized_end=860
_globals['_MULTIPARTUPLOADPART']._serialized_start=862
_globals['_MULTIPARTUPLOADPART']._serialized_end=931
_globals['_MLFLOWARTIFACTSSERVICE']._serialized_start=934
_globals['_MLFLOWARTIFACTSSERVICE']._serialized_end=2367
_builder.BuildServices(DESCRIPTOR, 'mlflow_artifacts_pb2', _globals)
# @@protoc_insertion_point(module_scope)
else:
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mlflow_artifacts.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
from google.protobuf import service as _service
from google.protobuf import service_reflection
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2
from . import databricks_pb2 as databricks__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16mlflow_artifacts.proto\x12\x10mlflow.artifacts\x1a\x15scalapb/scalapb.proto\x1a\x10\x64\x61tabricks.proto\"\x1e\n\x10\x44ownloadArtifact\x1a\n\n\x08Response\"\x1c\n\x0eUploadArtifact\x1a\n\n\x08Response\"T\n\rListArtifacts\x12\x0c\n\x04path\x18\x01 \x01(\t\x1a\x35\n\x08Response\x12)\n\x05\x66iles\x18\x01 \x03(\x0b\x32\x1a.mlflow.artifacts.FileInfo\"\x1c\n\x0e\x44\x65leteArtifact\x1a\n\n\x08Response\";\n\x08\x46ileInfo\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x0e\n\x06is_dir\x18\x02 \x01(\x08\x12\x11\n\tfile_size\x18\x03 \x01(\x03\"\x99\x01\n\x15\x43reateMultipartUpload\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x11\n\tnum_parts\x18\x02 \x01(\x03\x1a_\n\x08Response\x12\x11\n\tupload_id\x18\x01 \x01(\t\x12@\n\x0b\x63redentials\x18\x02 \x03(\x0b\x32+.mlflow.artifacts.MultipartUploadCredential\"|\n\x17\x43ompleteMultipartUpload\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x11\n\tupload_id\x18\x02 \x01(\t\x12\x34\n\x05parts\x18\x03 \x03(\x0b\x32%.mlflow.artifacts.MultipartUploadPart\x1a\n\n\x08Response\"C\n\x14\x41\x62ortMultipartUpload\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x11\n\tupload_id\x18\x02 \x01(\t\x1a\n\n\x08Response\"\xb8\x01\n\x19MultipartUploadCredential\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x13\n\x0bpart_number\x18\x02 \x01(\x03\x12I\n\x07headers\x18\x03 \x03(\x0b\x32\x38.mlflow.artifacts.MultipartUploadCredential.HeadersEntry\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"E\n\x13MultipartUploadPart\x12\x13\n\x0bpart_number\x18\x01 \x01(\x03\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\x0b\n\x03url\x18\x03 \x01(\t2\x99\x0b\n\x16MlflowArtifactsService\x12\xbd\x01\n\x10\x64ownloadArtifact\x12\".mlflow.artifacts.DownloadArtifact\x1a+.mlflow.artifacts.DownloadArtifact.Response\"X\xf2\x86\x19T\n=\n\x03GET\x12\x30/mlflow-artifacts/artifacts/<path:artifact_path>\x1a\x04\x08\x02\x10\x00\x10\x01*\x11\x44ownload Artifact\x12\xb5\x01\n\x0euploadArtifact\x12 .mlflow.artifacts.UploadArtifact\x1a).mlflow.artifacts.UploadArtifact.Response\"V\xf2\x86\x19R\n=\n\x03PUT\x12\x30/mlflow-artifacts/artifacts/<path:artifact_path>\x1a\x04\x08\x02\x10\x00\x10\x01*\x0fUpload Artifact\x12\x9c\x01\n\rlistArtifacts\x12\x1f.mlflow.artifacts.ListArtifacts\x1a(.mlflow.artifacts.ListArtifacts.Response\"@\xf2\x86\x19<\n(\n\x03GET\x12\x1b/mlflow-artifacts/artifacts\x1a\x04\x08\x02\x10\x00\x10\x01*\x0eList Artifacts\x12\xb9\x01\n\x0e\x64\x65leteArtifact\x12 .mlflow.artifacts.DeleteArtifact\x1a).mlflow.artifacts.DeleteArtifact.Response\"Z\xf2\x86\x19V\n@\n\x06\x44\x45LETE\x12\x30/mlflow-artifacts/artifacts/<path:artifact_path>\x1a\x04\x08\x02\x10\x00\x10\x01*\x10\x44\x65lete Artifacts\x12\xe0\x01\n\x15\x63reateMultipartUpload\x12\'.mlflow.artifacts.CreateMultipartUpload\x1a\x30.mlflow.artifacts.CreateMultipartUpload.Response\"l\xf2\x86\x19h\n?\n\x04POST\x12\x31/mlflow-artifacts/mpu/create/<path:artifact_path>\x1a\x04\x08\x02\x10\x00\x10\x01*#Create an Artifact Multipart Upload\x12\xea\x01\n\x17\x63ompleteMultipartUpload\x12).mlflow.artifacts.CompleteMultipartUpload\x1a\x32.mlflow.artifacts.CompleteMultipartUpload.Response\"p\xf2\x86\x19l\nA\n\x04POST\x12\x33/mlflow-artifacts/mpu/complete/<path:artifact_path>\x1a\x04\x08\x02\x10\x00\x10\x01*%Complete an Artifact Multipart Upload\x12\xdb\x01\n\x14\x61\x62ortMultipartUpload\x12&.mlflow.artifacts.AbortMultipartUpload\x1a/.mlflow.artifacts.AbortMultipartUpload.Response\"j\xf2\x86\x19\x66\n>\n\x04POST\x12\x30/mlflow-artifacts/mpu/abort/<path:artifact_path>\x1a\x04\x08\x02\x10\x00\x10\x01*\"Abort an Artifact Multipart UploadB\x1e\n\x14org.mlflow.api.proto\x90\x01\x01\xe2?\x02\x10\x01')
_DOWNLOADARTIFACT = DESCRIPTOR.message_types_by_name['DownloadArtifact']
_DOWNLOADARTIFACT_RESPONSE = _DOWNLOADARTIFACT.nested_types_by_name['Response']
_UPLOADARTIFACT = DESCRIPTOR.message_types_by_name['UploadArtifact']
_UPLOADARTIFACT_RESPONSE = _UPLOADARTIFACT.nested_types_by_name['Response']
_LISTARTIFACTS = DESCRIPTOR.message_types_by_name['ListArtifacts']
_LISTARTIFACTS_RESPONSE = _LISTARTIFACTS.nested_types_by_name['Response']
_DELETEARTIFACT = DESCRIPTOR.message_types_by_name['DeleteArtifact']
_DELETEARTIFACT_RESPONSE = _DELETEARTIFACT.nested_types_by_name['Response']
_FILEINFO = DESCRIPTOR.message_types_by_name['FileInfo']
_CREATEMULTIPARTUPLOAD = DESCRIPTOR.message_types_by_name['CreateMultipartUpload']
_CREATEMULTIPARTUPLOAD_RESPONSE = _CREATEMULTIPARTUPLOAD.nested_types_by_name['Response']
_COMPLETEMULTIPARTUPLOAD = DESCRIPTOR.message_types_by_name['CompleteMultipartUpload']
_COMPLETEMULTIPARTUPLOAD_RESPONSE = _COMPLETEMULTIPARTUPLOAD.nested_types_by_name['Response']
_ABORTMULTIPARTUPLOAD = DESCRIPTOR.message_types_by_name['AbortMultipartUpload']
_ABORTMULTIPARTUPLOAD_RESPONSE = _ABORTMULTIPARTUPLOAD.nested_types_by_name['Response']
_MULTIPARTUPLOADCREDENTIAL = DESCRIPTOR.message_types_by_name['MultipartUploadCredential']
_MULTIPARTUPLOADCREDENTIAL_HEADERSENTRY = _MULTIPARTUPLOADCREDENTIAL.nested_types_by_name['HeadersEntry']
_MULTIPARTUPLOADPART = DESCRIPTOR.message_types_by_name['MultipartUploadPart']
DownloadArtifact = _reflection.GeneratedProtocolMessageType('DownloadArtifact', (_message.Message,), {
'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
'DESCRIPTOR' : _DOWNLOADARTIFACT_RESPONSE,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.DownloadArtifact.Response)
})
,
'DESCRIPTOR' : _DOWNLOADARTIFACT,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.DownloadArtifact)
})
_sym_db.RegisterMessage(DownloadArtifact)
_sym_db.RegisterMessage(DownloadArtifact.Response)
UploadArtifact = _reflection.GeneratedProtocolMessageType('UploadArtifact', (_message.Message,), {
'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
'DESCRIPTOR' : _UPLOADARTIFACT_RESPONSE,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.UploadArtifact.Response)
})
,
'DESCRIPTOR' : _UPLOADARTIFACT,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.UploadArtifact)
})
_sym_db.RegisterMessage(UploadArtifact)
_sym_db.RegisterMessage(UploadArtifact.Response)
ListArtifacts = _reflection.GeneratedProtocolMessageType('ListArtifacts', (_message.Message,), {
'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
'DESCRIPTOR' : _LISTARTIFACTS_RESPONSE,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.ListArtifacts.Response)
})
,
'DESCRIPTOR' : _LISTARTIFACTS,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.ListArtifacts)
})
_sym_db.RegisterMessage(ListArtifacts)
_sym_db.RegisterMessage(ListArtifacts.Response)
DeleteArtifact = _reflection.GeneratedProtocolMessageType('DeleteArtifact', (_message.Message,), {
'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
'DESCRIPTOR' : _DELETEARTIFACT_RESPONSE,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.DeleteArtifact.Response)
})
,
'DESCRIPTOR' : _DELETEARTIFACT,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.DeleteArtifact)
})
_sym_db.RegisterMessage(DeleteArtifact)
_sym_db.RegisterMessage(DeleteArtifact.Response)
FileInfo = _reflection.GeneratedProtocolMessageType('FileInfo', (_message.Message,), {
'DESCRIPTOR' : _FILEINFO,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.FileInfo)
})
_sym_db.RegisterMessage(FileInfo)
CreateMultipartUpload = _reflection.GeneratedProtocolMessageType('CreateMultipartUpload', (_message.Message,), {
'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
'DESCRIPTOR' : _CREATEMULTIPARTUPLOAD_RESPONSE,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.CreateMultipartUpload.Response)
})
,
'DESCRIPTOR' : _CREATEMULTIPARTUPLOAD,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.CreateMultipartUpload)
})
_sym_db.RegisterMessage(CreateMultipartUpload)
_sym_db.RegisterMessage(CreateMultipartUpload.Response)
CompleteMultipartUpload = _reflection.GeneratedProtocolMessageType('CompleteMultipartUpload', (_message.Message,), {
'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
'DESCRIPTOR' : _COMPLETEMULTIPARTUPLOAD_RESPONSE,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.CompleteMultipartUpload.Response)
})
,
'DESCRIPTOR' : _COMPLETEMULTIPARTUPLOAD,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.CompleteMultipartUpload)
})
_sym_db.RegisterMessage(CompleteMultipartUpload)
_sym_db.RegisterMessage(CompleteMultipartUpload.Response)
AbortMultipartUpload = _reflection.GeneratedProtocolMessageType('AbortMultipartUpload', (_message.Message,), {
'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
'DESCRIPTOR' : _ABORTMULTIPARTUPLOAD_RESPONSE,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.AbortMultipartUpload.Response)
})
,
'DESCRIPTOR' : _ABORTMULTIPARTUPLOAD,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.AbortMultipartUpload)
})
_sym_db.RegisterMessage(AbortMultipartUpload)
_sym_db.RegisterMessage(AbortMultipartUpload.Response)
MultipartUploadCredential = _reflection.GeneratedProtocolMessageType('MultipartUploadCredential', (_message.Message,), {
'HeadersEntry' : _reflection.GeneratedProtocolMessageType('HeadersEntry', (_message.Message,), {
'DESCRIPTOR' : _MULTIPARTUPLOADCREDENTIAL_HEADERSENTRY,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.MultipartUploadCredential.HeadersEntry)
})
,
'DESCRIPTOR' : _MULTIPARTUPLOADCREDENTIAL,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.MultipartUploadCredential)
})
_sym_db.RegisterMessage(MultipartUploadCredential)
_sym_db.RegisterMessage(MultipartUploadCredential.HeadersEntry)
MultipartUploadPart = _reflection.GeneratedProtocolMessageType('MultipartUploadPart', (_message.Message,), {
'DESCRIPTOR' : _MULTIPARTUPLOADPART,
'__module__' : 'mlflow_artifacts_pb2'
# @@protoc_insertion_point(class_scope:mlflow.artifacts.MultipartUploadPart)
})
_sym_db.RegisterMessage(MultipartUploadPart)
_MLFLOWARTIFACTSSERVICE = DESCRIPTOR.services_by_name['MlflowArtifactsService']
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'\n\024org.mlflow.api.proto\220\001\001\342?\002\020\001'
_MULTIPARTUPLOADCREDENTIAL_HEADERSENTRY._options = None
_MULTIPARTUPLOADCREDENTIAL_HEADERSENTRY._serialized_options = b'8\001'
_MLFLOWARTIFACTSSERVICE.methods_by_name['downloadArtifact']._options = None
_MLFLOWARTIFACTSSERVICE.methods_by_name['downloadArtifact']._serialized_options = b'\362\206\031T\n=\n\003GET\0220/mlflow-artifacts/artifacts/<path:artifact_path>\032\004\010\002\020\000\020\001*\021Download Artifact'
_MLFLOWARTIFACTSSERVICE.methods_by_name['uploadArtifact']._options = None
_MLFLOWARTIFACTSSERVICE.methods_by_name['uploadArtifact']._serialized_options = b'\362\206\031R\n=\n\003PUT\0220/mlflow-artifacts/artifacts/<path:artifact_path>\032\004\010\002\020\000\020\001*\017Upload Artifact'
_MLFLOWARTIFACTSSERVICE.methods_by_name['listArtifacts']._options = None
_MLFLOWARTIFACTSSERVICE.methods_by_name['listArtifacts']._serialized_options = b'\362\206\031<\n(\n\003GET\022\033/mlflow-artifacts/artifacts\032\004\010\002\020\000\020\001*\016List Artifacts'
_MLFLOWARTIFACTSSERVICE.methods_by_name['deleteArtifact']._options = None
_MLFLOWARTIFACTSSERVICE.methods_by_name['deleteArtifact']._serialized_options = b'\362\206\031V\n@\n\006DELETE\0220/mlflow-artifacts/artifacts/<path:artifact_path>\032\004\010\002\020\000\020\001*\020Delete Artifacts'
_MLFLOWARTIFACTSSERVICE.methods_by_name['createMultipartUpload']._options = None
_MLFLOWARTIFACTSSERVICE.methods_by_name['createMultipartUpload']._serialized_options = b'\362\206\031h\n?\n\004POST\0221/mlflow-artifacts/mpu/create/<path:artifact_path>\032\004\010\002\020\000\020\001*#Create an Artifact Multipart Upload'
_MLFLOWARTIFACTSSERVICE.methods_by_name['completeMultipartUpload']._options = None
_MLFLOWARTIFACTSSERVICE.methods_by_name['completeMultipartUpload']._serialized_options = b'\362\206\031l\nA\n\004POST\0223/mlflow-artifacts/mpu/complete/<path:artifact_path>\032\004\010\002\020\000\020\001*%Complete an Artifact Multipart Upload'
_MLFLOWARTIFACTSSERVICE.methods_by_name['abortMultipartUpload']._options = None
_MLFLOWARTIFACTSSERVICE.methods_by_name['abortMultipartUpload']._serialized_options = b'\362\206\031f\n>\n\004POST\0220/mlflow-artifacts/mpu/abort/<path:artifact_path>\032\004\010\002\020\000\020\001*\"Abort an Artifact Multipart Upload'
_DOWNLOADARTIFACT._serialized_start=85
_DOWNLOADARTIFACT._serialized_end=115
_DOWNLOADARTIFACT_RESPONSE._serialized_start=105
_DOWNLOADARTIFACT_RESPONSE._serialized_end=115
_UPLOADARTIFACT._serialized_start=117
_UPLOADARTIFACT._serialized_end=145
_UPLOADARTIFACT_RESPONSE._serialized_start=105
_UPLOADARTIFACT_RESPONSE._serialized_end=115
_LISTARTIFACTS._serialized_start=147
_LISTARTIFACTS._serialized_end=231
_LISTARTIFACTS_RESPONSE._serialized_start=178
_LISTARTIFACTS_RESPONSE._serialized_end=231
_DELETEARTIFACT._serialized_start=233
_DELETEARTIFACT._serialized_end=261
_DELETEARTIFACT_RESPONSE._serialized_start=105
_DELETEARTIFACT_RESPONSE._serialized_end=115
_FILEINFO._serialized_start=263
_FILEINFO._serialized_end=322
_CREATEMULTIPARTUPLOAD._serialized_start=325
_CREATEMULTIPARTUPLOAD._serialized_end=478
_CREATEMULTIPARTUPLOAD_RESPONSE._serialized_start=383
_CREATEMULTIPARTUPLOAD_RESPONSE._serialized_end=478
_COMPLETEMULTIPARTUPLOAD._serialized_start=480
_COMPLETEMULTIPARTUPLOAD._serialized_end=604
_COMPLETEMULTIPARTUPLOAD_RESPONSE._serialized_start=105
_COMPLETEMULTIPARTUPLOAD_RESPONSE._serialized_end=115
_ABORTMULTIPARTUPLOAD._serialized_start=606
_ABORTMULTIPARTUPLOAD._serialized_end=673
_ABORTMULTIPARTUPLOAD_RESPONSE._serialized_start=105
_ABORTMULTIPARTUPLOAD_RESPONSE._serialized_end=115
_MULTIPARTUPLOADCREDENTIAL._serialized_start=676
_MULTIPARTUPLOADCREDENTIAL._serialized_end=860
_MULTIPARTUPLOADCREDENTIAL_HEADERSENTRY._serialized_start=814
_MULTIPARTUPLOADCREDENTIAL_HEADERSENTRY._serialized_end=860
_MULTIPARTUPLOADPART._serialized_start=862
_MULTIPARTUPLOADPART._serialized_end=931
_MLFLOWARTIFACTSSERVICE._serialized_start=934
_MLFLOWARTIFACTSSERVICE._serialized_end=2367
MlflowArtifactsService = service_reflection.GeneratedServiceType('MlflowArtifactsService', (_service.Service,), dict(
DESCRIPTOR = _MLFLOWARTIFACTSSERVICE,
__module__ = 'mlflow_artifacts_pb2'
))
MlflowArtifactsService_Stub = service_reflection.GeneratedServiceStubType('MlflowArtifactsService_Stub', (MlflowArtifactsService,), dict(
DESCRIPTOR = _MLFLOWARTIFACTSSERVICE,
__module__ = 'mlflow_artifacts_pb2'
))
# @@protoc_insertion_point(module_scope)

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,104 @@
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: scalapb/scalapb.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 google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15scalapb/scalapb.proto\x12\x07scalapb\x1a google/protobuf/descriptor.proto\"L\n\x0eScalaPbOptions\x12\x14\n\x0cpackage_name\x18\x01 \x01(\t\x12\x14\n\x0c\x66lat_package\x18\x02 \x01(\x08\x12\x0e\n\x06import\x18\x03 \x03(\t\"!\n\x0eMessageOptions\x12\x0f\n\x07\x65xtends\x18\x01 \x03(\t\"\x1c\n\x0c\x46ieldOptions\x12\x0c\n\x04type\x18\x01 \x01(\t:G\n\x07options\x12\x1c.google.protobuf.FileOptions\x18\xfc\x07 \x01(\x0b\x32\x17.scalapb.ScalaPbOptions:J\n\x07message\x12\x1f.google.protobuf.MessageOptions\x18\xfc\x07 \x01(\x0b\x32\x17.scalapb.MessageOptions:D\n\x05\x66ield\x12\x1d.google.protobuf.FieldOptions\x18\xfc\x07 \x01(\x0b\x32\x15.scalapb.FieldOptionsB\x1e\n\x1corg.mlflow.scalapb_interface')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'scalapb.scalapb_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
_globals['DESCRIPTOR']._loaded_options = None
_globals['DESCRIPTOR']._serialized_options = b'\n\034org.mlflow.scalapb_interface'
_globals['_SCALAPBOPTIONS']._serialized_start=68
_globals['_SCALAPBOPTIONS']._serialized_end=144
_globals['_MESSAGEOPTIONS']._serialized_start=146
_globals['_MESSAGEOPTIONS']._serialized_end=179
_globals['_FIELDOPTIONS']._serialized_start=181
_globals['_FIELDOPTIONS']._serialized_end=209
# @@protoc_insertion_point(module_scope)
else:
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: scalapb/scalapb.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 google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15scalapb/scalapb.proto\x12\x07scalapb\x1a google/protobuf/descriptor.proto\"L\n\x0eScalaPbOptions\x12\x14\n\x0cpackage_name\x18\x01 \x01(\t\x12\x14\n\x0c\x66lat_package\x18\x02 \x01(\x08\x12\x0e\n\x06import\x18\x03 \x03(\t\"!\n\x0eMessageOptions\x12\x0f\n\x07\x65xtends\x18\x01 \x03(\t\"\x1c\n\x0c\x46ieldOptions\x12\x0c\n\x04type\x18\x01 \x01(\t:G\n\x07options\x12\x1c.google.protobuf.FileOptions\x18\xfc\x07 \x01(\x0b\x32\x17.scalapb.ScalaPbOptions:J\n\x07message\x12\x1f.google.protobuf.MessageOptions\x18\xfc\x07 \x01(\x0b\x32\x17.scalapb.MessageOptions:D\n\x05\x66ield\x12\x1d.google.protobuf.FieldOptions\x18\xfc\x07 \x01(\x0b\x32\x15.scalapb.FieldOptionsB\x1e\n\x1corg.mlflow.scalapb_interface')
OPTIONS_FIELD_NUMBER = 1020
options = DESCRIPTOR.extensions_by_name['options']
MESSAGE_FIELD_NUMBER = 1020
message = DESCRIPTOR.extensions_by_name['message']
FIELD_FIELD_NUMBER = 1020
field = DESCRIPTOR.extensions_by_name['field']
_SCALAPBOPTIONS = DESCRIPTOR.message_types_by_name['ScalaPbOptions']
_MESSAGEOPTIONS = DESCRIPTOR.message_types_by_name['MessageOptions']
_FIELDOPTIONS = DESCRIPTOR.message_types_by_name['FieldOptions']
ScalaPbOptions = _reflection.GeneratedProtocolMessageType('ScalaPbOptions', (_message.Message,), {
'DESCRIPTOR' : _SCALAPBOPTIONS,
'__module__' : 'scalapb.scalapb_pb2'
# @@protoc_insertion_point(class_scope:scalapb.ScalaPbOptions)
})
_sym_db.RegisterMessage(ScalaPbOptions)
MessageOptions = _reflection.GeneratedProtocolMessageType('MessageOptions', (_message.Message,), {
'DESCRIPTOR' : _MESSAGEOPTIONS,
'__module__' : 'scalapb.scalapb_pb2'
# @@protoc_insertion_point(class_scope:scalapb.MessageOptions)
})
_sym_db.RegisterMessage(MessageOptions)
FieldOptions = _reflection.GeneratedProtocolMessageType('FieldOptions', (_message.Message,), {
'DESCRIPTOR' : _FIELDOPTIONS,
'__module__' : 'scalapb.scalapb_pb2'
# @@protoc_insertion_point(class_scope:scalapb.FieldOptions)
})
_sym_db.RegisterMessage(FieldOptions)
if _descriptor._USE_C_DESCRIPTORS == False:
google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(options)
google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(message)
google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(field)
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'\n\034org.mlflow.scalapb_interface'
_SCALAPBOPTIONS._serialized_start=68
_SCALAPBOPTIONS._serialized_end=144
_MESSAGEOPTIONS._serialized_start=146
_MESSAGEOPTIONS._serialized_end=179
_FIELDOPTIONS._serialized_start=181
_FIELDOPTIONS._serialized_end=209
# @@protoc_insertion_point(module_scope)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,130 @@
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: unity_catalog_oss_service.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 . import databricks_pb2 as databricks__pb2
from .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2
from . import unity_catalog_oss_messages_pb2 as unity_catalog_oss_messages_pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1funity_catalog_oss_service.proto\x12\x13mlflow.unitycatalog\x1a\x10\x64\x61tabricks.proto\x1a\x15scalapb/scalapb.proto\x1a unity_catalog_oss_messages.proto2\xd4\x11\n\x13UnityCatalogService\x12\xa5\x01\n\x15\x63reateRegisteredModel\x12*.mlflow.unitycatalog.CreateRegisteredModel\x1a\x33.mlflow.unitycatalog.CreateRegisteredModel.Response\"+\xf2\x86\x19\'\n#\n\x04POST\x12\x15/unity-catalog/models\x1a\x04\x08\x02\x10\x01\x10\x01\x12\xb2\x01\n\x15updateRegisteredModel\x12*.mlflow.unitycatalog.UpdateRegisteredModel\x1a\x33.mlflow.unitycatalog.UpdateRegisteredModel.Response\"8\xf2\x86\x19\x34\n0\n\x05PATCH\x12!/unity-catalog/models/{full_name}\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xb3\x01\n\x15\x64\x65leteRegisteredModel\x12*.mlflow.unitycatalog.DeleteRegisteredModel\x1a\x33.mlflow.unitycatalog.DeleteRegisteredModel.Response\"9\xf2\x86\x19\x35\n1\n\x06\x44\x45LETE\x12!/unity-catalog/models/{full_name}\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xaa\x01\n\x12getRegisteredModel\x12\'.mlflow.unitycatalog.GetRegisteredModel\x1a\x30.mlflow.unitycatalog.GetRegisteredModel.Response\"9\x90\x02\x02\xf2\x86\x19\x32\n.\n\x03GET\x12!/unity-catalog/models/{full_name}\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xb4\x01\n\x0fgetModelVersion\x12$.mlflow.unitycatalog.GetModelVersion\x1a-.mlflow.unitycatalog.GetModelVersion.Response\"L\x90\x02\x02\xf2\x86\x19\x45\nA\n\x03GET\x12\x34/unity-catalog/models/{full_name}/versions/{version}\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xbd\x01\n\x12\x64\x65leteModelVersion\x12\'.mlflow.unitycatalog.DeleteModelVersion\x1a\x30.mlflow.unitycatalog.DeleteModelVersion.Response\"L\xf2\x86\x19H\nD\n\x06\x44\x45LETE\x12\x34/unity-catalog/models/{full_name}/versions/{version}\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xa3\x01\n\x12\x63reateModelVersion\x12\'.mlflow.unitycatalog.CreateModelVersion\x1a\x30.mlflow.unitycatalog.CreateModelVersion.Response\"2\xf2\x86\x19.\n,\n\x04POST\x12\x1e/unity-catalog/models/versions\x1a\x04\x08\x02\x10\x01\x12\xf8\x01\n\'generateTemporaryModelVersionCredential\x12<.mlflow.unitycatalog.GenerateTemporaryModelVersionCredential\x1a\x45.mlflow.unitycatalog.GenerateTemporaryModelVersionCredential.Response\"H\xf2\x86\x19\x44\n@\n\x04POST\x12\x32/unity-catalog/temporary-model-version-credentials\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xcb\x01\n\x14\x66inalizeModelVersion\x12).mlflow.unitycatalog.FinalizeModelVersion\x1a\x32.mlflow.unitycatalog.FinalizeModelVersion.Response\"T\xf2\x86\x19P\nL\n\x05PATCH\x12=/unity-catalog/models/{full_name}/versions/{version}/finalize\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xbc\x01\n\x12updateModelVersion\x12\'.mlflow.unitycatalog.UpdateModelVersion\x1a\x30.mlflow.unitycatalog.UpdateModelVersion.Response\"K\xf2\x86\x19G\nC\n\x05PATCH\x12\x34/unity-catalog/models/{full_name}/versions/{version}\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xa4\x01\n\x14listRegisteredModels\x12).mlflow.unitycatalog.ListRegisteredModels\x1a\x32.mlflow.unitycatalog.ListRegisteredModels.Response\"-\x90\x02\x02\xf2\x86\x19&\n\"\n\x03GET\x12\x15/unity-catalog/models\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xb0\x01\n\x11listModelVersions\x12&.mlflow.unitycatalog.ListModelVersions\x1a/.mlflow.unitycatalog.ListModelVersions.Response\"B\x90\x02\x02\xf2\x86\x19;\n7\n\x03GET\x12*/unity-catalog/models/{full_name}/versions\x1a\x04\x08\x02\x10\x01\x10\x03\x42\x34\n\'com.databricks.api.proto.managedcatalog\x90\x01\x01\xa0\x01\x01\xe2?\x02\x10\x01')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'unity_catalog_oss_service_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
_globals['DESCRIPTOR']._loaded_options = None
_globals['DESCRIPTOR']._serialized_options = b'\n\'com.databricks.api.proto.managedcatalog\220\001\001\240\001\001\342?\002\020\001'
_globals['_UNITYCATALOGSERVICE'].methods_by_name['createRegisteredModel']._loaded_options = None
_globals['_UNITYCATALOGSERVICE'].methods_by_name['createRegisteredModel']._serialized_options = b'\362\206\031\'\n#\n\004POST\022\025/unity-catalog/models\032\004\010\002\020\001\020\001'
_globals['_UNITYCATALOGSERVICE'].methods_by_name['updateRegisteredModel']._loaded_options = None
_globals['_UNITYCATALOGSERVICE'].methods_by_name['updateRegisteredModel']._serialized_options = b'\362\206\0314\n0\n\005PATCH\022!/unity-catalog/models/{full_name}\032\004\010\002\020\001\020\003'
_globals['_UNITYCATALOGSERVICE'].methods_by_name['deleteRegisteredModel']._loaded_options = None
_globals['_UNITYCATALOGSERVICE'].methods_by_name['deleteRegisteredModel']._serialized_options = b'\362\206\0315\n1\n\006DELETE\022!/unity-catalog/models/{full_name}\032\004\010\002\020\001\020\003'
_globals['_UNITYCATALOGSERVICE'].methods_by_name['getRegisteredModel']._loaded_options = None
_globals['_UNITYCATALOGSERVICE'].methods_by_name['getRegisteredModel']._serialized_options = b'\220\002\002\362\206\0312\n.\n\003GET\022!/unity-catalog/models/{full_name}\032\004\010\002\020\001\020\003'
_globals['_UNITYCATALOGSERVICE'].methods_by_name['getModelVersion']._loaded_options = None
_globals['_UNITYCATALOGSERVICE'].methods_by_name['getModelVersion']._serialized_options = b'\220\002\002\362\206\031E\nA\n\003GET\0224/unity-catalog/models/{full_name}/versions/{version}\032\004\010\002\020\001\020\003'
_globals['_UNITYCATALOGSERVICE'].methods_by_name['deleteModelVersion']._loaded_options = None
_globals['_UNITYCATALOGSERVICE'].methods_by_name['deleteModelVersion']._serialized_options = b'\362\206\031H\nD\n\006DELETE\0224/unity-catalog/models/{full_name}/versions/{version}\032\004\010\002\020\001\020\003'
_globals['_UNITYCATALOGSERVICE'].methods_by_name['createModelVersion']._loaded_options = None
_globals['_UNITYCATALOGSERVICE'].methods_by_name['createModelVersion']._serialized_options = b'\362\206\031.\n,\n\004POST\022\036/unity-catalog/models/versions\032\004\010\002\020\001'
_globals['_UNITYCATALOGSERVICE'].methods_by_name['generateTemporaryModelVersionCredential']._loaded_options = None
_globals['_UNITYCATALOGSERVICE'].methods_by_name['generateTemporaryModelVersionCredential']._serialized_options = b'\362\206\031D\n@\n\004POST\0222/unity-catalog/temporary-model-version-credentials\032\004\010\002\020\001\020\003'
_globals['_UNITYCATALOGSERVICE'].methods_by_name['finalizeModelVersion']._loaded_options = None
_globals['_UNITYCATALOGSERVICE'].methods_by_name['finalizeModelVersion']._serialized_options = b'\362\206\031P\nL\n\005PATCH\022=/unity-catalog/models/{full_name}/versions/{version}/finalize\032\004\010\002\020\001\020\003'
_globals['_UNITYCATALOGSERVICE'].methods_by_name['updateModelVersion']._loaded_options = None
_globals['_UNITYCATALOGSERVICE'].methods_by_name['updateModelVersion']._serialized_options = b'\362\206\031G\nC\n\005PATCH\0224/unity-catalog/models/{full_name}/versions/{version}\032\004\010\002\020\001\020\003'
_globals['_UNITYCATALOGSERVICE'].methods_by_name['listRegisteredModels']._loaded_options = None
_globals['_UNITYCATALOGSERVICE'].methods_by_name['listRegisteredModels']._serialized_options = b'\220\002\002\362\206\031&\n\"\n\003GET\022\025/unity-catalog/models\032\004\010\002\020\001\020\003'
_globals['_UNITYCATALOGSERVICE'].methods_by_name['listModelVersions']._loaded_options = None
_globals['_UNITYCATALOGSERVICE'].methods_by_name['listModelVersions']._serialized_options = b'\220\002\002\362\206\031;\n7\n\003GET\022*/unity-catalog/models/{full_name}/versions\032\004\010\002\020\001\020\003'
_globals['_UNITYCATALOGSERVICE']._serialized_start=132
_globals['_UNITYCATALOGSERVICE']._serialized_end=2392
_builder.BuildServices(DESCRIPTOR, 'unity_catalog_oss_service_pb2', _globals)
# @@protoc_insertion_point(module_scope)
else:
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: unity_catalog_oss_service.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
from google.protobuf import service as _service
from google.protobuf import service_reflection
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from . import databricks_pb2 as databricks__pb2
from .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2
from . import unity_catalog_oss_messages_pb2 as unity_catalog_oss_messages_pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1funity_catalog_oss_service.proto\x12\x13mlflow.unitycatalog\x1a\x10\x64\x61tabricks.proto\x1a\x15scalapb/scalapb.proto\x1a unity_catalog_oss_messages.proto2\xd4\x11\n\x13UnityCatalogService\x12\xa5\x01\n\x15\x63reateRegisteredModel\x12*.mlflow.unitycatalog.CreateRegisteredModel\x1a\x33.mlflow.unitycatalog.CreateRegisteredModel.Response\"+\xf2\x86\x19\'\n#\n\x04POST\x12\x15/unity-catalog/models\x1a\x04\x08\x02\x10\x01\x10\x01\x12\xb2\x01\n\x15updateRegisteredModel\x12*.mlflow.unitycatalog.UpdateRegisteredModel\x1a\x33.mlflow.unitycatalog.UpdateRegisteredModel.Response\"8\xf2\x86\x19\x34\n0\n\x05PATCH\x12!/unity-catalog/models/{full_name}\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xb3\x01\n\x15\x64\x65leteRegisteredModel\x12*.mlflow.unitycatalog.DeleteRegisteredModel\x1a\x33.mlflow.unitycatalog.DeleteRegisteredModel.Response\"9\xf2\x86\x19\x35\n1\n\x06\x44\x45LETE\x12!/unity-catalog/models/{full_name}\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xaa\x01\n\x12getRegisteredModel\x12\'.mlflow.unitycatalog.GetRegisteredModel\x1a\x30.mlflow.unitycatalog.GetRegisteredModel.Response\"9\x90\x02\x02\xf2\x86\x19\x32\n.\n\x03GET\x12!/unity-catalog/models/{full_name}\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xb4\x01\n\x0fgetModelVersion\x12$.mlflow.unitycatalog.GetModelVersion\x1a-.mlflow.unitycatalog.GetModelVersion.Response\"L\x90\x02\x02\xf2\x86\x19\x45\nA\n\x03GET\x12\x34/unity-catalog/models/{full_name}/versions/{version}\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xbd\x01\n\x12\x64\x65leteModelVersion\x12\'.mlflow.unitycatalog.DeleteModelVersion\x1a\x30.mlflow.unitycatalog.DeleteModelVersion.Response\"L\xf2\x86\x19H\nD\n\x06\x44\x45LETE\x12\x34/unity-catalog/models/{full_name}/versions/{version}\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xa3\x01\n\x12\x63reateModelVersion\x12\'.mlflow.unitycatalog.CreateModelVersion\x1a\x30.mlflow.unitycatalog.CreateModelVersion.Response\"2\xf2\x86\x19.\n,\n\x04POST\x12\x1e/unity-catalog/models/versions\x1a\x04\x08\x02\x10\x01\x12\xf8\x01\n\'generateTemporaryModelVersionCredential\x12<.mlflow.unitycatalog.GenerateTemporaryModelVersionCredential\x1a\x45.mlflow.unitycatalog.GenerateTemporaryModelVersionCredential.Response\"H\xf2\x86\x19\x44\n@\n\x04POST\x12\x32/unity-catalog/temporary-model-version-credentials\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xcb\x01\n\x14\x66inalizeModelVersion\x12).mlflow.unitycatalog.FinalizeModelVersion\x1a\x32.mlflow.unitycatalog.FinalizeModelVersion.Response\"T\xf2\x86\x19P\nL\n\x05PATCH\x12=/unity-catalog/models/{full_name}/versions/{version}/finalize\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xbc\x01\n\x12updateModelVersion\x12\'.mlflow.unitycatalog.UpdateModelVersion\x1a\x30.mlflow.unitycatalog.UpdateModelVersion.Response\"K\xf2\x86\x19G\nC\n\x05PATCH\x12\x34/unity-catalog/models/{full_name}/versions/{version}\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xa4\x01\n\x14listRegisteredModels\x12).mlflow.unitycatalog.ListRegisteredModels\x1a\x32.mlflow.unitycatalog.ListRegisteredModels.Response\"-\x90\x02\x02\xf2\x86\x19&\n\"\n\x03GET\x12\x15/unity-catalog/models\x1a\x04\x08\x02\x10\x01\x10\x03\x12\xb0\x01\n\x11listModelVersions\x12&.mlflow.unitycatalog.ListModelVersions\x1a/.mlflow.unitycatalog.ListModelVersions.Response\"B\x90\x02\x02\xf2\x86\x19;\n7\n\x03GET\x12*/unity-catalog/models/{full_name}/versions\x1a\x04\x08\x02\x10\x01\x10\x03\x42\x34\n\'com.databricks.api.proto.managedcatalog\x90\x01\x01\xa0\x01\x01\xe2?\x02\x10\x01')
_UNITYCATALOGSERVICE = DESCRIPTOR.services_by_name['UnityCatalogService']
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b'\n\'com.databricks.api.proto.managedcatalog\220\001\001\240\001\001\342?\002\020\001'
_UNITYCATALOGSERVICE.methods_by_name['createRegisteredModel']._options = None
_UNITYCATALOGSERVICE.methods_by_name['createRegisteredModel']._serialized_options = b'\362\206\031\'\n#\n\004POST\022\025/unity-catalog/models\032\004\010\002\020\001\020\001'
_UNITYCATALOGSERVICE.methods_by_name['updateRegisteredModel']._options = None
_UNITYCATALOGSERVICE.methods_by_name['updateRegisteredModel']._serialized_options = b'\362\206\0314\n0\n\005PATCH\022!/unity-catalog/models/{full_name}\032\004\010\002\020\001\020\003'
_UNITYCATALOGSERVICE.methods_by_name['deleteRegisteredModel']._options = None
_UNITYCATALOGSERVICE.methods_by_name['deleteRegisteredModel']._serialized_options = b'\362\206\0315\n1\n\006DELETE\022!/unity-catalog/models/{full_name}\032\004\010\002\020\001\020\003'
_UNITYCATALOGSERVICE.methods_by_name['getRegisteredModel']._options = None
_UNITYCATALOGSERVICE.methods_by_name['getRegisteredModel']._serialized_options = b'\220\002\002\362\206\0312\n.\n\003GET\022!/unity-catalog/models/{full_name}\032\004\010\002\020\001\020\003'
_UNITYCATALOGSERVICE.methods_by_name['getModelVersion']._options = None
_UNITYCATALOGSERVICE.methods_by_name['getModelVersion']._serialized_options = b'\220\002\002\362\206\031E\nA\n\003GET\0224/unity-catalog/models/{full_name}/versions/{version}\032\004\010\002\020\001\020\003'
_UNITYCATALOGSERVICE.methods_by_name['deleteModelVersion']._options = None
_UNITYCATALOGSERVICE.methods_by_name['deleteModelVersion']._serialized_options = b'\362\206\031H\nD\n\006DELETE\0224/unity-catalog/models/{full_name}/versions/{version}\032\004\010\002\020\001\020\003'
_UNITYCATALOGSERVICE.methods_by_name['createModelVersion']._options = None
_UNITYCATALOGSERVICE.methods_by_name['createModelVersion']._serialized_options = b'\362\206\031.\n,\n\004POST\022\036/unity-catalog/models/versions\032\004\010\002\020\001'
_UNITYCATALOGSERVICE.methods_by_name['generateTemporaryModelVersionCredential']._options = None
_UNITYCATALOGSERVICE.methods_by_name['generateTemporaryModelVersionCredential']._serialized_options = b'\362\206\031D\n@\n\004POST\0222/unity-catalog/temporary-model-version-credentials\032\004\010\002\020\001\020\003'
_UNITYCATALOGSERVICE.methods_by_name['finalizeModelVersion']._options = None
_UNITYCATALOGSERVICE.methods_by_name['finalizeModelVersion']._serialized_options = b'\362\206\031P\nL\n\005PATCH\022=/unity-catalog/models/{full_name}/versions/{version}/finalize\032\004\010\002\020\001\020\003'
_UNITYCATALOGSERVICE.methods_by_name['updateModelVersion']._options = None
_UNITYCATALOGSERVICE.methods_by_name['updateModelVersion']._serialized_options = b'\362\206\031G\nC\n\005PATCH\0224/unity-catalog/models/{full_name}/versions/{version}\032\004\010\002\020\001\020\003'
_UNITYCATALOGSERVICE.methods_by_name['listRegisteredModels']._options = None
_UNITYCATALOGSERVICE.methods_by_name['listRegisteredModels']._serialized_options = b'\220\002\002\362\206\031&\n\"\n\003GET\022\025/unity-catalog/models\032\004\010\002\020\001\020\003'
_UNITYCATALOGSERVICE.methods_by_name['listModelVersions']._options = None
_UNITYCATALOGSERVICE.methods_by_name['listModelVersions']._serialized_options = b'\220\002\002\362\206\031;\n7\n\003GET\022*/unity-catalog/models/{full_name}/versions\032\004\010\002\020\001\020\003'
_UNITYCATALOGSERVICE._serialized_start=132
_UNITYCATALOGSERVICE._serialized_end=2392
UnityCatalogService = service_reflection.GeneratedServiceType('UnityCatalogService', (_service.Service,), dict(
DESCRIPTOR = _UNITYCATALOGSERVICE,
__module__ = 'unity_catalog_oss_service_pb2'
))
UnityCatalogService_Stub = service_reflection.GeneratedServiceStubType('UnityCatalogService_Stub', (UnityCatalogService,), dict(
DESCRIPTOR = _UNITYCATALOGSERVICE,
__module__ = 'unity_catalog_oss_service_pb2'
))
# @@protoc_insertion_point(module_scope)