wandb_api_pb2.py 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # NO CHECKED-IN PROTOBUF GENCODE
  4. # source: wandb/proto/wandb_api.proto
  5. # Protobuf Python Version: 6.32.1
  6. """Generated protocol buffer code."""
  7. from google.protobuf import descriptor as _descriptor
  8. from google.protobuf import descriptor_pool as _descriptor_pool
  9. from google.protobuf import runtime_version as _runtime_version
  10. from google.protobuf import symbol_database as _symbol_database
  11. from google.protobuf.internal import builder as _builder
  12. _runtime_version.ValidateProtobufRuntimeVersion(
  13. _runtime_version.Domain.PUBLIC,
  14. 6,
  15. 32,
  16. 1,
  17. '',
  18. 'wandb/proto/wandb_api.proto'
  19. )
  20. # @@protoc_insertion_point(imports)
  21. _sym_db = _symbol_database.Default()
  22. from wandb.proto import wandb_internal_pb2 as wandb_dot_proto_dot_wandb__internal__pb2
  23. from wandb.proto import wandb_settings_pb2 as wandb_dot_proto_dot_wandb__settings__pb2
  24. 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')
  25. _globals = globals()
  26. _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
  27. _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'wandb.proto.wandb_api_pb2', _globals)
  28. if not _descriptor._USE_C_DESCRIPTORS:
  29. _globals['DESCRIPTOR']._loaded_options = None
  30. _globals['DESCRIPTOR']._serialized_options = b'Z\031core/pkg/service_go_proto'
  31. _globals['_DOWNLOADRUNHISTORYRESPONSE_ERRORSENTRY']._loaded_options = None
  32. _globals['_DOWNLOADRUNHISTORYRESPONSE_ERRORSENTRY']._serialized_options = b'8\001'
  33. _globals['_ERRORTYPE']._serialized_start=3023
  34. _globals['_ERRORTYPE']._serialized_end=3087
  35. _globals['_SERVERAPIINITREQUEST']._serialized_start=115
  36. _globals['_SERVERAPIINITREQUEST']._serialized_end=181
  37. _globals['_SERVERAPIINITRESPONSE']._serialized_start=183
  38. _globals['_SERVERAPIINITRESPONSE']._serialized_end=245
  39. _globals['_APIREQUEST']._serialized_start=248
  40. _globals['_APIREQUEST']._serialized_end=423
  41. _globals['_APIRESPONSE']._serialized_start=426
  42. _globals['_APIRESPONSE']._serialized_end=655
  43. _globals['_APIERRORRESPONSE']._serialized_start=657
  44. _globals['_APIERRORRESPONSE']._serialized_end=759
  45. _globals['_SERVERAPICLEANUPREQUEST']._serialized_start=761
  46. _globals['_SERVERAPICLEANUPREQUEST']._serialized_end=802
  47. _globals['_FEATURESREQUEST']._serialized_start=804
  48. _globals['_FEATURESREQUEST']._serialized_end=870
  49. _globals['_FEATURESRESPONSE']._serialized_start=872
  50. _globals['_FEATURESRESPONSE']._serialized_end=938
  51. _globals['_READRUNHISTORYREQUEST']._serialized_start=941
  52. _globals['_READRUNHISTORYREQUEST']._serialized_end=1405
  53. _globals['_READRUNHISTORYRESPONSE']._serialized_start=1408
  54. _globals['_READRUNHISTORYRESPONSE']._serialized_end=1913
  55. _globals['_SCANRUNHISTORYINIT']._serialized_start=1915
  56. _globals['_SCANRUNHISTORYINIT']._serialized_end=2017
  57. _globals['_SCANRUNHISTORYINITRESPONSE']._serialized_start=2019
  58. _globals['_SCANRUNHISTORYINITRESPONSE']._serialized_end=2067
  59. _globals['_SCANRUNHISTORY']._serialized_start=2069
  60. _globals['_SCANRUNHISTORY']._serialized_end=2141
  61. _globals['_RUNHISTORYRESPONSE']._serialized_start=2143
  62. _globals['_RUNHISTORYRESPONSE']._serialized_end=2213
  63. _globals['_HISTORYROW']._serialized_start=2215
  64. _globals['_HISTORYROW']._serialized_end=2286
  65. _globals['_PARQUETHISTORYITEM']._serialized_start=2288
  66. _globals['_PARQUETHISTORYITEM']._serialized_end=2341
  67. _globals['_SCANRUNHISTORYCLEANUP']._serialized_start=2343
  68. _globals['_SCANRUNHISTORYCLEANUP']._serialized_end=2386
  69. _globals['_SCANRUNHISTORYCLEANUPRESPONSE']._serialized_start=2388
  70. _globals['_SCANRUNHISTORYCLEANUPRESPONSE']._serialized_end=2419
  71. _globals['_DOWNLOADRUNHISTORYINIT']._serialized_start=2422
  72. _globals['_DOWNLOADRUNHISTORYINIT']._serialized_end=2551
  73. _globals['_DOWNLOADRUNHISTORYINITRESPONSE']._serialized_start=2553
  74. _globals['_DOWNLOADRUNHISTORYINITRESPONSE']._serialized_end=2633
  75. _globals['_DOWNLOADRUNHISTORY']._serialized_start=2635
  76. _globals['_DOWNLOADRUNHISTORY']._serialized_end=2675
  77. _globals['_DOWNLOADRUNHISTORYRESPONSE']._serialized_start=2678
  78. _globals['_DOWNLOADRUNHISTORYRESPONSE']._serialized_end=2851
  79. _globals['_DOWNLOADRUNHISTORYRESPONSE_ERRORSENTRY']._serialized_start=2806
  80. _globals['_DOWNLOADRUNHISTORYRESPONSE_ERRORSENTRY']._serialized_end=2851
  81. _globals['_INCOMPLETERUNHISTORYERROR']._serialized_start=2853
  82. _globals['_INCOMPLETERUNHISTORYERROR']._serialized_end=2880
  83. _globals['_DOWNLOADRUNHISTORYSTATUS']._serialized_start=2882
  84. _globals['_DOWNLOADRUNHISTORYSTATUS']._serialized_end=2928
  85. _globals['_DOWNLOADRUNHISTORYSTATUSRESPONSE']._serialized_start=2930
  86. _globals['_DOWNLOADRUNHISTORYSTATUSRESPONSE']._serialized_end=3021
  87. # @@protoc_insertion_point(module_scope)