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.
Files changed (98) hide show
  1. agentic_mesh_protocol/__init__.py +5 -0
  2. agentic_mesh_protocol/__version__.py +8 -0
  3. agentic_mesh_protocol/cost/__init__.py +0 -0
  4. agentic_mesh_protocol/cost/v1/__init__.py +0 -0
  5. agentic_mesh_protocol/cost/v1/cost_pb2.py +132 -0
  6. agentic_mesh_protocol/cost/v1/cost_pb2.pyi +162 -0
  7. agentic_mesh_protocol/cost/v1/cost_pb2_grpc.py +4 -0
  8. agentic_mesh_protocol/cost/v1/cost_service_pb2.py +38 -0
  9. agentic_mesh_protocol/cost/v1/cost_service_pb2.pyi +5 -0
  10. agentic_mesh_protocol/cost/v1/cost_service_pb2_grpc.py +257 -0
  11. agentic_mesh_protocol/filesystem/__init__.py +0 -0
  12. agentic_mesh_protocol/filesystem/v1/__init__.py +0 -0
  13. agentic_mesh_protocol/filesystem/v1/filesystem_pb2.py +160 -0
  14. agentic_mesh_protocol/filesystem/v1/filesystem_pb2.pyi +248 -0
  15. agentic_mesh_protocol/filesystem/v1/filesystem_pb2_grpc.py +4 -0
  16. agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2.py +38 -0
  17. agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2.pyi +5 -0
  18. agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2_grpc.py +274 -0
  19. agentic_mesh_protocol/module/__init__.py +0 -0
  20. agentic_mesh_protocol/module/v1/__init__.py +0 -0
  21. agentic_mesh_protocol/module/v1/information_pb2.py +85 -0
  22. agentic_mesh_protocol/module/v1/information_pb2.pyi +104 -0
  23. agentic_mesh_protocol/module/v1/information_pb2_grpc.py +4 -0
  24. agentic_mesh_protocol/module/v1/lifecycle_pb2.py +70 -0
  25. agentic_mesh_protocol/module/v1/lifecycle_pb2.pyi +61 -0
  26. agentic_mesh_protocol/module/v1/lifecycle_pb2_grpc.py +4 -0
  27. agentic_mesh_protocol/module/v1/module_service_pb2.py +40 -0
  28. agentic_mesh_protocol/module/v1/module_service_pb2.pyi +7 -0
  29. agentic_mesh_protocol/module/v1/module_service_pb2_grpc.py +544 -0
  30. agentic_mesh_protocol/module/v1/monitoring_pb2.py +58 -0
  31. agentic_mesh_protocol/module/v1/monitoring_pb2.pyi +64 -0
  32. agentic_mesh_protocol/module/v1/monitoring_pb2_grpc.py +4 -0
  33. agentic_mesh_protocol/module_registry/__init__.py +0 -0
  34. agentic_mesh_protocol/module_registry/v1/__init__.py +0 -0
  35. agentic_mesh_protocol/module_registry/v1/discover_pb2.py +63 -0
  36. agentic_mesh_protocol/module_registry/v1/discover_pb2.pyi +49 -0
  37. agentic_mesh_protocol/module_registry/v1/discover_pb2_grpc.py +4 -0
  38. agentic_mesh_protocol/module_registry/v1/metadata_pb2.py +46 -0
  39. agentic_mesh_protocol/module_registry/v1/metadata_pb2.pyi +24 -0
  40. agentic_mesh_protocol/module_registry/v1/metadata_pb2_grpc.py +4 -0
  41. agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2.py +40 -0
  42. agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2.pyi +7 -0
  43. agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2_grpc.py +406 -0
  44. agentic_mesh_protocol/module_registry/v1/registration_pb2.py +57 -0
  45. agentic_mesh_protocol/module_registry/v1/registration_pb2.pyi +42 -0
  46. agentic_mesh_protocol/module_registry/v1/registration_pb2_grpc.py +4 -0
  47. agentic_mesh_protocol/module_registry/v1/status_pb2.py +58 -0
  48. agentic_mesh_protocol/module_registry/v1/status_pb2.pyi +70 -0
  49. agentic_mesh_protocol/module_registry/v1/status_pb2_grpc.py +4 -0
  50. agentic_mesh_protocol/py.typed +0 -0
  51. agentic_mesh_protocol/registry/__init__.py +0 -0
  52. agentic_mesh_protocol/registry/v1/__init__.py +0 -0
  53. agentic_mesh_protocol/registry/v1/registry_enums_pb2.py +43 -0
  54. agentic_mesh_protocol/registry/v1/registry_enums_pb2.pyi +59 -0
  55. agentic_mesh_protocol/registry/v1/registry_enums_pb2_grpc.py +4 -0
  56. agentic_mesh_protocol/registry/v1/registry_models_pb2.py +105 -0
  57. agentic_mesh_protocol/registry/v1/registry_models_pb2.pyi +82 -0
  58. agentic_mesh_protocol/registry/v1/registry_models_pb2_grpc.py +4 -0
  59. agentic_mesh_protocol/registry/v1/registry_requests_pb2.py +110 -0
  60. agentic_mesh_protocol/registry/v1/registry_requests_pb2.pyi +102 -0
  61. agentic_mesh_protocol/registry/v1/registry_requests_pb2_grpc.py +4 -0
  62. agentic_mesh_protocol/registry/v1/registry_service_pb2.py +39 -0
  63. agentic_mesh_protocol/registry/v1/registry_service_pb2.pyi +6 -0
  64. agentic_mesh_protocol/registry/v1/registry_service_pb2_grpc.py +322 -0
  65. agentic_mesh_protocol/setup/__init__.py +0 -0
  66. agentic_mesh_protocol/setup/v1/__init__.py +0 -0
  67. agentic_mesh_protocol/setup/v1/setup_pb2.py +142 -0
  68. agentic_mesh_protocol/setup/v1/setup_pb2.pyi +234 -0
  69. agentic_mesh_protocol/setup/v1/setup_pb2_grpc.py +4 -0
  70. agentic_mesh_protocol/setup/v1/setup_service_pb2.py +38 -0
  71. agentic_mesh_protocol/setup/v1/setup_service_pb2.pyi +5 -0
  72. agentic_mesh_protocol/setup/v1/setup_service_pb2_grpc.py +480 -0
  73. agentic_mesh_protocol/storage/__init__.py +0 -0
  74. agentic_mesh_protocol/storage/v1/__init__.py +0 -0
  75. agentic_mesh_protocol/storage/v1/data_pb2.py +136 -0
  76. agentic_mesh_protocol/storage/v1/data_pb2.pyi +148 -0
  77. agentic_mesh_protocol/storage/v1/data_pb2_grpc.py +4 -0
  78. agentic_mesh_protocol/storage/v1/storage_service_pb2.py +38 -0
  79. agentic_mesh_protocol/storage/v1/storage_service_pb2.pyi +5 -0
  80. agentic_mesh_protocol/storage/v1/storage_service_pb2_grpc.py +301 -0
  81. agentic_mesh_protocol/user_profile/__init__.py +0 -0
  82. agentic_mesh_protocol/user_profile/v1/__init__.py +0 -0
  83. agentic_mesh_protocol/user_profile/v1/user_profile_pb2.py +72 -0
  84. agentic_mesh_protocol/user_profile/v1/user_profile_pb2.pyi +82 -0
  85. agentic_mesh_protocol/user_profile/v1/user_profile_pb2_grpc.py +4 -0
  86. agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2.py +38 -0
  87. agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2.pyi +5 -0
  88. agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2_grpc.py +81 -0
  89. agentic_mesh_protocol-0.2.1.dev1.dist-info/METADATA +177 -0
  90. agentic_mesh_protocol-0.2.1.dev1.dist-info/RECORD +98 -0
  91. agentic_mesh_protocol-0.2.1.dev1.dist-info/WHEEL +5 -0
  92. agentic_mesh_protocol-0.2.1.dev1.dist-info/licenses/LICENSE +430 -0
  93. agentic_mesh_protocol-0.2.1.dev1.dist-info/top_level.txt +2 -0
  94. buf/__init__.py +0 -0
  95. buf/validate/__init__.py +0 -0
  96. buf/validate/validate_pb2.py +465 -0
  97. buf/validate/validate_pb2.pyi +650 -0
  98. buf/validate/validate_pb2_grpc.py +4 -0
