/ mlflow / protos / databricks_filesystem_service_pb2.py
databricks_filesystem_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_filesystem_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 .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2
 21  
 22  
 23    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')
 24  
 25    _globals = globals()
 26    _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
 27    _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'databricks_filesystem_service_pb2', _globals)
 28    if not _descriptor._USE_C_DESCRIPTORS:
 29      _globals['DESCRIPTOR']._loaded_options = None
 30      _globals['DESCRIPTOR']._serialized_options = b'\n#com.databricks.api.proto.filesystem\220\001\001\240\001\001\342?\002\020\001'
 31      _globals['_CREATEDOWNLOADURLREQUEST']._loaded_options = None
 32      _globals['_CREATEDOWNLOADURLREQUEST']._serialized_options = b'\342?3\n1com.databricks.rpc.RPC[CreateDownloadUrlResponse]'
 33      _globals['_CREATEDOWNLOADURLRESPONSE']._loaded_options = None
 34      _globals['_CREATEDOWNLOADURLRESPONSE']._serialized_options = b'\342?%\n#com.databricks.rpc.DoNotLogContents'
 35      _globals['_CREATEUPLOADURLREQUEST']._loaded_options = None
 36      _globals['_CREATEUPLOADURLREQUEST']._serialized_options = b'\342?1\n/com.databricks.rpc.RPC[CreateUploadUrlResponse]'
 37      _globals['_CREATEUPLOADURLRESPONSE']._loaded_options = None
 38      _globals['_CREATEUPLOADURLRESPONSE']._serialized_options = b'\342?%\n#com.databricks.rpc.DoNotLogContents'
 39      _globals['_DIRECTORYENTRY']._loaded_options = None
 40      _globals['_DIRECTORYENTRY']._serialized_options = b'\342?%\n#com.databricks.rpc.DoNotLogContents'
 41      _globals['_LISTDIRECTORYRESPONSE']._loaded_options = None
 42      _globals['_LISTDIRECTORYRESPONSE']._serialized_options = b'\342?%\n#com.databricks.rpc.DoNotLogContents'
 43      _globals['_FILESYSTEMSERVICE'].methods_by_name['CreateDownloadUrl']._loaded_options = None
 44      _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'
 45      _globals['_FILESYSTEMSERVICE'].methods_by_name['CreateUploadUrl']._loaded_options = None
 46      _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'
 47      _globals['_HTTPHEADER']._serialized_start=99
 48      _globals['_HTTPHEADER']._serialized_end=140
 49      _globals['_CREATEDOWNLOADURLREQUEST']._serialized_start=142
 50      _globals['_CREATEDOWNLOADURLREQUEST']._serialized_end=238
 51      _globals['_CREATEDOWNLOADURLRESPONSE']._serialized_start=241
 52      _globals['_CREATEDOWNLOADURLRESPONSE']._serialized_end=371
 53      _globals['_CREATEUPLOADURLREQUEST']._serialized_start=373
 54      _globals['_CREATEUPLOADURLREQUEST']._serialized_end=465
 55      _globals['_CREATEUPLOADURLRESPONSE']._serialized_start=468
 56      _globals['_CREATEUPLOADURLRESPONSE']._serialized_end=596
 57      _globals['_DIRECTORYENTRY']._serialized_start=599
 58      _globals['_DIRECTORYENTRY']._serialized_end=749
 59      _globals['_LISTDIRECTORYRESPONSE']._serialized_start=752
 60      _globals['_LISTDIRECTORYRESPONSE']._serialized_end=895
 61      _globals['_FILESYSTEMSERVICE']._serialized_start=898
 62      _globals['_FILESYSTEMSERVICE']._serialized_end=1229
 63    _builder.BuildServices(DESCRIPTOR, 'databricks_filesystem_service_pb2', _globals)
 64    # @@protoc_insertion_point(module_scope)
 65  
 66  else:
 67    # -*- coding: utf-8 -*-
 68    # Generated by the protocol buffer compiler.  DO NOT EDIT!
 69    # source: databricks_filesystem_service.proto
 70    """Generated protocol buffer code."""
 71    from google.protobuf import descriptor as _descriptor
 72    from google.protobuf import descriptor_pool as _descriptor_pool
 73    from google.protobuf import message as _message
 74    from google.protobuf import reflection as _reflection
 75    from google.protobuf import symbol_database as _symbol_database
 76    from google.protobuf import service as _service
 77    from google.protobuf import service_reflection
 78    # @@protoc_insertion_point(imports)
 79  
 80    _sym_db = _symbol_database.Default()
 81  
 82  
 83    from . import databricks_pb2 as databricks__pb2
 84    from .scalapb import scalapb_pb2 as scalapb_dot_scalapb__pb2
 85  
 86  
 87    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')
 88  
 89  
 90  
 91    _HTTPHEADER = DESCRIPTOR.message_types_by_name['HttpHeader']
 92    _CREATEDOWNLOADURLREQUEST = DESCRIPTOR.message_types_by_name['CreateDownloadUrlRequest']
 93    _CREATEDOWNLOADURLRESPONSE = DESCRIPTOR.message_types_by_name['CreateDownloadUrlResponse']
 94    _CREATEUPLOADURLREQUEST = DESCRIPTOR.message_types_by_name['CreateUploadUrlRequest']
 95    _CREATEUPLOADURLRESPONSE = DESCRIPTOR.message_types_by_name['CreateUploadUrlResponse']
 96    _DIRECTORYENTRY = DESCRIPTOR.message_types_by_name['DirectoryEntry']
 97    _LISTDIRECTORYRESPONSE = DESCRIPTOR.message_types_by_name['ListDirectoryResponse']
 98    HttpHeader = _reflection.GeneratedProtocolMessageType('HttpHeader', (_message.Message,), {
 99      'DESCRIPTOR' : _HTTPHEADER,
100      '__module__' : 'databricks_filesystem_service_pb2'
101      # @@protoc_insertion_point(class_scope:mlflow.filesystem.HttpHeader)
102      })
103    _sym_db.RegisterMessage(HttpHeader)
104  
105    CreateDownloadUrlRequest = _reflection.GeneratedProtocolMessageType('CreateDownloadUrlRequest', (_message.Message,), {
106      'DESCRIPTOR' : _CREATEDOWNLOADURLREQUEST,
107      '__module__' : 'databricks_filesystem_service_pb2'
108      # @@protoc_insertion_point(class_scope:mlflow.filesystem.CreateDownloadUrlRequest)
109      })
110    _sym_db.RegisterMessage(CreateDownloadUrlRequest)
111  
112    CreateDownloadUrlResponse = _reflection.GeneratedProtocolMessageType('CreateDownloadUrlResponse', (_message.Message,), {
113      'DESCRIPTOR' : _CREATEDOWNLOADURLRESPONSE,
114      '__module__' : 'databricks_filesystem_service_pb2'
115      # @@protoc_insertion_point(class_scope:mlflow.filesystem.CreateDownloadUrlResponse)
116      })
117    _sym_db.RegisterMessage(CreateDownloadUrlResponse)
118  
119    CreateUploadUrlRequest = _reflection.GeneratedProtocolMessageType('CreateUploadUrlRequest', (_message.Message,), {
120      'DESCRIPTOR' : _CREATEUPLOADURLREQUEST,
121      '__module__' : 'databricks_filesystem_service_pb2'
122      # @@protoc_insertion_point(class_scope:mlflow.filesystem.CreateUploadUrlRequest)
123      })
124    _sym_db.RegisterMessage(CreateUploadUrlRequest)
125  
126    CreateUploadUrlResponse = _reflection.GeneratedProtocolMessageType('CreateUploadUrlResponse', (_message.Message,), {
127      'DESCRIPTOR' : _CREATEUPLOADURLRESPONSE,
128      '__module__' : 'databricks_filesystem_service_pb2'
129      # @@protoc_insertion_point(class_scope:mlflow.filesystem.CreateUploadUrlResponse)
130      })
131    _sym_db.RegisterMessage(CreateUploadUrlResponse)
132  
133    DirectoryEntry = _reflection.GeneratedProtocolMessageType('DirectoryEntry', (_message.Message,), {
134      'DESCRIPTOR' : _DIRECTORYENTRY,
135      '__module__' : 'databricks_filesystem_service_pb2'
136      # @@protoc_insertion_point(class_scope:mlflow.filesystem.DirectoryEntry)
137      })
138    _sym_db.RegisterMessage(DirectoryEntry)
139  
140    ListDirectoryResponse = _reflection.GeneratedProtocolMessageType('ListDirectoryResponse', (_message.Message,), {
141      'DESCRIPTOR' : _LISTDIRECTORYRESPONSE,
142      '__module__' : 'databricks_filesystem_service_pb2'
143      # @@protoc_insertion_point(class_scope:mlflow.filesystem.ListDirectoryResponse)
144      })
145    _sym_db.RegisterMessage(ListDirectoryResponse)
146  
147    _FILESYSTEMSERVICE = DESCRIPTOR.services_by_name['FilesystemService']
148    if _descriptor._USE_C_DESCRIPTORS == False:
149  
150      DESCRIPTOR._options = None
151      DESCRIPTOR._serialized_options = b'\n#com.databricks.api.proto.filesystem\220\001\001\240\001\001\342?\002\020\001'
152      _CREATEDOWNLOADURLREQUEST._options = None
153      _CREATEDOWNLOADURLREQUEST._serialized_options = b'\342?3\n1com.databricks.rpc.RPC[CreateDownloadUrlResponse]'
154      _CREATEDOWNLOADURLRESPONSE._options = None
155      _CREATEDOWNLOADURLRESPONSE._serialized_options = b'\342?%\n#com.databricks.rpc.DoNotLogContents'
156      _CREATEUPLOADURLREQUEST._options = None
157      _CREATEUPLOADURLREQUEST._serialized_options = b'\342?1\n/com.databricks.rpc.RPC[CreateUploadUrlResponse]'
158      _CREATEUPLOADURLRESPONSE._options = None
159      _CREATEUPLOADURLRESPONSE._serialized_options = b'\342?%\n#com.databricks.rpc.DoNotLogContents'
160      _DIRECTORYENTRY._options = None
161      _DIRECTORYENTRY._serialized_options = b'\342?%\n#com.databricks.rpc.DoNotLogContents'
162      _LISTDIRECTORYRESPONSE._options = None
163      _LISTDIRECTORYRESPONSE._serialized_options = b'\342?%\n#com.databricks.rpc.DoNotLogContents'
164      _FILESYSTEMSERVICE.methods_by_name['CreateDownloadUrl']._options = None
165      _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'
166      _FILESYSTEMSERVICE.methods_by_name['CreateUploadUrl']._options = None
167      _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'
168      _HTTPHEADER._serialized_start=99
169      _HTTPHEADER._serialized_end=140
170      _CREATEDOWNLOADURLREQUEST._serialized_start=142
171      _CREATEDOWNLOADURLREQUEST._serialized_end=238
172      _CREATEDOWNLOADURLRESPONSE._serialized_start=241
173      _CREATEDOWNLOADURLRESPONSE._serialized_end=371
174      _CREATEUPLOADURLREQUEST._serialized_start=373
175      _CREATEUPLOADURLREQUEST._serialized_end=465
176      _CREATEUPLOADURLRESPONSE._serialized_start=468
177      _CREATEUPLOADURLRESPONSE._serialized_end=596
178      _DIRECTORYENTRY._serialized_start=599
179      _DIRECTORYENTRY._serialized_end=749
180      _LISTDIRECTORYRESPONSE._serialized_start=752
181      _LISTDIRECTORYRESPONSE._serialized_end=895
182      _FILESYSTEMSERVICE._serialized_start=898
183      _FILESYSTEMSERVICE._serialized_end=1229
184    FilesystemService = service_reflection.GeneratedServiceType('FilesystemService', (_service.Service,), dict(
185      DESCRIPTOR = _FILESYSTEMSERVICE,
186      __module__ = 'databricks_filesystem_service_pb2'
187      ))
188  
189    FilesystemService_Stub = service_reflection.GeneratedServiceStubType('FilesystemService_Stub', (FilesystemService,), dict(
190      DESCRIPTOR = _FILESYSTEMSERVICE,
191      __module__ = 'databricks_filesystem_service_pb2'
192      ))
193  
194  
195    # @@protoc_insertion_point(module_scope)
196