agentic-mesh-protocol 0.2.1.dev1__py3-none-any.whl
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.
- agentic_mesh_protocol/__init__.py +5 -0
- agentic_mesh_protocol/__version__.py +8 -0
- agentic_mesh_protocol/cost/__init__.py +0 -0
- agentic_mesh_protocol/cost/v1/__init__.py +0 -0
- agentic_mesh_protocol/cost/v1/cost_pb2.py +132 -0
- agentic_mesh_protocol/cost/v1/cost_pb2.pyi +162 -0
- agentic_mesh_protocol/cost/v1/cost_pb2_grpc.py +4 -0
- agentic_mesh_protocol/cost/v1/cost_service_pb2.py +38 -0
- agentic_mesh_protocol/cost/v1/cost_service_pb2.pyi +5 -0
- agentic_mesh_protocol/cost/v1/cost_service_pb2_grpc.py +257 -0
- agentic_mesh_protocol/filesystem/__init__.py +0 -0
- agentic_mesh_protocol/filesystem/v1/__init__.py +0 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_pb2.py +160 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_pb2.pyi +248 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_pb2_grpc.py +4 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2.py +38 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2.pyi +5 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2_grpc.py +274 -0
- agentic_mesh_protocol/module/__init__.py +0 -0
- agentic_mesh_protocol/module/v1/__init__.py +0 -0
- agentic_mesh_protocol/module/v1/information_pb2.py +85 -0
- agentic_mesh_protocol/module/v1/information_pb2.pyi +104 -0
- agentic_mesh_protocol/module/v1/information_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module/v1/lifecycle_pb2.py +70 -0
- agentic_mesh_protocol/module/v1/lifecycle_pb2.pyi +61 -0
- agentic_mesh_protocol/module/v1/lifecycle_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module/v1/module_service_pb2.py +40 -0
- agentic_mesh_protocol/module/v1/module_service_pb2.pyi +7 -0
- agentic_mesh_protocol/module/v1/module_service_pb2_grpc.py +544 -0
- agentic_mesh_protocol/module/v1/monitoring_pb2.py +58 -0
- agentic_mesh_protocol/module/v1/monitoring_pb2.pyi +64 -0
- agentic_mesh_protocol/module/v1/monitoring_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/__init__.py +0 -0
- agentic_mesh_protocol/module_registry/v1/__init__.py +0 -0
- agentic_mesh_protocol/module_registry/v1/discover_pb2.py +63 -0
- agentic_mesh_protocol/module_registry/v1/discover_pb2.pyi +49 -0
- agentic_mesh_protocol/module_registry/v1/discover_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/v1/metadata_pb2.py +46 -0
- agentic_mesh_protocol/module_registry/v1/metadata_pb2.pyi +24 -0
- agentic_mesh_protocol/module_registry/v1/metadata_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2.py +40 -0
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2.pyi +7 -0
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2_grpc.py +406 -0
- agentic_mesh_protocol/module_registry/v1/registration_pb2.py +57 -0
- agentic_mesh_protocol/module_registry/v1/registration_pb2.pyi +42 -0
- agentic_mesh_protocol/module_registry/v1/registration_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/v1/status_pb2.py +58 -0
- agentic_mesh_protocol/module_registry/v1/status_pb2.pyi +70 -0
- agentic_mesh_protocol/module_registry/v1/status_pb2_grpc.py +4 -0
- agentic_mesh_protocol/py.typed +0 -0
- agentic_mesh_protocol/registry/__init__.py +0 -0
- agentic_mesh_protocol/registry/v1/__init__.py +0 -0
- agentic_mesh_protocol/registry/v1/registry_enums_pb2.py +43 -0
- agentic_mesh_protocol/registry/v1/registry_enums_pb2.pyi +59 -0
- agentic_mesh_protocol/registry/v1/registry_enums_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_models_pb2.py +105 -0
- agentic_mesh_protocol/registry/v1/registry_models_pb2.pyi +82 -0
- agentic_mesh_protocol/registry/v1/registry_models_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_requests_pb2.py +110 -0
- agentic_mesh_protocol/registry/v1/registry_requests_pb2.pyi +102 -0
- agentic_mesh_protocol/registry/v1/registry_requests_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_service_pb2.py +39 -0
- agentic_mesh_protocol/registry/v1/registry_service_pb2.pyi +6 -0
- agentic_mesh_protocol/registry/v1/registry_service_pb2_grpc.py +322 -0
- agentic_mesh_protocol/setup/__init__.py +0 -0
- agentic_mesh_protocol/setup/v1/__init__.py +0 -0
- agentic_mesh_protocol/setup/v1/setup_pb2.py +142 -0
- agentic_mesh_protocol/setup/v1/setup_pb2.pyi +234 -0
- agentic_mesh_protocol/setup/v1/setup_pb2_grpc.py +4 -0
- agentic_mesh_protocol/setup/v1/setup_service_pb2.py +38 -0
- agentic_mesh_protocol/setup/v1/setup_service_pb2.pyi +5 -0
- agentic_mesh_protocol/setup/v1/setup_service_pb2_grpc.py +480 -0
- agentic_mesh_protocol/storage/__init__.py +0 -0
- agentic_mesh_protocol/storage/v1/__init__.py +0 -0
- agentic_mesh_protocol/storage/v1/data_pb2.py +136 -0
- agentic_mesh_protocol/storage/v1/data_pb2.pyi +148 -0
- agentic_mesh_protocol/storage/v1/data_pb2_grpc.py +4 -0
- agentic_mesh_protocol/storage/v1/storage_service_pb2.py +38 -0
- agentic_mesh_protocol/storage/v1/storage_service_pb2.pyi +5 -0
- agentic_mesh_protocol/storage/v1/storage_service_pb2_grpc.py +301 -0
- agentic_mesh_protocol/user_profile/__init__.py +0 -0
- agentic_mesh_protocol/user_profile/v1/__init__.py +0 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_pb2.py +72 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_pb2.pyi +82 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_pb2_grpc.py +4 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2.py +38 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2.pyi +5 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2_grpc.py +81 -0
- agentic_mesh_protocol-0.2.1.dev1.dist-info/METADATA +177 -0
- agentic_mesh_protocol-0.2.1.dev1.dist-info/RECORD +98 -0
- agentic_mesh_protocol-0.2.1.dev1.dist-info/WHEEL +5 -0
- agentic_mesh_protocol-0.2.1.dev1.dist-info/licenses/LICENSE +430 -0
- agentic_mesh_protocol-0.2.1.dev1.dist-info/top_level.txt +2 -0
- buf/__init__.py +0 -0
- buf/validate/__init__.py +0 -0
- buf/validate/validate_pb2.py +465 -0
- buf/validate/validate_pb2.pyi +650 -0
- buf/validate/validate_pb2_grpc.py +4 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: agentic_mesh_protocol/filesystem/v1/filesystem.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.0
|
|
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
|
+
33,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'agentic_mesh_protocol/filesystem/v1/filesystem.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
|
+
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
27
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4agentic_mesh_protocol/filesystem/v1/filesystem.proto\x12#agentic_mesh_protocol.filesystem.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdd\x04\n\x04\x46ile\x12$\n\x07\x66ile_id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x03\xb0\x01\x01\xc8\x01\x01R\x06\x66ileId\x12;\n\x07\x63ontext\x18\x02 \x01(\tB!\xbaH\x1er\x19\x32\x17^(missions:|setups:).*$\xc8\x01\x01R\x07\x63ontext\x12\x1e\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04name\x12W\n\tfile_type\x18\x04 \x01(\x0e\x32-.agentic_mesh_protocol.filesystem.v1.FileTypeB\x0b\xbaH\x08\x82\x01\x02 \x00\xc8\x01\x01R\x08\x66ileType\x12-\n\x0c\x63ontent_type\x18\x05 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x0b\x63ontentType\x12)\n\nsize_bytes\x18\x06 \x01(\x03\x42\n\xbaH\x07\"\x02(\x00\xc8\x01\x01R\tsizeBytes\x12&\n\x08\x63hecksum\x18\x07 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x08\x63hecksum\x12\x33\n\x08metadata\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructR\x08metadata\x12+\n\x0bstorage_uri\x18\t \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\nstorageUri\x12%\n\x08\x66ile_url\x18\n \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x07\x66ileUrl\x12T\n\x06status\x18\x0b \x01(\x0e\x32/.agentic_mesh_protocol.filesystem.v1.FileStatusB\x0b\xbaH\x08\x82\x01\x02 \x00\xc8\x01\x01R\x06status\x12\x18\n\x07\x63ontent\x18\x0c \x01(\x0cR\x07\x63ontent\"\x97\x06\n\nFileFilter\x12\x14\n\x05names\x18\x01 \x03(\tR\x05names\x12(\n\x08\x66ile_ids\x18\x02 \x03(\tB\r\xbaH\n\x92\x01\x07\"\x05r\x03\xb0\x01\x01R\x07\x66ileIds\x12[\n\nfile_types\x18\x03 \x03(\x0e\x32-.agentic_mesh_protocol.filesystem.v1.FileTypeB\r\xbaH\n\x92\x01\x07\"\x05\x82\x01\x02 \x00R\tfileTypes\x12;\n\x07\x63ontext\x18\x04 \x01(\tB!\xbaH\x1er\x19\x32\x17^(missions:|setups:).*$\xc8\x01\x01R\x07\x63ontext\x12?\n\rcreated_after\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0c\x63reatedAfter\x12\x41\n\x0e\x63reated_before\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\rcreatedBefore\x12?\n\rupdated_after\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0cupdatedAfter\x12\x41\n\x0eupdated_before\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\rupdatedBefore\x12G\n\x06status\x18\t \x01(\x0e\x32/.agentic_mesh_protocol.filesystem.v1.FileStatusR\x06status\x12.\n\x13\x63ontent_type_prefix\x18\n \x01(\tR\x11\x63ontentTypePrefix\x12-\n\x0emin_size_bytes\x18\x0b \x01(\x03\x42\x07\xbaH\x04\"\x02(\x00R\x0cminSizeBytes\x12-\n\x0emax_size_bytes\x18\x0c \x01(\x03\x42\x07\xbaH\x04\"\x02(\x00R\x0cmaxSizeBytes\x12-\n\x06prefix\x18\r \x01(\tB\x15\xbaH\x12r\x10\x32\x0e^[^/]*/?[^/]*$R\x06prefix\x12!\n\x0c\x63ontent_type\x18\x0e \x01(\tR\x0b\x63ontentType\"o\n\nFileResult\x12?\n\x04\x66ile\x18\x01 \x01(\x0b\x32).agentic_mesh_protocol.filesystem.v1.FileH\x00R\x04\x66ile\x12\x16\n\x05\x65rror\x18\x02 \x01(\tH\x00R\x05\x65rrorB\x08\n\x06result\"\xd2\x03\n\x0eUploadFileData\x12;\n\x07\x63ontext\x18\x01 \x01(\tB!\xbaH\x1er\x19\x32\x17^(missions:|setups:).*$\xc8\x01\x01R\x07\x63ontext\x12\x1e\n\x04name\x18\x02 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04name\x12W\n\tfile_type\x18\x03 \x01(\x0e\x32-.agentic_mesh_protocol.filesystem.v1.FileTypeB\x0b\xbaH\x08\x82\x01\x02 \x00\xc8\x01\x01R\x08\x66ileType\x12-\n\x0c\x63ontent_type\x18\x04 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x0b\x63ontentType\x12$\n\x07\x63ontent\x18\x05 \x01(\x0c\x42\n\xbaH\x07z\x02\x10\x01\xc8\x01\x01R\x07\x63ontent\x12\x33\n\x08metadata\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructR\x08metadata\x12T\n\x06status\x18\x07 \x01(\x0e\x32/.agentic_mesh_protocol.filesystem.v1.FileStatusB\x0b\xbaH\x08\x82\x01\x02 \x00\xc8\x01\x01R\x06status\x12*\n\x11replace_if_exists\x18\x08 \x01(\x08R\x0freplaceIfExists\"l\n\x12UploadFilesRequest\x12V\n\x05\x66iles\x18\x01 \x03(\x0b\x32\x33.agentic_mesh_protocol.filesystem.v1.UploadFileDataB\x0b\xbaH\x08\x92\x01\x02\x08\x01\xc8\x01\x01R\x05\x66iles\"\xbc\x01\n\x13UploadFilesResponse\x12I\n\x07results\x18\x01 \x03(\x0b\x32/.agentic_mesh_protocol.filesystem.v1.FileResultR\x07results\x12.\n\x0etotal_uploaded\x18\x02 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x00R\rtotalUploaded\x12*\n\x0ctotal_failed\x18\x03 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x00R\x0btotalFailed\"\x9c\x01\n\x0eGetFileRequest\x12;\n\x07\x63ontext\x18\x01 \x01(\tB!\xbaH\x1er\x19\x32\x17^(missions:|setups:).*$\xc8\x01\x01R\x07\x63ontext\x12$\n\x07\x66ile_id\x18\x02 \x01(\tB\x0b\xbaH\x08r\x03\xb0\x01\x01\xc8\x01\x01R\x06\x66ileId\x12\'\n\x0finclude_content\x18\x03 \x01(\x08R\x0eincludeContent\"r\n\x0fGetFileResponse\x12\x45\n\x04\x66ile\x18\x01 \x01(\x0b\x32).agentic_mesh_protocol.filesystem.v1.FileB\x06\xbaH\x03\xc8\x01\x01R\x04\x66ile\x12\x18\n\x07\x63ontent\x18\x02 \x01(\x0cR\x07\x63ontent\"\xc1\x03\n\x11UpdateFileRequest\x12;\n\x07\x63ontext\x18\x01 \x01(\tB!\xbaH\x1er\x19\x32\x17^(missions:|setups:).*$\xc8\x01\x01R\x07\x63ontext\x12$\n\x07\x66ile_id\x18\x02 \x01(\tB\x0b\xbaH\x08r\x03\xb0\x01\x01\xc8\x01\x01R\x06\x66ileId\x12\"\n\x08new_name\x18\x03 \x01(\tB\x07\xbaH\x04r\x02\x10\x01R\x07newName\x12T\n\tfile_type\x18\x04 \x01(\x0e\x32-.agentic_mesh_protocol.filesystem.v1.FileTypeB\x08\xbaH\x05\x82\x01\x02 \x00R\x08\x66ileType\x12*\n\x0c\x63ontent_type\x18\x05 \x01(\tB\x07\xbaH\x04r\x02\x10\x01R\x0b\x63ontentType\x12\x18\n\x07\x63ontent\x18\x06 \x01(\x0cR\x07\x63ontent\x12T\n\x06status\x18\x07 \x01(\x0e\x32/.agentic_mesh_protocol.filesystem.v1.FileStatusB\x0b\xbaH\x08\x82\x01\x02 \x00\xc8\x01\x01R\x06status\x12\x33\n\x08metadata\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructR\x08metadata\"]\n\x12UpdateFileResponse\x12G\n\x06result\x18\x01 \x01(\x0b\x32/.agentic_mesh_protocol.filesystem.v1.FileResultR\x06result\"\xaa\x02\n\x0fGetFilesRequest\x12;\n\x07\x63ontext\x18\x01 \x01(\tB!\xbaH\x1er\x19\x32\x17^(missions:|setups:).*$\xc8\x01\x01R\x07\x63ontext\x12Q\n\x07\x66ilters\x18\x02 \x01(\x0b\x32/.agentic_mesh_protocol.filesystem.v1.FileFilterB\x06\xbaH\x03\xc8\x01\x01R\x07\x66ilters\x12\'\n\tlist_size\x18\x03 \x01(\x05\x42\n\xbaH\x07\x1a\x05\x18\xe8\x07(\x01R\x08listSize\x12\x1f\n\x06offset\x18\x04 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x00R\x06offset\x12\x14\n\x05order\x18\x05 \x01(\tR\x05order\x12\'\n\x0finclude_content\x18\x06 \x01(\x08R\x0eincludeContent\"}\n\x10GetFilesResponse\x12?\n\x05\x66iles\x18\x01 \x03(\x0b\x32).agentic_mesh_protocol.filesystem.v1.FileR\x05\x66iles\x12(\n\x0btotal_count\x18\x02 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x00R\ntotalCount\"\xd8\x01\n\x12\x44\x65leteFilesRequest\x12;\n\x07\x63ontext\x18\x01 \x01(\tB!\xbaH\x1er\x19\x32\x17^(missions:|setups:).*$\xc8\x01\x01R\x07\x63ontext\x12Q\n\x07\x66ilters\x18\x02 \x01(\x0b\x32/.agentic_mesh_protocol.filesystem.v1.FileFilterB\x06\xbaH\x03\xc8\x01\x01R\x07\x66ilters\x12\x14\n\x05\x66orce\x18\x03 \x01(\x08R\x05\x66orce\x12\x1c\n\tpermanent\x18\x04 \x01(\x08R\tpermanent\"\x8c\x02\n\x13\x44\x65leteFilesResponse\x12_\n\x07results\x18\x01 \x03(\x0b\x32\x45.agentic_mesh_protocol.filesystem.v1.DeleteFilesResponse.ResultsEntryR\x07results\x12,\n\rtotal_deleted\x18\x02 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x00R\x0ctotalDeleted\x12*\n\x0ctotal_failed\x18\x03 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x00R\x0btotalFailed\x1a:\n\x0cResultsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x08R\x05value:\x02\x38\x01*\xbc\x01\n\x08\x46ileType\x12\x19\n\x15\x46ILE_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x46ILE_TYPE_DOCUMENT\x10\x01\x12\x13\n\x0f\x46ILE_TYPE_IMAGE\x10\x02\x12\x13\n\x0f\x46ILE_TYPE_VIDEO\x10\x03\x12\x13\n\x0f\x46ILE_TYPE_AUDIO\x10\x04\x12\x15\n\x11\x46ILE_TYPE_ARCHIVE\x10\x05\x12\x12\n\x0e\x46ILE_TYPE_CODE\x10\x06\x12\x13\n\x0f\x46ILE_TYPE_OTHER\x10\x07*\xab\x01\n\nFileStatus\x12\x1b\n\x17\x46ILE_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15\x46ILE_STATUS_UPLOADING\x10\x01\x12\x16\n\x12\x46ILE_STATUS_ACTIVE\x10\x02\x12\x1a\n\x16\x46ILE_STATUS_PROCESSING\x10\x03\x12\x18\n\x14\x46ILE_STATUS_ARCHIVED\x10\x04\x12\x17\n\x13\x46ILE_STATUS_DELETED\x10\x05\x42\xe0\x01\n\'com.agentic_mesh_protocol.filesystem.v1B\x0f\x46ilesystemProtoP\x01\xa2\x02\x03\x41\x46X\xaa\x02!AgenticMeshProtocol.Filesystem.V1\xca\x02!AgenticMeshProtocol\\Filesystem\\V1\xe2\x02-AgenticMeshProtocol\\Filesystem\\V1\\GPBMetadata\xea\x02#AgenticMeshProtocol::Filesystem::V1b\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.filesystem.v1.filesystem_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\'com.agentic_mesh_protocol.filesystem.v1B\017FilesystemProtoP\001\242\002\003AFX\252\002!AgenticMeshProtocol.Filesystem.V1\312\002!AgenticMeshProtocol\\Filesystem\\V1\342\002-AgenticMeshProtocol\\Filesystem\\V1\\GPBMetadata\352\002#AgenticMeshProtocol::Filesystem::V1'
|
|
38
|
+
_globals['_FILE'].fields_by_name['file_id']._loaded_options = None
|
|
39
|
+
_globals['_FILE'].fields_by_name['file_id']._serialized_options = b'\272H\010r\003\260\001\001\310\001\001'
|
|
40
|
+
_globals['_FILE'].fields_by_name['context']._loaded_options = None
|
|
41
|
+
_globals['_FILE'].fields_by_name['context']._serialized_options = b'\272H\036r\0312\027^(missions:|setups:).*$\310\001\001'
|
|
42
|
+
_globals['_FILE'].fields_by_name['name']._loaded_options = None
|
|
43
|
+
_globals['_FILE'].fields_by_name['name']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
44
|
+
_globals['_FILE'].fields_by_name['file_type']._loaded_options = None
|
|
45
|
+
_globals['_FILE'].fields_by_name['file_type']._serialized_options = b'\272H\010\202\001\002 \000\310\001\001'
|
|
46
|
+
_globals['_FILE'].fields_by_name['content_type']._loaded_options = None
|
|
47
|
+
_globals['_FILE'].fields_by_name['content_type']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
48
|
+
_globals['_FILE'].fields_by_name['size_bytes']._loaded_options = None
|
|
49
|
+
_globals['_FILE'].fields_by_name['size_bytes']._serialized_options = b'\272H\007\"\002(\000\310\001\001'
|
|
50
|
+
_globals['_FILE'].fields_by_name['checksum']._loaded_options = None
|
|
51
|
+
_globals['_FILE'].fields_by_name['checksum']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
52
|
+
_globals['_FILE'].fields_by_name['storage_uri']._loaded_options = None
|
|
53
|
+
_globals['_FILE'].fields_by_name['storage_uri']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
54
|
+
_globals['_FILE'].fields_by_name['file_url']._loaded_options = None
|
|
55
|
+
_globals['_FILE'].fields_by_name['file_url']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
56
|
+
_globals['_FILE'].fields_by_name['status']._loaded_options = None
|
|
57
|
+
_globals['_FILE'].fields_by_name['status']._serialized_options = b'\272H\010\202\001\002 \000\310\001\001'
|
|
58
|
+
_globals['_FILEFILTER'].fields_by_name['file_ids']._loaded_options = None
|
|
59
|
+
_globals['_FILEFILTER'].fields_by_name['file_ids']._serialized_options = b'\272H\n\222\001\007\"\005r\003\260\001\001'
|
|
60
|
+
_globals['_FILEFILTER'].fields_by_name['file_types']._loaded_options = None
|
|
61
|
+
_globals['_FILEFILTER'].fields_by_name['file_types']._serialized_options = b'\272H\n\222\001\007\"\005\202\001\002 \000'
|
|
62
|
+
_globals['_FILEFILTER'].fields_by_name['context']._loaded_options = None
|
|
63
|
+
_globals['_FILEFILTER'].fields_by_name['context']._serialized_options = b'\272H\036r\0312\027^(missions:|setups:).*$\310\001\001'
|
|
64
|
+
_globals['_FILEFILTER'].fields_by_name['min_size_bytes']._loaded_options = None
|
|
65
|
+
_globals['_FILEFILTER'].fields_by_name['min_size_bytes']._serialized_options = b'\272H\004\"\002(\000'
|
|
66
|
+
_globals['_FILEFILTER'].fields_by_name['max_size_bytes']._loaded_options = None
|
|
67
|
+
_globals['_FILEFILTER'].fields_by_name['max_size_bytes']._serialized_options = b'\272H\004\"\002(\000'
|
|
68
|
+
_globals['_FILEFILTER'].fields_by_name['prefix']._loaded_options = None
|
|
69
|
+
_globals['_FILEFILTER'].fields_by_name['prefix']._serialized_options = b'\272H\022r\0202\016^[^/]*/?[^/]*$'
|
|
70
|
+
_globals['_UPLOADFILEDATA'].fields_by_name['context']._loaded_options = None
|
|
71
|
+
_globals['_UPLOADFILEDATA'].fields_by_name['context']._serialized_options = b'\272H\036r\0312\027^(missions:|setups:).*$\310\001\001'
|
|
72
|
+
_globals['_UPLOADFILEDATA'].fields_by_name['name']._loaded_options = None
|
|
73
|
+
_globals['_UPLOADFILEDATA'].fields_by_name['name']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
74
|
+
_globals['_UPLOADFILEDATA'].fields_by_name['file_type']._loaded_options = None
|
|
75
|
+
_globals['_UPLOADFILEDATA'].fields_by_name['file_type']._serialized_options = b'\272H\010\202\001\002 \000\310\001\001'
|
|
76
|
+
_globals['_UPLOADFILEDATA'].fields_by_name['content_type']._loaded_options = None
|
|
77
|
+
_globals['_UPLOADFILEDATA'].fields_by_name['content_type']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
78
|
+
_globals['_UPLOADFILEDATA'].fields_by_name['content']._loaded_options = None
|
|
79
|
+
_globals['_UPLOADFILEDATA'].fields_by_name['content']._serialized_options = b'\272H\007z\002\020\001\310\001\001'
|
|
80
|
+
_globals['_UPLOADFILEDATA'].fields_by_name['status']._loaded_options = None
|
|
81
|
+
_globals['_UPLOADFILEDATA'].fields_by_name['status']._serialized_options = b'\272H\010\202\001\002 \000\310\001\001'
|
|
82
|
+
_globals['_UPLOADFILESREQUEST'].fields_by_name['files']._loaded_options = None
|
|
83
|
+
_globals['_UPLOADFILESREQUEST'].fields_by_name['files']._serialized_options = b'\272H\010\222\001\002\010\001\310\001\001'
|
|
84
|
+
_globals['_UPLOADFILESRESPONSE'].fields_by_name['total_uploaded']._loaded_options = None
|
|
85
|
+
_globals['_UPLOADFILESRESPONSE'].fields_by_name['total_uploaded']._serialized_options = b'\272H\004\032\002(\000'
|
|
86
|
+
_globals['_UPLOADFILESRESPONSE'].fields_by_name['total_failed']._loaded_options = None
|
|
87
|
+
_globals['_UPLOADFILESRESPONSE'].fields_by_name['total_failed']._serialized_options = b'\272H\004\032\002(\000'
|
|
88
|
+
_globals['_GETFILEREQUEST'].fields_by_name['context']._loaded_options = None
|
|
89
|
+
_globals['_GETFILEREQUEST'].fields_by_name['context']._serialized_options = b'\272H\036r\0312\027^(missions:|setups:).*$\310\001\001'
|
|
90
|
+
_globals['_GETFILEREQUEST'].fields_by_name['file_id']._loaded_options = None
|
|
91
|
+
_globals['_GETFILEREQUEST'].fields_by_name['file_id']._serialized_options = b'\272H\010r\003\260\001\001\310\001\001'
|
|
92
|
+
_globals['_GETFILERESPONSE'].fields_by_name['file']._loaded_options = None
|
|
93
|
+
_globals['_GETFILERESPONSE'].fields_by_name['file']._serialized_options = b'\272H\003\310\001\001'
|
|
94
|
+
_globals['_UPDATEFILEREQUEST'].fields_by_name['context']._loaded_options = None
|
|
95
|
+
_globals['_UPDATEFILEREQUEST'].fields_by_name['context']._serialized_options = b'\272H\036r\0312\027^(missions:|setups:).*$\310\001\001'
|
|
96
|
+
_globals['_UPDATEFILEREQUEST'].fields_by_name['file_id']._loaded_options = None
|
|
97
|
+
_globals['_UPDATEFILEREQUEST'].fields_by_name['file_id']._serialized_options = b'\272H\010r\003\260\001\001\310\001\001'
|
|
98
|
+
_globals['_UPDATEFILEREQUEST'].fields_by_name['new_name']._loaded_options = None
|
|
99
|
+
_globals['_UPDATEFILEREQUEST'].fields_by_name['new_name']._serialized_options = b'\272H\004r\002\020\001'
|
|
100
|
+
_globals['_UPDATEFILEREQUEST'].fields_by_name['file_type']._loaded_options = None
|
|
101
|
+
_globals['_UPDATEFILEREQUEST'].fields_by_name['file_type']._serialized_options = b'\272H\005\202\001\002 \000'
|
|
102
|
+
_globals['_UPDATEFILEREQUEST'].fields_by_name['content_type']._loaded_options = None
|
|
103
|
+
_globals['_UPDATEFILEREQUEST'].fields_by_name['content_type']._serialized_options = b'\272H\004r\002\020\001'
|
|
104
|
+
_globals['_UPDATEFILEREQUEST'].fields_by_name['status']._loaded_options = None
|
|
105
|
+
_globals['_UPDATEFILEREQUEST'].fields_by_name['status']._serialized_options = b'\272H\010\202\001\002 \000\310\001\001'
|
|
106
|
+
_globals['_GETFILESREQUEST'].fields_by_name['context']._loaded_options = None
|
|
107
|
+
_globals['_GETFILESREQUEST'].fields_by_name['context']._serialized_options = b'\272H\036r\0312\027^(missions:|setups:).*$\310\001\001'
|
|
108
|
+
_globals['_GETFILESREQUEST'].fields_by_name['filters']._loaded_options = None
|
|
109
|
+
_globals['_GETFILESREQUEST'].fields_by_name['filters']._serialized_options = b'\272H\003\310\001\001'
|
|
110
|
+
_globals['_GETFILESREQUEST'].fields_by_name['list_size']._loaded_options = None
|
|
111
|
+
_globals['_GETFILESREQUEST'].fields_by_name['list_size']._serialized_options = b'\272H\007\032\005\030\350\007(\001'
|
|
112
|
+
_globals['_GETFILESREQUEST'].fields_by_name['offset']._loaded_options = None
|
|
113
|
+
_globals['_GETFILESREQUEST'].fields_by_name['offset']._serialized_options = b'\272H\004\032\002(\000'
|
|
114
|
+
_globals['_GETFILESRESPONSE'].fields_by_name['total_count']._loaded_options = None
|
|
115
|
+
_globals['_GETFILESRESPONSE'].fields_by_name['total_count']._serialized_options = b'\272H\004\032\002(\000'
|
|
116
|
+
_globals['_DELETEFILESREQUEST'].fields_by_name['context']._loaded_options = None
|
|
117
|
+
_globals['_DELETEFILESREQUEST'].fields_by_name['context']._serialized_options = b'\272H\036r\0312\027^(missions:|setups:).*$\310\001\001'
|
|
118
|
+
_globals['_DELETEFILESREQUEST'].fields_by_name['filters']._loaded_options = None
|
|
119
|
+
_globals['_DELETEFILESREQUEST'].fields_by_name['filters']._serialized_options = b'\272H\003\310\001\001'
|
|
120
|
+
_globals['_DELETEFILESRESPONSE_RESULTSENTRY']._loaded_options = None
|
|
121
|
+
_globals['_DELETEFILESRESPONSE_RESULTSENTRY']._serialized_options = b'8\001'
|
|
122
|
+
_globals['_DELETEFILESRESPONSE'].fields_by_name['total_deleted']._loaded_options = None
|
|
123
|
+
_globals['_DELETEFILESRESPONSE'].fields_by_name['total_deleted']._serialized_options = b'\272H\004\032\002(\000'
|
|
124
|
+
_globals['_DELETEFILESRESPONSE'].fields_by_name['total_failed']._loaded_options = None
|
|
125
|
+
_globals['_DELETEFILESRESPONSE'].fields_by_name['total_failed']._serialized_options = b'\272H\004\032\002(\000'
|
|
126
|
+
_globals['_FILETYPE']._serialized_start=4211
|
|
127
|
+
_globals['_FILETYPE']._serialized_end=4399
|
|
128
|
+
_globals['_FILESTATUS']._serialized_start=4402
|
|
129
|
+
_globals['_FILESTATUS']._serialized_end=4573
|
|
130
|
+
_globals['_FILE']._serialized_start=186
|
|
131
|
+
_globals['_FILE']._serialized_end=791
|
|
132
|
+
_globals['_FILEFILTER']._serialized_start=794
|
|
133
|
+
_globals['_FILEFILTER']._serialized_end=1585
|
|
134
|
+
_globals['_FILERESULT']._serialized_start=1587
|
|
135
|
+
_globals['_FILERESULT']._serialized_end=1698
|
|
136
|
+
_globals['_UPLOADFILEDATA']._serialized_start=1701
|
|
137
|
+
_globals['_UPLOADFILEDATA']._serialized_end=2167
|
|
138
|
+
_globals['_UPLOADFILESREQUEST']._serialized_start=2169
|
|
139
|
+
_globals['_UPLOADFILESREQUEST']._serialized_end=2277
|
|
140
|
+
_globals['_UPLOADFILESRESPONSE']._serialized_start=2280
|
|
141
|
+
_globals['_UPLOADFILESRESPONSE']._serialized_end=2468
|
|
142
|
+
_globals['_GETFILEREQUEST']._serialized_start=2471
|
|
143
|
+
_globals['_GETFILEREQUEST']._serialized_end=2627
|
|
144
|
+
_globals['_GETFILERESPONSE']._serialized_start=2629
|
|
145
|
+
_globals['_GETFILERESPONSE']._serialized_end=2743
|
|
146
|
+
_globals['_UPDATEFILEREQUEST']._serialized_start=2746
|
|
147
|
+
_globals['_UPDATEFILEREQUEST']._serialized_end=3195
|
|
148
|
+
_globals['_UPDATEFILERESPONSE']._serialized_start=3197
|
|
149
|
+
_globals['_UPDATEFILERESPONSE']._serialized_end=3290
|
|
150
|
+
_globals['_GETFILESREQUEST']._serialized_start=3293
|
|
151
|
+
_globals['_GETFILESREQUEST']._serialized_end=3591
|
|
152
|
+
_globals['_GETFILESRESPONSE']._serialized_start=3593
|
|
153
|
+
_globals['_GETFILESRESPONSE']._serialized_end=3718
|
|
154
|
+
_globals['_DELETEFILESREQUEST']._serialized_start=3721
|
|
155
|
+
_globals['_DELETEFILESREQUEST']._serialized_end=3937
|
|
156
|
+
_globals['_DELETEFILESRESPONSE']._serialized_start=3940
|
|
157
|
+
_globals['_DELETEFILESRESPONSE']._serialized_end=4208
|
|
158
|
+
_globals['_DELETEFILESRESPONSE_RESULTSENTRY']._serialized_start=4150
|
|
159
|
+
_globals['_DELETEFILESRESPONSE_RESULTSENTRY']._serialized_end=4208
|
|
160
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
|
|
3
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
4
|
+
from google.protobuf import struct_pb2 as _struct_pb2
|
|
5
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
6
|
+
from google.protobuf.internal import containers as _containers
|
|
7
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
8
|
+
from google.protobuf import descriptor as _descriptor
|
|
9
|
+
from google.protobuf import message as _message
|
|
10
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
11
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
12
|
+
|
|
13
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
14
|
+
|
|
15
|
+
class FileType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
16
|
+
__slots__ = ()
|
|
17
|
+
FILE_TYPE_UNSPECIFIED: _ClassVar[FileType]
|
|
18
|
+
FILE_TYPE_DOCUMENT: _ClassVar[FileType]
|
|
19
|
+
FILE_TYPE_IMAGE: _ClassVar[FileType]
|
|
20
|
+
FILE_TYPE_VIDEO: _ClassVar[FileType]
|
|
21
|
+
FILE_TYPE_AUDIO: _ClassVar[FileType]
|
|
22
|
+
FILE_TYPE_ARCHIVE: _ClassVar[FileType]
|
|
23
|
+
FILE_TYPE_CODE: _ClassVar[FileType]
|
|
24
|
+
FILE_TYPE_OTHER: _ClassVar[FileType]
|
|
25
|
+
|
|
26
|
+
class FileStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
27
|
+
__slots__ = ()
|
|
28
|
+
FILE_STATUS_UNSPECIFIED: _ClassVar[FileStatus]
|
|
29
|
+
FILE_STATUS_UPLOADING: _ClassVar[FileStatus]
|
|
30
|
+
FILE_STATUS_ACTIVE: _ClassVar[FileStatus]
|
|
31
|
+
FILE_STATUS_PROCESSING: _ClassVar[FileStatus]
|
|
32
|
+
FILE_STATUS_ARCHIVED: _ClassVar[FileStatus]
|
|
33
|
+
FILE_STATUS_DELETED: _ClassVar[FileStatus]
|
|
34
|
+
FILE_TYPE_UNSPECIFIED: FileType
|
|
35
|
+
FILE_TYPE_DOCUMENT: FileType
|
|
36
|
+
FILE_TYPE_IMAGE: FileType
|
|
37
|
+
FILE_TYPE_VIDEO: FileType
|
|
38
|
+
FILE_TYPE_AUDIO: FileType
|
|
39
|
+
FILE_TYPE_ARCHIVE: FileType
|
|
40
|
+
FILE_TYPE_CODE: FileType
|
|
41
|
+
FILE_TYPE_OTHER: FileType
|
|
42
|
+
FILE_STATUS_UNSPECIFIED: FileStatus
|
|
43
|
+
FILE_STATUS_UPLOADING: FileStatus
|
|
44
|
+
FILE_STATUS_ACTIVE: FileStatus
|
|
45
|
+
FILE_STATUS_PROCESSING: FileStatus
|
|
46
|
+
FILE_STATUS_ARCHIVED: FileStatus
|
|
47
|
+
FILE_STATUS_DELETED: FileStatus
|
|
48
|
+
|
|
49
|
+
class File(_message.Message):
|
|
50
|
+
__slots__ = ()
|
|
51
|
+
FILE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
+
CONTEXT_FIELD_NUMBER: _ClassVar[int]
|
|
53
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
54
|
+
FILE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
55
|
+
CONTENT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
SIZE_BYTES_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
CHECKSUM_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
+
STORAGE_URI_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
FILE_URL_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
CONTENT_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
file_id: str
|
|
64
|
+
context: str
|
|
65
|
+
name: str
|
|
66
|
+
file_type: FileType
|
|
67
|
+
content_type: str
|
|
68
|
+
size_bytes: int
|
|
69
|
+
checksum: str
|
|
70
|
+
metadata: _struct_pb2.Struct
|
|
71
|
+
storage_uri: str
|
|
72
|
+
file_url: str
|
|
73
|
+
status: FileStatus
|
|
74
|
+
content: bytes
|
|
75
|
+
def __init__(self, file_id: _Optional[str] = ..., context: _Optional[str] = ..., name: _Optional[str] = ..., file_type: _Optional[_Union[FileType, str]] = ..., content_type: _Optional[str] = ..., size_bytes: _Optional[int] = ..., checksum: _Optional[str] = ..., metadata: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., storage_uri: _Optional[str] = ..., file_url: _Optional[str] = ..., status: _Optional[_Union[FileStatus, str]] = ..., content: _Optional[bytes] = ...) -> None: ...
|
|
76
|
+
|
|
77
|
+
class FileFilter(_message.Message):
|
|
78
|
+
__slots__ = ()
|
|
79
|
+
NAMES_FIELD_NUMBER: _ClassVar[int]
|
|
80
|
+
FILE_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
81
|
+
FILE_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
82
|
+
CONTEXT_FIELD_NUMBER: _ClassVar[int]
|
|
83
|
+
CREATED_AFTER_FIELD_NUMBER: _ClassVar[int]
|
|
84
|
+
CREATED_BEFORE_FIELD_NUMBER: _ClassVar[int]
|
|
85
|
+
UPDATED_AFTER_FIELD_NUMBER: _ClassVar[int]
|
|
86
|
+
UPDATED_BEFORE_FIELD_NUMBER: _ClassVar[int]
|
|
87
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
88
|
+
CONTENT_TYPE_PREFIX_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
+
MIN_SIZE_BYTES_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
MAX_SIZE_BYTES_FIELD_NUMBER: _ClassVar[int]
|
|
91
|
+
PREFIX_FIELD_NUMBER: _ClassVar[int]
|
|
92
|
+
CONTENT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
93
|
+
names: _containers.RepeatedScalarFieldContainer[str]
|
|
94
|
+
file_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
95
|
+
file_types: _containers.RepeatedScalarFieldContainer[FileType]
|
|
96
|
+
context: str
|
|
97
|
+
created_after: _timestamp_pb2.Timestamp
|
|
98
|
+
created_before: _timestamp_pb2.Timestamp
|
|
99
|
+
updated_after: _timestamp_pb2.Timestamp
|
|
100
|
+
updated_before: _timestamp_pb2.Timestamp
|
|
101
|
+
status: FileStatus
|
|
102
|
+
content_type_prefix: str
|
|
103
|
+
min_size_bytes: int
|
|
104
|
+
max_size_bytes: int
|
|
105
|
+
prefix: str
|
|
106
|
+
content_type: str
|
|
107
|
+
def __init__(self, names: _Optional[_Iterable[str]] = ..., file_ids: _Optional[_Iterable[str]] = ..., file_types: _Optional[_Iterable[_Union[FileType, str]]] = ..., context: _Optional[str] = ..., created_after: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., created_before: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_after: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_before: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., status: _Optional[_Union[FileStatus, str]] = ..., content_type_prefix: _Optional[str] = ..., min_size_bytes: _Optional[int] = ..., max_size_bytes: _Optional[int] = ..., prefix: _Optional[str] = ..., content_type: _Optional[str] = ...) -> None: ...
|
|
108
|
+
|
|
109
|
+
class FileResult(_message.Message):
|
|
110
|
+
__slots__ = ()
|
|
111
|
+
FILE_FIELD_NUMBER: _ClassVar[int]
|
|
112
|
+
ERROR_FIELD_NUMBER: _ClassVar[int]
|
|
113
|
+
file: File
|
|
114
|
+
error: str
|
|
115
|
+
def __init__(self, file: _Optional[_Union[File, _Mapping]] = ..., error: _Optional[str] = ...) -> None: ...
|
|
116
|
+
|
|
117
|
+
class UploadFileData(_message.Message):
|
|
118
|
+
__slots__ = ()
|
|
119
|
+
CONTEXT_FIELD_NUMBER: _ClassVar[int]
|
|
120
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
121
|
+
FILE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
122
|
+
CONTENT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
123
|
+
CONTENT_FIELD_NUMBER: _ClassVar[int]
|
|
124
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
125
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
126
|
+
REPLACE_IF_EXISTS_FIELD_NUMBER: _ClassVar[int]
|
|
127
|
+
context: str
|
|
128
|
+
name: str
|
|
129
|
+
file_type: FileType
|
|
130
|
+
content_type: str
|
|
131
|
+
content: bytes
|
|
132
|
+
metadata: _struct_pb2.Struct
|
|
133
|
+
status: FileStatus
|
|
134
|
+
replace_if_exists: bool
|
|
135
|
+
def __init__(self, context: _Optional[str] = ..., name: _Optional[str] = ..., file_type: _Optional[_Union[FileType, str]] = ..., content_type: _Optional[str] = ..., content: _Optional[bytes] = ..., metadata: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., status: _Optional[_Union[FileStatus, str]] = ..., replace_if_exists: _Optional[bool] = ...) -> None: ...
|
|
136
|
+
|
|
137
|
+
class UploadFilesRequest(_message.Message):
|
|
138
|
+
__slots__ = ()
|
|
139
|
+
FILES_FIELD_NUMBER: _ClassVar[int]
|
|
140
|
+
files: _containers.RepeatedCompositeFieldContainer[UploadFileData]
|
|
141
|
+
def __init__(self, files: _Optional[_Iterable[_Union[UploadFileData, _Mapping]]] = ...) -> None: ...
|
|
142
|
+
|
|
143
|
+
class UploadFilesResponse(_message.Message):
|
|
144
|
+
__slots__ = ()
|
|
145
|
+
RESULTS_FIELD_NUMBER: _ClassVar[int]
|
|
146
|
+
TOTAL_UPLOADED_FIELD_NUMBER: _ClassVar[int]
|
|
147
|
+
TOTAL_FAILED_FIELD_NUMBER: _ClassVar[int]
|
|
148
|
+
results: _containers.RepeatedCompositeFieldContainer[FileResult]
|
|
149
|
+
total_uploaded: int
|
|
150
|
+
total_failed: int
|
|
151
|
+
def __init__(self, results: _Optional[_Iterable[_Union[FileResult, _Mapping]]] = ..., total_uploaded: _Optional[int] = ..., total_failed: _Optional[int] = ...) -> None: ...
|
|
152
|
+
|
|
153
|
+
class GetFileRequest(_message.Message):
|
|
154
|
+
__slots__ = ()
|
|
155
|
+
CONTEXT_FIELD_NUMBER: _ClassVar[int]
|
|
156
|
+
FILE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
157
|
+
INCLUDE_CONTENT_FIELD_NUMBER: _ClassVar[int]
|
|
158
|
+
context: str
|
|
159
|
+
file_id: str
|
|
160
|
+
include_content: bool
|
|
161
|
+
def __init__(self, context: _Optional[str] = ..., file_id: _Optional[str] = ..., include_content: _Optional[bool] = ...) -> None: ...
|
|
162
|
+
|
|
163
|
+
class GetFileResponse(_message.Message):
|
|
164
|
+
__slots__ = ()
|
|
165
|
+
FILE_FIELD_NUMBER: _ClassVar[int]
|
|
166
|
+
CONTENT_FIELD_NUMBER: _ClassVar[int]
|
|
167
|
+
file: File
|
|
168
|
+
content: bytes
|
|
169
|
+
def __init__(self, file: _Optional[_Union[File, _Mapping]] = ..., content: _Optional[bytes] = ...) -> None: ...
|
|
170
|
+
|
|
171
|
+
class UpdateFileRequest(_message.Message):
|
|
172
|
+
__slots__ = ()
|
|
173
|
+
CONTEXT_FIELD_NUMBER: _ClassVar[int]
|
|
174
|
+
FILE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
175
|
+
NEW_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
176
|
+
FILE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
177
|
+
CONTENT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
178
|
+
CONTENT_FIELD_NUMBER: _ClassVar[int]
|
|
179
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
180
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
181
|
+
context: str
|
|
182
|
+
file_id: str
|
|
183
|
+
new_name: str
|
|
184
|
+
file_type: FileType
|
|
185
|
+
content_type: str
|
|
186
|
+
content: bytes
|
|
187
|
+
status: FileStatus
|
|
188
|
+
metadata: _struct_pb2.Struct
|
|
189
|
+
def __init__(self, context: _Optional[str] = ..., file_id: _Optional[str] = ..., new_name: _Optional[str] = ..., file_type: _Optional[_Union[FileType, str]] = ..., content_type: _Optional[str] = ..., content: _Optional[bytes] = ..., status: _Optional[_Union[FileStatus, str]] = ..., metadata: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
190
|
+
|
|
191
|
+
class UpdateFileResponse(_message.Message):
|
|
192
|
+
__slots__ = ()
|
|
193
|
+
RESULT_FIELD_NUMBER: _ClassVar[int]
|
|
194
|
+
result: FileResult
|
|
195
|
+
def __init__(self, result: _Optional[_Union[FileResult, _Mapping]] = ...) -> None: ...
|
|
196
|
+
|
|
197
|
+
class GetFilesRequest(_message.Message):
|
|
198
|
+
__slots__ = ()
|
|
199
|
+
CONTEXT_FIELD_NUMBER: _ClassVar[int]
|
|
200
|
+
FILTERS_FIELD_NUMBER: _ClassVar[int]
|
|
201
|
+
LIST_SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
202
|
+
OFFSET_FIELD_NUMBER: _ClassVar[int]
|
|
203
|
+
ORDER_FIELD_NUMBER: _ClassVar[int]
|
|
204
|
+
INCLUDE_CONTENT_FIELD_NUMBER: _ClassVar[int]
|
|
205
|
+
context: str
|
|
206
|
+
filters: FileFilter
|
|
207
|
+
list_size: int
|
|
208
|
+
offset: int
|
|
209
|
+
order: str
|
|
210
|
+
include_content: bool
|
|
211
|
+
def __init__(self, context: _Optional[str] = ..., filters: _Optional[_Union[FileFilter, _Mapping]] = ..., list_size: _Optional[int] = ..., offset: _Optional[int] = ..., order: _Optional[str] = ..., include_content: _Optional[bool] = ...) -> None: ...
|
|
212
|
+
|
|
213
|
+
class GetFilesResponse(_message.Message):
|
|
214
|
+
__slots__ = ()
|
|
215
|
+
FILES_FIELD_NUMBER: _ClassVar[int]
|
|
216
|
+
TOTAL_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
217
|
+
files: _containers.RepeatedCompositeFieldContainer[File]
|
|
218
|
+
total_count: int
|
|
219
|
+
def __init__(self, files: _Optional[_Iterable[_Union[File, _Mapping]]] = ..., total_count: _Optional[int] = ...) -> None: ...
|
|
220
|
+
|
|
221
|
+
class DeleteFilesRequest(_message.Message):
|
|
222
|
+
__slots__ = ()
|
|
223
|
+
CONTEXT_FIELD_NUMBER: _ClassVar[int]
|
|
224
|
+
FILTERS_FIELD_NUMBER: _ClassVar[int]
|
|
225
|
+
FORCE_FIELD_NUMBER: _ClassVar[int]
|
|
226
|
+
PERMANENT_FIELD_NUMBER: _ClassVar[int]
|
|
227
|
+
context: str
|
|
228
|
+
filters: FileFilter
|
|
229
|
+
force: bool
|
|
230
|
+
permanent: bool
|
|
231
|
+
def __init__(self, context: _Optional[str] = ..., filters: _Optional[_Union[FileFilter, _Mapping]] = ..., force: _Optional[bool] = ..., permanent: _Optional[bool] = ...) -> None: ...
|
|
232
|
+
|
|
233
|
+
class DeleteFilesResponse(_message.Message):
|
|
234
|
+
__slots__ = ()
|
|
235
|
+
class ResultsEntry(_message.Message):
|
|
236
|
+
__slots__ = ()
|
|
237
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
238
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
239
|
+
key: str
|
|
240
|
+
value: bool
|
|
241
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[bool] = ...) -> None: ...
|
|
242
|
+
RESULTS_FIELD_NUMBER: _ClassVar[int]
|
|
243
|
+
TOTAL_DELETED_FIELD_NUMBER: _ClassVar[int]
|
|
244
|
+
TOTAL_FAILED_FIELD_NUMBER: _ClassVar[int]
|
|
245
|
+
results: _containers.ScalarMap[str, bool]
|
|
246
|
+
total_deleted: int
|
|
247
|
+
total_failed: int
|
|
248
|
+
def __init__(self, results: _Optional[_Mapping[str, bool]] = ..., total_deleted: _Optional[int] = ..., total_failed: _Optional[int] = ...) -> None: ...
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: agentic_mesh_protocol/filesystem/v1/filesystem_service.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.0
|
|
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
|
+
33,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'agentic_mesh_protocol/filesystem/v1/filesystem_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from agentic_mesh_protocol.filesystem.v1 import filesystem_pb2 as agentic__mesh__protocol_dot_filesystem_dot_v1_dot_filesystem__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n<agentic_mesh_protocol/filesystem/v1/filesystem_service.proto\x12#agentic_mesh_protocol.filesystem.v1\x1a\x34\x61gentic_mesh_protocol/filesystem/v1/filesystem.proto2\x87\x05\n\x11\x46ilesystemService\x12\x80\x01\n\x0bUploadFiles\x12\x37.agentic_mesh_protocol.filesystem.v1.UploadFilesRequest\x1a\x38.agentic_mesh_protocol.filesystem.v1.UploadFilesResponse\x12t\n\x07GetFile\x12\x33.agentic_mesh_protocol.filesystem.v1.GetFileRequest\x1a\x34.agentic_mesh_protocol.filesystem.v1.GetFileResponse\x12w\n\x08GetFiles\x12\x34.agentic_mesh_protocol.filesystem.v1.GetFilesRequest\x1a\x35.agentic_mesh_protocol.filesystem.v1.GetFilesResponse\x12}\n\nUpdateFile\x12\x36.agentic_mesh_protocol.filesystem.v1.UpdateFileRequest\x1a\x37.agentic_mesh_protocol.filesystem.v1.UpdateFileResponse\x12\x80\x01\n\x0b\x44\x65leteFiles\x12\x37.agentic_mesh_protocol.filesystem.v1.DeleteFilesRequest\x1a\x38.agentic_mesh_protocol.filesystem.v1.DeleteFilesResponseB\xe7\x01\n\'com.agentic_mesh_protocol.filesystem.v1B\x16\x46ilesystemServiceProtoP\x01\xa2\x02\x03\x41\x46X\xaa\x02!AgenticMeshProtocol.Filesystem.V1\xca\x02!AgenticMeshProtocol\\Filesystem\\V1\xe2\x02-AgenticMeshProtocol\\Filesystem\\V1\\GPBMetadata\xea\x02#AgenticMeshProtocol::Filesystem::V1b\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.filesystem.v1.filesystem_service_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\'com.agentic_mesh_protocol.filesystem.v1B\026FilesystemServiceProtoP\001\242\002\003AFX\252\002!AgenticMeshProtocol.Filesystem.V1\312\002!AgenticMeshProtocol\\Filesystem\\V1\342\002-AgenticMeshProtocol\\Filesystem\\V1\\GPBMetadata\352\002#AgenticMeshProtocol::Filesystem::V1'
|
|
36
|
+
_globals['_FILESYSTEMSERVICE']._serialized_start=156
|
|
37
|
+
_globals['_FILESYSTEMSERVICE']._serialized_end=803
|
|
38
|
+
# @@protoc_insertion_point(module_scope)
|