@@ -0,0 +1,5 @@
1
+ """Agentic Mesh Protocol - Python gRPC interfaces."""
2
+
3
+ from agentic_mesh_protocol.__version__ import __version__
4
+
5
+ __all__ = ["__version__"]
@@ -0,0 +1,8 @@
1
+ """Version information for agentic_mesh_protocol package."""
2
+
3
+ from importlib.metadata import PackageNotFoundError, version
4
+
5
+ try:
6
+ __version__ = version("agentic-mesh-protocol")
7
+ except PackageNotFoundError:
8
+ __version__ = "0.2.1.dev1"
File without changes
File without changes
@@ -0,0 +1,132 @@
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/cost/v1/cost.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/cost/v1/cost.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
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(agentic_mesh_protocol/cost/v1/cost.proto\x12\x1d\x61gentic_mesh_protocol.cost.v1\x1a\x1b\x62uf/validate/validate.proto\"\x93\x03\n\x04\x43ost\x12%\n\x04\x63ost\x18\x01 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x04\x63ost\x12\x34\n\nmission_id\x18\x02 \x01(\tB\x15\xbaH\x12r\r\x10\x01:\tmissions:\xc8\x01\x01R\tmissionId\x12\x1e\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04name\x12Q\n\tcost_type\x18\x04 \x01(\x0e\x32\'.agentic_mesh_protocol.cost.v1.CostTypeB\x0b\xbaH\x08\x82\x01\x02 \x00\xc8\x01\x01R\x08\x63ostType\x12\x1e\n\x04unit\x18\x05 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04unit\x12%\n\x04rate\x18\x06 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x04rate\x12\x45\n\x10setup_version_id\x18\x07 \x01(\tB\x1b\xbaH\x18r\x13\x10\x01:\x0fsetup_versions:\xc8\x01\x01R\x0esetupVersionId\x12-\n\x08quantity\x18\x08 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x08quantity\"\x9d\x03\n\x0e\x41\x64\x64\x43ostRequest\x12%\n\x04\x63ost\x18\x01 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x04\x63ost\x12\x34\n\nmission_id\x18\x02 \x01(\tB\x15\xbaH\x12r\r\x10\x01:\tmissions:\xc8\x01\x01R\tmissionId\x12\x1e\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04name\x12Q\n\tcost_type\x18\x04 \x01(\x0e\x32\'.agentic_mesh_protocol.cost.v1.CostTypeB\x0b\xbaH\x08\x82\x01\x02 \x00\xc8\x01\x01R\x08\x63ostType\x12\x1e\n\x04unit\x18\x05 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04unit\x12%\n\x04rate\x18\x06 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x04rate\x12\x45\n\x10setup_version_id\x18\x07 \x01(\tB\x1b\xbaH\x18r\x13\x10\x01:\x0fsetup_versions:\xc8\x01\x01R\x0esetupVersionId\x12-\n\x08quantity\x18\x08 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x08quantity\"+\n\x0f\x41\x64\x64\x43ostResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\"\xd2\x01\n\nCostFilter\x12\"\n\x05names\x18\x01 \x03(\tB\x0c\xbaH\t\x92\x01\x06\"\x04r\x02\x10\x01R\x05names\x12U\n\ncost_types\x18\x02 \x03(\x0e\x32\'.agentic_mesh_protocol.cost.v1.CostTypeB\r\xbaH\n\x92\x01\x07\"\x05\x82\x01\x02 \x00R\tcostTypes\x12I\n\x11setup_version_ids\x18\x03 \x03(\tB\x1d\xbaH\x1a\x92\x01\x17\"\x15r\x13\x10\x01:\x0fsetup_versions:R\x0fsetupVersionIds\"\xcd\x01\n\x0fGetCostsRequest\x12\x34\n\nmission_id\x18\x01 \x01(\tB\x15\xbaH\x12r\r\x10\x01:\tmissions:\xc8\x01\x01R\tmissionId\x12\x41\n\x06\x66ilter\x18\x02 \x01(\x0b\x32).agentic_mesh_protocol.cost.v1.CostFilterR\x06\x66ilter\x12 \n\x05limit\x18\x03 \x01(\x05\x42\n\xbaH\x07\x1a\x05\x18\xe8\x07(\x01R\x05limit\x12\x1f\n\x06offset\x18\x04 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x00R\x06offset\"\xa6\x01\n\x10GetCostsResponse\x12\x39\n\x05\x63osts\x18\x01 \x03(\x0b\x32#.agentic_mesh_protocol.cost.v1.CostR\x05\x63osts\x12(\n\x0btotal_count\x18\x02 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x00R\ntotalCount\x12-\n\ntotal_cost\x18\x03 \x01(\x01\x42\x0e\xbaH\x0b\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00R\ttotalCost\"f\n\x0eGetCostRequest\x12\x34\n\nmission_id\x18\x01 \x01(\tB\x15\xbaH\x12r\r\x10\x01:\tmissions:\xc8\x01\x01R\tmissionId\x12\x1e\n\x04name\x18\x02 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04name\"{\n\x0fGetCostResponse\x12\x39\n\x05\x63osts\x18\x01 \x03(\x0b\x32#.agentic_mesh_protocol.cost.v1.CostR\x05\x63osts\x12-\n\ntotal_cost\x18\x02 \x01(\x01\x42\x0e\xbaH\x0b\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00R\ttotalCost\"\xe8\x01\n\nCostConfig\x12\x1e\n\x04name\x18\x01 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04name\x12Q\n\tcost_type\x18\x02 \x01(\x0e\x32\'.agentic_mesh_protocol.cost.v1.CostTypeB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\x08\x63ostType\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1e\n\x04unit\x18\x04 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04unit\x12%\n\x04rate\x18\x05 \x01(\x01\x42\x11\xbaH\x0e\x12\t!\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x04rate\"]\n\x14GetCostConfigRequest\x12\x45\n\x10setup_version_id\x18\x01 \x01(\tB\x1b\xbaH\x18r\x13\x10\x01:\x0fsetup_versions:\xc8\x01\x01R\x0esetupVersionId\"v\n\x15GetCostConfigResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x43\n\x07\x63onfigs\x18\x02 \x03(\x0b\x32).agentic_mesh_protocol.cost.v1.CostConfigR\x07\x63onfigs\"\xaa\x01\n\x14SetCostConfigRequest\x12\x45\n\x10setup_version_id\x18\x01 \x01(\tB\x1b\xbaH\x18r\x13\x10\x01:\x0fsetup_versions:\xc8\x01\x01R\x0esetupVersionId\x12K\n\x07\x63onfigs\x18\x02 \x03(\x0b\x32).agentic_mesh_protocol.cost.v1.CostConfigB\x06\xbaH\x03\xc8\x01\x01R\x07\x63onfigs\"1\n\x15SetCostConfigResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success*n\n\x08\x43ostType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0f\n\x0bTOKEN_INPUT\x10\x01\x12\x10\n\x0cTOKEN_OUTPUT\x10\x02\x12\x0c\n\x08\x41PI_CALL\x10\x03\x12\x0b\n\x07STORAGE\x10\x04\x12\x08\n\x04TIME\x10\x05\x12\t\n\x05OTHER\x10\x06\x42\xbc\x01\n!com.agentic_mesh_protocol.cost.v1B\tCostProtoP\x01\xa2\x02\x03\x41\x43X\xaa\x02\x1b\x41genticMeshProtocol.Cost.V1\xca\x02\x1b\x41genticMeshProtocol\\Cost\\V1\xe2\x02\'AgenticMeshProtocol\\Cost\\V1\\GPBMetadata\xea\x02\x1d\x41genticMeshProtocol::Cost::V1b\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.cost.v1.cost_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.cost.v1B\tCostProtoP\001\242\002\003ACX\252\002\033AgenticMeshProtocol.Cost.V1\312\002\033AgenticMeshProtocol\\Cost\\V1\342\002\'AgenticMeshProtocol\\Cost\\V1\\GPBMetadata\352\002\035AgenticMeshProtocol::Cost::V1'
36
+ _globals['_COST'].fields_by_name['cost']._loaded_options = None
37
+ _globals['_COST'].fields_by_name['cost']._serialized_options = b'\272H\016\022\t)\000\000\000\000\000\000\000\000\310\001\001'
38
+ _globals['_COST'].fields_by_name['mission_id']._loaded_options = None
39
+ _globals['_COST'].fields_by_name['mission_id']._serialized_options = b'\272H\022r\r\020\001:\tmissions:\310\001\001'
40
+ _globals['_COST'].fields_by_name['name']._loaded_options = None
41
+ _globals['_COST'].fields_by_name['name']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
42
+ _globals['_COST'].fields_by_name['cost_type']._loaded_options = None
43
+ _globals['_COST'].fields_by_name['cost_type']._serialized_options = b'\272H\010\202\001\002 \000\310\001\001'
44
+ _globals['_COST'].fields_by_name['unit']._loaded_options = None
45
+ _globals['_COST'].fields_by_name['unit']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
46
+ _globals['_COST'].fields_by_name['rate']._loaded_options = None
47
+ _globals['_COST'].fields_by_name['rate']._serialized_options = b'\272H\016\022\t)\000\000\000\000\000\000\000\000\310\001\001'
48
+ _globals['_COST'].fields_by_name['setup_version_id']._loaded_options = None
49
+ _globals['_COST'].fields_by_name['setup_version_id']._serialized_options = b'\272H\030r\023\020\001:\017setup_versions:\310\001\001'
50
+ _globals['_COST'].fields_by_name['quantity']._loaded_options = None
51
+ _globals['_COST'].fields_by_name['quantity']._serialized_options = b'\272H\016\022\t)\000\000\000\000\000\000\000\000\310\001\001'
52
+ _globals['_ADDCOSTREQUEST'].fields_by_name['cost']._loaded_options = None
53
+ _globals['_ADDCOSTREQUEST'].fields_by_name['cost']._serialized_options = b'\272H\016\022\t)\000\000\000\000\000\000\000\000\310\001\001'
54
+ _globals['_ADDCOSTREQUEST'].fields_by_name['mission_id']._loaded_options = None
55
+ _globals['_ADDCOSTREQUEST'].fields_by_name['mission_id']._serialized_options = b'\272H\022r\r\020\001:\tmissions:\310\001\001'
56
+ _globals['_ADDCOSTREQUEST'].fields_by_name['name']._loaded_options = None
57
+ _globals['_ADDCOSTREQUEST'].fields_by_name['name']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
58
+ _globals['_ADDCOSTREQUEST'].fields_by_name['cost_type']._loaded_options = None
59
+ _globals['_ADDCOSTREQUEST'].fields_by_name['cost_type']._serialized_options = b'\272H\010\202\001\002 \000\310\001\001'
60
+ _globals['_ADDCOSTREQUEST'].fields_by_name['unit']._loaded_options = None
61
+ _globals['_ADDCOSTREQUEST'].fields_by_name['unit']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
62
+ _globals['_ADDCOSTREQUEST'].fields_by_name['rate']._loaded_options = None
63
+ _globals['_ADDCOSTREQUEST'].fields_by_name['rate']._serialized_options = b'\272H\016\022\t)\000\000\000\000\000\000\000\000\310\001\001'
64
+ _globals['_ADDCOSTREQUEST'].fields_by_name['setup_version_id']._loaded_options = None
65
+ _globals['_ADDCOSTREQUEST'].fields_by_name['setup_version_id']._serialized_options = b'\272H\030r\023\020\001:\017setup_versions:\310\001\001'
66
+ _globals['_ADDCOSTREQUEST'].fields_by_name['quantity']._loaded_options = None
67
+ _globals['_ADDCOSTREQUEST'].fields_by_name['quantity']._serialized_options = b'\272H\016\022\t)\000\000\000\000\000\000\000\000\310\001\001'
68
+ _globals['_COSTFILTER'].fields_by_name['names']._loaded_options = None
69
+ _globals['_COSTFILTER'].fields_by_name['names']._serialized_options = b'\272H\t\222\001\006\"\004r\002\020\001'
70
+ _globals['_COSTFILTER'].fields_by_name['cost_types']._loaded_options = None
71
+ _globals['_COSTFILTER'].fields_by_name['cost_types']._serialized_options = b'\272H\n\222\001\007\"\005\202\001\002 \000'
72
+ _globals['_COSTFILTER'].fields_by_name['setup_version_ids']._loaded_options = None
73
+ _globals['_COSTFILTER'].fields_by_name['setup_version_ids']._serialized_options = b'\272H\032\222\001\027\"\025r\023\020\001:\017setup_versions:'
74
+ _globals['_GETCOSTSREQUEST'].fields_by_name['mission_id']._loaded_options = None
75
+ _globals['_GETCOSTSREQUEST'].fields_by_name['mission_id']._serialized_options = b'\272H\022r\r\020\001:\tmissions:\310\001\001'
76
+ _globals['_GETCOSTSREQUEST'].fields_by_name['limit']._loaded_options = None
77
+ _globals['_GETCOSTSREQUEST'].fields_by_name['limit']._serialized_options = b'\272H\007\032\005\030\350\007(\001'
78
+ _globals['_GETCOSTSREQUEST'].fields_by_name['offset']._loaded_options = None
79
+ _globals['_GETCOSTSREQUEST'].fields_by_name['offset']._serialized_options = b'\272H\004\032\002(\000'
80
+ _globals['_GETCOSTSRESPONSE'].fields_by_name['total_count']._loaded_options = None
81
+ _globals['_GETCOSTSRESPONSE'].fields_by_name['total_count']._serialized_options = b'\272H\004\032\002(\000'
82
+ _globals['_GETCOSTSRESPONSE'].fields_by_name['total_cost']._loaded_options = None
83
+ _globals['_GETCOSTSRESPONSE'].fields_by_name['total_cost']._serialized_options = b'\272H\013\022\t)\000\000\000\000\000\000\000\000'
84
+ _globals['_GETCOSTREQUEST'].fields_by_name['mission_id']._loaded_options = None
85
+ _globals['_GETCOSTREQUEST'].fields_by_name['mission_id']._serialized_options = b'\272H\022r\r\020\001:\tmissions:\310\001\001'
86
+ _globals['_GETCOSTREQUEST'].fields_by_name['name']._loaded_options = None
87
+ _globals['_GETCOSTREQUEST'].fields_by_name['name']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
88
+ _globals['_GETCOSTRESPONSE'].fields_by_name['total_cost']._loaded_options = None
89
+ _globals['_GETCOSTRESPONSE'].fields_by_name['total_cost']._serialized_options = b'\272H\013\022\t)\000\000\000\000\000\000\000\000'
90
+ _globals['_COSTCONFIG'].fields_by_name['name']._loaded_options = None
91
+ _globals['_COSTCONFIG'].fields_by_name['name']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
92
+ _globals['_COSTCONFIG'].fields_by_name['cost_type']._loaded_options = None
93
+ _globals['_COSTCONFIG'].fields_by_name['cost_type']._serialized_options = b'\272H\010\202\001\002\020\001\310\001\001'
94
+ _globals['_COSTCONFIG'].fields_by_name['unit']._loaded_options = None
95
+ _globals['_COSTCONFIG'].fields_by_name['unit']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
96
+ _globals['_COSTCONFIG'].fields_by_name['rate']._loaded_options = None
97
+ _globals['_COSTCONFIG'].fields_by_name['rate']._serialized_options = b'\272H\016\022\t!\000\000\000\000\000\000\000\000\310\001\001'
98
+ _globals['_GETCOSTCONFIGREQUEST'].fields_by_name['setup_version_id']._loaded_options = None
99
+ _globals['_GETCOSTCONFIGREQUEST'].fields_by_name['setup_version_id']._serialized_options = b'\272H\030r\023\020\001:\017setup_versions:\310\001\001'
100
+ _globals['_SETCOSTCONFIGREQUEST'].fields_by_name['setup_version_id']._loaded_options = None
101
+ _globals['_SETCOSTCONFIGREQUEST'].fields_by_name['setup_version_id']._serialized_options = b'\272H\030r\023\020\001:\017setup_versions:\310\001\001'
102
+ _globals['_SETCOSTCONFIGREQUEST'].fields_by_name['configs']._loaded_options = None
103
+ _globals['_SETCOSTCONFIGREQUEST'].fields_by_name['configs']._serialized_options = b'\272H\003\310\001\001'
104
+ _globals['_COSTTYPE']._serialized_start=2464
105
+ _globals['_COSTTYPE']._serialized_end=2574
106
+ _globals['_COST']._serialized_start=105
107
+ _globals['_COST']._serialized_end=508
108
+ _globals['_ADDCOSTREQUEST']._serialized_start=511
109
+ _globals['_ADDCOSTREQUEST']._serialized_end=924
110
+ _globals['_ADDCOSTRESPONSE']._serialized_start=926
111
+ _globals['_ADDCOSTRESPONSE']._serialized_end=969
112
+ _globals['_COSTFILTER']._serialized_start=972
113
+ _globals['_COSTFILTER']._serialized_end=1182
114
+ _globals['_GETCOSTSREQUEST']._serialized_start=1185
115
+ _globals['_GETCOSTSREQUEST']._serialized_end=1390
116
+ _globals['_GETCOSTSRESPONSE']._serialized_start=1393
117
+ _globals['_GETCOSTSRESPONSE']._serialized_end=1559
118
+ _globals['_GETCOSTREQUEST']._serialized_start=1561
119
+ _globals['_GETCOSTREQUEST']._serialized_end=1663
120
+ _globals['_GETCOSTRESPONSE']._serialized_start=1665
121
+ _globals['_GETCOSTRESPONSE']._serialized_end=1788
122
+ _globals['_COSTCONFIG']._serialized_start=1791
123
+ _globals['_COSTCONFIG']._serialized_end=2023
124
+ _globals['_GETCOSTCONFIGREQUEST']._serialized_start=2025
125
+ _globals['_GETCOSTCONFIGREQUEST']._serialized_end=2118
126
+ _globals['_GETCOSTCONFIGRESPONSE']._serialized_start=2120
127
+ _globals['_GETCOSTCONFIGRESPONSE']._serialized_end=2238
128
+ _globals['_SETCOSTCONFIGREQUEST']._serialized_start=2241
129
+ _globals['_SETCOSTCONFIGREQUEST']._serialized_end=2411
130
+ _globals['_SETCOSTCONFIGRESPONSE']._serialized_start=2413
131
+ _globals['_SETCOSTCONFIGRESPONSE']._serialized_end=2462
132
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,162 @@
1
+ from buf.validate import validate_pb2 as _validate_pb2
2
+ from google.protobuf.internal import containers as _containers
3
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
4
+ from google.protobuf import descriptor as _descriptor
5
+ from google.protobuf import message as _message
6
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
7
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
8
+
9
+ DESCRIPTOR: _descriptor.FileDescriptor
10
+
11
+ class CostType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
12
+ __slots__ = ()
13
+ UNSPECIFIED: _ClassVar[CostType]
14
+ TOKEN_INPUT: _ClassVar[CostType]
15
+ TOKEN_OUTPUT: _ClassVar[CostType]
16
+ API_CALL: _ClassVar[CostType]
17
+ STORAGE: _ClassVar[CostType]
18
+ TIME: _ClassVar[CostType]
19
+ OTHER: _ClassVar[CostType]
20
+ UNSPECIFIED: CostType
21
+ TOKEN_INPUT: CostType
22
+ TOKEN_OUTPUT: CostType
23
+ API_CALL: CostType
24
+ STORAGE: CostType
25
+ TIME: CostType
26
+ OTHER: CostType
27
+
28
+ class Cost(_message.Message):
29
+ __slots__ = ()
30
+ COST_FIELD_NUMBER: _ClassVar[int]
31
+ MISSION_ID_FIELD_NUMBER: _ClassVar[int]
32
+ NAME_FIELD_NUMBER: _ClassVar[int]
33
+ COST_TYPE_FIELD_NUMBER: _ClassVar[int]
34
+ UNIT_FIELD_NUMBER: _ClassVar[int]
35
+ RATE_FIELD_NUMBER: _ClassVar[int]
36
+ SETUP_VERSION_ID_FIELD_NUMBER: _ClassVar[int]
37
+ QUANTITY_FIELD_NUMBER: _ClassVar[int]
38
+ cost: float
39
+ mission_id: str
40
+ name: str
41
+ cost_type: CostType
42
+ unit: str
43
+ rate: float
44
+ setup_version_id: str
45
+ quantity: float
46
+ def __init__(self, cost: _Optional[float] = ..., mission_id: _Optional[str] = ..., name: _Optional[str] = ..., cost_type: _Optional[_Union[CostType, str]] = ..., unit: _Optional[str] = ..., rate: _Optional[float] = ..., setup_version_id: _Optional[str] = ..., quantity: _Optional[float] = ...) -> None: ...
47
+
48
+ class AddCostRequest(_message.Message):
49
+ __slots__ = ()
50
+ COST_FIELD_NUMBER: _ClassVar[int]
51
+ MISSION_ID_FIELD_NUMBER: _ClassVar[int]
52
+ NAME_FIELD_NUMBER: _ClassVar[int]
53
+ COST_TYPE_FIELD_NUMBER: _ClassVar[int]
54
+ UNIT_FIELD_NUMBER: _ClassVar[int]
55
+ RATE_FIELD_NUMBER: _ClassVar[int]
56
+ SETUP_VERSION_ID_FIELD_NUMBER: _ClassVar[int]
57
+ QUANTITY_FIELD_NUMBER: _ClassVar[int]
58
+ cost: float
59
+ mission_id: str
60
+ name: str
61
+ cost_type: CostType
62
+ unit: str
63
+ rate: float
64
+ setup_version_id: str
65
+ quantity: float
66
+ def __init__(self, cost: _Optional[float] = ..., mission_id: _Optional[str] = ..., name: _Optional[str] = ..., cost_type: _Optional[_Union[CostType, str]] = ..., unit: _Optional[str] = ..., rate: _Optional[float] = ..., setup_version_id: _Optional[str] = ..., quantity: _Optional[float] = ...) -> None: ...
67
+
68
+ class AddCostResponse(_message.Message):
69
+ __slots__ = ()
70
+ SUCCESS_FIELD_NUMBER: _ClassVar[int]
71
+ success: bool
72
+ def __init__(self, success: _Optional[bool] = ...) -> None: ...
73
+
74
+ class CostFilter(_message.Message):
75
+ __slots__ = ()
76
+ NAMES_FIELD_NUMBER: _ClassVar[int]
77
+ COST_TYPES_FIELD_NUMBER: _ClassVar[int]
78
+ SETUP_VERSION_IDS_FIELD_NUMBER: _ClassVar[int]
79
+ names: _containers.RepeatedScalarFieldContainer[str]
80
+ cost_types: _containers.RepeatedScalarFieldContainer[CostType]
81
+ setup_version_ids: _containers.RepeatedScalarFieldContainer[str]
82
+ def __init__(self, names: _Optional[_Iterable[str]] = ..., cost_types: _Optional[_Iterable[_Union[CostType, str]]] = ..., setup_version_ids: _Optional[_Iterable[str]] = ...) -> None: ...
83
+
84
+ class GetCostsRequest(_message.Message):
85
+ __slots__ = ()
86
+ MISSION_ID_FIELD_NUMBER: _ClassVar[int]
87
+ FILTER_FIELD_NUMBER: _ClassVar[int]
88
+ LIMIT_FIELD_NUMBER: _ClassVar[int]
89
+ OFFSET_FIELD_NUMBER: _ClassVar[int]
90
+ mission_id: str
91
+ filter: CostFilter
92
+ limit: int
93
+ offset: int
94
+ def __init__(self, mission_id: _Optional[str] = ..., filter: _Optional[_Union[CostFilter, _Mapping]] = ..., limit: _Optional[int] = ..., offset: _Optional[int] = ...) -> None: ...
95
+
96
+ class GetCostsResponse(_message.Message):
97
+ __slots__ = ()
98
+ COSTS_FIELD_NUMBER: _ClassVar[int]
99
+ TOTAL_COUNT_FIELD_NUMBER: _ClassVar[int]
100
+ TOTAL_COST_FIELD_NUMBER: _ClassVar[int]
101
+ costs: _containers.RepeatedCompositeFieldContainer[Cost]
102
+ total_count: int
103
+ total_cost: float
104
+ def __init__(self, costs: _Optional[_Iterable[_Union[Cost, _Mapping]]] = ..., total_count: _Optional[int] = ..., total_cost: _Optional[float] = ...) -> None: ...
105
+
106
+ class GetCostRequest(_message.Message):
107
+ __slots__ = ()
108
+ MISSION_ID_FIELD_NUMBER: _ClassVar[int]
109
+ NAME_FIELD_NUMBER: _ClassVar[int]
110
+ mission_id: str
111
+ name: str
112
+ def __init__(self, mission_id: _Optional[str] = ..., name: _Optional[str] = ...) -> None: ...
113
+
114
+ class GetCostResponse(_message.Message):
115
+ __slots__ = ()
116
+ COSTS_FIELD_NUMBER: _ClassVar[int]
117
+ TOTAL_COST_FIELD_NUMBER: _ClassVar[int]
118
+ costs: _containers.RepeatedCompositeFieldContainer[Cost]
119
+ total_cost: float
120
+ def __init__(self, costs: _Optional[_Iterable[_Union[Cost, _Mapping]]] = ..., total_cost: _Optional[float] = ...) -> None: ...
121
+
122
+ class CostConfig(_message.Message):
123
+ __slots__ = ()
124
+ NAME_FIELD_NUMBER: _ClassVar[int]
125
+ COST_TYPE_FIELD_NUMBER: _ClassVar[int]
126
+ DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
127
+ UNIT_FIELD_NUMBER: _ClassVar[int]
128
+ RATE_FIELD_NUMBER: _ClassVar[int]
129
+ name: str
130
+ cost_type: CostType
131
+ description: str
132
+ unit: str
133
+ rate: float
134
+ def __init__(self, name: _Optional[str] = ..., cost_type: _Optional[_Union[CostType, str]] = ..., description: _Optional[str] = ..., unit: _Optional[str] = ..., rate: _Optional[float] = ...) -> None: ...
135
+
136
+ class GetCostConfigRequest(_message.Message):
137
+ __slots__ = ()
138
+ SETUP_VERSION_ID_FIELD_NUMBER: _ClassVar[int]
139
+ setup_version_id: str
140
+ def __init__(self, setup_version_id: _Optional[str] = ...) -> None: ...
141
+
142
+ class GetCostConfigResponse(_message.Message):
143
+ __slots__ = ()
144
+ SUCCESS_FIELD_NUMBER: _ClassVar[int]
145
+ CONFIGS_FIELD_NUMBER: _ClassVar[int]
146
+ success: bool
147
+ configs: _containers.RepeatedCompositeFieldContainer[CostConfig]
148
+ def __init__(self, success: _Optional[bool] = ..., configs: _Optional[_Iterable[_Union[CostConfig, _Mapping]]] = ...) -> None: ...
149
+
150
+ class SetCostConfigRequest(_message.Message):
151
+ __slots__ = ()
152
+ SETUP_VERSION_ID_FIELD_NUMBER: _ClassVar[int]
153
+ CONFIGS_FIELD_NUMBER: _ClassVar[int]
154
+ setup_version_id: str
155
+ configs: _containers.RepeatedCompositeFieldContainer[CostConfig]
156
+ def __init__(self, setup_version_id: _Optional[str] = ..., configs: _Optional[_Iterable[_Union[CostConfig, _Mapping]]] = ...) -> None: ...
157
+
158
+ class SetCostConfigResponse(_message.Message):
159
+ __slots__ = ()
160
+ SUCCESS_FIELD_NUMBER: _ClassVar[int]
161
+ success: bool
162
+ def __init__(self, success: _Optional[bool] = ...) -> None: ...
@@ -0,0 +1,4 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
@@ -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/cost/v1/cost_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/cost/v1/cost_service.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from agentic_mesh_protocol.cost.v1 import cost_pb2 as agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0agentic_mesh_protocol/cost/v1/cost_service.proto\x12\x1d\x61gentic_mesh_protocol.cost.v1\x1a(agentic_mesh_protocol/cost/v1/cost.proto2\xc6\x04\n\x0b\x43ostService\x12h\n\x07\x41\x64\x64\x43ost\x12-.agentic_mesh_protocol.cost.v1.AddCostRequest\x1a..agentic_mesh_protocol.cost.v1.AddCostResponse\x12h\n\x07GetCost\x12-.agentic_mesh_protocol.cost.v1.GetCostRequest\x1a..agentic_mesh_protocol.cost.v1.GetCostResponse\x12k\n\x08GetCosts\x12..agentic_mesh_protocol.cost.v1.GetCostsRequest\x1a/.agentic_mesh_protocol.cost.v1.GetCostsResponse\x12z\n\rGetCostConfig\x12\x33.agentic_mesh_protocol.cost.v1.GetCostConfigRequest\x1a\x34.agentic_mesh_protocol.cost.v1.GetCostConfigResponse\x12z\n\rSetCostConfig\x12\x33.agentic_mesh_protocol.cost.v1.SetCostConfigRequest\x1a\x34.agentic_mesh_protocol.cost.v1.SetCostConfigResponseB\xc3\x01\n!com.agentic_mesh_protocol.cost.v1B\x10\x43ostServiceProtoP\x01\xa2\x02\x03\x41\x43X\xaa\x02\x1b\x41genticMeshProtocol.Cost.V1\xca\x02\x1b\x41genticMeshProtocol\\Cost\\V1\xe2\x02\'AgenticMeshProtocol\\Cost\\V1\\GPBMetadata\xea\x02\x1d\x41genticMeshProtocol::Cost::V1b\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.cost.v1.cost_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.cost.v1B\020CostServiceProtoP\001\242\002\003ACX\252\002\033AgenticMeshProtocol.Cost.V1\312\002\033AgenticMeshProtocol\\Cost\\V1\342\002\'AgenticMeshProtocol\\Cost\\V1\\GPBMetadata\352\002\035AgenticMeshProtocol::Cost::V1'
36
+ _globals['_COSTSERVICE']._serialized_start=126
37
+ _globals['_COSTSERVICE']._serialized_end=708
38
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,5 @@
1
+ from agentic_mesh_protocol.cost.v1 import cost_pb2 as _cost_pb2
2
+ from google.protobuf import descriptor as _descriptor
3
+ from typing import ClassVar as _ClassVar
4
+
5
+ DESCRIPTOR: _descriptor.FileDescriptor
@@ -0,0 +1,257 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
5
+ from agentic_mesh_protocol.cost.v1 import cost_pb2 as agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2
6
+
7
+
8
+ class CostServiceStub(object):
9
+ """CostService provides operations for tracking and querying operational costs.
10
+ """
11
+
12
+ def __init__(self, channel):
13
+ """Constructor.
14
+
15
+ Args:
16
+ channel: A grpc.Channel.
17
+ """
18
+ self.AddCost = channel.unary_unary(
19
+ '/agentic_mesh_protocol.cost.v1.CostService/AddCost',
20
+ request_serializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.AddCostRequest.SerializeToString,
21
+ response_deserializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.AddCostResponse.FromString,
22
+ _registered_method=True)
23
+ self.GetCost = channel.unary_unary(
24
+ '/agentic_mesh_protocol.cost.v1.CostService/GetCost',
25
+ request_serializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostRequest.SerializeToString,
26
+ response_deserializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostResponse.FromString,
27
+ _registered_method=True)
28
+ self.GetCosts = channel.unary_unary(
29
+ '/agentic_mesh_protocol.cost.v1.CostService/GetCosts',
30
+ request_serializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostsRequest.SerializeToString,
31
+ response_deserializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostsResponse.FromString,
32
+ _registered_method=True)
33
+ self.GetCostConfig = channel.unary_unary(
34
+ '/agentic_mesh_protocol.cost.v1.CostService/GetCostConfig',
35
+ request_serializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostConfigRequest.SerializeToString,
36
+ response_deserializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostConfigResponse.FromString,
37
+ _registered_method=True)
38
+ self.SetCostConfig = channel.unary_unary(
39
+ '/agentic_mesh_protocol.cost.v1.CostService/SetCostConfig',
40
+ request_serializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.SetCostConfigRequest.SerializeToString,
41
+ response_deserializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.SetCostConfigResponse.FromString,
42
+ _registered_method=True)
43
+
44
+
45
+ class CostServiceServicer(object):
46
+ """CostService provides operations for tracking and querying operational costs.
47
+ """
48
+
49
+ def AddCost(self, request, context):
50
+ """AddCost records a new cost entry for a mission.
51
+ """
52
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
53
+ context.set_details('Method not implemented!')
54
+ raise NotImplementedError('Method not implemented!')
55
+
56
+ def GetCost(self, request, context):
57
+ """GetCost retrieves cost entries by name within a mission.
58
+ """
59
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
60
+ context.set_details('Method not implemented!')
61
+ raise NotImplementedError('Method not implemented!')
62
+
63
+ def GetCosts(self, request, context):
64
+ """GetCosts retrieves multiple cost entries with filtering and pagination.
65
+ """
66
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
67
+ context.set_details('Method not implemented!')
68
+ raise NotImplementedError('Method not implemented!')
69
+
70
+ def GetCostConfig(self, request, context):
71
+ """GetCostConfig retrieves cost configuration for a setup version.
72
+ """
73
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
74
+ context.set_details('Method not implemented!')
75
+ raise NotImplementedError('Method not implemented!')
76
+
77
+ def SetCostConfig(self, request, context):
78
+ """SetCostConfig stores cost configuration for a setup version.
79
+ """
80
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
81
+ context.set_details('Method not implemented!')
82
+ raise NotImplementedError('Method not implemented!')
83
+
84
+
85
+ def add_CostServiceServicer_to_server(servicer, server):
86
+ rpc_method_handlers = {
87
+ 'AddCost': grpc.unary_unary_rpc_method_handler(
88
+ servicer.AddCost,
89
+ request_deserializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.AddCostRequest.FromString,
90
+ response_serializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.AddCostResponse.SerializeToString,
91
+ ),
92
+ 'GetCost': grpc.unary_unary_rpc_method_handler(
93
+ servicer.GetCost,
94
+ request_deserializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostRequest.FromString,
95
+ response_serializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostResponse.SerializeToString,
96
+ ),
97
+ 'GetCosts': grpc.unary_unary_rpc_method_handler(
98
+ servicer.GetCosts,
99
+ request_deserializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostsRequest.FromString,
100
+ response_serializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostsResponse.SerializeToString,
101
+ ),
102
+ 'GetCostConfig': grpc.unary_unary_rpc_method_handler(
103
+ servicer.GetCostConfig,
104
+ request_deserializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostConfigRequest.FromString,
105
+ response_serializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostConfigResponse.SerializeToString,
106
+ ),
107
+ 'SetCostConfig': grpc.unary_unary_rpc_method_handler(
108
+ servicer.SetCostConfig,
109
+ request_deserializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.SetCostConfigRequest.FromString,
110
+ response_serializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.SetCostConfigResponse.SerializeToString,
111
+ ),
112
+ }
113
+ generic_handler = grpc.method_handlers_generic_handler(
114
+ 'agentic_mesh_protocol.cost.v1.CostService', rpc_method_handlers)
115
+ server.add_generic_rpc_handlers((generic_handler,))
116
+ server.add_registered_method_handlers('agentic_mesh_protocol.cost.v1.CostService', rpc_method_handlers)
117
+
118
+
119
+ # This class is part of an EXPERIMENTAL API.
120
+ class CostService(object):
121
+ """CostService provides operations for tracking and querying operational costs.
122
+ """
123
+
124
+ @staticmethod
125
+ def AddCost(request,
126
+ target,
127
+ options=(),
128
+ channel_credentials=None,
129
+ call_credentials=None,
130
+ insecure=False,
131
+ compression=None,
132
+ wait_for_ready=None,
133
+ timeout=None,
134
+ metadata=None):
135
+ return grpc.experimental.unary_unary(
136
+ request,
137
+ target,
138
+ '/agentic_mesh_protocol.cost.v1.CostService/AddCost',
139
+ agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.AddCostRequest.SerializeToString,
140
+ agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.AddCostResponse.FromString,
141
+ options,
142
+ channel_credentials,
143
+ insecure,
144
+ call_credentials,
145
+ compression,
146
+ wait_for_ready,
147
+ timeout,
148
+ metadata,
149
+ _registered_method=True)
150
+
151
+ @staticmethod
152
+ def GetCost(request,
153
+ target,
154
+ options=(),
155
+ channel_credentials=None,
156
+ call_credentials=None,
157
+ insecure=False,
158
+ compression=None,
159
+ wait_for_ready=None,
160
+ timeout=None,
161
+ metadata=None):
162
+ return grpc.experimental.unary_unary(
163
+ request,
164
+ target,
165
+ '/agentic_mesh_protocol.cost.v1.CostService/GetCost',
166
+ agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostRequest.SerializeToString,
167
+ agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostResponse.FromString,
168
+ options,
169
+ channel_credentials,
170
+ insecure,
171
+ call_credentials,
172
+ compression,
173
+ wait_for_ready,
174
+ timeout,
175
+ metadata,
176
+ _registered_method=True)
177
+
178
+ @staticmethod
179
+ def GetCosts(request,
180
+ target,
181
+ options=(),
182
+ channel_credentials=None,
183
+ call_credentials=None,
184
+ insecure=False,
185
+ compression=None,
186
+ wait_for_ready=None,
187
+ timeout=None,
188
+ metadata=None):
189
+ return grpc.experimental.unary_unary(
190
+ request,
191
+ target,
192
+ '/agentic_mesh_protocol.cost.v1.CostService/GetCosts',
193
+ agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostsRequest.SerializeToString,
194
+ agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostsResponse.FromString,
195
+ options,
196
+ channel_credentials,
197
+ insecure,
198
+ call_credentials,
199
+ compression,
200
+ wait_for_ready,
201
+ timeout,
202
+ metadata,
203
+ _registered_method=True)
204
+
205
+ @staticmethod
206
+ def GetCostConfig(request,
207
+ target,
208
+ options=(),
209
+ channel_credentials=None,
210
+ call_credentials=None,
211
+ insecure=False,
212
+ compression=None,
213
+ wait_for_ready=None,
214
+ timeout=None,
215
+ metadata=None):
216
+ return grpc.experimental.unary_unary(
217
+ request,
218
+ target,
219
+ '/agentic_mesh_protocol.cost.v1.CostService/GetCostConfig',
220
+ agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostConfigRequest.SerializeToString,
221
+ agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostConfigResponse.FromString,
222
+ options,
223
+ channel_credentials,
224
+ insecure,
225
+ call_credentials,
226
+ compression,
227
+ wait_for_ready,
228
+ timeout,
229
+ metadata,
230
+ _registered_method=True)
231
+
232
+ @staticmethod
233
+ def SetCostConfig(request,
234
+ target,
235
+ options=(),
236
+ channel_credentials=None,
237
+ call_credentials=None,
238
+ insecure=False,
239
+ compression=None,
240
+ wait_for_ready=None,
241
+ timeout=None,
242
+ metadata=None):
243
+ return grpc.experimental.unary_unary(
244
+ request,
245
+ target,
246
+ '/agentic_mesh_protocol.cost.v1.CostService/SetCostConfig',
247
+ agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.SetCostConfigRequest.SerializeToString,
248
+ agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.SetCostConfigResponse.FromString,
249
+ options,
250
+ channel_credentials,
251
+ insecure,
252
+ call_credentials,
253
+ compression,
254
+ wait_for_ready,
255
+ timeout,
256
+ metadata,
257
+ _registered_method=True)
File without changes
File without changes