MetaRpcMT4 0.0.321__tar.gz → 0.0.322__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. metarpcmt4-0.0.322/MetaRpcMT4/mt4_term_api_admin_pb2.py +132 -0
  2. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_admin_pb2_grpc.py +35 -0
  3. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4.egg-info/PKG-INFO +1 -1
  4. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/PKG-INFO +1 -1
  5. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/pyproject.toml +1 -1
  6. metarpcmt4-0.0.321/MetaRpcMT4/mt4_term_api_admin_pb2.py +0 -126
  7. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/__init__.py +0 -0
  8. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mrpc_mt4_error_pb2.py +0 -0
  9. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mrpc_mt4_error_pb2_grpc.py +0 -0
  10. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_account.py +0 -0
  11. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_account_helper_pb2.py +0 -0
  12. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_account_helper_pb2_grpc.py +0 -0
  13. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_accounts_pb2.py +0 -0
  14. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_accounts_pb2_grpc.py +0 -0
  15. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_connection_pb2.py +0 -0
  16. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_connection_pb2_grpc.py +0 -0
  17. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_demo_account_pb2.py +0 -0
  18. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_demo_account_pb2_grpc.py +0 -0
  19. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_gui_pb2.py +0 -0
  20. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_gui_pb2_grpc.py +0 -0
  21. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_health_check_pb2.py +0 -0
  22. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_health_check_pb2_grpc.py +0 -0
  23. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_internal_charts_pb2.py +0 -0
  24. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_internal_charts_pb2_grpc.py +0 -0
  25. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_market_info_pb2.py +0 -0
  26. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_market_info_pb2_grpc.py +0 -0
  27. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_public_account_pb2.py +0 -0
  28. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_public_account_pb2_grpc.py +0 -0
  29. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_quote_history_pb2.py +0 -0
  30. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_quote_history_pb2_grpc.py +0 -0
  31. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_server_timezone_pb2.py +0 -0
  32. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_server_timezone_pb2_grpc.py +0 -0
  33. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_subscriptions_pb2.py +0 -0
  34. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_subscriptions_pb2_grpc.py +0 -0
  35. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_trade_stats_pb2.py +0 -0
  36. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_trade_stats_pb2_grpc.py +0 -0
  37. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_trading_helper_pb2.py +0 -0
  38. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4/mt4_term_api_trading_helper_pb2_grpc.py +0 -0
  39. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4.egg-info/SOURCES.txt +0 -0
  40. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4.egg-info/dependency_links.txt +0 -0
  41. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4.egg-info/requires.txt +0 -0
  42. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/MetaRpcMT4.egg-info/top_level.txt +0 -0
  43. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/setup.cfg +0 -0
  44. {metarpcmt4-0.0.321 → metarpcmt4-0.0.322}/tests/test.py +0 -0
