ensemble-client 1__tar.gz → 2.0.0__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.
- {ensemble_client-1 → ensemble_client-2.0.0}/PKG-INFO +1 -1
- ensemble_client-2.0.0/ensemble/_proto/ensemble_pb2.py +197 -0
- {ensemble_client-1 → ensemble_client-2.0.0}/ensemble/_proto/ensemble_pb2_grpc.py +92 -0
- {ensemble_client-1 → ensemble_client-2.0.0}/ensemble/client.py +6 -3
- {ensemble_client-1 → ensemble_client-2.0.0}/pyproject.toml +1 -1
- ensemble_client-1/ensemble/_proto/ensemble_pb2.py +0 -187
- {ensemble_client-1 → ensemble_client-2.0.0}/.gitignore +0 -0
- {ensemble_client-1 → ensemble_client-2.0.0}/README.md +0 -0
- {ensemble_client-1 → ensemble_client-2.0.0}/ensemble/__init__.py +0 -0
- {ensemble_client-1 → ensemble_client-2.0.0}/ensemble/_proto/__init__.py +0 -0
- {ensemble_client-1 → ensemble_client-2.0.0}/ensemble/auth.py +0 -0
- {ensemble_client-1 → ensemble_client-2.0.0}/ensemble/errors.py +0 -0
- {ensemble_client-1 → ensemble_client-2.0.0}/ensemble/events.py +0 -0
- {ensemble_client-1 → ensemble_client-2.0.0}/ensemble/node_events.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ensemble-client
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: Python client for the Ensemble peer-to-peer messaging daemon.
|
|
5
5
|
Project-URL: Homepage, https://github.com/boxsie/ensemble
|
|
6
6
|
Project-URL: Repository, https://github.com/boxsie/ensemble.git
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: ensemble.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.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
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'ensemble.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0e\x65nsemble.proto\x12\x0c\x65nsemble.api\"\x14\n\x12GetIdentityRequest\":\n\x13GetIdentityResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x12\n\npublic_key\x18\x02 \x01(\x0c\"\x12\n\x10GetStatusRequest\"r\n\x11GetStatusResponse\x12\x11\n\ttor_state\x18\x01 \x01(\t\x12\x12\n\npeer_count\x18\x02 \x01(\x05\x12\x12\n\nonion_addr\x18\x03 \x01(\t\x12\x11\n\tuptime_ms\x18\x04 \x01(\x03\x12\x0f\n\x07rt_size\x18\x05 \x01(\x05\"\x15\n\x13ListContactsRequest\"C\n\x14ListContactsResponse\x12+\n\x08\x63ontacts\x18\x01 \x03(\x0b\x32\x19.ensemble.api.ContactInfo\"\x8d\x01\n\x0b\x43ontactInfo\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\x12\n\npublic_key\x18\x03 \x01(\x0c\x12\x15\n\ronion_address\x18\x04 \x01(\t\x12\x10\n\x08\x61\x64\x64\x65\x64_at\x18\x05 \x01(\x03\x12\x11\n\tlast_seen\x18\x06 \x01(\x03\x12\x0e\n\x06online\x18\x07 \x01(\x08\"G\n\x11\x41\x64\x64\x43ontactRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\x12\n\npublic_key\x18\x03 \x01(\x0c\"\x14\n\x12\x41\x64\x64\x43ontactResponse\"\'\n\x14RemoveContactRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\x17\n\x15RemoveContactResponse\"!\n\x0e\x43onnectRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"4\n\x0f\x43onnectResponse\x12\x10\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x08\x12\x0f\n\x07message\x18\x02 \x01(\t\"*\n\x17\x41\x63\x63\x65ptConnectionRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\x1a\n\x18\x41\x63\x63\x65ptConnectionResponse\"*\n\x17RejectConnectionRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\x1a\n\x18RejectConnectionResponse\"\x12\n\x10ListPeersRequest\";\n\x11ListPeersResponse\x12&\n\x05peers\x18\x01 \x03(\x0b\x32\x17.ensemble.api.PeerEntry\"Y\n\tPeerEntry\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\r\n\x05saved\x18\x03 \x01(\x08\x12\r\n\x05state\x18\x04 \x01(\t\x12\x0e\n\x06online\x18\x05 \x01(\x08\"$\n\x11\x44isconnectRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\x14\n\x12\x44isconnectResponse\"3\n\x12SendMessageRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\")\n\x13SendMessageResponse\x12\x12\n\nmessage_id\x18\x01 \x01(\t\"7\n\x15GetChatHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x05\"\x87\x01\n\x0b\x43hatMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfrom_addr\x18\x02 \x01(\t\x12\x0f\n\x07to_addr\x18\x03 \x01(\t\x12\x0c\n\x04text\x18\x04 \x01(\t\x12\x12\n\nsent_at_ms\x18\x05 \x01(\x03\x12\x13\n\x0b\x61\x63ked_at_ms\x18\x06 \x01(\x03\x12\x11\n\tdirection\x18\x07 \x01(\t\"E\n\x16GetChatHistoryResponse\x12+\n\x08messages\x18\x01 \x03(\x0b\x32\x19.ensemble.api.ChatMessage\"?\n\x18\x44\x65leteChatMessageRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x12\n\nmessage_id\x18\x02 \x01(\t\",\n\x19\x44\x65leteChatMessageResponse\x12\x0f\n\x07\x64\x65leted\x18\x01 \x01(\x08\"*\n\x17\x43learChatHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\x1a\n\x18\x43learChatHistoryResponse\"5\n\x0fSendFileRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x11\n\tfile_path\x18\x02 \x01(\t\"\x94\x01\n\x10TransferProgress\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x10\n\x08\x66ilename\x18\x02 \x01(\t\x12\x13\n\x0btotal_bytes\x18\x03 \x01(\x04\x12\x12\n\nsent_bytes\x18\x04 \x01(\x04\x12\x0f\n\x07percent\x18\x05 \x01(\x02\x12\x10\n\x08\x63omplete\x18\x06 \x01(\x08\x12\r\n\x05\x65rror\x18\x07 \x01(\t\";\n\x11\x41\x63\x63\x65ptFileRequest\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x11\n\tsave_path\x18\x02 \x01(\t\"\x14\n\x12\x41\x63\x63\x65ptFileResponse\"(\n\x11RejectFileRequest\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\"\x14\n\x12RejectFileResponse\",\n\x15\x43\x61ncelTransferRequest\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\"\x18\n\x16\x43\x61ncelTransferResponse\"\'\n\x0e\x41\x64\x64NodeRequest\x12\x15\n\ronion_address\x18\x01 \x01(\t\"&\n\x0f\x41\x64\x64NodeResponse\x12\x13\n\x0bpeers_found\x18\x01 \x01(\x05\"\x15\n\x13GetDebugInfoRequest\"\xc5\x01\n\x14GetDebugInfoResponse\x12\x0f\n\x07rt_size\x18\x01 \x01(\x05\x12\'\n\x08rt_peers\x18\x02 \x03(\x0b\x32\x15.ensemble.api.DHTNode\x12,\n\x0b\x63onnections\x18\x03 \x03(\x0b\x32\x17.ensemble.api.PeerState\x12\x12\n\nonion_addr\x18\x04 \x01(\t\x12\x31\n\x08services\x18\x05 \x03(\x0b\x32\x1f.ensemble.api.RegisteredService\"F\n\x11RegisteredService\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x12\n\nonion_addr\x18\x03 \x01(\t\"$\n\x14\x44\x65leteServiceRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"+\n\x15RotateAdminKeyRequest\x12\x12\n\npublic_key\x18\x01 \x01(\x0c\"\x18\n\x16RotateAdminKeyResponse\"\x17\n\x15\x44\x65leteServiceResponse\"A\n\x07\x44HTNode\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x12\n\nonion_addr\x18\x02 \x01(\t\x12\x11\n\tlast_seen\x18\x03 \x01(\x03\":\n\tPeerState\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05state\x18\x02 \x01(\t\x12\r\n\x05\x65rror\x18\x03 \x01(\t\"\x12\n\x10SubscribeRequest\",\n\x0b\x44\x61\x65monEvent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07payload\x18\x02 \x01(\t\"\xa2\x04\n\x14ServiceClientMessage\x12\x31\n\x08manifest\x18\x01 \x01(\x0b\x32\x1d.ensemble.api.ServiceManifestH\x00\x12\x38\n\x0csend_message\x18\x02 \x01(\x0b\x32 .ensemble.api.ServiceSendMessageH\x00\x12\x37\n\x06\x61\x63\x63\x65pt\x18\x03 \x01(\x0b\x32%.ensemble.api.ServiceAcceptConnectionH\x00\x12\x37\n\x06reject\x18\x04 \x01(\x0b\x32%.ensemble.api.ServiceRejectConnectionH\x00\x12<\n\x0eintroduce_peer\x18\x05 \x01(\x0b\x32\".ensemble.api.ServiceIntroducePeerH\x00\x12\x38\n\x0c\x63onnect_peer\x18\x06 \x01(\x0b\x32 .ensemble.api.ServiceConnectPeerH\x00\x12\x36\n\x0b\x61\x63\x63\x65pt_file\x18\x07 \x01(\x0b\x32\x1f.ensemble.api.ServiceAcceptFileH\x00\x12\x36\n\x0breject_file\x18\x08 \x01(\x0b\x32\x1f.ensemble.api.ServiceRejectFileH\x00\x12<\n\x0e\x63ommand_result\x18\t \x01(\x0b\x32\".ensemble.api.ServiceCommandResultH\x00\x42\x05\n\x03msg\"\xae\x01\n\x14ServiceServerMessage\x12\x35\n\nregistered\x18\x01 \x01(\x0b\x32\x1f.ensemble.api.ServiceRegisteredH\x00\x12+\n\x05\x65vent\x18\x02 \x01(\x0b\x32\x1a.ensemble.api.ServiceEventH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.ensemble.api.ServiceErrorH\x00\x42\x05\n\x03msg\"?\n\x0b\x43ommandSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\r\n\x05usage\x18\x03 \x01(\t\"\xf9\x02\n\x0fServiceManifest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1e\n\x03\x61\x63l\x18\x03 \x01(\x0e\x32\x11.ensemble.api.ACL\x12\x11\n\tallowlist\x18\x04 \x03(\t\x12\x14\n\x0ckeypair_seed\x18\x05 \x01(\x0c\x12\x31\n\ttransport\x18\x06 \x01(\x0e\x32\x1e.ensemble.api.ServiceTransport\x12\x19\n\x11max_payload_bytes\x18\x07 \x01(\x03\x12\x31\n\nrate_limit\x18\x08 \x01(\x0b\x32\x1d.ensemble.api.RateLimitPolicy\x12\x1b\n\x13\x64\x65\x63ides_connections\x18\t \x01(\x08\x12\x15\n\rhandles_files\x18\n \x01(\x08\x12+\n\x08\x63ommands\x18\x0b \x03(\x0b\x32\x19.ensemble.api.CommandSpec\x12\x18\n\x10handles_commands\x18\x0c \x01(\x08\"=\n\x0fRateLimitPolicy\x12\x1b\n\x13requests_per_minute\x18\x01 \x01(\x05\x12\r\n\x05\x62urst\x18\x02 \x01(\x05\"f\n\x11ServiceRegistered\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05onion\x18\x02 \x01(\t\x12\x31\n\ttransport\x18\x03 \x01(\x0e\x32\x1e.ensemble.api.ServiceTransport\"-\n\x0cServiceEvent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\"F\n\x17ServiceChatMessageEvent\x12\x11\n\tfrom_addr\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\x12\n\n\x02ts\x18\x03 \x01(\x03\"F\n\x1dServiceConnectionRequestEvent\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x11\n\tfrom_addr\x18\x02 \x01(\t\"H\n\x16ServiceRpcMessageEvent\x12\x11\n\tfrom_addr\x18\x01 \x01(\t\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\x12\n\n\x02ts\x18\x03 \x01(\x03\"_\n\x15ServiceFileOfferEvent\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x11\n\tfrom_addr\x18\x02 \x01(\t\x12\x10\n\x08\x66ilename\x18\x03 \x01(\t\x12\x0c\n\x04size\x18\x04 \x01(\x04\"X\n\x13ServiceCommandEvent\x12\x12\n\ncommand_id\x18\x01 \x01(\t\x12\x11\n\tfrom_addr\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0c\n\x04\x61rgs\x18\x04 \x01(\t\"D\n\x14ServiceCommandResult\x12\x12\n\ncommand_id\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\x12\n\n\x02ok\x18\x03 \x01(\x08\"(\n\x11ServiceAcceptFile\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\"8\n\x11ServiceRejectFile\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\"D\n\x12ServiceSendMessage\x12\x0f\n\x07to_addr\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\x12\x0f\n\x07payload\x18\x03 \x01(\x0c\"-\n\x17ServiceAcceptConnection\x12\x12\n\nrequest_id\x18\x01 \x01(\t\"=\n\x17ServiceRejectConnection\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\"\'\n\x12ServiceConnectPeer\x12\x11\n\tpeer_addr\x18\x01 \x01(\t\"\x87\x01\n\x14ServiceIntroducePeer\x12\x0f\n\x07to_addr\x18\x01 \x01(\t\x12\x12\n\nother_addr\x18\x02 \x01(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\x12\x12\n\nexpires_at\x18\x04 \x01(\x03\x12\x11\n\trole_hint\x18\x05 \x01(\t\x12\x0f\n\x07payload\x18\x06 \x01(\x0c\"\x98\x01\n\x1cServicePeerIntroductionEvent\x12\x19\n\x11\x66rom_service_addr\x18\x01 \x01(\t\x12\x11\n\tpeer_addr\x18\x02 \x01(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\x12\x12\n\nexpires_at\x18\x04 \x01(\x03\x12\x11\n\trole_hint\x18\x05 \x01(\t\x12\x0f\n\x07payload\x18\x06 \x01(\x0c\"Z\n\x0cServiceError\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x13\n\x0blimit_bytes\x18\x02 \x01(\x03\x12\x0c\n\x04\x63ode\x18\x03 \x01(\t\x12\x16\n\x0eretry_after_ms\x18\x04 \x01(\x03\"-\n\x1aListServiceCommandsRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"J\n\x1bListServiceCommandsResponse\x12+\n\x08\x63ommands\x18\x01 \x03(\x0b\x32\x19.ensemble.api.CommandSpec\"A\n\x12SendCommandRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04\x61rgs\x18\x03 \x01(\t\"P\n\x13SendCommandResponse\x12\x12\n\ncommand_id\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\x12\n\n\x02ok\x18\x03 \x01(\x08\x12\x0b\n\x03leg\x18\x04 \x01(\t*O\n\x03\x41\x43L\x12\x13\n\x0f\x41\x43L_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x41\x43L_CONTACTS\x10\x01\x12\x11\n\rACL_ALLOWLIST\x10\x02\x12\x0e\n\nACL_PUBLIC\x10\x03*\x88\x01\n\x10ServiceTransport\x12!\n\x1dSERVICE_TRANSPORT_UNSPECIFIED\x10\x00\x12\x1a\n\x16SERVICE_TRANSPORT_CHAT\x10\x01\x12\x1a\n\x16SERVICE_TRANSPORT_HTTP\x10\x02\x12\x19\n\x15SERVICE_TRANSPORT_RPC\x10\x03\x32\xe9\x11\n\x0f\x45nsembleService\x12R\n\x0bGetIdentity\x12 .ensemble.api.GetIdentityRequest\x1a!.ensemble.api.GetIdentityResponse\x12L\n\tGetStatus\x12\x1e.ensemble.api.GetStatusRequest\x1a\x1f.ensemble.api.GetStatusResponse\x12U\n\x0cListContacts\x12!.ensemble.api.ListContactsRequest\x1a\".ensemble.api.ListContactsResponse\x12O\n\nAddContact\x12\x1f.ensemble.api.AddContactRequest\x1a .ensemble.api.AddContactResponse\x12X\n\rRemoveContact\x12\".ensemble.api.RemoveContactRequest\x1a#.ensemble.api.RemoveContactResponse\x12\x46\n\x07\x43onnect\x12\x1c.ensemble.api.ConnectRequest\x1a\x1d.ensemble.api.ConnectResponse\x12\x61\n\x10\x41\x63\x63\x65ptConnection\x12%.ensemble.api.AcceptConnectionRequest\x1a&.ensemble.api.AcceptConnectionResponse\x12\x61\n\x10RejectConnection\x12%.ensemble.api.RejectConnectionRequest\x1a&.ensemble.api.RejectConnectionResponse\x12L\n\tListPeers\x12\x1e.ensemble.api.ListPeersRequest\x1a\x1f.ensemble.api.ListPeersResponse\x12O\n\nDisconnect\x12\x1f.ensemble.api.DisconnectRequest\x1a .ensemble.api.DisconnectResponse\x12R\n\x0bSendMessage\x12 .ensemble.api.SendMessageRequest\x1a!.ensemble.api.SendMessageResponse\x12[\n\x0eGetChatHistory\x12#.ensemble.api.GetChatHistoryRequest\x1a$.ensemble.api.GetChatHistoryResponse\x12\x64\n\x11\x44\x65leteChatMessage\x12&.ensemble.api.DeleteChatMessageRequest\x1a\'.ensemble.api.DeleteChatMessageResponse\x12\x61\n\x10\x43learChatHistory\x12%.ensemble.api.ClearChatHistoryRequest\x1a&.ensemble.api.ClearChatHistoryResponse\x12K\n\x08SendFile\x12\x1d.ensemble.api.SendFileRequest\x1a\x1e.ensemble.api.TransferProgress0\x01\x12O\n\nAcceptFile\x12\x1f.ensemble.api.AcceptFileRequest\x1a .ensemble.api.AcceptFileResponse\x12O\n\nRejectFile\x12\x1f.ensemble.api.RejectFileRequest\x1a .ensemble.api.RejectFileResponse\x12[\n\x0e\x43\x61ncelTransfer\x12#.ensemble.api.CancelTransferRequest\x1a$.ensemble.api.CancelTransferResponse\x12\x46\n\x07\x41\x64\x64Node\x12\x1c.ensemble.api.AddNodeRequest\x1a\x1d.ensemble.api.AddNodeResponse\x12U\n\x0cGetDebugInfo\x12!.ensemble.api.GetDebugInfoRequest\x1a\".ensemble.api.GetDebugInfoResponse\x12H\n\tSubscribe\x12\x1e.ensemble.api.SubscribeRequest\x1a\x19.ensemble.api.DaemonEvent0\x01\x12]\n\x0fRegisterService\x12\".ensemble.api.ServiceClientMessage\x1a\".ensemble.api.ServiceServerMessage(\x01\x30\x01\x12X\n\rDeleteService\x12\".ensemble.api.DeleteServiceRequest\x1a#.ensemble.api.DeleteServiceResponse\x12[\n\x0eRotateAdminKey\x12#.ensemble.api.RotateAdminKeyRequest\x1a$.ensemble.api.RotateAdminKeyResponse\x12j\n\x13ListServiceCommands\x12(.ensemble.api.ListServiceCommandsRequest\x1a).ensemble.api.ListServiceCommandsResponse\x12T\n\x0bSendCommand\x12 .ensemble.api.SendCommandRequest\x1a!.ensemble.api.SendCommandResponse0\x01\x42#Z!github.com/boxsie/ensemble/api/pbb\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ensemble_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z!github.com/boxsie/ensemble/api/pb'
|
|
35
|
+
_globals['_ACL']._serialized_start=5623
|
|
36
|
+
_globals['_ACL']._serialized_end=5702
|
|
37
|
+
_globals['_SERVICETRANSPORT']._serialized_start=5705
|
|
38
|
+
_globals['_SERVICETRANSPORT']._serialized_end=5841
|
|
39
|
+
_globals['_GETIDENTITYREQUEST']._serialized_start=32
|
|
40
|
+
_globals['_GETIDENTITYREQUEST']._serialized_end=52
|
|
41
|
+
_globals['_GETIDENTITYRESPONSE']._serialized_start=54
|
|
42
|
+
_globals['_GETIDENTITYRESPONSE']._serialized_end=112
|
|
43
|
+
_globals['_GETSTATUSREQUEST']._serialized_start=114
|
|
44
|
+
_globals['_GETSTATUSREQUEST']._serialized_end=132
|
|
45
|
+
_globals['_GETSTATUSRESPONSE']._serialized_start=134
|
|
46
|
+
_globals['_GETSTATUSRESPONSE']._serialized_end=248
|
|
47
|
+
_globals['_LISTCONTACTSREQUEST']._serialized_start=250
|
|
48
|
+
_globals['_LISTCONTACTSREQUEST']._serialized_end=271
|
|
49
|
+
_globals['_LISTCONTACTSRESPONSE']._serialized_start=273
|
|
50
|
+
_globals['_LISTCONTACTSRESPONSE']._serialized_end=340
|
|
51
|
+
_globals['_CONTACTINFO']._serialized_start=343
|
|
52
|
+
_globals['_CONTACTINFO']._serialized_end=484
|
|
53
|
+
_globals['_ADDCONTACTREQUEST']._serialized_start=486
|
|
54
|
+
_globals['_ADDCONTACTREQUEST']._serialized_end=557
|
|
55
|
+
_globals['_ADDCONTACTRESPONSE']._serialized_start=559
|
|
56
|
+
_globals['_ADDCONTACTRESPONSE']._serialized_end=579
|
|
57
|
+
_globals['_REMOVECONTACTREQUEST']._serialized_start=581
|
|
58
|
+
_globals['_REMOVECONTACTREQUEST']._serialized_end=620
|
|
59
|
+
_globals['_REMOVECONTACTRESPONSE']._serialized_start=622
|
|
60
|
+
_globals['_REMOVECONTACTRESPONSE']._serialized_end=645
|
|
61
|
+
_globals['_CONNECTREQUEST']._serialized_start=647
|
|
62
|
+
_globals['_CONNECTREQUEST']._serialized_end=680
|
|
63
|
+
_globals['_CONNECTRESPONSE']._serialized_start=682
|
|
64
|
+
_globals['_CONNECTRESPONSE']._serialized_end=734
|
|
65
|
+
_globals['_ACCEPTCONNECTIONREQUEST']._serialized_start=736
|
|
66
|
+
_globals['_ACCEPTCONNECTIONREQUEST']._serialized_end=778
|
|
67
|
+
_globals['_ACCEPTCONNECTIONRESPONSE']._serialized_start=780
|
|
68
|
+
_globals['_ACCEPTCONNECTIONRESPONSE']._serialized_end=806
|
|
69
|
+
_globals['_REJECTCONNECTIONREQUEST']._serialized_start=808
|
|
70
|
+
_globals['_REJECTCONNECTIONREQUEST']._serialized_end=850
|
|
71
|
+
_globals['_REJECTCONNECTIONRESPONSE']._serialized_start=852
|
|
72
|
+
_globals['_REJECTCONNECTIONRESPONSE']._serialized_end=878
|
|
73
|
+
_globals['_LISTPEERSREQUEST']._serialized_start=880
|
|
74
|
+
_globals['_LISTPEERSREQUEST']._serialized_end=898
|
|
75
|
+
_globals['_LISTPEERSRESPONSE']._serialized_start=900
|
|
76
|
+
_globals['_LISTPEERSRESPONSE']._serialized_end=959
|
|
77
|
+
_globals['_PEERENTRY']._serialized_start=961
|
|
78
|
+
_globals['_PEERENTRY']._serialized_end=1050
|
|
79
|
+
_globals['_DISCONNECTREQUEST']._serialized_start=1052
|
|
80
|
+
_globals['_DISCONNECTREQUEST']._serialized_end=1088
|
|
81
|
+
_globals['_DISCONNECTRESPONSE']._serialized_start=1090
|
|
82
|
+
_globals['_DISCONNECTRESPONSE']._serialized_end=1110
|
|
83
|
+
_globals['_SENDMESSAGEREQUEST']._serialized_start=1112
|
|
84
|
+
_globals['_SENDMESSAGEREQUEST']._serialized_end=1163
|
|
85
|
+
_globals['_SENDMESSAGERESPONSE']._serialized_start=1165
|
|
86
|
+
_globals['_SENDMESSAGERESPONSE']._serialized_end=1206
|
|
87
|
+
_globals['_GETCHATHISTORYREQUEST']._serialized_start=1208
|
|
88
|
+
_globals['_GETCHATHISTORYREQUEST']._serialized_end=1263
|
|
89
|
+
_globals['_CHATMESSAGE']._serialized_start=1266
|
|
90
|
+
_globals['_CHATMESSAGE']._serialized_end=1401
|
|
91
|
+
_globals['_GETCHATHISTORYRESPONSE']._serialized_start=1403
|
|
92
|
+
_globals['_GETCHATHISTORYRESPONSE']._serialized_end=1472
|
|
93
|
+
_globals['_DELETECHATMESSAGEREQUEST']._serialized_start=1474
|
|
94
|
+
_globals['_DELETECHATMESSAGEREQUEST']._serialized_end=1537
|
|
95
|
+
_globals['_DELETECHATMESSAGERESPONSE']._serialized_start=1539
|
|
96
|
+
_globals['_DELETECHATMESSAGERESPONSE']._serialized_end=1583
|
|
97
|
+
_globals['_CLEARCHATHISTORYREQUEST']._serialized_start=1585
|
|
98
|
+
_globals['_CLEARCHATHISTORYREQUEST']._serialized_end=1627
|
|
99
|
+
_globals['_CLEARCHATHISTORYRESPONSE']._serialized_start=1629
|
|
100
|
+
_globals['_CLEARCHATHISTORYRESPONSE']._serialized_end=1655
|
|
101
|
+
_globals['_SENDFILEREQUEST']._serialized_start=1657
|
|
102
|
+
_globals['_SENDFILEREQUEST']._serialized_end=1710
|
|
103
|
+
_globals['_TRANSFERPROGRESS']._serialized_start=1713
|
|
104
|
+
_globals['_TRANSFERPROGRESS']._serialized_end=1861
|
|
105
|
+
_globals['_ACCEPTFILEREQUEST']._serialized_start=1863
|
|
106
|
+
_globals['_ACCEPTFILEREQUEST']._serialized_end=1922
|
|
107
|
+
_globals['_ACCEPTFILERESPONSE']._serialized_start=1924
|
|
108
|
+
_globals['_ACCEPTFILERESPONSE']._serialized_end=1944
|
|
109
|
+
_globals['_REJECTFILEREQUEST']._serialized_start=1946
|
|
110
|
+
_globals['_REJECTFILEREQUEST']._serialized_end=1986
|
|
111
|
+
_globals['_REJECTFILERESPONSE']._serialized_start=1988
|
|
112
|
+
_globals['_REJECTFILERESPONSE']._serialized_end=2008
|
|
113
|
+
_globals['_CANCELTRANSFERREQUEST']._serialized_start=2010
|
|
114
|
+
_globals['_CANCELTRANSFERREQUEST']._serialized_end=2054
|
|
115
|
+
_globals['_CANCELTRANSFERRESPONSE']._serialized_start=2056
|
|
116
|
+
_globals['_CANCELTRANSFERRESPONSE']._serialized_end=2080
|
|
117
|
+
_globals['_ADDNODEREQUEST']._serialized_start=2082
|
|
118
|
+
_globals['_ADDNODEREQUEST']._serialized_end=2121
|
|
119
|
+
_globals['_ADDNODERESPONSE']._serialized_start=2123
|
|
120
|
+
_globals['_ADDNODERESPONSE']._serialized_end=2161
|
|
121
|
+
_globals['_GETDEBUGINFOREQUEST']._serialized_start=2163
|
|
122
|
+
_globals['_GETDEBUGINFOREQUEST']._serialized_end=2184
|
|
123
|
+
_globals['_GETDEBUGINFORESPONSE']._serialized_start=2187
|
|
124
|
+
_globals['_GETDEBUGINFORESPONSE']._serialized_end=2384
|
|
125
|
+
_globals['_REGISTEREDSERVICE']._serialized_start=2386
|
|
126
|
+
_globals['_REGISTEREDSERVICE']._serialized_end=2456
|
|
127
|
+
_globals['_DELETESERVICEREQUEST']._serialized_start=2458
|
|
128
|
+
_globals['_DELETESERVICEREQUEST']._serialized_end=2494
|
|
129
|
+
_globals['_ROTATEADMINKEYREQUEST']._serialized_start=2496
|
|
130
|
+
_globals['_ROTATEADMINKEYREQUEST']._serialized_end=2539
|
|
131
|
+
_globals['_ROTATEADMINKEYRESPONSE']._serialized_start=2541
|
|
132
|
+
_globals['_ROTATEADMINKEYRESPONSE']._serialized_end=2565
|
|
133
|
+
_globals['_DELETESERVICERESPONSE']._serialized_start=2567
|
|
134
|
+
_globals['_DELETESERVICERESPONSE']._serialized_end=2590
|
|
135
|
+
_globals['_DHTNODE']._serialized_start=2592
|
|
136
|
+
_globals['_DHTNODE']._serialized_end=2657
|
|
137
|
+
_globals['_PEERSTATE']._serialized_start=2659
|
|
138
|
+
_globals['_PEERSTATE']._serialized_end=2717
|
|
139
|
+
_globals['_SUBSCRIBEREQUEST']._serialized_start=2719
|
|
140
|
+
_globals['_SUBSCRIBEREQUEST']._serialized_end=2737
|
|
141
|
+
_globals['_DAEMONEVENT']._serialized_start=2739
|
|
142
|
+
_globals['_DAEMONEVENT']._serialized_end=2783
|
|
143
|
+
_globals['_SERVICECLIENTMESSAGE']._serialized_start=2786
|
|
144
|
+
_globals['_SERVICECLIENTMESSAGE']._serialized_end=3332
|
|
145
|
+
_globals['_SERVICESERVERMESSAGE']._serialized_start=3335
|
|
146
|
+
_globals['_SERVICESERVERMESSAGE']._serialized_end=3509
|
|
147
|
+
_globals['_COMMANDSPEC']._serialized_start=3511
|
|
148
|
+
_globals['_COMMANDSPEC']._serialized_end=3574
|
|
149
|
+
_globals['_SERVICEMANIFEST']._serialized_start=3577
|
|
150
|
+
_globals['_SERVICEMANIFEST']._serialized_end=3954
|
|
151
|
+
_globals['_RATELIMITPOLICY']._serialized_start=3956
|
|
152
|
+
_globals['_RATELIMITPOLICY']._serialized_end=4017
|
|
153
|
+
_globals['_SERVICEREGISTERED']._serialized_start=4019
|
|
154
|
+
_globals['_SERVICEREGISTERED']._serialized_end=4121
|
|
155
|
+
_globals['_SERVICEEVENT']._serialized_start=4123
|
|
156
|
+
_globals['_SERVICEEVENT']._serialized_end=4168
|
|
157
|
+
_globals['_SERVICECHATMESSAGEEVENT']._serialized_start=4170
|
|
158
|
+
_globals['_SERVICECHATMESSAGEEVENT']._serialized_end=4240
|
|
159
|
+
_globals['_SERVICECONNECTIONREQUESTEVENT']._serialized_start=4242
|
|
160
|
+
_globals['_SERVICECONNECTIONREQUESTEVENT']._serialized_end=4312
|
|
161
|
+
_globals['_SERVICERPCMESSAGEEVENT']._serialized_start=4314
|
|
162
|
+
_globals['_SERVICERPCMESSAGEEVENT']._serialized_end=4386
|
|
163
|
+
_globals['_SERVICEFILEOFFEREVENT']._serialized_start=4388
|
|
164
|
+
_globals['_SERVICEFILEOFFEREVENT']._serialized_end=4483
|
|
165
|
+
_globals['_SERVICECOMMANDEVENT']._serialized_start=4485
|
|
166
|
+
_globals['_SERVICECOMMANDEVENT']._serialized_end=4573
|
|
167
|
+
_globals['_SERVICECOMMANDRESULT']._serialized_start=4575
|
|
168
|
+
_globals['_SERVICECOMMANDRESULT']._serialized_end=4643
|
|
169
|
+
_globals['_SERVICEACCEPTFILE']._serialized_start=4645
|
|
170
|
+
_globals['_SERVICEACCEPTFILE']._serialized_end=4685
|
|
171
|
+
_globals['_SERVICEREJECTFILE']._serialized_start=4687
|
|
172
|
+
_globals['_SERVICEREJECTFILE']._serialized_end=4743
|
|
173
|
+
_globals['_SERVICESENDMESSAGE']._serialized_start=4745
|
|
174
|
+
_globals['_SERVICESENDMESSAGE']._serialized_end=4813
|
|
175
|
+
_globals['_SERVICEACCEPTCONNECTION']._serialized_start=4815
|
|
176
|
+
_globals['_SERVICEACCEPTCONNECTION']._serialized_end=4860
|
|
177
|
+
_globals['_SERVICEREJECTCONNECTION']._serialized_start=4862
|
|
178
|
+
_globals['_SERVICEREJECTCONNECTION']._serialized_end=4923
|
|
179
|
+
_globals['_SERVICECONNECTPEER']._serialized_start=4925
|
|
180
|
+
_globals['_SERVICECONNECTPEER']._serialized_end=4964
|
|
181
|
+
_globals['_SERVICEINTRODUCEPEER']._serialized_start=4967
|
|
182
|
+
_globals['_SERVICEINTRODUCEPEER']._serialized_end=5102
|
|
183
|
+
_globals['_SERVICEPEERINTRODUCTIONEVENT']._serialized_start=5105
|
|
184
|
+
_globals['_SERVICEPEERINTRODUCTIONEVENT']._serialized_end=5257
|
|
185
|
+
_globals['_SERVICEERROR']._serialized_start=5259
|
|
186
|
+
_globals['_SERVICEERROR']._serialized_end=5349
|
|
187
|
+
_globals['_LISTSERVICECOMMANDSREQUEST']._serialized_start=5351
|
|
188
|
+
_globals['_LISTSERVICECOMMANDSREQUEST']._serialized_end=5396
|
|
189
|
+
_globals['_LISTSERVICECOMMANDSRESPONSE']._serialized_start=5398
|
|
190
|
+
_globals['_LISTSERVICECOMMANDSRESPONSE']._serialized_end=5472
|
|
191
|
+
_globals['_SENDCOMMANDREQUEST']._serialized_start=5474
|
|
192
|
+
_globals['_SENDCOMMANDREQUEST']._serialized_end=5539
|
|
193
|
+
_globals['_SENDCOMMANDRESPONSE']._serialized_start=5541
|
|
194
|
+
_globals['_SENDCOMMANDRESPONSE']._serialized_end=5621
|
|
195
|
+
_globals['_ENSEMBLESERVICE']._serialized_start=5844
|
|
196
|
+
_globals['_ENSEMBLESERVICE']._serialized_end=8125
|
|
197
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -76,6 +76,16 @@ class EnsembleServiceStub(object):
|
|
|
76
76
|
request_serializer=ensemble__pb2.RejectConnectionRequest.SerializeToString,
|
|
77
77
|
response_deserializer=ensemble__pb2.RejectConnectionResponse.FromString,
|
|
78
78
|
_registered_method=True)
|
|
79
|
+
self.ListPeers = channel.unary_unary(
|
|
80
|
+
'/ensemble.api.EnsembleService/ListPeers',
|
|
81
|
+
request_serializer=ensemble__pb2.ListPeersRequest.SerializeToString,
|
|
82
|
+
response_deserializer=ensemble__pb2.ListPeersResponse.FromString,
|
|
83
|
+
_registered_method=True)
|
|
84
|
+
self.Disconnect = channel.unary_unary(
|
|
85
|
+
'/ensemble.api.EnsembleService/Disconnect',
|
|
86
|
+
request_serializer=ensemble__pb2.DisconnectRequest.SerializeToString,
|
|
87
|
+
response_deserializer=ensemble__pb2.DisconnectResponse.FromString,
|
|
88
|
+
_registered_method=True)
|
|
79
89
|
self.SendMessage = channel.unary_unary(
|
|
80
90
|
'/ensemble.api.EnsembleService/SendMessage',
|
|
81
91
|
request_serializer=ensemble__pb2.SendMessageRequest.SerializeToString,
|
|
@@ -214,6 +224,24 @@ class EnsembleServiceServicer(object):
|
|
|
214
224
|
context.set_details('Method not implemented!')
|
|
215
225
|
raise NotImplementedError('Method not implemented!')
|
|
216
226
|
|
|
227
|
+
def ListPeers(self, request, context):
|
|
228
|
+
"""ListPeers returns the unified peers list (ADR-0004): saved contacts ∪
|
|
229
|
+
peers with live/in-flight connections, one entry per address, including
|
|
230
|
+
inbound-only peers that are not contacts.
|
|
231
|
+
"""
|
|
232
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
233
|
+
context.set_details('Method not implemented!')
|
|
234
|
+
raise NotImplementedError('Method not implemented!')
|
|
235
|
+
|
|
236
|
+
def Disconnect(self, request, context):
|
|
237
|
+
"""Disconnect tears down every live path to a peer (direct QUIC connection
|
|
238
|
+
and/or Tor control channels). The peer's contact entry, if any, is
|
|
239
|
+
untouched — disconnect is a connection action, not an address-book one.
|
|
240
|
+
"""
|
|
241
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
242
|
+
context.set_details('Method not implemented!')
|
|
243
|
+
raise NotImplementedError('Method not implemented!')
|
|
244
|
+
|
|
217
245
|
def SendMessage(self, request, context):
|
|
218
246
|
"""Chat
|
|
219
247
|
"""
|
|
@@ -396,6 +424,16 @@ def add_EnsembleServiceServicer_to_server(servicer, server):
|
|
|
396
424
|
request_deserializer=ensemble__pb2.RejectConnectionRequest.FromString,
|
|
397
425
|
response_serializer=ensemble__pb2.RejectConnectionResponse.SerializeToString,
|
|
398
426
|
),
|
|
427
|
+
'ListPeers': grpc.unary_unary_rpc_method_handler(
|
|
428
|
+
servicer.ListPeers,
|
|
429
|
+
request_deserializer=ensemble__pb2.ListPeersRequest.FromString,
|
|
430
|
+
response_serializer=ensemble__pb2.ListPeersResponse.SerializeToString,
|
|
431
|
+
),
|
|
432
|
+
'Disconnect': grpc.unary_unary_rpc_method_handler(
|
|
433
|
+
servicer.Disconnect,
|
|
434
|
+
request_deserializer=ensemble__pb2.DisconnectRequest.FromString,
|
|
435
|
+
response_serializer=ensemble__pb2.DisconnectResponse.SerializeToString,
|
|
436
|
+
),
|
|
399
437
|
'SendMessage': grpc.unary_unary_rpc_method_handler(
|
|
400
438
|
servicer.SendMessage,
|
|
401
439
|
request_deserializer=ensemble__pb2.SendMessageRequest.FromString,
|
|
@@ -705,6 +743,60 @@ class EnsembleService(object):
|
|
|
705
743
|
metadata,
|
|
706
744
|
_registered_method=True)
|
|
707
745
|
|
|
746
|
+
@staticmethod
|
|
747
|
+
def ListPeers(request,
|
|
748
|
+
target,
|
|
749
|
+
options=(),
|
|
750
|
+
channel_credentials=None,
|
|
751
|
+
call_credentials=None,
|
|
752
|
+
insecure=False,
|
|
753
|
+
compression=None,
|
|
754
|
+
wait_for_ready=None,
|
|
755
|
+
timeout=None,
|
|
756
|
+
metadata=None):
|
|
757
|
+
return grpc.experimental.unary_unary(
|
|
758
|
+
request,
|
|
759
|
+
target,
|
|
760
|
+
'/ensemble.api.EnsembleService/ListPeers',
|
|
761
|
+
ensemble__pb2.ListPeersRequest.SerializeToString,
|
|
762
|
+
ensemble__pb2.ListPeersResponse.FromString,
|
|
763
|
+
options,
|
|
764
|
+
channel_credentials,
|
|
765
|
+
insecure,
|
|
766
|
+
call_credentials,
|
|
767
|
+
compression,
|
|
768
|
+
wait_for_ready,
|
|
769
|
+
timeout,
|
|
770
|
+
metadata,
|
|
771
|
+
_registered_method=True)
|
|
772
|
+
|
|
773
|
+
@staticmethod
|
|
774
|
+
def Disconnect(request,
|
|
775
|
+
target,
|
|
776
|
+
options=(),
|
|
777
|
+
channel_credentials=None,
|
|
778
|
+
call_credentials=None,
|
|
779
|
+
insecure=False,
|
|
780
|
+
compression=None,
|
|
781
|
+
wait_for_ready=None,
|
|
782
|
+
timeout=None,
|
|
783
|
+
metadata=None):
|
|
784
|
+
return grpc.experimental.unary_unary(
|
|
785
|
+
request,
|
|
786
|
+
target,
|
|
787
|
+
'/ensemble.api.EnsembleService/Disconnect',
|
|
788
|
+
ensemble__pb2.DisconnectRequest.SerializeToString,
|
|
789
|
+
ensemble__pb2.DisconnectResponse.FromString,
|
|
790
|
+
options,
|
|
791
|
+
channel_credentials,
|
|
792
|
+
insecure,
|
|
793
|
+
call_credentials,
|
|
794
|
+
compression,
|
|
795
|
+
wait_for_ready,
|
|
796
|
+
timeout,
|
|
797
|
+
metadata,
|
|
798
|
+
_registered_method=True)
|
|
799
|
+
|
|
708
800
|
@staticmethod
|
|
709
801
|
def SendMessage(request,
|
|
710
802
|
target,
|
|
@@ -74,11 +74,14 @@ class Command:
|
|
|
74
74
|
class ACL(enum.IntEnum):
|
|
75
75
|
"""Access-control tier for a registered service.
|
|
76
76
|
|
|
77
|
-
Mirrors the proto enum.
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
Mirrors the proto enum. The zero value `UNSPECIFIED` is default-deny: a
|
|
78
|
+
manifest that omits the tier is locked down rather than exposed, so pick
|
|
79
|
+
`CONTACTS`, `ALLOWLIST`, or `PUBLIC` explicitly (or set
|
|
80
|
+
decides_connections). The gate enforces `PUBLIC`/`ALLOWLIST`/`CONTACTS`.
|
|
81
|
+
See ticket bff73bcc.
|
|
80
82
|
"""
|
|
81
83
|
|
|
84
|
+
UNSPECIFIED = pb.ACL_UNSPECIFIED
|
|
82
85
|
PUBLIC = pb.ACL_PUBLIC
|
|
83
86
|
CONTACTS = pb.ACL_CONTACTS
|
|
84
87
|
ALLOWLIST = pb.ACL_ALLOWLIST
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
-
# source: ensemble.proto
|
|
5
|
-
# Protobuf Python Version: 6.31.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
|
-
31,
|
|
16
|
-
1,
|
|
17
|
-
'',
|
|
18
|
-
'ensemble.proto'
|
|
19
|
-
)
|
|
20
|
-
# @@protoc_insertion_point(imports)
|
|
21
|
-
|
|
22
|
-
_sym_db = _symbol_database.Default()
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0e\x65nsemble.proto\x12\x0c\x65nsemble.api\"\x14\n\x12GetIdentityRequest\":\n\x13GetIdentityResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x12\n\npublic_key\x18\x02 \x01(\x0c\"\x12\n\x10GetStatusRequest\"r\n\x11GetStatusResponse\x12\x11\n\ttor_state\x18\x01 \x01(\t\x12\x12\n\npeer_count\x18\x02 \x01(\x05\x12\x12\n\nonion_addr\x18\x03 \x01(\t\x12\x11\n\tuptime_ms\x18\x04 \x01(\x03\x12\x0f\n\x07rt_size\x18\x05 \x01(\x05\"\x15\n\x13ListContactsRequest\"C\n\x14ListContactsResponse\x12+\n\x08\x63ontacts\x18\x01 \x03(\x0b\x32\x19.ensemble.api.ContactInfo\"\x8d\x01\n\x0b\x43ontactInfo\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\x12\n\npublic_key\x18\x03 \x01(\x0c\x12\x15\n\ronion_address\x18\x04 \x01(\t\x12\x10\n\x08\x61\x64\x64\x65\x64_at\x18\x05 \x01(\x03\x12\x11\n\tlast_seen\x18\x06 \x01(\x03\x12\x0e\n\x06online\x18\x07 \x01(\x08\"G\n\x11\x41\x64\x64\x43ontactRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\x12\n\npublic_key\x18\x03 \x01(\x0c\"\x14\n\x12\x41\x64\x64\x43ontactResponse\"\'\n\x14RemoveContactRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\x17\n\x15RemoveContactResponse\"!\n\x0e\x43onnectRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"4\n\x0f\x43onnectResponse\x12\x10\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x08\x12\x0f\n\x07message\x18\x02 \x01(\t\"*\n\x17\x41\x63\x63\x65ptConnectionRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\x1a\n\x18\x41\x63\x63\x65ptConnectionResponse\"*\n\x17RejectConnectionRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\x1a\n\x18RejectConnectionResponse\"3\n\x12SendMessageRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\")\n\x13SendMessageResponse\x12\x12\n\nmessage_id\x18\x01 \x01(\t\"7\n\x15GetChatHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x05\"\x87\x01\n\x0b\x43hatMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfrom_addr\x18\x02 \x01(\t\x12\x0f\n\x07to_addr\x18\x03 \x01(\t\x12\x0c\n\x04text\x18\x04 \x01(\t\x12\x12\n\nsent_at_ms\x18\x05 \x01(\x03\x12\x13\n\x0b\x61\x63ked_at_ms\x18\x06 \x01(\x03\x12\x11\n\tdirection\x18\x07 \x01(\t\"E\n\x16GetChatHistoryResponse\x12+\n\x08messages\x18\x01 \x03(\x0b\x32\x19.ensemble.api.ChatMessage\"?\n\x18\x44\x65leteChatMessageRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x12\n\nmessage_id\x18\x02 \x01(\t\",\n\x19\x44\x65leteChatMessageResponse\x12\x0f\n\x07\x64\x65leted\x18\x01 \x01(\x08\"*\n\x17\x43learChatHistoryRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"\x1a\n\x18\x43learChatHistoryResponse\"5\n\x0fSendFileRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x11\n\tfile_path\x18\x02 \x01(\t\"\x94\x01\n\x10TransferProgress\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x10\n\x08\x66ilename\x18\x02 \x01(\t\x12\x13\n\x0btotal_bytes\x18\x03 \x01(\x04\x12\x12\n\nsent_bytes\x18\x04 \x01(\x04\x12\x0f\n\x07percent\x18\x05 \x01(\x02\x12\x10\n\x08\x63omplete\x18\x06 \x01(\x08\x12\r\n\x05\x65rror\x18\x07 \x01(\t\";\n\x11\x41\x63\x63\x65ptFileRequest\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x11\n\tsave_path\x18\x02 \x01(\t\"\x14\n\x12\x41\x63\x63\x65ptFileResponse\"(\n\x11RejectFileRequest\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\"\x14\n\x12RejectFileResponse\",\n\x15\x43\x61ncelTransferRequest\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\"\x18\n\x16\x43\x61ncelTransferResponse\"\'\n\x0e\x41\x64\x64NodeRequest\x12\x15\n\ronion_address\x18\x01 \x01(\t\"&\n\x0f\x41\x64\x64NodeResponse\x12\x13\n\x0bpeers_found\x18\x01 \x01(\x05\"\x15\n\x13GetDebugInfoRequest\"\xc5\x01\n\x14GetDebugInfoResponse\x12\x0f\n\x07rt_size\x18\x01 \x01(\x05\x12\'\n\x08rt_peers\x18\x02 \x03(\x0b\x32\x15.ensemble.api.DHTNode\x12,\n\x0b\x63onnections\x18\x03 \x03(\x0b\x32\x17.ensemble.api.PeerState\x12\x12\n\nonion_addr\x18\x04 \x01(\t\x12\x31\n\x08services\x18\x05 \x03(\x0b\x32\x1f.ensemble.api.RegisteredService\"F\n\x11RegisteredService\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x12\n\nonion_addr\x18\x03 \x01(\t\"$\n\x14\x44\x65leteServiceRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"+\n\x15RotateAdminKeyRequest\x12\x12\n\npublic_key\x18\x01 \x01(\x0c\"\x18\n\x16RotateAdminKeyResponse\"\x17\n\x15\x44\x65leteServiceResponse\"A\n\x07\x44HTNode\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x12\n\nonion_addr\x18\x02 \x01(\t\x12\x11\n\tlast_seen\x18\x03 \x01(\x03\":\n\tPeerState\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05state\x18\x02 \x01(\t\x12\r\n\x05\x65rror\x18\x03 \x01(\t\"\x12\n\x10SubscribeRequest\",\n\x0b\x44\x61\x65monEvent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07payload\x18\x02 \x01(\t\"\xa2\x04\n\x14ServiceClientMessage\x12\x31\n\x08manifest\x18\x01 \x01(\x0b\x32\x1d.ensemble.api.ServiceManifestH\x00\x12\x38\n\x0csend_message\x18\x02 \x01(\x0b\x32 .ensemble.api.ServiceSendMessageH\x00\x12\x37\n\x06\x61\x63\x63\x65pt\x18\x03 \x01(\x0b\x32%.ensemble.api.ServiceAcceptConnectionH\x00\x12\x37\n\x06reject\x18\x04 \x01(\x0b\x32%.ensemble.api.ServiceRejectConnectionH\x00\x12<\n\x0eintroduce_peer\x18\x05 \x01(\x0b\x32\".ensemble.api.ServiceIntroducePeerH\x00\x12\x38\n\x0c\x63onnect_peer\x18\x06 \x01(\x0b\x32 .ensemble.api.ServiceConnectPeerH\x00\x12\x36\n\x0b\x61\x63\x63\x65pt_file\x18\x07 \x01(\x0b\x32\x1f.ensemble.api.ServiceAcceptFileH\x00\x12\x36\n\x0breject_file\x18\x08 \x01(\x0b\x32\x1f.ensemble.api.ServiceRejectFileH\x00\x12<\n\x0e\x63ommand_result\x18\t \x01(\x0b\x32\".ensemble.api.ServiceCommandResultH\x00\x42\x05\n\x03msg\"\xae\x01\n\x14ServiceServerMessage\x12\x35\n\nregistered\x18\x01 \x01(\x0b\x32\x1f.ensemble.api.ServiceRegisteredH\x00\x12+\n\x05\x65vent\x18\x02 \x01(\x0b\x32\x1a.ensemble.api.ServiceEventH\x00\x12+\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1a.ensemble.api.ServiceErrorH\x00\x42\x05\n\x03msg\"?\n\x0b\x43ommandSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\r\n\x05usage\x18\x03 \x01(\t\"\xf9\x02\n\x0fServiceManifest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x1e\n\x03\x61\x63l\x18\x03 \x01(\x0e\x32\x11.ensemble.api.ACL\x12\x11\n\tallowlist\x18\x04 \x03(\t\x12\x14\n\x0ckeypair_seed\x18\x05 \x01(\x0c\x12\x31\n\ttransport\x18\x06 \x01(\x0e\x32\x1e.ensemble.api.ServiceTransport\x12\x19\n\x11max_payload_bytes\x18\x07 \x01(\x03\x12\x31\n\nrate_limit\x18\x08 \x01(\x0b\x32\x1d.ensemble.api.RateLimitPolicy\x12\x1b\n\x13\x64\x65\x63ides_connections\x18\t \x01(\x08\x12\x15\n\rhandles_files\x18\n \x01(\x08\x12+\n\x08\x63ommands\x18\x0b \x03(\x0b\x32\x19.ensemble.api.CommandSpec\x12\x18\n\x10handles_commands\x18\x0c \x01(\x08\"=\n\x0fRateLimitPolicy\x12\x1b\n\x13requests_per_minute\x18\x01 \x01(\x05\x12\r\n\x05\x62urst\x18\x02 \x01(\x05\"f\n\x11ServiceRegistered\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\r\n\x05onion\x18\x02 \x01(\t\x12\x31\n\ttransport\x18\x03 \x01(\x0e\x32\x1e.ensemble.api.ServiceTransport\"-\n\x0cServiceEvent\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\"F\n\x17ServiceChatMessageEvent\x12\x11\n\tfrom_addr\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\x12\n\n\x02ts\x18\x03 \x01(\x03\"F\n\x1dServiceConnectionRequestEvent\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x11\n\tfrom_addr\x18\x02 \x01(\t\"H\n\x16ServiceRpcMessageEvent\x12\x11\n\tfrom_addr\x18\x01 \x01(\t\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\x12\n\n\x02ts\x18\x03 \x01(\x03\"_\n\x15ServiceFileOfferEvent\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x11\n\tfrom_addr\x18\x02 \x01(\t\x12\x10\n\x08\x66ilename\x18\x03 \x01(\t\x12\x0c\n\x04size\x18\x04 \x01(\x04\"X\n\x13ServiceCommandEvent\x12\x12\n\ncommand_id\x18\x01 \x01(\t\x12\x11\n\tfrom_addr\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0c\n\x04\x61rgs\x18\x04 \x01(\t\"D\n\x14ServiceCommandResult\x12\x12\n\ncommand_id\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\x12\n\n\x02ok\x18\x03 \x01(\x08\"(\n\x11ServiceAcceptFile\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\"8\n\x11ServiceRejectFile\x12\x13\n\x0btransfer_id\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\"D\n\x12ServiceSendMessage\x12\x0f\n\x07to_addr\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\x12\x0f\n\x07payload\x18\x03 \x01(\x0c\"-\n\x17ServiceAcceptConnection\x12\x12\n\nrequest_id\x18\x01 \x01(\t\"=\n\x17ServiceRejectConnection\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\"\'\n\x12ServiceConnectPeer\x12\x11\n\tpeer_addr\x18\x01 \x01(\t\"\x87\x01\n\x14ServiceIntroducePeer\x12\x0f\n\x07to_addr\x18\x01 \x01(\t\x12\x12\n\nother_addr\x18\x02 \x01(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\x12\x12\n\nexpires_at\x18\x04 \x01(\x03\x12\x11\n\trole_hint\x18\x05 \x01(\t\x12\x0f\n\x07payload\x18\x06 \x01(\x0c\"\x98\x01\n\x1cServicePeerIntroductionEvent\x12\x19\n\x11\x66rom_service_addr\x18\x01 \x01(\t\x12\x11\n\tpeer_addr\x18\x02 \x01(\t\x12\x12\n\nsession_id\x18\x03 \x01(\t\x12\x12\n\nexpires_at\x18\x04 \x01(\x03\x12\x11\n\trole_hint\x18\x05 \x01(\t\x12\x0f\n\x07payload\x18\x06 \x01(\x0c\"Z\n\x0cServiceError\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x13\n\x0blimit_bytes\x18\x02 \x01(\x03\x12\x0c\n\x04\x63ode\x18\x03 \x01(\t\x12\x16\n\x0eretry_after_ms\x18\x04 \x01(\x03\"-\n\x1aListServiceCommandsRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"J\n\x1bListServiceCommandsResponse\x12+\n\x08\x63ommands\x18\x01 \x03(\x0b\x32\x19.ensemble.api.CommandSpec\"A\n\x12SendCommandRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04\x61rgs\x18\x03 \x01(\t\"P\n\x13SendCommandResponse\x12\x12\n\ncommand_id\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\x12\n\n\x02ok\x18\x03 \x01(\x08\x12\x0b\n\x03leg\x18\x04 \x01(\t*:\n\x03\x41\x43L\x12\x0e\n\nACL_PUBLIC\x10\x00\x12\x10\n\x0c\x41\x43L_CONTACTS\x10\x01\x12\x11\n\rACL_ALLOWLIST\x10\x02*\x88\x01\n\x10ServiceTransport\x12!\n\x1dSERVICE_TRANSPORT_UNSPECIFIED\x10\x00\x12\x1a\n\x16SERVICE_TRANSPORT_CHAT\x10\x01\x12\x1a\n\x16SERVICE_TRANSPORT_HTTP\x10\x02\x12\x19\n\x15SERVICE_TRANSPORT_RPC\x10\x03\x32\xca\x10\n\x0f\x45nsembleService\x12R\n\x0bGetIdentity\x12 .ensemble.api.GetIdentityRequest\x1a!.ensemble.api.GetIdentityResponse\x12L\n\tGetStatus\x12\x1e.ensemble.api.GetStatusRequest\x1a\x1f.ensemble.api.GetStatusResponse\x12U\n\x0cListContacts\x12!.ensemble.api.ListContactsRequest\x1a\".ensemble.api.ListContactsResponse\x12O\n\nAddContact\x12\x1f.ensemble.api.AddContactRequest\x1a .ensemble.api.AddContactResponse\x12X\n\rRemoveContact\x12\".ensemble.api.RemoveContactRequest\x1a#.ensemble.api.RemoveContactResponse\x12\x46\n\x07\x43onnect\x12\x1c.ensemble.api.ConnectRequest\x1a\x1d.ensemble.api.ConnectResponse\x12\x61\n\x10\x41\x63\x63\x65ptConnection\x12%.ensemble.api.AcceptConnectionRequest\x1a&.ensemble.api.AcceptConnectionResponse\x12\x61\n\x10RejectConnection\x12%.ensemble.api.RejectConnectionRequest\x1a&.ensemble.api.RejectConnectionResponse\x12R\n\x0bSendMessage\x12 .ensemble.api.SendMessageRequest\x1a!.ensemble.api.SendMessageResponse\x12[\n\x0eGetChatHistory\x12#.ensemble.api.GetChatHistoryRequest\x1a$.ensemble.api.GetChatHistoryResponse\x12\x64\n\x11\x44\x65leteChatMessage\x12&.ensemble.api.DeleteChatMessageRequest\x1a\'.ensemble.api.DeleteChatMessageResponse\x12\x61\n\x10\x43learChatHistory\x12%.ensemble.api.ClearChatHistoryRequest\x1a&.ensemble.api.ClearChatHistoryResponse\x12K\n\x08SendFile\x12\x1d.ensemble.api.SendFileRequest\x1a\x1e.ensemble.api.TransferProgress0\x01\x12O\n\nAcceptFile\x12\x1f.ensemble.api.AcceptFileRequest\x1a .ensemble.api.AcceptFileResponse\x12O\n\nRejectFile\x12\x1f.ensemble.api.RejectFileRequest\x1a .ensemble.api.RejectFileResponse\x12[\n\x0e\x43\x61ncelTransfer\x12#.ensemble.api.CancelTransferRequest\x1a$.ensemble.api.CancelTransferResponse\x12\x46\n\x07\x41\x64\x64Node\x12\x1c.ensemble.api.AddNodeRequest\x1a\x1d.ensemble.api.AddNodeResponse\x12U\n\x0cGetDebugInfo\x12!.ensemble.api.GetDebugInfoRequest\x1a\".ensemble.api.GetDebugInfoResponse\x12H\n\tSubscribe\x12\x1e.ensemble.api.SubscribeRequest\x1a\x19.ensemble.api.DaemonEvent0\x01\x12]\n\x0fRegisterService\x12\".ensemble.api.ServiceClientMessage\x1a\".ensemble.api.ServiceServerMessage(\x01\x30\x01\x12X\n\rDeleteService\x12\".ensemble.api.DeleteServiceRequest\x1a#.ensemble.api.DeleteServiceResponse\x12[\n\x0eRotateAdminKey\x12#.ensemble.api.RotateAdminKeyRequest\x1a$.ensemble.api.RotateAdminKeyResponse\x12j\n\x13ListServiceCommands\x12(.ensemble.api.ListServiceCommandsRequest\x1a).ensemble.api.ListServiceCommandsResponse\x12T\n\x0bSendCommand\x12 .ensemble.api.SendCommandRequest\x1a!.ensemble.api.SendCommandResponse0\x01\x42#Z!github.com/boxsie/ensemble/api/pbb\x06proto3')
|
|
28
|
-
|
|
29
|
-
_globals = globals()
|
|
30
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ensemble_pb2', _globals)
|
|
32
|
-
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
-
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
-
_globals['DESCRIPTOR']._serialized_options = b'Z!github.com/boxsie/ensemble/api/pb'
|
|
35
|
-
_globals['_ACL']._serialized_start=5391
|
|
36
|
-
_globals['_ACL']._serialized_end=5449
|
|
37
|
-
_globals['_SERVICETRANSPORT']._serialized_start=5452
|
|
38
|
-
_globals['_SERVICETRANSPORT']._serialized_end=5588
|
|
39
|
-
_globals['_GETIDENTITYREQUEST']._serialized_start=32
|
|
40
|
-
_globals['_GETIDENTITYREQUEST']._serialized_end=52
|
|
41
|
-
_globals['_GETIDENTITYRESPONSE']._serialized_start=54
|
|
42
|
-
_globals['_GETIDENTITYRESPONSE']._serialized_end=112
|
|
43
|
-
_globals['_GETSTATUSREQUEST']._serialized_start=114
|
|
44
|
-
_globals['_GETSTATUSREQUEST']._serialized_end=132
|
|
45
|
-
_globals['_GETSTATUSRESPONSE']._serialized_start=134
|
|
46
|
-
_globals['_GETSTATUSRESPONSE']._serialized_end=248
|
|
47
|
-
_globals['_LISTCONTACTSREQUEST']._serialized_start=250
|
|
48
|
-
_globals['_LISTCONTACTSREQUEST']._serialized_end=271
|
|
49
|
-
_globals['_LISTCONTACTSRESPONSE']._serialized_start=273
|
|
50
|
-
_globals['_LISTCONTACTSRESPONSE']._serialized_end=340
|
|
51
|
-
_globals['_CONTACTINFO']._serialized_start=343
|
|
52
|
-
_globals['_CONTACTINFO']._serialized_end=484
|
|
53
|
-
_globals['_ADDCONTACTREQUEST']._serialized_start=486
|
|
54
|
-
_globals['_ADDCONTACTREQUEST']._serialized_end=557
|
|
55
|
-
_globals['_ADDCONTACTRESPONSE']._serialized_start=559
|
|
56
|
-
_globals['_ADDCONTACTRESPONSE']._serialized_end=579
|
|
57
|
-
_globals['_REMOVECONTACTREQUEST']._serialized_start=581
|
|
58
|
-
_globals['_REMOVECONTACTREQUEST']._serialized_end=620
|
|
59
|
-
_globals['_REMOVECONTACTRESPONSE']._serialized_start=622
|
|
60
|
-
_globals['_REMOVECONTACTRESPONSE']._serialized_end=645
|
|
61
|
-
_globals['_CONNECTREQUEST']._serialized_start=647
|
|
62
|
-
_globals['_CONNECTREQUEST']._serialized_end=680
|
|
63
|
-
_globals['_CONNECTRESPONSE']._serialized_start=682
|
|
64
|
-
_globals['_CONNECTRESPONSE']._serialized_end=734
|
|
65
|
-
_globals['_ACCEPTCONNECTIONREQUEST']._serialized_start=736
|
|
66
|
-
_globals['_ACCEPTCONNECTIONREQUEST']._serialized_end=778
|
|
67
|
-
_globals['_ACCEPTCONNECTIONRESPONSE']._serialized_start=780
|
|
68
|
-
_globals['_ACCEPTCONNECTIONRESPONSE']._serialized_end=806
|
|
69
|
-
_globals['_REJECTCONNECTIONREQUEST']._serialized_start=808
|
|
70
|
-
_globals['_REJECTCONNECTIONREQUEST']._serialized_end=850
|
|
71
|
-
_globals['_REJECTCONNECTIONRESPONSE']._serialized_start=852
|
|
72
|
-
_globals['_REJECTCONNECTIONRESPONSE']._serialized_end=878
|
|
73
|
-
_globals['_SENDMESSAGEREQUEST']._serialized_start=880
|
|
74
|
-
_globals['_SENDMESSAGEREQUEST']._serialized_end=931
|
|
75
|
-
_globals['_SENDMESSAGERESPONSE']._serialized_start=933
|
|
76
|
-
_globals['_SENDMESSAGERESPONSE']._serialized_end=974
|
|
77
|
-
_globals['_GETCHATHISTORYREQUEST']._serialized_start=976
|
|
78
|
-
_globals['_GETCHATHISTORYREQUEST']._serialized_end=1031
|
|
79
|
-
_globals['_CHATMESSAGE']._serialized_start=1034
|
|
80
|
-
_globals['_CHATMESSAGE']._serialized_end=1169
|
|
81
|
-
_globals['_GETCHATHISTORYRESPONSE']._serialized_start=1171
|
|
82
|
-
_globals['_GETCHATHISTORYRESPONSE']._serialized_end=1240
|
|
83
|
-
_globals['_DELETECHATMESSAGEREQUEST']._serialized_start=1242
|
|
84
|
-
_globals['_DELETECHATMESSAGEREQUEST']._serialized_end=1305
|
|
85
|
-
_globals['_DELETECHATMESSAGERESPONSE']._serialized_start=1307
|
|
86
|
-
_globals['_DELETECHATMESSAGERESPONSE']._serialized_end=1351
|
|
87
|
-
_globals['_CLEARCHATHISTORYREQUEST']._serialized_start=1353
|
|
88
|
-
_globals['_CLEARCHATHISTORYREQUEST']._serialized_end=1395
|
|
89
|
-
_globals['_CLEARCHATHISTORYRESPONSE']._serialized_start=1397
|
|
90
|
-
_globals['_CLEARCHATHISTORYRESPONSE']._serialized_end=1423
|
|
91
|
-
_globals['_SENDFILEREQUEST']._serialized_start=1425
|
|
92
|
-
_globals['_SENDFILEREQUEST']._serialized_end=1478
|
|
93
|
-
_globals['_TRANSFERPROGRESS']._serialized_start=1481
|
|
94
|
-
_globals['_TRANSFERPROGRESS']._serialized_end=1629
|
|
95
|
-
_globals['_ACCEPTFILEREQUEST']._serialized_start=1631
|
|
96
|
-
_globals['_ACCEPTFILEREQUEST']._serialized_end=1690
|
|
97
|
-
_globals['_ACCEPTFILERESPONSE']._serialized_start=1692
|
|
98
|
-
_globals['_ACCEPTFILERESPONSE']._serialized_end=1712
|
|
99
|
-
_globals['_REJECTFILEREQUEST']._serialized_start=1714
|
|
100
|
-
_globals['_REJECTFILEREQUEST']._serialized_end=1754
|
|
101
|
-
_globals['_REJECTFILERESPONSE']._serialized_start=1756
|
|
102
|
-
_globals['_REJECTFILERESPONSE']._serialized_end=1776
|
|
103
|
-
_globals['_CANCELTRANSFERREQUEST']._serialized_start=1778
|
|
104
|
-
_globals['_CANCELTRANSFERREQUEST']._serialized_end=1822
|
|
105
|
-
_globals['_CANCELTRANSFERRESPONSE']._serialized_start=1824
|
|
106
|
-
_globals['_CANCELTRANSFERRESPONSE']._serialized_end=1848
|
|
107
|
-
_globals['_ADDNODEREQUEST']._serialized_start=1850
|
|
108
|
-
_globals['_ADDNODEREQUEST']._serialized_end=1889
|
|
109
|
-
_globals['_ADDNODERESPONSE']._serialized_start=1891
|
|
110
|
-
_globals['_ADDNODERESPONSE']._serialized_end=1929
|
|
111
|
-
_globals['_GETDEBUGINFOREQUEST']._serialized_start=1931
|
|
112
|
-
_globals['_GETDEBUGINFOREQUEST']._serialized_end=1952
|
|
113
|
-
_globals['_GETDEBUGINFORESPONSE']._serialized_start=1955
|
|
114
|
-
_globals['_GETDEBUGINFORESPONSE']._serialized_end=2152
|
|
115
|
-
_globals['_REGISTEREDSERVICE']._serialized_start=2154
|
|
116
|
-
_globals['_REGISTEREDSERVICE']._serialized_end=2224
|
|
117
|
-
_globals['_DELETESERVICEREQUEST']._serialized_start=2226
|
|
118
|
-
_globals['_DELETESERVICEREQUEST']._serialized_end=2262
|
|
119
|
-
_globals['_ROTATEADMINKEYREQUEST']._serialized_start=2264
|
|
120
|
-
_globals['_ROTATEADMINKEYREQUEST']._serialized_end=2307
|
|
121
|
-
_globals['_ROTATEADMINKEYRESPONSE']._serialized_start=2309
|
|
122
|
-
_globals['_ROTATEADMINKEYRESPONSE']._serialized_end=2333
|
|
123
|
-
_globals['_DELETESERVICERESPONSE']._serialized_start=2335
|
|
124
|
-
_globals['_DELETESERVICERESPONSE']._serialized_end=2358
|
|
125
|
-
_globals['_DHTNODE']._serialized_start=2360
|
|
126
|
-
_globals['_DHTNODE']._serialized_end=2425
|
|
127
|
-
_globals['_PEERSTATE']._serialized_start=2427
|
|
128
|
-
_globals['_PEERSTATE']._serialized_end=2485
|
|
129
|
-
_globals['_SUBSCRIBEREQUEST']._serialized_start=2487
|
|
130
|
-
_globals['_SUBSCRIBEREQUEST']._serialized_end=2505
|
|
131
|
-
_globals['_DAEMONEVENT']._serialized_start=2507
|
|
132
|
-
_globals['_DAEMONEVENT']._serialized_end=2551
|
|
133
|
-
_globals['_SERVICECLIENTMESSAGE']._serialized_start=2554
|
|
134
|
-
_globals['_SERVICECLIENTMESSAGE']._serialized_end=3100
|
|
135
|
-
_globals['_SERVICESERVERMESSAGE']._serialized_start=3103
|
|
136
|
-
_globals['_SERVICESERVERMESSAGE']._serialized_end=3277
|
|
137
|
-
_globals['_COMMANDSPEC']._serialized_start=3279
|
|
138
|
-
_globals['_COMMANDSPEC']._serialized_end=3342
|
|
139
|
-
_globals['_SERVICEMANIFEST']._serialized_start=3345
|
|
140
|
-
_globals['_SERVICEMANIFEST']._serialized_end=3722
|
|
141
|
-
_globals['_RATELIMITPOLICY']._serialized_start=3724
|
|
142
|
-
_globals['_RATELIMITPOLICY']._serialized_end=3785
|
|
143
|
-
_globals['_SERVICEREGISTERED']._serialized_start=3787
|
|
144
|
-
_globals['_SERVICEREGISTERED']._serialized_end=3889
|
|
145
|
-
_globals['_SERVICEEVENT']._serialized_start=3891
|
|
146
|
-
_globals['_SERVICEEVENT']._serialized_end=3936
|
|
147
|
-
_globals['_SERVICECHATMESSAGEEVENT']._serialized_start=3938
|
|
148
|
-
_globals['_SERVICECHATMESSAGEEVENT']._serialized_end=4008
|
|
149
|
-
_globals['_SERVICECONNECTIONREQUESTEVENT']._serialized_start=4010
|
|
150
|
-
_globals['_SERVICECONNECTIONREQUESTEVENT']._serialized_end=4080
|
|
151
|
-
_globals['_SERVICERPCMESSAGEEVENT']._serialized_start=4082
|
|
152
|
-
_globals['_SERVICERPCMESSAGEEVENT']._serialized_end=4154
|
|
153
|
-
_globals['_SERVICEFILEOFFEREVENT']._serialized_start=4156
|
|
154
|
-
_globals['_SERVICEFILEOFFEREVENT']._serialized_end=4251
|
|
155
|
-
_globals['_SERVICECOMMANDEVENT']._serialized_start=4253
|
|
156
|
-
_globals['_SERVICECOMMANDEVENT']._serialized_end=4341
|
|
157
|
-
_globals['_SERVICECOMMANDRESULT']._serialized_start=4343
|
|
158
|
-
_globals['_SERVICECOMMANDRESULT']._serialized_end=4411
|
|
159
|
-
_globals['_SERVICEACCEPTFILE']._serialized_start=4413
|
|
160
|
-
_globals['_SERVICEACCEPTFILE']._serialized_end=4453
|
|
161
|
-
_globals['_SERVICEREJECTFILE']._serialized_start=4455
|
|
162
|
-
_globals['_SERVICEREJECTFILE']._serialized_end=4511
|
|
163
|
-
_globals['_SERVICESENDMESSAGE']._serialized_start=4513
|
|
164
|
-
_globals['_SERVICESENDMESSAGE']._serialized_end=4581
|
|
165
|
-
_globals['_SERVICEACCEPTCONNECTION']._serialized_start=4583
|
|
166
|
-
_globals['_SERVICEACCEPTCONNECTION']._serialized_end=4628
|
|
167
|
-
_globals['_SERVICEREJECTCONNECTION']._serialized_start=4630
|
|
168
|
-
_globals['_SERVICEREJECTCONNECTION']._serialized_end=4691
|
|
169
|
-
_globals['_SERVICECONNECTPEER']._serialized_start=4693
|
|
170
|
-
_globals['_SERVICECONNECTPEER']._serialized_end=4732
|
|
171
|
-
_globals['_SERVICEINTRODUCEPEER']._serialized_start=4735
|
|
172
|
-
_globals['_SERVICEINTRODUCEPEER']._serialized_end=4870
|
|
173
|
-
_globals['_SERVICEPEERINTRODUCTIONEVENT']._serialized_start=4873
|
|
174
|
-
_globals['_SERVICEPEERINTRODUCTIONEVENT']._serialized_end=5025
|
|
175
|
-
_globals['_SERVICEERROR']._serialized_start=5027
|
|
176
|
-
_globals['_SERVICEERROR']._serialized_end=5117
|
|
177
|
-
_globals['_LISTSERVICECOMMANDSREQUEST']._serialized_start=5119
|
|
178
|
-
_globals['_LISTSERVICECOMMANDSREQUEST']._serialized_end=5164
|
|
179
|
-
_globals['_LISTSERVICECOMMANDSRESPONSE']._serialized_start=5166
|
|
180
|
-
_globals['_LISTSERVICECOMMANDSRESPONSE']._serialized_end=5240
|
|
181
|
-
_globals['_SENDCOMMANDREQUEST']._serialized_start=5242
|
|
182
|
-
_globals['_SENDCOMMANDREQUEST']._serialized_end=5307
|
|
183
|
-
_globals['_SENDCOMMANDRESPONSE']._serialized_start=5309
|
|
184
|
-
_globals['_SENDCOMMANDRESPONSE']._serialized_end=5389
|
|
185
|
-
_globals['_ENSEMBLESERVICE']._serialized_start=5591
|
|
186
|
-
_globals['_ENSEMBLESERVICE']._serialized_end=7713
|
|
187
|
-
# @@protoc_insertion_point(module_scope)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|