wandb_api_pb2.py 8.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: wandb/proto/wandb_api.proto
  4. """Generated protocol buffer code."""
  5. from google.protobuf import descriptor as _descriptor
  6. from google.protobuf import descriptor_pool as _descriptor_pool
  7. from google.protobuf import symbol_database as _symbol_database
  8. from google.protobuf.internal import builder as _builder
  9. # @@protoc_insertion_point(imports)
  10. _sym_db = _symbol_database.Default()
  11. from wandb.proto import wandb_internal_pb2 as wandb_dot_proto_dot_wandb__internal__pb2
  12. from wandb.proto import wandb_settings_pb2 as wandb_dot_proto_dot_wandb__settings__pb2
  13. DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bwandb/proto/wandb_api.proto\x12\x0ewandb_internal\x1a wandb/proto/wandb_internal.proto\x1a wandb/proto/wandb_settings.proto\"B\n\x14ServerApiInitRequest\x12*\n\x08settings\x18\x01 \x01(\x0b\x32\x18.wandb_internal.Settings\">\n\x15ServerApiInitResponse\x12\x15\n\rerror_message\x18\x01 \x01(\t\x12\x0e\n\x06\x61pi_id\x18\x02 \x01(\t\"\xaf\x01\n\nApiRequest\x12\x0e\n\x06\x61pi_id\x18\x01 \x01(\t\x12I\n\x18read_run_history_request\x18\x02 \x01(\x0b\x32%.wandb_internal.ReadRunHistoryRequestH\x00\x12;\n\x10\x66\x65\x61tures_request\x18\x03 \x01(\x0b\x32\x1f.wandb_internal.FeaturesRequestH\x00\x42\t\n\x07request\"\xe5\x01\n\x0b\x41piResponse\x12K\n\x19read_run_history_response\x18\x01 \x01(\x0b\x32&.wandb_internal.ReadRunHistoryResponseH\x00\x12=\n\x11\x66\x65\x61tures_response\x18\x03 \x01(\x0b\x32 .wandb_internal.FeaturesResponseH\x00\x12>\n\x12\x61pi_error_response\x18\x02 \x01(\x0b\x32 .wandb_internal.ApiErrorResponseH\x00\x42\n\n\x08response\"f\n\x10\x41piErrorResponse\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x32\n\nerror_type\x18\x02 \x01(\x0e\x32\x19.wandb_internal.ErrorTypeH\x00\x88\x01\x01\x42\r\n\x0b_error_type\")\n\x17ServerApiCleanupRequest\x12\x0e\n\x06\x61pi_id\x18\x01 \x01(\t\"B\n\x0f\x46\x65\x61turesRequest\x12/\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0e\x32\x1d.wandb_internal.ServerFeature\"B\n\x10\x46\x65\x61turesResponse\x12.\n\x07\x65nabled\x18\x01 \x03(\x0e\x32\x1d.wandb_internal.ServerFeature\"\xd0\x03\n\x15ReadRunHistoryRequest\x12\x43\n\x15scan_run_history_init\x18\x01 \x01(\x0b\x32\".wandb_internal.ScanRunHistoryInitH\x00\x12:\n\x10scan_run_history\x18\x02 \x01(\x0b\x32\x1e.wandb_internal.ScanRunHistoryH\x00\x12I\n\x18scan_run_history_cleanup\x18\x03 \x01(\x0b\x32%.wandb_internal.ScanRunHistoryCleanupH\x00\x12K\n\x19\x64ownload_run_history_init\x18\x04 \x01(\x0b\x32&.wandb_internal.DownloadRunHistoryInitH\x00\x12\x42\n\x14\x64ownload_run_history\x18\x05 \x01(\x0b\x32\".wandb_internal.DownloadRunHistoryH\x00\x12O\n\x1b\x64ownload_run_history_status\x18\x06 \x01(\x0b\x32(.wandb_internal.DownloadRunHistoryStatusH\x00\x42\t\n\x07request\"\xf9\x03\n\x16ReadRunHistoryResponse\x12K\n\x15scan_run_history_init\x18\x01 \x01(\x0b\x32*.wandb_internal.ScanRunHistoryInitResponseH\x00\x12\x39\n\x0brun_history\x18\x02 \x01(\x0b\x32\".wandb_internal.RunHistoryResponseH\x00\x12Q\n\x18scan_run_history_cleanup\x18\x03 \x01(\x0b\x32-.wandb_internal.ScanRunHistoryCleanupResponseH\x00\x12S\n\x19\x64ownload_run_history_init\x18\x04 \x01(\x0b\x32..wandb_internal.DownloadRunHistoryInitResponseH\x00\x12J\n\x14\x64ownload_run_history\x18\x05 \x01(\x0b\x32*.wandb_internal.DownloadRunHistoryResponseH\x00\x12W\n\x1b\x64ownload_run_history_status\x18\x06 \x01(\x0b\x32\x30.wandb_internal.DownloadRunHistoryStatusResponseH\x00\x42\n\n\x08response\"f\n\x12ScanRunHistoryInit\x12\x0e\n\x06\x65ntity\x18\x01 \x01(\t\x12\x0f\n\x07project\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x0c\n\x04keys\x18\x04 \x03(\t\x12\x11\n\tuse_cache\x18\x05 \x01(\x08\"0\n\x1aScanRunHistoryInitResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\x05\"H\n\x0eScanRunHistory\x12\x10\n\x08min_step\x18\x01 \x01(\x03\x12\x10\n\x08max_step\x18\x02 \x01(\x03\x12\x12\n\nrequest_id\x18\x03 \x01(\x05\"F\n\x12RunHistoryResponse\x12\x30\n\x0chistory_rows\x18\x01 \x03(\x0b\x32\x1a.wandb_internal.HistoryRow\"G\n\nHistoryRow\x12\x39\n\rhistory_items\x18\x01 \x03(\x0b\x32\".wandb_internal.ParquetHistoryItem\"5\n\x12ParquetHistoryItem\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x12\n\nvalue_json\x18\x10 \x01(\t\"+\n\x15ScanRunHistoryCleanup\x12\x12\n\nrequest_id\x18\x01 \x01(\x05\"\x1f\n\x1dScanRunHistoryCleanupResponse\"\x81\x01\n\x16\x44ownloadRunHistoryInit\x12\x0e\n\x06\x65ntity\x18\x01 \x01(\t\x12\x0f\n\x07project\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t\x12\x14\n\x0c\x64ownload_dir\x18\x04 \x01(\t\x12 \n\x18require_complete_history\x18\x05 \x01(\x08\"P\n\x1e\x44ownloadRunHistoryInitResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\x05\x12\x1a\n\x12\x63ontains_live_data\x18\x02 \x01(\x08\"(\n\x12\x44ownloadRunHistory\x12\x12\n\nrequest_id\x18\x01 \x01(\x05\"\xad\x01\n\x1a\x44ownloadRunHistoryResponse\x12\x18\n\x10\x64ownloaded_files\x18\x01 \x03(\t\x12\x46\n\x06\x65rrors\x18\x02 \x03(\x0b\x32\x36.wandb_internal.DownloadRunHistoryResponse.ErrorsEntry\x1a-\n\x0b\x45rrorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x1b\n\x19IncompleteRunHistoryError\".\n\x18\x44ownloadRunHistoryStatus\x12\x12\n\nrequest_id\x18\x01 \x01(\x05\"[\n DownloadRunHistoryStatusResponse\x12\x37\n\x0foperation_stats\x18\x01 \x01(\x0b\x32\x1e.wandb_internal.OperationStats*@\n\tErrorType\x12\x11\n\rUNKNOWN_ERROR\x10\x00\x12 \n\x1cINCOMPLETE_RUN_HISTORY_ERROR\x10\x01\x42\x1bZ\x19\x63ore/pkg/service_go_protob\x06proto3')
  14. _globals = globals()
  15. _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
  16. _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'wandb.proto.wandb_api_pb2', _globals)
  17. if _descriptor._USE_C_DESCRIPTORS == False:
  18. DESCRIPTOR._options = None
  19. DESCRIPTOR._serialized_options = b'Z\031core/pkg/service_go_proto'
  20. _DOWNLOADRUNHISTORYRESPONSE_ERRORSENTRY._options = None
  21. _DOWNLOADRUNHISTORYRESPONSE_ERRORSENTRY._serialized_options = b'8\001'
  22. _globals['_ERRORTYPE']._serialized_start=3023
  23. _globals['_ERRORTYPE']._serialized_end=3087
  24. _globals['_SERVERAPIINITREQUEST']._serialized_start=115
  25. _globals['_SERVERAPIINITREQUEST']._serialized_end=181
  26. _globals['_SERVERAPIINITRESPONSE']._serialized_start=183
  27. _globals['_SERVERAPIINITRESPONSE']._serialized_end=245
  28. _globals['_APIREQUEST']._serialized_start=248
  29. _globals['_APIREQUEST']._serialized_end=423
  30. _globals['_APIRESPONSE']._serialized_start=426
  31. _globals['_APIRESPONSE']._serialized_end=655
  32. _globals['_APIERRORRESPONSE']._serialized_start=657
  33. _globals['_APIERRORRESPONSE']._serialized_end=759
  34. _globals['_SERVERAPICLEANUPREQUEST']._serialized_start=761
  35. _globals['_SERVERAPICLEANUPREQUEST']._serialized_end=802
  36. _globals['_FEATURESREQUEST']._serialized_start=804
  37. _globals['_FEATURESREQUEST']._serialized_end=870
  38. _globals['_FEATURESRESPONSE']._serialized_start=872
  39. _globals['_FEATURESRESPONSE']._serialized_end=938
  40. _globals['_READRUNHISTORYREQUEST']._serialized_start=941
  41. _globals['_READRUNHISTORYREQUEST']._serialized_end=1405
  42. _globals['_READRUNHISTORYRESPONSE']._serialized_start=1408
  43. _globals['_READRUNHISTORYRESPONSE']._serialized_end=1913
  44. _globals['_SCANRUNHISTORYINIT']._serialized_start=1915
  45. _globals['_SCANRUNHISTORYINIT']._serialized_end=2017
  46. _globals['_SCANRUNHISTORYINITRESPONSE']._serialized_start=2019
  47. _globals['_SCANRUNHISTORYINITRESPONSE']._serialized_end=2067
  48. _globals['_SCANRUNHISTORY']._serialized_start=2069
  49. _globals['_SCANRUNHISTORY']._serialized_end=2141
  50. _globals['_RUNHISTORYRESPONSE']._serialized_start=2143
  51. _globals['_RUNHISTORYRESPONSE']._serialized_end=2213
  52. _globals['_HISTORYROW']._serialized_start=2215
  53. _globals['_HISTORYROW']._serialized_end=2286
  54. _globals['_PARQUETHISTORYITEM']._serialized_start=2288
  55. _globals['_PARQUETHISTORYITEM']._serialized_end=2341
  56. _globals['_SCANRUNHISTORYCLEANUP']._serialized_start=2343
  57. _globals['_SCANRUNHISTORYCLEANUP']._serialized_end=2386
  58. _globals['_SCANRUNHISTORYCLEANUPRESPONSE']._serialized_start=2388
  59. _globals['_SCANRUNHISTORYCLEANUPRESPONSE']._serialized_end=2419
  60. _globals['_DOWNLOADRUNHISTORYINIT']._serialized_start=2422
  61. _globals['_DOWNLOADRUNHISTORYINIT']._serialized_end=2551
  62. _globals['_DOWNLOADRUNHISTORYINITRESPONSE']._serialized_start=2553
  63. _globals['_DOWNLOADRUNHISTORYINITRESPONSE']._serialized_end=2633
  64. _globals['_DOWNLOADRUNHISTORY']._serialized_start=2635
  65. _globals['_DOWNLOADRUNHISTORY']._serialized_end=2675
  66. _globals['_DOWNLOADRUNHISTORYRESPONSE']._serialized_start=2678
  67. _globals['_DOWNLOADRUNHISTORYRESPONSE']._serialized_end=2851
  68. _globals['_DOWNLOADRUNHISTORYRESPONSE_ERRORSENTRY']._serialized_start=2806
  69. _globals['_DOWNLOADRUNHISTORYRESPONSE_ERRORSENTRY']._serialized_end=2851
  70. _globals['_INCOMPLETERUNHISTORYERROR']._serialized_start=2853
  71. _globals['_INCOMPLETERUNHISTORYERROR']._serialized_end=2880
  72. _globals['_DOWNLOADRUNHISTORYSTATUS']._serialized_start=2882
  73. _globals['_DOWNLOADRUNHISTORYSTATUS']._serialized_end=2928
  74. _globals['_DOWNLOADRUNHISTORYSTATUSRESPONSE']._serialized_start=2930
  75. _globals['_DOWNLOADRUNHISTORYSTATUSRESPONSE']._serialized_end=3021
  76. # @@protoc_insertion_point(module_scope)