@@ -0,0 +1,132 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: mt4-term-api-admin.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf.internal import builder as _builder
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
15
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
16
+
17
+
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18mt4-term-api-admin.proto\x12\nmrpc_admin\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"S\n SetDedicatedIpEntitlementRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x10\n\x08\x65ntitled\x18\x03 \x01(\x08\"R\n\x1eSetDedicatedIpEntitlementReply\x12\x0f\n\x07\x63hanged\x18\x01 \x01(\x08\x12\x10\n\x08\x65ntitled\x18\x02 \x01(\x08\x12\r\n\x05\x65rror\x18\x03 \x01(\t\"\xec\x02\n\x1bSessionRestoreWatcherStatus\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\r\n\x05state\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x18\n\x10total_candidates\x18\x04 \x01(\x05\x12\x17\n\x0f\x64istinct_tokens\x18\x05 \x01(\x05\x12\x16\n\x0e\x61lready_loaded\x18\x06 \x01(\x05\x12\x10\n\x08in_queue\x18\x07 \x01(\x05\x12\x13\n\x0bin_progress\x18\x08 \x01(\x05\x12\x18\n\x10restored_success\x18\t \x01(\x05\x12\x17\n\x0frestored_failed\x18\n \x01(\x05\x12 \n\x18last_reconcile_start_utc\x18\x0b \x01(\t\x12\x1e\n\x16last_reconcile_end_utc\x18\x0c \x01(\t\x12\"\n\x1alast_reconcile_duration_ms\x18\r \x01(\x01\x12\x12\n\nlast_error\x18\x0e \x01(\t\"f\n\x1cGetSessionRestoreStatusReply\x12\x37\n\x06status\x18\x01 \x01(\x0b\x32\'.mrpc_admin.SessionRestoreWatcherStatus\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"o\n\x1aKillAllTrialTerminalsReply\x12\x14\n\x0ckilled_count\x18\x01 \x01(\x05\x12\x1b\n\x13killed_terminal_ids\x18\x02 \x03(\t\x12\x0f\n\x07message\x18\x03 \x01(\t\x12\r\n\x05\x65rror\x18\x04 \x01(\t\"1\n\x0c\x44rainRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\"x\n\nDrainReply\x12\x10\n\x08\x64raining\x18\x01 \x01(\x08\x12\x18\n\x10\x61lready_draining\x18\x02 \x01(\x08\x12\x0b\n\x03pod\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x12\n\nstarted_at\x18\x05 \x01(\t\x12\r\n\x05\x65rror\x18\x06 \x01(\t\"l\n\x18StopTerminalLocalRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\r\n\x05\x63\x61use\x18\x03 \x01(\t\x12\x0e\n\x06\x64\x65tail\x18\x04 \x01(\t\x12\x12\n\nintent_utc\x18\x05 \x01(\t\"\x87\x01\n\x16StopTerminalLocalReply\x12\x0f\n\x07stopped\x18\x01 \x01(\x08\x12\x0f\n\x07present\x18\x02 \x01(\x08\x12\x0b\n\x03pod\x18\x03 \x01(\t\x12\r\n\x05\x65rror\x18\x04 \x01(\t\x12\x1e\n\x16\x66ull_life_time_seconds\x18\x05 \x01(\x03\x12\x0f\n\x07skipped\x18\x06 \x01(\t\"S\n\x1cGetSessionRestoreLogsRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\x12\x0b\n\x03pod\x18\x02 \x01(\t\x12\x13\n\x0blatest_only\x18\x03 \x01(\x08\"\xc2\x01\n\x16SessionRestoreLogEntry\x12\x10\n\x08token_id\x18\x01 \x01(\t\x12\x10\n\x08platform\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\r\n\x05owner\x18\x04 \x01(\t\x12\x0c\n\x04user\x18\x05 \x01(\t\x12\x0e\n\x06target\x18\x06 \x01(\t\x12\x0f\n\x07success\x18\x07 \x01(\x08\x12\r\n\x05\x65rror\x18\x08 \x01(\t\x12\x12\n\nelapsed_ms\x18\t \x01(\x01\x12\x13\n\x0b\x63reated_utc\x18\n \x01(\t\"`\n\x1aGetSessionRestoreLogsReply\x12\x33\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\".mrpc_admin.SessionRestoreLogEntry\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"]\n\x11GetAllLogsRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\x12\x19\n\x11max_bytes_per_log\x18\x02 \x01(\x03\x12\x1a\n\x12\x65xclude_event_logs\x18\x03 \x01(\x08\"\x96\x01\n\x0c\x41llLogsEntry\x12\x0e\n\x06source\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\t\x12\x12\n\nsize_bytes\x18\x04 \x01(\x03\x12\x13\n\x0bmodified_at\x18\x05 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x06 \x01(\t\x12\x11\n\ttruncated\x18\x07 \x01(\x08\x12\r\n\x05\x65rror\x18\x08 \x01(\t\"H\n\x0fGetAllLogsReply\x12&\n\x04logs\x18\x01 \x03(\x0b\x32\x18.mrpc_admin.AllLogsEntry\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"\x10\n\x0eVersionRequest\"\x9d\x02\n\x0cVersionReply\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x16\n\x0e\x62uild_time_utc\x18\x03 \x01(\t\x12\x0c\n\x04mode\x18\x04 \x01(\t\x12\x18\n\x10session_creation\x18\x05 \x01(\t\x12-\n%session_creation_consecutive_failures\x18\x06 \x01(\r\x12#\n\x1bsession_creation_last_error\x18\x07 \x01(\t\x12)\n!session_creation_last_success_utc\x18\x08 \x01(\t\x12,\n$session_creation_unhealthy_since_utc\x18\t \x01(\t\"K\n\x11ListLogFilesReply\x12\'\n\x05\x66iles\x18\x01 \x03(\x0b\x32\x18.mrpc_admin.LogFileEntry\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"a\n\x0cLogFileEntry\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nsize_bytes\x18\x02 \x01(\x03\x12/\n\x0bmodified_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"L\n\x11GetLogFileRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\x12\x11\n\tfile_name\x18\x02 \x01(\t\x12\x11\n\tmax_bytes\x18\x03 \x01(\x03\"^\n\x0fGetLogFileReply\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x11\n\ttruncated\x18\x02 \x01(\x08\x12\x18\n\x10total_size_bytes\x18\x03 \x01(\x03\x12\r\n\x05\x65rror\x18\x04 \x01(\t\"S\n\x19GetEventLogEntriesRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\x12\x10\n\x08log_name\x18\x02 \x01(\t\x12\x11\n\tmax_count\x18\x03 \x01(\x05\"9\n\x17GetEventLogEntriesReply\x12\x0f\n\x07\x65ntries\x18\x01 \x03(\t\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"O\n\x1f\x43\x61ptureSessionScreenshotRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\x12\x19\n\x11session_user_name\x18\x02 \x01(\t\"d\n$CaptureSessionScreenshotOnPodRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\x12\x0e\n\x06pod_ip\x18\x02 \x01(\t\x12\x19\n\x11session_user_name\x18\x03 \x01(\t\"A\n\x1d\x43\x61ptureSessionScreenshotReply\x12\x11\n\timage_png\x18\x01 \x01(\x0c\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"G\n\x14RefreshMrpcRestReply\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\r\n\x05\x65rror\x18\x03 \x01(\t\"w\n\x0bUsageSample\x12(\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x63pu_percent\x18\x02 \x01(\x01\x12\x13\n\x0bram_used_mb\x18\x03 \x01(\x04\x12\x14\n\x0cram_total_mb\x18\x04 \x01(\x04\"\x8b\x01\n\x10SystemUsageReply\x12\x13\n\x0b\x63pu_percent\x18\x01 \x01(\x01\x12\x13\n\x0bram_used_mb\x18\x02 \x01(\x04\x12\x14\n\x0cram_total_mb\x18\x03 \x01(\x04\x12(\n\x07history\x18\x04 \x03(\x0b\x32\x17.mrpc_admin.UsageSample\x12\r\n\x05\x65rror\x18\x05 \x01(\t\"+\n\x16\x41\x63tiveTerminalsRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\"\xa3\x05\n\x0cTerminalInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0buser_number\x18\x02 \x01(\r\x12\x14\n\x0cwindows_user\x18\x03 \x01(\t\x12\x0f\n\x07\x61\x63\x63ount\x18\x04 \x01(\x04\x12\x0e\n\x06server\x18\x05 \x01(\t\x12\x0c\n\x04port\x18\x06 \x01(\r\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10windows_password\x18\x08 \x01(\t\x12\x11\n\x04name\x18\t \x01(\tH\x00\x88\x01\x01\x12\r\n\x05state\x18\n \x01(\t\x12\x15\n\rerror_message\x18\x0b \x01(\t\x12\x17\n\nuser_email\x18\x0c \x01(\tH\x01\x88\x01\x01\x12%\n\x18startup_duration_seconds\x18\r \x01(\x01H\x02\x88\x01\x01\x12\x35\n\x0c\x63onnected_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03\x88\x01\x01\x12\x19\n\x0cstartup_time\x18\x0f \x01(\tH\x04\x88\x01\x01\x12\x46\n\x1d\x62roker_disconnected_since_utc\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05\x88\x01\x01\x12\x1d\n\x15trade_failures_recent\x18\x11 \x01(\r\x12\x1c\n\x14trade_failures_total\x18\x12 \x01(\x04\x12\x1a\n\x12last_trade_failure\x18\x13 \x01(\tB\x07\n\x05_nameB\r\n\x0b_user_emailB\x1b\n\x19_startup_duration_secondsB\x0f\n\r_connected_atB\x0f\n\r_startup_timeB \n\x1e_broker_disconnected_since_utc\"\xae\x02\n\x14\x41\x63tiveTerminalsReply\x12\x0b\n\x03pod\x18\x01 \x01(\t\x12\x0c\n\x04node\x18\x02 \x01(\t\x12\x0e\n\x06pod_ip\x18\x03 \x01(\t\x12+\n\tterminals\x18\x04 \x03(\x0b\x32\x18.mrpc_admin.TerminalInfo\x12\r\n\x05\x65rror\x18\x05 \x01(\t\x12\x13\n\x0b\x63pu_percent\x18\x06 \x01(\x01\x12\x13\n\x0bram_used_mb\x18\x07 \x01(\x04\x12\x14\n\x0cram_total_mb\x18\x08 \x01(\x04\x12.\n\rusage_history\x18\t \x03(\x0b\x32\x17.mrpc_admin.UsageSample\x12?\n\x0erestore_status\x18\n \x01(\x0b\x32\'.mrpc_admin.SessionRestoreWatcherStatus\"\xca\x02\n\x0cPodTerminals\x12\x0b\n\x03pod\x18\x01 \x01(\t\x12\x0c\n\x04node\x18\x02 \x01(\t\x12\x0e\n\x06pod_ip\x18\x03 \x01(\t\x12\x11\n\tnovnc_url\x18\x04 \x01(\t\x12+\n\tterminals\x18\x05 \x03(\x0b\x32\x18.mrpc_admin.TerminalInfo\x12\r\n\x05\x65rror\x18\x06 \x01(\t\x12\x0f\n\x07host_ip\x18\x07 \x01(\t\x12\x13\n\x0b\x63pu_percent\x18\x08 \x01(\x01\x12\x13\n\x0bram_used_mb\x18\t \x01(\x04\x12\x14\n\x0cram_total_mb\x18\n \x01(\x04\x12.\n\rusage_history\x18\x0b \x03(\x0b\x32\x17.mrpc_admin.UsageSample\x12?\n\x0erestore_status\x18\x0c \x01(\x0b\x32\'.mrpc_admin.SessionRestoreWatcherStatus\"E\n\x1b\x41\x63tiveTerminalsClusterReply\x12&\n\x04pods\x18\x01 \x03(\x0b\x32\x18.mrpc_admin.PodTerminals2\xf1\x11\n\x08\x41\x64minApi\x12q\n\x0f\x41\x63tiveTerminals\x12\".mrpc_admin.ActiveTerminalsRequest\x1a .mrpc_admin.ActiveTerminalsReply\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/ActiveTerminals\x12\x86\x01\n\x16\x41\x63tiveTerminalsCluster\x12\".mrpc_admin.ActiveTerminalsRequest\x1a\'.mrpc_admin.ActiveTerminalsClusterReply\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/ActiveTerminalsCluster\x12\x65\n\x0bSystemUsage\x12\".mrpc_admin.ActiveTerminalsRequest\x1a\x1c.mrpc_admin.SystemUsageReply\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/SystemUsage\x12h\n\x0cListLogFiles\x12\".mrpc_admin.ActiveTerminalsRequest\x1a\x1d.mrpc_admin.ListLogFilesReply\"\x15\x82\xd3\xe4\x93\x02\x0f\x12\r/ListLogFiles\x12]\n\nGetLogFile\x12\x1d.mrpc_admin.GetLogFileRequest\x1a\x1b.mrpc_admin.GetLogFileReply\"\x13\x82\xd3\xe4\x93\x02\r\x12\x0b/GetLogFile\x12}\n\x12GetEventLogEntries\x12%.mrpc_admin.GetEventLogEntriesRequest\x1a#.mrpc_admin.GetEventLogEntriesReply\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/GetEventLogEntries\x12\x95\x01\n\x18\x43\x61ptureSessionScreenshot\x12+.mrpc_admin.CaptureSessionScreenshotRequest\x1a).mrpc_admin.CaptureSessionScreenshotReply\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/CaptureSessionScreenshot\x12\xa4\x01\n\x1d\x43\x61ptureSessionScreenshotOnPod\x12\x30.mrpc_admin.CaptureSessionScreenshotOnPodRequest\x1a).mrpc_admin.CaptureSessionScreenshotReply\"&\x82\xd3\xe4\x93\x02 \x12\x1e/CaptureSessionScreenshotOnPod\x12q\n\x0fRefreshMrpcRest\x12\".mrpc_admin.ActiveTerminalsRequest\x1a .mrpc_admin.RefreshMrpcRestReply\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/RefreshMrpcRest\x12W\n\nGetVersion\x12\x1a.mrpc_admin.VersionRequest\x1a\x18.mrpc_admin.VersionReply\"\x13\x82\xd3\xe4\x93\x02\r\x12\x0b/version-tm\x12]\n\nGetAllLogs\x12\x1d.mrpc_admin.GetAllLogsRequest\x1a\x1b.mrpc_admin.GetAllLogsReply\"\x13\x82\xd3\xe4\x93\x02\r\x12\x0b/GetAllLogs\x12\x89\x01\n\x15GetSessionRestoreLogs\x12(.mrpc_admin.GetSessionRestoreLogsRequest\x1a&.mrpc_admin.GetSessionRestoreLogsReply\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/GetSessionRestoreLogs\x12\x89\x01\n\x17GetSessionRestoreStatus\x12\".mrpc_admin.ActiveTerminalsRequest\x1a(.mrpc_admin.GetSessionRestoreStatusReply\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/GetSessionRestoreStatus\x12\x9d\x01\n\x15KillAllTrialTerminals\x12\".mrpc_admin.ActiveTerminalsRequest\x1a&.mrpc_admin.KillAllTrialTerminalsReply\"8\x82\xd3\xe4\x93\x02\x32\x12\x16/KillAllTrialTerminalsZ\x18\"\x16/KillAllTrialTerminals\x12\xac\x01\n\x1aKillAllTrialTerminalsLocal\x12\".mrpc_admin.ActiveTerminalsRequest\x1a&.mrpc_admin.KillAllTrialTerminalsReply\"B\x82\xd3\xe4\x93\x02<\x12\x1b/KillAllTrialTerminalsLocalZ\x1d\"\x1b/KillAllTrialTerminalsLocal\x12L\n\x05\x44rain\x12\x18.mrpc_admin.DrainRequest\x1a\x16.mrpc_admin.DrainReply\"\x11\x82\xd3\xe4\x93\x02\x0b\"\x06/Drain:\x01*\x12|\n\x11StopTerminalLocal\x12$.mrpc_admin.StopTerminalLocalRequest\x1a\".mrpc_admin.StopTerminalLocalReply\"\x1d\x82\xd3\xe4\x93\x02\x17\"\x12/StopTerminalLocal:\x01*\x12\x9c\x01\n\x19SetDedicatedIpEntitlement\x12,.mrpc_admin.SetDedicatedIpEntitlementRequest\x1a*.mrpc_admin.SetDedicatedIpEntitlementReply\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/SetDedicatedIpEntitlement:\x01*B@Z1git.mtapi.io/root/mrpc-proto.git/mt4/libraries/go\xaa\x02\nmrpc_adminb\x06proto3')
19
+
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mt4_term_api_admin_pb2', globals())
22
+ if _descriptor._USE_C_DESCRIPTORS == False:
23
+
24
+ DESCRIPTOR._options = None
25
+ DESCRIPTOR._serialized_options = b'Z1git.mtapi.io/root/mrpc-proto.git/mt4/libraries/go\252\002\nmrpc_admin'
26
+ _ADMINAPI.methods_by_name['ActiveTerminals']._options = None
27
+ _ADMINAPI.methods_by_name['ActiveTerminals']._serialized_options = b'\202\323\344\223\002\022\022\020/ActiveTerminals'
28
+ _ADMINAPI.methods_by_name['ActiveTerminalsCluster']._options = None
29
+ _ADMINAPI.methods_by_name['ActiveTerminalsCluster']._serialized_options = b'\202\323\344\223\002\031\022\027/ActiveTerminalsCluster'
30
+ _ADMINAPI.methods_by_name['SystemUsage']._options = None
31
+ _ADMINAPI.methods_by_name['SystemUsage']._serialized_options = b'\202\323\344\223\002\016\022\014/SystemUsage'
32
+ _ADMINAPI.methods_by_name['ListLogFiles']._options = None
33
+ _ADMINAPI.methods_by_name['ListLogFiles']._serialized_options = b'\202\323\344\223\002\017\022\r/ListLogFiles'
34
+ _ADMINAPI.methods_by_name['GetLogFile']._options = None
35
+ _ADMINAPI.methods_by_name['GetLogFile']._serialized_options = b'\202\323\344\223\002\r\022\013/GetLogFile'
36
+ _ADMINAPI.methods_by_name['GetEventLogEntries']._options = None
37
+ _ADMINAPI.methods_by_name['GetEventLogEntries']._serialized_options = b'\202\323\344\223\002\025\022\023/GetEventLogEntries'
38
+ _ADMINAPI.methods_by_name['CaptureSessionScreenshot']._options = None
39
+ _ADMINAPI.methods_by_name['CaptureSessionScreenshot']._serialized_options = b'\202\323\344\223\002\033\022\031/CaptureSessionScreenshot'
40
+ _ADMINAPI.methods_by_name['CaptureSessionScreenshotOnPod']._options = None
41
+ _ADMINAPI.methods_by_name['CaptureSessionScreenshotOnPod']._serialized_options = b'\202\323\344\223\002 \022\036/CaptureSessionScreenshotOnPod'
42
+ _ADMINAPI.methods_by_name['RefreshMrpcRest']._options = None
43
+ _ADMINAPI.methods_by_name['RefreshMrpcRest']._serialized_options = b'\202\323\344\223\002\022\022\020/RefreshMrpcRest'
44
+ _ADMINAPI.methods_by_name['GetVersion']._options = None
45
+ _ADMINAPI.methods_by_name['GetVersion']._serialized_options = b'\202\323\344\223\002\r\022\013/version-tm'
46
+ _ADMINAPI.methods_by_name['GetAllLogs']._options = None
47
+ _ADMINAPI.methods_by_name['GetAllLogs']._serialized_options = b'\202\323\344\223\002\r\022\013/GetAllLogs'
48
+ _ADMINAPI.methods_by_name['GetSessionRestoreLogs']._options = None
49
+ _ADMINAPI.methods_by_name['GetSessionRestoreLogs']._serialized_options = b'\202\323\344\223\002\030\022\026/GetSessionRestoreLogs'
50
+ _ADMINAPI.methods_by_name['GetSessionRestoreStatus']._options = None
51
+ _ADMINAPI.methods_by_name['GetSessionRestoreStatus']._serialized_options = b'\202\323\344\223\002\032\022\030/GetSessionRestoreStatus'
52
+ _ADMINAPI.methods_by_name['KillAllTrialTerminals']._options = None
53
+ _ADMINAPI.methods_by_name['KillAllTrialTerminals']._serialized_options = b'\202\323\344\223\0022\022\026/KillAllTrialTerminalsZ\030\"\026/KillAllTrialTerminals'
54
+ _ADMINAPI.methods_by_name['KillAllTrialTerminalsLocal']._options = None
55
+ _ADMINAPI.methods_by_name['KillAllTrialTerminalsLocal']._serialized_options = b'\202\323\344\223\002<\022\033/KillAllTrialTerminalsLocalZ\035\"\033/KillAllTrialTerminalsLocal'
56
+ _ADMINAPI.methods_by_name['Drain']._options = None
57
+ _ADMINAPI.methods_by_name['Drain']._serialized_options = b'\202\323\344\223\002\013\"\006/Drain:\001*'
58
+ _ADMINAPI.methods_by_name['StopTerminalLocal']._options = None
59
+ _ADMINAPI.methods_by_name['StopTerminalLocal']._serialized_options = b'\202\323\344\223\002\027\"\022/StopTerminalLocal:\001*'
60
+ _ADMINAPI.methods_by_name['SetDedicatedIpEntitlement']._options = None
61
+ _ADMINAPI.methods_by_name['SetDedicatedIpEntitlement']._serialized_options = b'\202\323\344\223\002\037\"\032/SetDedicatedIpEntitlement:\001*'
62
+ _SETDEDICATEDIPENTITLEMENTREQUEST._serialized_start=103
63
+ _SETDEDICATEDIPENTITLEMENTREQUEST._serialized_end=186
64
+ _SETDEDICATEDIPENTITLEMENTREPLY._serialized_start=188
65
+ _SETDEDICATEDIPENTITLEMENTREPLY._serialized_end=270
66
+ _SESSIONRESTOREWATCHERSTATUS._serialized_start=273
67
+ _SESSIONRESTOREWATCHERSTATUS._serialized_end=637
68
+ _GETSESSIONRESTORESTATUSREPLY._serialized_start=639
69
+ _GETSESSIONRESTORESTATUSREPLY._serialized_end=741
70
+ _KILLALLTRIALTERMINALSREPLY._serialized_start=743
71
+ _KILLALLTRIALTERMINALSREPLY._serialized_end=854
72
+ _DRAINREQUEST._serialized_start=856
73
+ _DRAINREQUEST._serialized_end=905
74
+ _DRAINREPLY._serialized_start=907
75
+ _DRAINREPLY._serialized_end=1027
76
+ _STOPTERMINALLOCALREQUEST._serialized_start=1029
77
+ _STOPTERMINALLOCALREQUEST._serialized_end=1137
78
+ _STOPTERMINALLOCALREPLY._serialized_start=1140
79
+ _STOPTERMINALLOCALREPLY._serialized_end=1275
80
+ _GETSESSIONRESTORELOGSREQUEST._serialized_start=1277
81
+ _GETSESSIONRESTORELOGSREQUEST._serialized_end=1360
82
+ _SESSIONRESTORELOGENTRY._serialized_start=1363
83
+ _SESSIONRESTORELOGENTRY._serialized_end=1557
84
+ _GETSESSIONRESTORELOGSREPLY._serialized_start=1559
85
+ _GETSESSIONRESTORELOGSREPLY._serialized_end=1655
86
+ _GETALLLOGSREQUEST._serialized_start=1657
87
+ _GETALLLOGSREQUEST._serialized_end=1750
88
+ _ALLLOGSENTRY._serialized_start=1753
89
+ _ALLLOGSENTRY._serialized_end=1903
90
+ _GETALLLOGSREPLY._serialized_start=1905
91
+ _GETALLLOGSREPLY._serialized_end=1977
92
+ _VERSIONREQUEST._serialized_start=1979
93
+ _VERSIONREQUEST._serialized_end=1995
94
+ _VERSIONREPLY._serialized_start=1998
95
+ _VERSIONREPLY._serialized_end=2283
96
+ _LISTLOGFILESREPLY._serialized_start=2285
97
+ _LISTLOGFILESREPLY._serialized_end=2360
98
+ _LOGFILEENTRY._serialized_start=2362
99
+ _LOGFILEENTRY._serialized_end=2459
100
+ _GETLOGFILEREQUEST._serialized_start=2461
101
+ _GETLOGFILEREQUEST._serialized_end=2537
102
+ _GETLOGFILEREPLY._serialized_start=2539
103
+ _GETLOGFILEREPLY._serialized_end=2633
104
+ _GETEVENTLOGENTRIESREQUEST._serialized_start=2635
105
+ _GETEVENTLOGENTRIESREQUEST._serialized_end=2718
106
+ _GETEVENTLOGENTRIESREPLY._serialized_start=2720
107
+ _GETEVENTLOGENTRIESREPLY._serialized_end=2777
108
+ _CAPTURESESSIONSCREENSHOTREQUEST._serialized_start=2779
109
+ _CAPTURESESSIONSCREENSHOTREQUEST._serialized_end=2858
110
+ _CAPTURESESSIONSCREENSHOTONPODREQUEST._serialized_start=2860
111
+ _CAPTURESESSIONSCREENSHOTONPODREQUEST._serialized_end=2960
112
+ _CAPTURESESSIONSCREENSHOTREPLY._serialized_start=2962
113
+ _CAPTURESESSIONSCREENSHOTREPLY._serialized_end=3027
114
+ _REFRESHMRPCRESTREPLY._serialized_start=3029
115
+ _REFRESHMRPCRESTREPLY._serialized_end=3100
116
+ _USAGESAMPLE._serialized_start=3102
117
+ _USAGESAMPLE._serialized_end=3221
118
+ _SYSTEMUSAGEREPLY._serialized_start=3224
119
+ _SYSTEMUSAGEREPLY._serialized_end=3363
120
+ _ACTIVETERMINALSREQUEST._serialized_start=3365
121
+ _ACTIVETERMINALSREQUEST._serialized_end=3408
122
+ _TERMINALINFO._serialized_start=3411
123
+ _TERMINALINFO._serialized_end=4086
124
+ _ACTIVETERMINALSREPLY._serialized_start=4089
125
+ _ACTIVETERMINALSREPLY._serialized_end=4391
126
+ _PODTERMINALS._serialized_start=4394
127
+ _PODTERMINALS._serialized_end=4724
128
+ _ACTIVETERMINALSCLUSTERREPLY._serialized_start=4726
129
+ _ACTIVETERMINALSCLUSTERREPLY._serialized_end=4795
130
+ _ADMINAPI._serialized_start=4798
131
+ _ADMINAPI._serialized_end=7087
132
+ # @@protoc_insertion_point(module_scope)
@@ -110,6 +110,11 @@ class AdminApiStub(object):
110
110
  request_serializer=mt4__term__api__admin__pb2.StopTerminalLocalRequest.SerializeToString,
111
111
  response_deserializer=mt4__term__api__admin__pb2.StopTerminalLocalReply.FromString,
112
112
  )
113
+ self.SetDedicatedIpEntitlement = channel.unary_unary(
114
+ '/mrpc_admin.AdminApi/SetDedicatedIpEntitlement',
115
+ request_serializer=mt4__term__api__admin__pb2.SetDedicatedIpEntitlementRequest.SerializeToString,
116
+ response_deserializer=mt4__term__api__admin__pb2.SetDedicatedIpEntitlementReply.FromString,
117
+ )
113
118
 
114
119
 
115
120
  class AdminApiServicer(object):
@@ -272,6 +277,14 @@ class AdminApiServicer(object):
272
277
  context.set_details('Method not implemented!')
273
278
  raise NotImplementedError('Method not implemented!')
274
279
 
280
+ def SetDedicatedIpEntitlement(self, request, context):
281
+ """Grants or revokes the dedicated-IP add-on entitlement for ONE terminal (see the mt5 admin proto for the canonical
282
+ definition; this copy exists for the mt4 client libs). ADMIN_KEY required.
283
+ """
284
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
285
+ context.set_details('Method not implemented!')
286
+ raise NotImplementedError('Method not implemented!')
287
+
275
288
 
276
289
  def add_AdminApiServicer_to_server(servicer, server):
277
290
  rpc_method_handlers = {
@@ -360,6 +373,11 @@ def add_AdminApiServicer_to_server(servicer, server):
360
373
  request_deserializer=mt4__term__api__admin__pb2.StopTerminalLocalRequest.FromString,
361
374
  response_serializer=mt4__term__api__admin__pb2.StopTerminalLocalReply.SerializeToString,
362
375
  ),
376
+ 'SetDedicatedIpEntitlement': grpc.unary_unary_rpc_method_handler(
377
+ servicer.SetDedicatedIpEntitlement,
378
+ request_deserializer=mt4__term__api__admin__pb2.SetDedicatedIpEntitlementRequest.FromString,
379
+ response_serializer=mt4__term__api__admin__pb2.SetDedicatedIpEntitlementReply.SerializeToString,
380
+ ),
363
381
  }
364
382
  generic_handler = grpc.method_handlers_generic_handler(
365
383
  'mrpc_admin.AdminApi', rpc_method_handlers)
@@ -669,3 +687,20 @@ class AdminApi(object):
669
687
  mt4__term__api__admin__pb2.StopTerminalLocalReply.FromString,
670
688
  options, channel_credentials,
671
689
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
690
+
691
+ @staticmethod
692
+ def SetDedicatedIpEntitlement(request,
693
+ target,
694
+ options=(),
695
+ channel_credentials=None,
696
+ call_credentials=None,
697
+ insecure=False,
698
+ compression=None,
699
+ wait_for_ready=None,
700
+ timeout=None,
701
+ metadata=None):
702
+ return grpc.experimental.unary_unary(request, target, '/mrpc_admin.AdminApi/SetDedicatedIpEntitlement',
703
+ mt4__term__api__admin__pb2.SetDedicatedIpEntitlementRequest.SerializeToString,
704
+ mt4__term__api__admin__pb2.SetDedicatedIpEntitlementReply.FromString,
705
+ options, channel_credentials,
706
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MetaRpcMT4
3
- Version: 0.0.321
3
+ Version: 0.0.322
4
4
  Summary: MetaRPC MT4 gRPC Python client
5
5
  Author-email: MetaRPC <admin@mrpc.pro>
6
6
  Requires-Python: >=3.8
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MetaRpcMT4
3
- Version: 0.0.321
3
+ Version: 0.0.322
4
4
  Summary: MetaRPC MT4 gRPC Python client
5
5
  Author-email: MetaRPC <admin@mrpc.pro>
6
6
  Requires-Python: >=3.8
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "MetaRpcMT4"
7
- version = "0.0.321"
7
+ version = "0.0.322"
8
8
  description = "MetaRPC MT4 gRPC Python client"
9
9
  authors = [{ name = "MetaRPC", email = "admin@mrpc.pro" }]
10
10
  readme = "README.md"
@@ -1,126 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: mt4-term-api-admin.proto
4
- """Generated protocol buffer code."""
5
- from google.protobuf.internal import builder as _builder
6
- from google.protobuf import descriptor as _descriptor
7
- from google.protobuf import descriptor_pool as _descriptor_pool
8
- from google.protobuf import symbol_database as _symbol_database
9
- # @@protoc_insertion_point(imports)
10
-
11
- _sym_db = _symbol_database.Default()
12
-
13
-
14
- from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
15
- from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
16
-
17
-
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18mt4-term-api-admin.proto\x12\nmrpc_admin\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xec\x02\n\x1bSessionRestoreWatcherStatus\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\r\n\x05state\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x18\n\x10total_candidates\x18\x04 \x01(\x05\x12\x17\n\x0f\x64istinct_tokens\x18\x05 \x01(\x05\x12\x16\n\x0e\x61lready_loaded\x18\x06 \x01(\x05\x12\x10\n\x08in_queue\x18\x07 \x01(\x05\x12\x13\n\x0bin_progress\x18\x08 \x01(\x05\x12\x18\n\x10restored_success\x18\t \x01(\x05\x12\x17\n\x0frestored_failed\x18\n \x01(\x05\x12 \n\x18last_reconcile_start_utc\x18\x0b \x01(\t\x12\x1e\n\x16last_reconcile_end_utc\x18\x0c \x01(\t\x12\"\n\x1alast_reconcile_duration_ms\x18\r \x01(\x01\x12\x12\n\nlast_error\x18\x0e \x01(\t\"f\n\x1cGetSessionRestoreStatusReply\x12\x37\n\x06status\x18\x01 \x01(\x0b\x32\'.mrpc_admin.SessionRestoreWatcherStatus\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"o\n\x1aKillAllTrialTerminalsReply\x12\x14\n\x0ckilled_count\x18\x01 \x01(\x05\x12\x1b\n\x13killed_terminal_ids\x18\x02 \x03(\t\x12\x0f\n\x07message\x18\x03 \x01(\t\x12\r\n\x05\x65rror\x18\x04 \x01(\t\"1\n\x0c\x44rainRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\"x\n\nDrainReply\x12\x10\n\x08\x64raining\x18\x01 \x01(\x08\x12\x18\n\x10\x61lready_draining\x18\x02 \x01(\x08\x12\x0b\n\x03pod\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x12\n\nstarted_at\x18\x05 \x01(\t\x12\r\n\x05\x65rror\x18\x06 \x01(\t\"l\n\x18StopTerminalLocalRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\r\n\x05\x63\x61use\x18\x03 \x01(\t\x12\x0e\n\x06\x64\x65tail\x18\x04 \x01(\t\x12\x12\n\nintent_utc\x18\x05 \x01(\t\"\x87\x01\n\x16StopTerminalLocalReply\x12\x0f\n\x07stopped\x18\x01 \x01(\x08\x12\x0f\n\x07present\x18\x02 \x01(\x08\x12\x0b\n\x03pod\x18\x03 \x01(\t\x12\r\n\x05\x65rror\x18\x04 \x01(\t\x12\x1e\n\x16\x66ull_life_time_seconds\x18\x05 \x01(\x03\x12\x0f\n\x07skipped\x18\x06 \x01(\t\"S\n\x1cGetSessionRestoreLogsRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\x12\x0b\n\x03pod\x18\x02 \x01(\t\x12\x13\n\x0blatest_only\x18\x03 \x01(\x08\"\xc2\x01\n\x16SessionRestoreLogEntry\x12\x10\n\x08token_id\x18\x01 \x01(\t\x12\x10\n\x08platform\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\r\n\x05owner\x18\x04 \x01(\t\x12\x0c\n\x04user\x18\x05 \x01(\t\x12\x0e\n\x06target\x18\x06 \x01(\t\x12\x0f\n\x07success\x18\x07 \x01(\x08\x12\r\n\x05\x65rror\x18\x08 \x01(\t\x12\x12\n\nelapsed_ms\x18\t \x01(\x01\x12\x13\n\x0b\x63reated_utc\x18\n \x01(\t\"`\n\x1aGetSessionRestoreLogsReply\x12\x33\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\".mrpc_admin.SessionRestoreLogEntry\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"]\n\x11GetAllLogsRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\x12\x19\n\x11max_bytes_per_log\x18\x02 \x01(\x03\x12\x1a\n\x12\x65xclude_event_logs\x18\x03 \x01(\x08\"\x96\x01\n\x0c\x41llLogsEntry\x12\x0e\n\x06source\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\t\x12\x12\n\nsize_bytes\x18\x04 \x01(\x03\x12\x13\n\x0bmodified_at\x18\x05 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x06 \x01(\t\x12\x11\n\ttruncated\x18\x07 \x01(\x08\x12\r\n\x05\x65rror\x18\x08 \x01(\t\"H\n\x0fGetAllLogsReply\x12&\n\x04logs\x18\x01 \x03(\x0b\x32\x18.mrpc_admin.AllLogsEntry\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"\x10\n\x0eVersionRequest\"\x9d\x02\n\x0cVersionReply\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x16\n\x0e\x62uild_time_utc\x18\x03 \x01(\t\x12\x0c\n\x04mode\x18\x04 \x01(\t\x12\x18\n\x10session_creation\x18\x05 \x01(\t\x12-\n%session_creation_consecutive_failures\x18\x06 \x01(\r\x12#\n\x1bsession_creation_last_error\x18\x07 \x01(\t\x12)\n!session_creation_last_success_utc\x18\x08 \x01(\t\x12,\n$session_creation_unhealthy_since_utc\x18\t \x01(\t\"K\n\x11ListLogFilesReply\x12\'\n\x05\x66iles\x18\x01 \x03(\x0b\x32\x18.mrpc_admin.LogFileEntry\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"a\n\x0cLogFileEntry\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nsize_bytes\x18\x02 \x01(\x03\x12/\n\x0bmodified_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"L\n\x11GetLogFileRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\x12\x11\n\tfile_name\x18\x02 \x01(\t\x12\x11\n\tmax_bytes\x18\x03 \x01(\x03\"^\n\x0fGetLogFileReply\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x11\n\ttruncated\x18\x02 \x01(\x08\x12\x18\n\x10total_size_bytes\x18\x03 \x01(\x03\x12\r\n\x05\x65rror\x18\x04 \x01(\t\"S\n\x19GetEventLogEntriesRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\x12\x10\n\x08log_name\x18\x02 \x01(\t\x12\x11\n\tmax_count\x18\x03 \x01(\x05\"9\n\x17GetEventLogEntriesReply\x12\x0f\n\x07\x65ntries\x18\x01 \x03(\t\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"O\n\x1f\x43\x61ptureSessionScreenshotRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\x12\x19\n\x11session_user_name\x18\x02 \x01(\t\"d\n$CaptureSessionScreenshotOnPodRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\x12\x0e\n\x06pod_ip\x18\x02 \x01(\t\x12\x19\n\x11session_user_name\x18\x03 \x01(\t\"A\n\x1d\x43\x61ptureSessionScreenshotReply\x12\x11\n\timage_png\x18\x01 \x01(\x0c\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"G\n\x14RefreshMrpcRestReply\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\r\n\x05\x65rror\x18\x03 \x01(\t\"w\n\x0bUsageSample\x12(\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x63pu_percent\x18\x02 \x01(\x01\x12\x13\n\x0bram_used_mb\x18\x03 \x01(\x04\x12\x14\n\x0cram_total_mb\x18\x04 \x01(\x04\"\x8b\x01\n\x10SystemUsageReply\x12\x13\n\x0b\x63pu_percent\x18\x01 \x01(\x01\x12\x13\n\x0bram_used_mb\x18\x02 \x01(\x04\x12\x14\n\x0cram_total_mb\x18\x03 \x01(\x04\x12(\n\x07history\x18\x04 \x03(\x0b\x32\x17.mrpc_admin.UsageSample\x12\r\n\x05\x65rror\x18\x05 \x01(\t\"+\n\x16\x41\x63tiveTerminalsRequest\x12\x11\n\tadmin_key\x18\x01 \x01(\t\"\xa3\x05\n\x0cTerminalInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0buser_number\x18\x02 \x01(\r\x12\x14\n\x0cwindows_user\x18\x03 \x01(\t\x12\x0f\n\x07\x61\x63\x63ount\x18\x04 \x01(\x04\x12\x0e\n\x06server\x18\x05 \x01(\t\x12\x0c\n\x04port\x18\x06 \x01(\r\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10windows_password\x18\x08 \x01(\t\x12\x11\n\x04name\x18\t \x01(\tH\x00\x88\x01\x01\x12\r\n\x05state\x18\n \x01(\t\x12\x15\n\rerror_message\x18\x0b \x01(\t\x12\x17\n\nuser_email\x18\x0c \x01(\tH\x01\x88\x01\x01\x12%\n\x18startup_duration_seconds\x18\r \x01(\x01H\x02\x88\x01\x01\x12\x35\n\x0c\x63onnected_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03\x88\x01\x01\x12\x19\n\x0cstartup_time\x18\x0f \x01(\tH\x04\x88\x01\x01\x12\x46\n\x1d\x62roker_disconnected_since_utc\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05\x88\x01\x01\x12\x1d\n\x15trade_failures_recent\x18\x11 \x01(\r\x12\x1c\n\x14trade_failures_total\x18\x12 \x01(\x04\x12\x1a\n\x12last_trade_failure\x18\x13 \x01(\tB\x07\n\x05_nameB\r\n\x0b_user_emailB\x1b\n\x19_startup_duration_secondsB\x0f\n\r_connected_atB\x0f\n\r_startup_timeB \n\x1e_broker_disconnected_since_utc\"\xae\x02\n\x14\x41\x63tiveTerminalsReply\x12\x0b\n\x03pod\x18\x01 \x01(\t\x12\x0c\n\x04node\x18\x02 \x01(\t\x12\x0e\n\x06pod_ip\x18\x03 \x01(\t\x12+\n\tterminals\x18\x04 \x03(\x0b\x32\x18.mrpc_admin.TerminalInfo\x12\r\n\x05\x65rror\x18\x05 \x01(\t\x12\x13\n\x0b\x63pu_percent\x18\x06 \x01(\x01\x12\x13\n\x0bram_used_mb\x18\x07 \x01(\x04\x12\x14\n\x0cram_total_mb\x18\x08 \x01(\x04\x12.\n\rusage_history\x18\t \x03(\x0b\x32\x17.mrpc_admin.UsageSample\x12?\n\x0erestore_status\x18\n \x01(\x0b\x32\'.mrpc_admin.SessionRestoreWatcherStatus\"\xca\x02\n\x0cPodTerminals\x12\x0b\n\x03pod\x18\x01 \x01(\t\x12\x0c\n\x04node\x18\x02 \x01(\t\x12\x0e\n\x06pod_ip\x18\x03 \x01(\t\x12\x11\n\tnovnc_url\x18\x04 \x01(\t\x12+\n\tterminals\x18\x05 \x03(\x0b\x32\x18.mrpc_admin.TerminalInfo\x12\r\n\x05\x65rror\x18\x06 \x01(\t\x12\x0f\n\x07host_ip\x18\x07 \x01(\t\x12\x13\n\x0b\x63pu_percent\x18\x08 \x01(\x01\x12\x13\n\x0bram_used_mb\x18\t \x01(\x04\x12\x14\n\x0cram_total_mb\x18\n \x01(\x04\x12.\n\rusage_history\x18\x0b \x03(\x0b\x32\x17.mrpc_admin.UsageSample\x12?\n\x0erestore_status\x18\x0c \x01(\x0b\x32\'.mrpc_admin.SessionRestoreWatcherStatus\"E\n\x1b\x41\x63tiveTerminalsClusterReply\x12&\n\x04pods\x18\x01 \x03(\x0b\x32\x18.mrpc_admin.PodTerminals2\xd2\x10\n\x08\x41\x64minApi\x12q\n\x0f\x41\x63tiveTerminals\x12\".mrpc_admin.ActiveTerminalsRequest\x1a .mrpc_admin.ActiveTerminalsReply\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/ActiveTerminals\x12\x86\x01\n\x16\x41\x63tiveTerminalsCluster\x12\".mrpc_admin.ActiveTerminalsRequest\x1a\'.mrpc_admin.ActiveTerminalsClusterReply\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/ActiveTerminalsCluster\x12\x65\n\x0bSystemUsage\x12\".mrpc_admin.ActiveTerminalsRequest\x1a\x1c.mrpc_admin.SystemUsageReply\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/SystemUsage\x12h\n\x0cListLogFiles\x12\".mrpc_admin.ActiveTerminalsRequest\x1a\x1d.mrpc_admin.ListLogFilesReply\"\x15\x82\xd3\xe4\x93\x02\x0f\x12\r/ListLogFiles\x12]\n\nGetLogFile\x12\x1d.mrpc_admin.GetLogFileRequest\x1a\x1b.mrpc_admin.GetLogFileReply\"\x13\x82\xd3\xe4\x93\x02\r\x12\x0b/GetLogFile\x12}\n\x12GetEventLogEntries\x12%.mrpc_admin.GetEventLogEntriesRequest\x1a#.mrpc_admin.GetEventLogEntriesReply\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/GetEventLogEntries\x12\x95\x01\n\x18\x43\x61ptureSessionScreenshot\x12+.mrpc_admin.CaptureSessionScreenshotRequest\x1a).mrpc_admin.CaptureSessionScreenshotReply\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/CaptureSessionScreenshot\x12\xa4\x01\n\x1d\x43\x61ptureSessionScreenshotOnPod\x12\x30.mrpc_admin.CaptureSessionScreenshotOnPodRequest\x1a).mrpc_admin.CaptureSessionScreenshotReply\"&\x82\xd3\xe4\x93\x02 \x12\x1e/CaptureSessionScreenshotOnPod\x12q\n\x0fRefreshMrpcRest\x12\".mrpc_admin.ActiveTerminalsRequest\x1a .mrpc_admin.RefreshMrpcRestReply\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/RefreshMrpcRest\x12W\n\nGetVersion\x12\x1a.mrpc_admin.VersionRequest\x1a\x18.mrpc_admin.VersionReply\"\x13\x82\xd3\xe4\x93\x02\r\x12\x0b/version-tm\x12]\n\nGetAllLogs\x12\x1d.mrpc_admin.GetAllLogsRequest\x1a\x1b.mrpc_admin.GetAllLogsReply\"\x13\x82\xd3\xe4\x93\x02\r\x12\x0b/GetAllLogs\x12\x89\x01\n\x15GetSessionRestoreLogs\x12(.mrpc_admin.GetSessionRestoreLogsRequest\x1a&.mrpc_admin.GetSessionRestoreLogsReply\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/GetSessionRestoreLogs\x12\x89\x01\n\x17GetSessionRestoreStatus\x12\".mrpc_admin.ActiveTerminalsRequest\x1a(.mrpc_admin.GetSessionRestoreStatusReply\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/GetSessionRestoreStatus\x12\x9d\x01\n\x15KillAllTrialTerminals\x12\".mrpc_admin.ActiveTerminalsRequest\x1a&.mrpc_admin.KillAllTrialTerminalsReply\"8\x82\xd3\xe4\x93\x02\x32\x12\x16/KillAllTrialTerminalsZ\x18\"\x16/KillAllTrialTerminals\x12\xac\x01\n\x1aKillAllTrialTerminalsLocal\x12\".mrpc_admin.ActiveTerminalsRequest\x1a&.mrpc_admin.KillAllTrialTerminalsReply\"B\x82\xd3\xe4\x93\x02<\x12\x1b/KillAllTrialTerminalsLocalZ\x1d\"\x1b/KillAllTrialTerminalsLocal\x12L\n\x05\x44rain\x12\x18.mrpc_admin.DrainRequest\x1a\x16.mrpc_admin.DrainReply\"\x11\x82\xd3\xe4\x93\x02\x0b\"\x06/Drain:\x01*\x12|\n\x11StopTerminalLocal\x12$.mrpc_admin.StopTerminalLocalRequest\x1a\".mrpc_admin.StopTerminalLocalReply\"\x1d\x82\xd3\xe4\x93\x02\x17\"\x12/StopTerminalLocal:\x01*B@Z1git.mtapi.io/root/mrpc-proto.git/mt4/libraries/go\xaa\x02\nmrpc_adminb\x06proto3')
19
-
20
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mt4_term_api_admin_pb2', globals())
22
- if _descriptor._USE_C_DESCRIPTORS == False:
23
-
24
- DESCRIPTOR._options = None
25
- DESCRIPTOR._serialized_options = b'Z1git.mtapi.io/root/mrpc-proto.git/mt4/libraries/go\252\002\nmrpc_admin'
26
- _ADMINAPI.methods_by_name['ActiveTerminals']._options = None
27
- _ADMINAPI.methods_by_name['ActiveTerminals']._serialized_options = b'\202\323\344\223\002\022\022\020/ActiveTerminals'
28
- _ADMINAPI.methods_by_name['ActiveTerminalsCluster']._options = None
29
- _ADMINAPI.methods_by_name['ActiveTerminalsCluster']._serialized_options = b'\202\323\344\223\002\031\022\027/ActiveTerminalsCluster'
30
- _ADMINAPI.methods_by_name['SystemUsage']._options = None
31
- _ADMINAPI.methods_by_name['SystemUsage']._serialized_options = b'\202\323\344\223\002\016\022\014/SystemUsage'
32
- _ADMINAPI.methods_by_name['ListLogFiles']._options = None
33
- _ADMINAPI.methods_by_name['ListLogFiles']._serialized_options = b'\202\323\344\223\002\017\022\r/ListLogFiles'
34
- _ADMINAPI.methods_by_name['GetLogFile']._options = None
35
- _ADMINAPI.methods_by_name['GetLogFile']._serialized_options = b'\202\323\344\223\002\r\022\013/GetLogFile'
36
- _ADMINAPI.methods_by_name['GetEventLogEntries']._options = None
37
- _ADMINAPI.methods_by_name['GetEventLogEntries']._serialized_options = b'\202\323\344\223\002\025\022\023/GetEventLogEntries'
38
- _ADMINAPI.methods_by_name['CaptureSessionScreenshot']._options = None
39
- _ADMINAPI.methods_by_name['CaptureSessionScreenshot']._serialized_options = b'\202\323\344\223\002\033\022\031/CaptureSessionScreenshot'
40
- _ADMINAPI.methods_by_name['CaptureSessionScreenshotOnPod']._options = None
41
- _ADMINAPI.methods_by_name['CaptureSessionScreenshotOnPod']._serialized_options = b'\202\323\344\223\002 \022\036/CaptureSessionScreenshotOnPod'
42
- _ADMINAPI.methods_by_name['RefreshMrpcRest']._options = None
43
- _ADMINAPI.methods_by_name['RefreshMrpcRest']._serialized_options = b'\202\323\344\223\002\022\022\020/RefreshMrpcRest'
44
- _ADMINAPI.methods_by_name['GetVersion']._options = None
45
- _ADMINAPI.methods_by_name['GetVersion']._serialized_options = b'\202\323\344\223\002\r\022\013/version-tm'
46
- _ADMINAPI.methods_by_name['GetAllLogs']._options = None
47
- _ADMINAPI.methods_by_name['GetAllLogs']._serialized_options = b'\202\323\344\223\002\r\022\013/GetAllLogs'
48
- _ADMINAPI.methods_by_name['GetSessionRestoreLogs']._options = None
49
- _ADMINAPI.methods_by_name['GetSessionRestoreLogs']._serialized_options = b'\202\323\344\223\002\030\022\026/GetSessionRestoreLogs'
50
- _ADMINAPI.methods_by_name['GetSessionRestoreStatus']._options = None
51
- _ADMINAPI.methods_by_name['GetSessionRestoreStatus']._serialized_options = b'\202\323\344\223\002\032\022\030/GetSessionRestoreStatus'
52
- _ADMINAPI.methods_by_name['KillAllTrialTerminals']._options = None
53
- _ADMINAPI.methods_by_name['KillAllTrialTerminals']._serialized_options = b'\202\323\344\223\0022\022\026/KillAllTrialTerminalsZ\030\"\026/KillAllTrialTerminals'
54
- _ADMINAPI.methods_by_name['KillAllTrialTerminalsLocal']._options = None
55
- _ADMINAPI.methods_by_name['KillAllTrialTerminalsLocal']._serialized_options = b'\202\323\344\223\002<\022\033/KillAllTrialTerminalsLocalZ\035\"\033/KillAllTrialTerminalsLocal'
56
- _ADMINAPI.methods_by_name['Drain']._options = None
57
- _ADMINAPI.methods_by_name['Drain']._serialized_options = b'\202\323\344\223\002\013\"\006/Drain:\001*'
58
- _ADMINAPI.methods_by_name['StopTerminalLocal']._options = None
59
- _ADMINAPI.methods_by_name['StopTerminalLocal']._serialized_options = b'\202\323\344\223\002\027\"\022/StopTerminalLocal:\001*'
60
- _SESSIONRESTOREWATCHERSTATUS._serialized_start=104
61
- _SESSIONRESTOREWATCHERSTATUS._serialized_end=468
62
- _GETSESSIONRESTORESTATUSREPLY._serialized_start=470
63
- _GETSESSIONRESTORESTATUSREPLY._serialized_end=572
64
- _KILLALLTRIALTERMINALSREPLY._serialized_start=574
65
- _KILLALLTRIALTERMINALSREPLY._serialized_end=685
66
- _DRAINREQUEST._serialized_start=687
67
- _DRAINREQUEST._serialized_end=736
68
- _DRAINREPLY._serialized_start=738
69
- _DRAINREPLY._serialized_end=858
70
- _STOPTERMINALLOCALREQUEST._serialized_start=860
71
- _STOPTERMINALLOCALREQUEST._serialized_end=968
72
- _STOPTERMINALLOCALREPLY._serialized_start=971
73
- _STOPTERMINALLOCALREPLY._serialized_end=1106
74
- _GETSESSIONRESTORELOGSREQUEST._serialized_start=1108
75
- _GETSESSIONRESTORELOGSREQUEST._serialized_end=1191
76
- _SESSIONRESTORELOGENTRY._serialized_start=1194
77
- _SESSIONRESTORELOGENTRY._serialized_end=1388
78
- _GETSESSIONRESTORELOGSREPLY._serialized_start=1390
79
- _GETSESSIONRESTORELOGSREPLY._serialized_end=1486
80
- _GETALLLOGSREQUEST._serialized_start=1488
81
- _GETALLLOGSREQUEST._serialized_end=1581
82
- _ALLLOGSENTRY._serialized_start=1584
83
- _ALLLOGSENTRY._serialized_end=1734
84
- _GETALLLOGSREPLY._serialized_start=1736
85
- _GETALLLOGSREPLY._serialized_end=1808
86
- _VERSIONREQUEST._serialized_start=1810
87
- _VERSIONREQUEST._serialized_end=1826
88
- _VERSIONREPLY._serialized_start=1829
89
- _VERSIONREPLY._serialized_end=2114
90
- _LISTLOGFILESREPLY._serialized_start=2116
91
- _LISTLOGFILESREPLY._serialized_end=2191
92
- _LOGFILEENTRY._serialized_start=2193
93
- _LOGFILEENTRY._serialized_end=2290
94
- _GETLOGFILEREQUEST._serialized_start=2292
95
- _GETLOGFILEREQUEST._serialized_end=2368
96
- _GETLOGFILEREPLY._serialized_start=2370
97
- _GETLOGFILEREPLY._serialized_end=2464
98
- _GETEVENTLOGENTRIESREQUEST._serialized_start=2466
99
- _GETEVENTLOGENTRIESREQUEST._serialized_end=2549
100
- _GETEVENTLOGENTRIESREPLY._serialized_start=2551
101
- _GETEVENTLOGENTRIESREPLY._serialized_end=2608
102
- _CAPTURESESSIONSCREENSHOTREQUEST._serialized_start=2610
103
- _CAPTURESESSIONSCREENSHOTREQUEST._serialized_end=2689
104
- _CAPTURESESSIONSCREENSHOTONPODREQUEST._serialized_start=2691
105
- _CAPTURESESSIONSCREENSHOTONPODREQUEST._serialized_end=2791
106
- _CAPTURESESSIONSCREENSHOTREPLY._serialized_start=2793
107
- _CAPTURESESSIONSCREENSHOTREPLY._serialized_end=2858
108
- _REFRESHMRPCRESTREPLY._serialized_start=2860
109
- _REFRESHMRPCRESTREPLY._serialized_end=2931
110
- _USAGESAMPLE._serialized_start=2933
111
- _USAGESAMPLE._serialized_end=3052
112
- _SYSTEMUSAGEREPLY._serialized_start=3055
113
- _SYSTEMUSAGEREPLY._serialized_end=3194
114
- _ACTIVETERMINALSREQUEST._serialized_start=3196
115
- _ACTIVETERMINALSREQUEST._serialized_end=3239
116
- _TERMINALINFO._serialized_start=3242
117
- _TERMINALINFO._serialized_end=3917
118
- _ACTIVETERMINALSREPLY._serialized_start=3920
119
- _ACTIVETERMINALSREPLY._serialized_end=4222
120
- _PODTERMINALS._serialized_start=4225
121
- _PODTERMINALS._serialized_end=4555
122
- _ACTIVETERMINALSCLUSTERREPLY._serialized_start=4557
123
- _ACTIVETERMINALSCLUSTERREPLY._serialized_end=4626
124
- _ADMINAPI._serialized_start=4629
125
- _ADMINAPI._serialized_end=6759
126
- # @@protoc_insertion_point(module_scope)
File without changes
File without changes