agentic-mesh-protocol 1.0.2.dev3__py3-none-any.whl → 1.0.3.dev0__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/__version__.py +1 -1
- agentic_mesh_protocol/common/__init__.py +0 -0
- agentic_mesh_protocol/common/v1/__init__.py +0 -0
- agentic_mesh_protocol/common/v1/common_enums_pb2.py +37 -0
- agentic_mesh_protocol/common/v1/common_enums_pb2.pyi +16 -0
- agentic_mesh_protocol/cost/v1/cost_dto_pb2.py +98 -0
- agentic_mesh_protocol/cost/v1/cost_dto_pb2.pyi +90 -0
- agentic_mesh_protocol/cost/v1/cost_enums_pb2.py +37 -0
- agentic_mesh_protocol/cost/v1/cost_enums_pb2.pyi +22 -0
- agentic_mesh_protocol/cost/v1/cost_messages_pb2.py +82 -0
- agentic_mesh_protocol/cost/v1/cost_messages_pb2.pyi +66 -0
- agentic_mesh_protocol/cost/v1/cost_service_pb2.py +4 -4
- agentic_mesh_protocol/cost/v1/cost_service_pb2.pyi +1 -1
- agentic_mesh_protocol/cost/v1/cost_service_pb2_grpc.py +53 -97
- agentic_mesh_protocol/filesystem/v1/filesystem_dto_pb2.py +106 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_dto_pb2.pyi +112 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_enums_pb2.py +41 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_enums_pb2.pyi +52 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_messages_pb2.py +113 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_messages_pb2.pyi +113 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2.py +4 -4
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2.pyi +1 -1
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2_grpc.py +46 -59
- agentic_mesh_protocol/gateway/v1/gateway_dto_pb2.py +67 -0
- agentic_mesh_protocol/gateway/v1/gateway_dto_pb2.pyi +56 -0
- agentic_mesh_protocol/gateway/v1/gateway_enums_pb2.py +37 -0
- agentic_mesh_protocol/gateway/v1/gateway_enums_pb2.pyi +22 -0
- agentic_mesh_protocol/gateway/v1/gateway_messages_pb2.py +56 -0
- agentic_mesh_protocol/gateway/v1/gateway_messages_pb2.pyi +41 -0
- agentic_mesh_protocol/gateway/v1/gateway_service_pb2.py +5 -4
- agentic_mesh_protocol/gateway/v1/gateway_service_pb2.pyi +2 -1
- agentic_mesh_protocol/gateway/v1/gateway_service_pb2_grpc.py +57 -72
- agentic_mesh_protocol/module/v1/module_dto_pb2.py +137 -0
- agentic_mesh_protocol/module/v1/module_dto_pb2.pyi +166 -0
- agentic_mesh_protocol/module/v1/module_enums_pb2.py +41 -0
- agentic_mesh_protocol/module/v1/module_enums_pb2.pyi +46 -0
- agentic_mesh_protocol/module/v1/module_messages_pb2.py +52 -0
- agentic_mesh_protocol/module/v1/module_messages_pb2.pyi +49 -0
- agentic_mesh_protocol/module/v1/module_messages_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module/v1/module_service_pb2.py +4 -5
- agentic_mesh_protocol/module/v1/module_service_pb2.pyi +1 -2
- agentic_mesh_protocol/module/v1/module_service_pb2_grpc.py +87 -103
- agentic_mesh_protocol/pagination/__init__.py +0 -0
- agentic_mesh_protocol/pagination/v1/__init__.py +0 -0
- agentic_mesh_protocol/pagination/v1/bulk_pb2.py +51 -0
- agentic_mesh_protocol/pagination/v1/bulk_pb2.pyi +26 -0
- agentic_mesh_protocol/pagination/v1/bulk_pb2_grpc.py +4 -0
- agentic_mesh_protocol/pagination/v1/pagination_pb2.py +54 -0
- agentic_mesh_protocol/pagination/v1/pagination_pb2.pyi +30 -0
- agentic_mesh_protocol/pagination/v1/pagination_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_dto_pb2.py +138 -0
- agentic_mesh_protocol/registry/v1/registry_dto_pb2.pyi +138 -0
- agentic_mesh_protocol/registry/v1/registry_dto_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_messages_pb2.py +164 -0
- agentic_mesh_protocol/registry/v1/{registry_models_pb2.pyi → registry_messages_pb2.pyi} +43 -26
- agentic_mesh_protocol/registry/v1/registry_messages_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_service_pb2.py +4 -5
- agentic_mesh_protocol/registry/v1/registry_service_pb2.pyi +1 -2
- agentic_mesh_protocol/registry/v1/registry_service_pb2_grpc.py +93 -69
- agentic_mesh_protocol/setup/v1/setup_dto_pb2.py +115 -0
- agentic_mesh_protocol/setup/v1/setup_dto_pb2.pyi +115 -0
- agentic_mesh_protocol/setup/v1/setup_dto_pb2_grpc.py +4 -0
- agentic_mesh_protocol/setup/v1/setup_enums_pb2.py +37 -0
- agentic_mesh_protocol/setup/v1/setup_enums_pb2.pyi +30 -0
- agentic_mesh_protocol/setup/v1/setup_enums_pb2_grpc.py +4 -0
- agentic_mesh_protocol/setup/v1/setup_messages_pb2.py +81 -0
- agentic_mesh_protocol/setup/v1/setup_messages_pb2.pyi +74 -0
- agentic_mesh_protocol/setup/v1/setup_messages_pb2_grpc.py +4 -0
- agentic_mesh_protocol/setup/v1/setup_service_pb2.py +4 -4
- agentic_mesh_protocol/setup/v1/setup_service_pb2.pyi +1 -1
- agentic_mesh_protocol/setup/v1/setup_service_pb2_grpc.py +75 -122
- agentic_mesh_protocol/setup/v1/setup_version_dto_pb2.py +106 -0
- agentic_mesh_protocol/setup/v1/setup_version_dto_pb2.pyi +108 -0
- agentic_mesh_protocol/setup/v1/setup_version_dto_pb2_grpc.py +4 -0
- agentic_mesh_protocol/setup/v1/setup_version_service_pb2.py +38 -0
- agentic_mesh_protocol/setup/v1/setup_version_service_pb2.pyi +5 -0
- agentic_mesh_protocol/setup/v1/setup_version_service_pb2_grpc.py +301 -0
- agentic_mesh_protocol/storage/v1/storage_dto_pb2.py +126 -0
- agentic_mesh_protocol/storage/v1/storage_dto_pb2.pyi +126 -0
- agentic_mesh_protocol/storage/v1/storage_dto_pb2_grpc.py +4 -0
- agentic_mesh_protocol/storage/v1/storage_enums_pb2.py +39 -0
- agentic_mesh_protocol/storage/v1/storage_enums_pb2.pyi +31 -0
- agentic_mesh_protocol/storage/v1/storage_enums_pb2_grpc.py +4 -0
- agentic_mesh_protocol/storage/v1/storage_messages_pb2.py +69 -0
- agentic_mesh_protocol/storage/v1/storage_messages_pb2.pyi +46 -0
- agentic_mesh_protocol/storage/v1/storage_messages_pb2_grpc.py +4 -0
- agentic_mesh_protocol/storage/v1/storage_service_pb2.py +4 -4
- agentic_mesh_protocol/storage/v1/storage_service_pb2.pyi +1 -1
- agentic_mesh_protocol/storage/v1/storage_service_pb2_grpc.py +74 -74
- agentic_mesh_protocol/user_profile/v1/user_profile_dto_pb2.py +83 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_dto_pb2.pyi +70 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_dto_pb2_grpc.py +4 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_messages_pb2.py +81 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_messages_pb2.pyi +77 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_messages_pb2_grpc.py +4 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2.py +4 -4
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2.pyi +1 -1
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2_grpc.py +35 -33
- {agentic_mesh_protocol-1.0.2.dev3.dist-info → agentic_mesh_protocol-1.0.3.dev0.dist-info}/METADATA +10 -11
- agentic_mesh_protocol-1.0.3.dev0.dist-info/RECORD +138 -0
- agentic_mesh_protocol/cost/v1/cost_pb2.py +0 -132
- agentic_mesh_protocol/cost/v1/cost_pb2.pyi +0 -162
- agentic_mesh_protocol/filesystem/v1/filesystem_pb2.py +0 -168
- agentic_mesh_protocol/filesystem/v1/filesystem_pb2.pyi +0 -280
- agentic_mesh_protocol/gateway/v1/gateway_pb2.py +0 -71
- agentic_mesh_protocol/gateway/v1/gateway_pb2.pyi +0 -96
- agentic_mesh_protocol/module/v1/information_pb2.py +0 -101
- agentic_mesh_protocol/module/v1/information_pb2.pyi +0 -134
- agentic_mesh_protocol/module/v1/lifecycle_pb2.py +0 -70
- agentic_mesh_protocol/module/v1/lifecycle_pb2.pyi +0 -61
- agentic_mesh_protocol/module/v1/monitoring_pb2.py +0 -44
- agentic_mesh_protocol/module/v1/monitoring_pb2.pyi +0 -34
- agentic_mesh_protocol/registry/v1/registry_enums_pb2.py +0 -45
- agentic_mesh_protocol/registry/v1/registry_enums_pb2.pyi +0 -72
- agentic_mesh_protocol/registry/v1/registry_models_pb2.py +0 -119
- agentic_mesh_protocol/registry/v1/registry_requests_pb2.py +0 -106
- agentic_mesh_protocol/registry/v1/registry_requests_pb2.pyi +0 -122
- agentic_mesh_protocol/setup/v1/setup_pb2.py +0 -138
- agentic_mesh_protocol/setup/v1/setup_pb2.pyi +0 -219
- agentic_mesh_protocol/storage/v1/data_pb2.py +0 -152
- agentic_mesh_protocol/storage/v1/data_pb2.pyi +0 -192
- agentic_mesh_protocol/user_profile/v1/user_profile_pb2.py +0 -104
- agentic_mesh_protocol/user_profile/v1/user_profile_pb2.pyi +0 -146
- agentic_mesh_protocol-1.0.2.dev3.dist-info/RECORD +0 -89
- /agentic_mesh_protocol/{cost/v1/cost_pb2_grpc.py → common/v1/common_enums_pb2_grpc.py} +0 -0
- /agentic_mesh_protocol/{filesystem/v1/filesystem_pb2_grpc.py → cost/v1/cost_dto_pb2_grpc.py} +0 -0
- /agentic_mesh_protocol/{gateway/v1/gateway_pb2_grpc.py → cost/v1/cost_enums_pb2_grpc.py} +0 -0
- /agentic_mesh_protocol/{module/v1/information_pb2_grpc.py → cost/v1/cost_messages_pb2_grpc.py} +0 -0
- /agentic_mesh_protocol/{module/v1/lifecycle_pb2_grpc.py → filesystem/v1/filesystem_dto_pb2_grpc.py} +0 -0
- /agentic_mesh_protocol/{module/v1/monitoring_pb2_grpc.py → filesystem/v1/filesystem_enums_pb2_grpc.py} +0 -0
- /agentic_mesh_protocol/{registry/v1/registry_enums_pb2_grpc.py → filesystem/v1/filesystem_messages_pb2_grpc.py} +0 -0
- /agentic_mesh_protocol/{registry/v1/registry_models_pb2_grpc.py → gateway/v1/gateway_dto_pb2_grpc.py} +0 -0
- /agentic_mesh_protocol/{registry/v1/registry_requests_pb2_grpc.py → gateway/v1/gateway_enums_pb2_grpc.py} +0 -0
- /agentic_mesh_protocol/{setup/v1/setup_pb2_grpc.py → gateway/v1/gateway_messages_pb2_grpc.py} +0 -0
- /agentic_mesh_protocol/{storage/v1/data_pb2_grpc.py → module/v1/module_dto_pb2_grpc.py} +0 -0
- /agentic_mesh_protocol/{user_profile/v1/user_profile_pb2_grpc.py → module/v1/module_enums_pb2_grpc.py} +0 -0
- {agentic_mesh_protocol-1.0.2.dev3.dist-info → agentic_mesh_protocol-1.0.3.dev0.dist-info}/WHEEL +0 -0
- {agentic_mesh_protocol-1.0.2.dev3.dist-info → agentic_mesh_protocol-1.0.3.dev0.dist-info}/licenses/LICENSE +0 -0
- {agentic_mesh_protocol-1.0.2.dev3.dist-info → agentic_mesh_protocol-1.0.3.dev0.dist-info}/top_level.txt +0 -0
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,37 @@
|
|
|
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/common/v1/common_enums.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/common/v1/common_enums.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'\n2agentic_mesh_protocol/common/v1/common_enums.proto\x12\x1f\x61gentic_mesh_protocol.common.v1*O\n\nVisibility\x12\x1a\n\x16VISIBILITY_UNSPECIFIED\x10\x00\x12\n\n\x06PUBLIC\x10\x01\x12\x0b\n\x07PRIVATE\x10\x02\x12\x0c\n\x08INTERNAL\x10\x03\x42\xcd\x01\n#com.agentic_mesh_protocol.common.v1B\x10\x43ommonEnumsProtoP\x01\xa2\x02\x03\x41\x43X\xaa\x02\x1d\x41genticMeshProtocol.Common.V1\xca\x02\x1d\x41genticMeshProtocol\\Common\\V1\xe2\x02)AgenticMeshProtocol\\Common\\V1\\GPBMetadata\xea\x02\x1f\x41genticMeshProtocol::Common::V1b\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.common.v1.common_enums_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n#com.agentic_mesh_protocol.common.v1B\020CommonEnumsProtoP\001\242\002\003ACX\252\002\035AgenticMeshProtocol.Common.V1\312\002\035AgenticMeshProtocol\\Common\\V1\342\002)AgenticMeshProtocol\\Common\\V1\\GPBMetadata\352\002\037AgenticMeshProtocol::Common::V1'
|
|
35
|
+
_globals['_VISIBILITY']._serialized_start=87
|
|
36
|
+
_globals['_VISIBILITY']._serialized_end=166
|
|
37
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
2
|
+
from google.protobuf import descriptor as _descriptor
|
|
3
|
+
from typing import ClassVar as _ClassVar
|
|
4
|
+
|
|
5
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
6
|
+
|
|
7
|
+
class Visibility(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
8
|
+
__slots__ = ()
|
|
9
|
+
VISIBILITY_UNSPECIFIED: _ClassVar[Visibility]
|
|
10
|
+
PUBLIC: _ClassVar[Visibility]
|
|
11
|
+
PRIVATE: _ClassVar[Visibility]
|
|
12
|
+
INTERNAL: _ClassVar[Visibility]
|
|
13
|
+
VISIBILITY_UNSPECIFIED: Visibility
|
|
14
|
+
PUBLIC: Visibility
|
|
15
|
+
PRIVATE: Visibility
|
|
16
|
+
INTERNAL: Visibility
|
|
@@ -0,0 +1,98 @@
|
|
|
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_dto.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_dto.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_enums_pb2 as agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__enums__pb2
|
|
26
|
+
from agentic_mesh_protocol.cost.v1 import cost_messages_pb2 as agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__messages__pb2
|
|
27
|
+
from agentic_mesh_protocol.pagination.v1 import bulk_pb2 as agentic__mesh__protocol_dot_pagination_dot_v1_dot_bulk__pb2
|
|
28
|
+
from agentic_mesh_protocol.pagination.v1 import pagination_pb2 as agentic__mesh__protocol_dot_pagination_dot_v1_dot_pagination__pb2
|
|
29
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,agentic_mesh_protocol/cost/v1/cost_dto.proto\x12\x1d\x61gentic_mesh_protocol.cost.v1\x1a.agentic_mesh_protocol/cost/v1/cost_enums.proto\x1a\x31\x61gentic_mesh_protocol/cost/v1/cost_messages.proto\x1a.agentic_mesh_protocol/pagination/v1/bulk.proto\x1a\x34\x61gentic_mesh_protocol/pagination/v1/pagination.proto\x1a\x1b\x62uf/validate/validate.proto\"\xa1\x03\n\x11\x43reateCostRequest\x12\x37\n\nmission_id\x18\x01 \x01(\tB\x18\xbaH\x15r\x10\x10\n\x18\x80\x02:\tmissions:\xc8\x01\x01R\tmissionId\x12H\n\x10setup_version_id\x18\x02 \x01(\tB\x1e\xbaH\x1br\x16\x10\x10\x18\x80\x02:\x0fsetup_versions:\xc8\x01\x01R\x0esetupVersionId\x12!\n\x04name\x18\x03 \x01(\tB\r\xbaH\nr\x05\x10\x01\x18\xff\x01\xc8\x01\x01R\x04name\x12$\n\x04\x63ost\x18\x04 \x01(\x01\x42\x10\xbaH\r\x12\x0b)\x00\x00\x00\x00\x00\x00\x00\x00@\x01R\x04\x63ost\x12,\n\x08quantity\x18\x05 \x01(\x01\x42\x10\xbaH\r\x12\x0b)\x00\x00\x00\x00\x00\x00\x00\x00@\x01R\x08quantity\x12$\n\x04rate\x18\x06 \x01(\x01\x42\x10\xbaH\r\x12\x0b)\x00\x00\x00\x00\x00\x00\x00\x00@\x01R\x04rate\x12 \n\x04unit\x18\x07 \x01(\tB\x0c\xbaH\tr\x04\x10\x01\x18@\xc8\x01\x01R\x04unit\x12J\n\x04type\x18\x08 \x01(\x0e\x32\'.agentic_mesh_protocol.cost.v1.CostTypeB\r\xbaH\n\x82\x01\x04\x10\x01 \x00\xc8\x01\x01R\x04type\"\xd2\x01\n\x12\x43reateCostResponse\x12\xbb\x01\n\x06result\x18\x01 \x01(\x0b\x32).agentic_mesh_protocol.cost.v1.CostResultBx\xbaHu\xba\x01o\n\x1c\x63reate_cost_response.outcome\x12,result must hold a Cost or an OperationError\x1a!has(this.cost) || has(this.error)\xc8\x01\x01R\x06result\"\xe6\x01\n\x10ListCostsRequest\x12\x37\n\nmission_id\x18\x01 \x01(\tB\x18\xbaH\x15r\x10\x10\n\x18\x80\x02:\tmissions:\xc8\x01\x01R\tmissionId\x12\x41\n\x06\x66ilter\x18\x02 \x01(\x0b\x32).agentic_mesh_protocol.cost.v1.CostFilterR\x06\x66ilter\x12V\n\npagination\x18\x03 \x01(\x0b\x32\x36.agentic_mesh_protocol.pagination.v1.PaginationRequestR\npagination\"\xda\x02\n\x11ListCostsResponse\x12\xc4\x01\n\x07results\x18\x01 \x03(\x0b\x32).agentic_mesh_protocol.cost.v1.CostResultB\x7f\xbaH|\x92\x01y\"w\xba\x01t\n\x1blist_costs_response.outcome\x12\x32\x65very result must hold a Cost or an OperationError\x1a!has(this.cost) || has(this.error)R\x07results\x12M\n\x04\x62ulk\x18\x02 \x01(\x0b\x32\x31.agentic_mesh_protocol.pagination.v1.BulkResponseB\x06\xbaH\x03\xc8\x01\x01R\x04\x62ulk\x12/\n\ntotal_cost\x18\x03 \x01(\x01\x42\x10\xbaH\r\x12\x0b)\x00\x00\x00\x00\x00\x00\x00\x00@\x01R\ttotalCost\"\xba\x01\n\x16ListCostConfigsRequest\x12H\n\x10setup_version_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x10\x10\x18\x80\x02:\x0fsetup_versions:\xc8\x01\x01R\x0esetupVersionId\x12V\n\npagination\x18\x02 \x01(\x0b\x32\x36.agentic_mesh_protocol.pagination.v1.PaginationRequestR\npagination\"\xc3\x02\n\x17ListCostConfigsResponse\x12\xd8\x01\n\x07results\x18\x01 \x03(\x0b\x32).agentic_mesh_protocol.cost.v1.CostResultB\x92\x01\xbaH\x8e\x01\x92\x01\x8a\x01\"\x87\x01\xba\x01\x83\x01\n\"list_cost_configs_response.outcome\x12\x38\x65very result must hold a CostConfig or an OperationError\x1a#has(this.config) || has(this.error)R\x07results\x12M\n\x04\x62ulk\x18\x02 \x01(\x0b\x32\x31.agentic_mesh_protocol.pagination.v1.BulkResponseB\x06\xbaH\x03\xc8\x01\x01R\x04\x62ulk\"\xab\x02\n\x14SetCostConfigRequest\x12H\n\x10setup_version_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x10\x10\x18\x80\x02:\x0fsetup_versions:\xc8\x01\x01R\x0esetupVersionId\x12M\n\x07\x63onfigs\x18\x02 \x03(\x0b\x32).agentic_mesh_protocol.cost.v1.CostConfigB\x08\xbaH\x05\x92\x01\x02\x10\x64R\x07\x63onfigs:z\xbaHw\x1au\n$set_cost_config_request.unique_names\x12\'cost configuration names must be unique\x1a$this.configs.map(c, c.name).unique()\"\xbf\x02\n\x15SetCostConfigResponse\x12\xd6\x01\n\x07results\x18\x01 \x03(\x0b\x32).agentic_mesh_protocol.cost.v1.CostResultB\x90\x01\xbaH\x8c\x01\x92\x01\x88\x01\"\x85\x01\xba\x01\x81\x01\n set_cost_config_response.outcome\x12\x38\x65very result must hold a CostConfig or an OperationError\x1a#has(this.config) || has(this.error)R\x07results\x12M\n\x04\x62ulk\x18\x02 \x01(\x0b\x32\x31.agentic_mesh_protocol.pagination.v1.BulkResponseB\x06\xbaH\x03\xc8\x01\x01R\x04\x62ulkB\xbf\x01\n!com.agentic_mesh_protocol.cost.v1B\x0c\x43ostDtoProtoP\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')
|
|
33
|
+
|
|
34
|
+
_globals = globals()
|
|
35
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
36
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.cost.v1.cost_dto_pb2', _globals)
|
|
37
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
38
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
39
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n!com.agentic_mesh_protocol.cost.v1B\014CostDtoProtoP\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'
|
|
40
|
+
_globals['_CREATECOSTREQUEST'].fields_by_name['mission_id']._loaded_options = None
|
|
41
|
+
_globals['_CREATECOSTREQUEST'].fields_by_name['mission_id']._serialized_options = b'\272H\025r\020\020\n\030\200\002:\tmissions:\310\001\001'
|
|
42
|
+
_globals['_CREATECOSTREQUEST'].fields_by_name['setup_version_id']._loaded_options = None
|
|
43
|
+
_globals['_CREATECOSTREQUEST'].fields_by_name['setup_version_id']._serialized_options = b'\272H\033r\026\020\020\030\200\002:\017setup_versions:\310\001\001'
|
|
44
|
+
_globals['_CREATECOSTREQUEST'].fields_by_name['name']._loaded_options = None
|
|
45
|
+
_globals['_CREATECOSTREQUEST'].fields_by_name['name']._serialized_options = b'\272H\nr\005\020\001\030\377\001\310\001\001'
|
|
46
|
+
_globals['_CREATECOSTREQUEST'].fields_by_name['cost']._loaded_options = None
|
|
47
|
+
_globals['_CREATECOSTREQUEST'].fields_by_name['cost']._serialized_options = b'\272H\r\022\013)\000\000\000\000\000\000\000\000@\001'
|
|
48
|
+
_globals['_CREATECOSTREQUEST'].fields_by_name['quantity']._loaded_options = None
|
|
49
|
+
_globals['_CREATECOSTREQUEST'].fields_by_name['quantity']._serialized_options = b'\272H\r\022\013)\000\000\000\000\000\000\000\000@\001'
|
|
50
|
+
_globals['_CREATECOSTREQUEST'].fields_by_name['rate']._loaded_options = None
|
|
51
|
+
_globals['_CREATECOSTREQUEST'].fields_by_name['rate']._serialized_options = b'\272H\r\022\013)\000\000\000\000\000\000\000\000@\001'
|
|
52
|
+
_globals['_CREATECOSTREQUEST'].fields_by_name['unit']._loaded_options = None
|
|
53
|
+
_globals['_CREATECOSTREQUEST'].fields_by_name['unit']._serialized_options = b'\272H\tr\004\020\001\030@\310\001\001'
|
|
54
|
+
_globals['_CREATECOSTREQUEST'].fields_by_name['type']._loaded_options = None
|
|
55
|
+
_globals['_CREATECOSTREQUEST'].fields_by_name['type']._serialized_options = b'\272H\n\202\001\004\020\001 \000\310\001\001'
|
|
56
|
+
_globals['_CREATECOSTRESPONSE'].fields_by_name['result']._loaded_options = None
|
|
57
|
+
_globals['_CREATECOSTRESPONSE'].fields_by_name['result']._serialized_options = b'\272Hu\272\001o\n\034create_cost_response.outcome\022,result must hold a Cost or an OperationError\032!has(this.cost) || has(this.error)\310\001\001'
|
|
58
|
+
_globals['_LISTCOSTSREQUEST'].fields_by_name['mission_id']._loaded_options = None
|
|
59
|
+
_globals['_LISTCOSTSREQUEST'].fields_by_name['mission_id']._serialized_options = b'\272H\025r\020\020\n\030\200\002:\tmissions:\310\001\001'
|
|
60
|
+
_globals['_LISTCOSTSRESPONSE'].fields_by_name['results']._loaded_options = None
|
|
61
|
+
_globals['_LISTCOSTSRESPONSE'].fields_by_name['results']._serialized_options = b'\272H|\222\001y\"w\272\001t\n\033list_costs_response.outcome\0222every result must hold a Cost or an OperationError\032!has(this.cost) || has(this.error)'
|
|
62
|
+
_globals['_LISTCOSTSRESPONSE'].fields_by_name['bulk']._loaded_options = None
|
|
63
|
+
_globals['_LISTCOSTSRESPONSE'].fields_by_name['bulk']._serialized_options = b'\272H\003\310\001\001'
|
|
64
|
+
_globals['_LISTCOSTSRESPONSE'].fields_by_name['total_cost']._loaded_options = None
|
|
65
|
+
_globals['_LISTCOSTSRESPONSE'].fields_by_name['total_cost']._serialized_options = b'\272H\r\022\013)\000\000\000\000\000\000\000\000@\001'
|
|
66
|
+
_globals['_LISTCOSTCONFIGSREQUEST'].fields_by_name['setup_version_id']._loaded_options = None
|
|
67
|
+
_globals['_LISTCOSTCONFIGSREQUEST'].fields_by_name['setup_version_id']._serialized_options = b'\272H\033r\026\020\020\030\200\002:\017setup_versions:\310\001\001'
|
|
68
|
+
_globals['_LISTCOSTCONFIGSRESPONSE'].fields_by_name['results']._loaded_options = None
|
|
69
|
+
_globals['_LISTCOSTCONFIGSRESPONSE'].fields_by_name['results']._serialized_options = b'\272H\216\001\222\001\212\001\"\207\001\272\001\203\001\n\"list_cost_configs_response.outcome\0228every result must hold a CostConfig or an OperationError\032#has(this.config) || has(this.error)'
|
|
70
|
+
_globals['_LISTCOSTCONFIGSRESPONSE'].fields_by_name['bulk']._loaded_options = None
|
|
71
|
+
_globals['_LISTCOSTCONFIGSRESPONSE'].fields_by_name['bulk']._serialized_options = b'\272H\003\310\001\001'
|
|
72
|
+
_globals['_SETCOSTCONFIGREQUEST'].fields_by_name['setup_version_id']._loaded_options = None
|
|
73
|
+
_globals['_SETCOSTCONFIGREQUEST'].fields_by_name['setup_version_id']._serialized_options = b'\272H\033r\026\020\020\030\200\002:\017setup_versions:\310\001\001'
|
|
74
|
+
_globals['_SETCOSTCONFIGREQUEST'].fields_by_name['configs']._loaded_options = None
|
|
75
|
+
_globals['_SETCOSTCONFIGREQUEST'].fields_by_name['configs']._serialized_options = b'\272H\005\222\001\002\020d'
|
|
76
|
+
_globals['_SETCOSTCONFIGREQUEST']._loaded_options = None
|
|
77
|
+
_globals['_SETCOSTCONFIGREQUEST']._serialized_options = b'\272Hw\032u\n$set_cost_config_request.unique_names\022\'cost configuration names must be unique\032$this.configs.map(c, c.name).unique()'
|
|
78
|
+
_globals['_SETCOSTCONFIGRESPONSE'].fields_by_name['results']._loaded_options = None
|
|
79
|
+
_globals['_SETCOSTCONFIGRESPONSE'].fields_by_name['results']._serialized_options = b'\272H\214\001\222\001\210\001\"\205\001\272\001\201\001\n set_cost_config_response.outcome\0228every result must hold a CostConfig or an OperationError\032#has(this.config) || has(this.error)'
|
|
80
|
+
_globals['_SETCOSTCONFIGRESPONSE'].fields_by_name['bulk']._loaded_options = None
|
|
81
|
+
_globals['_SETCOSTCONFIGRESPONSE'].fields_by_name['bulk']._serialized_options = b'\272H\003\310\001\001'
|
|
82
|
+
_globals['_CREATECOSTREQUEST']._serialized_start=310
|
|
83
|
+
_globals['_CREATECOSTREQUEST']._serialized_end=727
|
|
84
|
+
_globals['_CREATECOSTRESPONSE']._serialized_start=730
|
|
85
|
+
_globals['_CREATECOSTRESPONSE']._serialized_end=940
|
|
86
|
+
_globals['_LISTCOSTSREQUEST']._serialized_start=943
|
|
87
|
+
_globals['_LISTCOSTSREQUEST']._serialized_end=1173
|
|
88
|
+
_globals['_LISTCOSTSRESPONSE']._serialized_start=1176
|
|
89
|
+
_globals['_LISTCOSTSRESPONSE']._serialized_end=1522
|
|
90
|
+
_globals['_LISTCOSTCONFIGSREQUEST']._serialized_start=1525
|
|
91
|
+
_globals['_LISTCOSTCONFIGSREQUEST']._serialized_end=1711
|
|
92
|
+
_globals['_LISTCOSTCONFIGSRESPONSE']._serialized_start=1714
|
|
93
|
+
_globals['_LISTCOSTCONFIGSRESPONSE']._serialized_end=2037
|
|
94
|
+
_globals['_SETCOSTCONFIGREQUEST']._serialized_start=2040
|
|
95
|
+
_globals['_SETCOSTCONFIGREQUEST']._serialized_end=2339
|
|
96
|
+
_globals['_SETCOSTCONFIGRESPONSE']._serialized_start=2342
|
|
97
|
+
_globals['_SETCOSTCONFIGRESPONSE']._serialized_end=2661
|
|
98
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
from agentic_mesh_protocol.cost.v1 import cost_enums_pb2 as _cost_enums_pb2
|
|
2
|
+
from agentic_mesh_protocol.cost.v1 import cost_messages_pb2 as _cost_messages_pb2
|
|
3
|
+
from agentic_mesh_protocol.pagination.v1 import bulk_pb2 as _bulk_pb2
|
|
4
|
+
from agentic_mesh_protocol.pagination.v1 import pagination_pb2 as _pagination_pb2
|
|
5
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
6
|
+
from google.protobuf.internal import containers as _containers
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import message as _message
|
|
9
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
10
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
11
|
+
|
|
12
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
13
|
+
|
|
14
|
+
class CreateCostRequest(_message.Message):
|
|
15
|
+
__slots__ = ()
|
|
16
|
+
MISSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
SETUP_VERSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
COST_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
QUANTITY_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
RATE_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
UNIT_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
mission_id: str
|
|
25
|
+
setup_version_id: str
|
|
26
|
+
name: str
|
|
27
|
+
cost: float
|
|
28
|
+
quantity: float
|
|
29
|
+
rate: float
|
|
30
|
+
unit: str
|
|
31
|
+
type: _cost_enums_pb2.CostType
|
|
32
|
+
def __init__(self, mission_id: _Optional[str] = ..., setup_version_id: _Optional[str] = ..., name: _Optional[str] = ..., cost: _Optional[float] = ..., quantity: _Optional[float] = ..., rate: _Optional[float] = ..., unit: _Optional[str] = ..., type: _Optional[_Union[_cost_enums_pb2.CostType, str]] = ...) -> None: ...
|
|
33
|
+
|
|
34
|
+
class CreateCostResponse(_message.Message):
|
|
35
|
+
__slots__ = ()
|
|
36
|
+
RESULT_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
result: _cost_messages_pb2.CostResult
|
|
38
|
+
def __init__(self, result: _Optional[_Union[_cost_messages_pb2.CostResult, _Mapping]] = ...) -> None: ...
|
|
39
|
+
|
|
40
|
+
class ListCostsRequest(_message.Message):
|
|
41
|
+
__slots__ = ()
|
|
42
|
+
MISSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
+
FILTER_FIELD_NUMBER: _ClassVar[int]
|
|
44
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
45
|
+
mission_id: str
|
|
46
|
+
filter: _cost_messages_pb2.CostFilter
|
|
47
|
+
pagination: _pagination_pb2.PaginationRequest
|
|
48
|
+
def __init__(self, mission_id: _Optional[str] = ..., filter: _Optional[_Union[_cost_messages_pb2.CostFilter, _Mapping]] = ..., pagination: _Optional[_Union[_pagination_pb2.PaginationRequest, _Mapping]] = ...) -> None: ...
|
|
49
|
+
|
|
50
|
+
class ListCostsResponse(_message.Message):
|
|
51
|
+
__slots__ = ()
|
|
52
|
+
RESULTS_FIELD_NUMBER: _ClassVar[int]
|
|
53
|
+
BULK_FIELD_NUMBER: _ClassVar[int]
|
|
54
|
+
TOTAL_COST_FIELD_NUMBER: _ClassVar[int]
|
|
55
|
+
results: _containers.RepeatedCompositeFieldContainer[_cost_messages_pb2.CostResult]
|
|
56
|
+
bulk: _bulk_pb2.BulkResponse
|
|
57
|
+
total_cost: float
|
|
58
|
+
def __init__(self, results: _Optional[_Iterable[_Union[_cost_messages_pb2.CostResult, _Mapping]]] = ..., bulk: _Optional[_Union[_bulk_pb2.BulkResponse, _Mapping]] = ..., total_cost: _Optional[float] = ...) -> None: ...
|
|
59
|
+
|
|
60
|
+
class ListCostConfigsRequest(_message.Message):
|
|
61
|
+
__slots__ = ()
|
|
62
|
+
SETUP_VERSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
+
setup_version_id: str
|
|
65
|
+
pagination: _pagination_pb2.PaginationRequest
|
|
66
|
+
def __init__(self, setup_version_id: _Optional[str] = ..., pagination: _Optional[_Union[_pagination_pb2.PaginationRequest, _Mapping]] = ...) -> None: ...
|
|
67
|
+
|
|
68
|
+
class ListCostConfigsResponse(_message.Message):
|
|
69
|
+
__slots__ = ()
|
|
70
|
+
RESULTS_FIELD_NUMBER: _ClassVar[int]
|
|
71
|
+
BULK_FIELD_NUMBER: _ClassVar[int]
|
|
72
|
+
results: _containers.RepeatedCompositeFieldContainer[_cost_messages_pb2.CostResult]
|
|
73
|
+
bulk: _bulk_pb2.BulkResponse
|
|
74
|
+
def __init__(self, results: _Optional[_Iterable[_Union[_cost_messages_pb2.CostResult, _Mapping]]] = ..., bulk: _Optional[_Union[_bulk_pb2.BulkResponse, _Mapping]] = ...) -> None: ...
|
|
75
|
+
|
|
76
|
+
class SetCostConfigRequest(_message.Message):
|
|
77
|
+
__slots__ = ()
|
|
78
|
+
SETUP_VERSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
79
|
+
CONFIGS_FIELD_NUMBER: _ClassVar[int]
|
|
80
|
+
setup_version_id: str
|
|
81
|
+
configs: _containers.RepeatedCompositeFieldContainer[_cost_messages_pb2.CostConfig]
|
|
82
|
+
def __init__(self, setup_version_id: _Optional[str] = ..., configs: _Optional[_Iterable[_Union[_cost_messages_pb2.CostConfig, _Mapping]]] = ...) -> None: ...
|
|
83
|
+
|
|
84
|
+
class SetCostConfigResponse(_message.Message):
|
|
85
|
+
__slots__ = ()
|
|
86
|
+
RESULTS_FIELD_NUMBER: _ClassVar[int]
|
|
87
|
+
BULK_FIELD_NUMBER: _ClassVar[int]
|
|
88
|
+
results: _containers.RepeatedCompositeFieldContainer[_cost_messages_pb2.CostResult]
|
|
89
|
+
bulk: _bulk_pb2.BulkResponse
|
|
90
|
+
def __init__(self, results: _Optional[_Iterable[_Union[_cost_messages_pb2.CostResult, _Mapping]]] = ..., bulk: _Optional[_Union[_bulk_pb2.BulkResponse, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,37 @@
|
|
|
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_enums.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_enums.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.agentic_mesh_protocol/cost/v1/cost_enums.proto\x12\x1d\x61gentic_mesh_protocol.cost.v1*x\n\x08\x43ostType\x12\x19\n\x15\x43OST_TYPE_UNSPECIFIED\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\xc1\x01\n!com.agentic_mesh_protocol.cost.v1B\x0e\x43ostEnumsProtoP\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')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.cost.v1.cost_enums_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n!com.agentic_mesh_protocol.cost.v1B\016CostEnumsProtoP\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'
|
|
35
|
+
_globals['_COSTTYPE']._serialized_start=81
|
|
36
|
+
_globals['_COSTTYPE']._serialized_end=201
|
|
37
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
2
|
+
from google.protobuf import descriptor as _descriptor
|
|
3
|
+
from typing import ClassVar as _ClassVar
|
|
4
|
+
|
|
5
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
6
|
+
|
|
7
|
+
class CostType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
8
|
+
__slots__ = ()
|
|
9
|
+
COST_TYPE_UNSPECIFIED: _ClassVar[CostType]
|
|
10
|
+
TOKEN_INPUT: _ClassVar[CostType]
|
|
11
|
+
TOKEN_OUTPUT: _ClassVar[CostType]
|
|
12
|
+
API_CALL: _ClassVar[CostType]
|
|
13
|
+
STORAGE: _ClassVar[CostType]
|
|
14
|
+
TIME: _ClassVar[CostType]
|
|
15
|
+
OTHER: _ClassVar[CostType]
|
|
16
|
+
COST_TYPE_UNSPECIFIED: CostType
|
|
17
|
+
TOKEN_INPUT: CostType
|
|
18
|
+
TOKEN_OUTPUT: CostType
|
|
19
|
+
API_CALL: CostType
|
|
20
|
+
STORAGE: CostType
|
|
21
|
+
TIME: CostType
|
|
22
|
+
OTHER: CostType
|
|
@@ -0,0 +1,82 @@
|
|
|
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_messages.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_messages.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_enums_pb2 as agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__enums__pb2
|
|
26
|
+
from agentic_mesh_protocol.pagination.v1 import bulk_pb2 as agentic__mesh__protocol_dot_pagination_dot_v1_dot_bulk__pb2
|
|
27
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1agentic_mesh_protocol/cost/v1/cost_messages.proto\x12\x1d\x61gentic_mesh_protocol.cost.v1\x1a.agentic_mesh_protocol/cost/v1/cost_enums.proto\x1a.agentic_mesh_protocol/pagination/v1/bulk.proto\x1a\x1b\x62uf/validate/validate.proto\"\x90\x03\n\x04\x43ost\x12\x37\n\nmission_id\x18\x01 \x01(\tB\x18\xbaH\x15r\x10\x10\n\x18\x80\x02:\tmissions:\xc8\x01\x01R\tmissionId\x12H\n\x10setup_version_id\x18\x02 \x01(\tB\x1e\xbaH\x1br\x16\x10\x10\x18\x80\x02:\x0fsetup_versions:\xc8\x01\x01R\x0esetupVersionId\x12\x1f\n\x04name\x18\x03 \x01(\tB\x0b\xbaH\x08r\x03\x18\xff\x01\xc8\x01\x01R\x04name\x12$\n\x04\x63ost\x18\x04 \x01(\x01\x42\x10\xbaH\r\x12\x0b)\x00\x00\x00\x00\x00\x00\x00\x00@\x01R\x04\x63ost\x12,\n\x08quantity\x18\x05 \x01(\x01\x42\x10\xbaH\r\x12\x0b)\x00\x00\x00\x00\x00\x00\x00\x00@\x01R\x08quantity\x12$\n\x04rate\x18\x06 \x01(\x01\x42\x10\xbaH\r\x12\x0b)\x00\x00\x00\x00\x00\x00\x00\x00@\x01R\x04rate\x12\x1e\n\x04unit\x18\x07 \x01(\tB\n\xbaH\x07r\x02\x18@\xc8\x01\x01R\x04unit\x12J\n\x04type\x18\x08 \x01(\x0e\x32\'.agentic_mesh_protocol.cost.v1.CostTypeB\r\xbaH\n\x82\x01\x04\x10\x01 \x00\xc8\x01\x01R\x04type\"\xd7\x01\n\nCostFilter\x12P\n\x05types\x18\x01 \x03(\x0e\x32\'.agentic_mesh_protocol.cost.v1.CostTypeB\x11\xbaH\x0e\x92\x01\x0b\x10\x10\"\x07\x82\x01\x04\x10\x01 \x00R\x05types\x12\'\n\x05names\x18\x02 \x03(\tB\x11\xbaH\x0e\x92\x01\x0b\x10\x64\"\x07r\x05\x10\x01\x18\xff\x01R\x05names\x12N\n\x11setup_version_ids\x18\x03 \x03(\tB\"\xbaH\x1f\x92\x01\x1c\x10\x64\"\x18r\x16\x10\x10\x18\x80\x02:\x0fsetup_versions:R\x0fsetupVersionIds\"\xef\x01\n\nCostConfig\x12!\n\x04name\x18\x01 \x01(\tB\r\xbaH\nr\x05\x10\x01\x18\xff\x01\xc8\x01\x01R\x04name\x12J\n\x04type\x18\x02 \x01(\x0e\x32\'.agentic_mesh_protocol.cost.v1.CostTypeB\r\xbaH\n\x82\x01\x04\x10\x01 \x00\xc8\x01\x01R\x04type\x12*\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xe8\x07R\x0b\x64\x65scription\x12 \n\x04unit\x18\x04 \x01(\tB\x0c\xbaH\tr\x04\x10\x01\x18@\xc8\x01\x01R\x04unit\x12$\n\x04rate\x18\x05 \x01(\x01\x42\x10\xbaH\r\x12\x0b!\x00\x00\x00\x00\x00\x00\x00\x00@\x01R\x04rate\"\x98\x02\n\nCostResult\x12+\n\nidentifier\x18\x01 \x01(\tB\x0b\xbaH\x08r\x03\x18\x80\x02\xc8\x01\x01R\nidentifier\x12\x39\n\x04\x63ost\x18\x02 \x01(\x0b\x32#.agentic_mesh_protocol.cost.v1.CostH\x00R\x04\x63ost\x12\x43\n\x06\x63onfig\x18\x03 \x01(\x0b\x32).agentic_mesh_protocol.cost.v1.CostConfigH\x00R\x06\x63onfig\x12K\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x33.agentic_mesh_protocol.pagination.v1.OperationErrorH\x00R\x05\x65rrorB\x10\n\x07outcome\x12\x05\xbaH\x02\x08\x01\x42\xc4\x01\n!com.agentic_mesh_protocol.cost.v1B\x11\x43ostMessagesProtoP\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')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.cost.v1.cost_messages_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.cost.v1B\021CostMessagesProtoP\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'
|
|
38
|
+
_globals['_COST'].fields_by_name['mission_id']._loaded_options = None
|
|
39
|
+
_globals['_COST'].fields_by_name['mission_id']._serialized_options = b'\272H\025r\020\020\n\030\200\002:\tmissions:\310\001\001'
|
|
40
|
+
_globals['_COST'].fields_by_name['setup_version_id']._loaded_options = None
|
|
41
|
+
_globals['_COST'].fields_by_name['setup_version_id']._serialized_options = b'\272H\033r\026\020\020\030\200\002:\017setup_versions:\310\001\001'
|
|
42
|
+
_globals['_COST'].fields_by_name['name']._loaded_options = None
|
|
43
|
+
_globals['_COST'].fields_by_name['name']._serialized_options = b'\272H\010r\003\030\377\001\310\001\001'
|
|
44
|
+
_globals['_COST'].fields_by_name['cost']._loaded_options = None
|
|
45
|
+
_globals['_COST'].fields_by_name['cost']._serialized_options = b'\272H\r\022\013)\000\000\000\000\000\000\000\000@\001'
|
|
46
|
+
_globals['_COST'].fields_by_name['quantity']._loaded_options = None
|
|
47
|
+
_globals['_COST'].fields_by_name['quantity']._serialized_options = b'\272H\r\022\013)\000\000\000\000\000\000\000\000@\001'
|
|
48
|
+
_globals['_COST'].fields_by_name['rate']._loaded_options = None
|
|
49
|
+
_globals['_COST'].fields_by_name['rate']._serialized_options = b'\272H\r\022\013)\000\000\000\000\000\000\000\000@\001'
|
|
50
|
+
_globals['_COST'].fields_by_name['unit']._loaded_options = None
|
|
51
|
+
_globals['_COST'].fields_by_name['unit']._serialized_options = b'\272H\007r\002\030@\310\001\001'
|
|
52
|
+
_globals['_COST'].fields_by_name['type']._loaded_options = None
|
|
53
|
+
_globals['_COST'].fields_by_name['type']._serialized_options = b'\272H\n\202\001\004\020\001 \000\310\001\001'
|
|
54
|
+
_globals['_COSTFILTER'].fields_by_name['types']._loaded_options = None
|
|
55
|
+
_globals['_COSTFILTER'].fields_by_name['types']._serialized_options = b'\272H\016\222\001\013\020\020\"\007\202\001\004\020\001 \000'
|
|
56
|
+
_globals['_COSTFILTER'].fields_by_name['names']._loaded_options = None
|
|
57
|
+
_globals['_COSTFILTER'].fields_by_name['names']._serialized_options = b'\272H\016\222\001\013\020d\"\007r\005\020\001\030\377\001'
|
|
58
|
+
_globals['_COSTFILTER'].fields_by_name['setup_version_ids']._loaded_options = None
|
|
59
|
+
_globals['_COSTFILTER'].fields_by_name['setup_version_ids']._serialized_options = b'\272H\037\222\001\034\020d\"\030r\026\020\020\030\200\002:\017setup_versions:'
|
|
60
|
+
_globals['_COSTCONFIG'].fields_by_name['name']._loaded_options = None
|
|
61
|
+
_globals['_COSTCONFIG'].fields_by_name['name']._serialized_options = b'\272H\nr\005\020\001\030\377\001\310\001\001'
|
|
62
|
+
_globals['_COSTCONFIG'].fields_by_name['type']._loaded_options = None
|
|
63
|
+
_globals['_COSTCONFIG'].fields_by_name['type']._serialized_options = b'\272H\n\202\001\004\020\001 \000\310\001\001'
|
|
64
|
+
_globals['_COSTCONFIG'].fields_by_name['description']._loaded_options = None
|
|
65
|
+
_globals['_COSTCONFIG'].fields_by_name['description']._serialized_options = b'\272H\005r\003\030\350\007'
|
|
66
|
+
_globals['_COSTCONFIG'].fields_by_name['unit']._loaded_options = None
|
|
67
|
+
_globals['_COSTCONFIG'].fields_by_name['unit']._serialized_options = b'\272H\tr\004\020\001\030@\310\001\001'
|
|
68
|
+
_globals['_COSTCONFIG'].fields_by_name['rate']._loaded_options = None
|
|
69
|
+
_globals['_COSTCONFIG'].fields_by_name['rate']._serialized_options = b'\272H\r\022\013!\000\000\000\000\000\000\000\000@\001'
|
|
70
|
+
_globals['_COSTRESULT'].oneofs_by_name['outcome']._loaded_options = None
|
|
71
|
+
_globals['_COSTRESULT'].oneofs_by_name['outcome']._serialized_options = b'\272H\002\010\001'
|
|
72
|
+
_globals['_COSTRESULT'].fields_by_name['identifier']._loaded_options = None
|
|
73
|
+
_globals['_COSTRESULT'].fields_by_name['identifier']._serialized_options = b'\272H\010r\003\030\200\002\310\001\001'
|
|
74
|
+
_globals['_COST']._serialized_start=210
|
|
75
|
+
_globals['_COST']._serialized_end=610
|
|
76
|
+
_globals['_COSTFILTER']._serialized_start=613
|
|
77
|
+
_globals['_COSTFILTER']._serialized_end=828
|
|
78
|
+
_globals['_COSTCONFIG']._serialized_start=831
|
|
79
|
+
_globals['_COSTCONFIG']._serialized_end=1070
|
|
80
|
+
_globals['_COSTRESULT']._serialized_start=1073
|
|
81
|
+
_globals['_COSTRESULT']._serialized_end=1353
|
|
82
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
from agentic_mesh_protocol.cost.v1 import cost_enums_pb2 as _cost_enums_pb2
|
|
2
|
+
from agentic_mesh_protocol.pagination.v1 import bulk_pb2 as _bulk_pb2
|
|
3
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
4
|
+
from google.protobuf.internal import containers as _containers
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import message as _message
|
|
7
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
8
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
9
|
+
|
|
10
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
11
|
+
|
|
12
|
+
class Cost(_message.Message):
|
|
13
|
+
__slots__ = ()
|
|
14
|
+
MISSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
+
SETUP_VERSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
COST_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
QUANTITY_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
RATE_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
UNIT_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
mission_id: str
|
|
23
|
+
setup_version_id: str
|
|
24
|
+
name: str
|
|
25
|
+
cost: float
|
|
26
|
+
quantity: float
|
|
27
|
+
rate: float
|
|
28
|
+
unit: str
|
|
29
|
+
type: _cost_enums_pb2.CostType
|
|
30
|
+
def __init__(self, mission_id: _Optional[str] = ..., setup_version_id: _Optional[str] = ..., name: _Optional[str] = ..., cost: _Optional[float] = ..., quantity: _Optional[float] = ..., rate: _Optional[float] = ..., unit: _Optional[str] = ..., type: _Optional[_Union[_cost_enums_pb2.CostType, str]] = ...) -> None: ...
|
|
31
|
+
|
|
32
|
+
class CostFilter(_message.Message):
|
|
33
|
+
__slots__ = ()
|
|
34
|
+
TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
NAMES_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
SETUP_VERSION_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
types: _containers.RepeatedScalarFieldContainer[_cost_enums_pb2.CostType]
|
|
38
|
+
names: _containers.RepeatedScalarFieldContainer[str]
|
|
39
|
+
setup_version_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
40
|
+
def __init__(self, types: _Optional[_Iterable[_Union[_cost_enums_pb2.CostType, str]]] = ..., names: _Optional[_Iterable[str]] = ..., setup_version_ids: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
41
|
+
|
|
42
|
+
class CostConfig(_message.Message):
|
|
43
|
+
__slots__ = ()
|
|
44
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
45
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
46
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
+
UNIT_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
RATE_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
name: str
|
|
50
|
+
type: _cost_enums_pb2.CostType
|
|
51
|
+
description: str
|
|
52
|
+
unit: str
|
|
53
|
+
rate: float
|
|
54
|
+
def __init__(self, name: _Optional[str] = ..., type: _Optional[_Union[_cost_enums_pb2.CostType, str]] = ..., description: _Optional[str] = ..., unit: _Optional[str] = ..., rate: _Optional[float] = ...) -> None: ...
|
|
55
|
+
|
|
56
|
+
class CostResult(_message.Message):
|
|
57
|
+
__slots__ = ()
|
|
58
|
+
IDENTIFIER_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
+
COST_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
+
ERROR_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
identifier: str
|
|
63
|
+
cost: Cost
|
|
64
|
+
config: CostConfig
|
|
65
|
+
error: _bulk_pb2.OperationError
|
|
66
|
+
def __init__(self, identifier: _Optional[str] = ..., cost: _Optional[_Union[Cost, _Mapping]] = ..., config: _Optional[_Union[CostConfig, _Mapping]] = ..., error: _Optional[_Union[_bulk_pb2.OperationError, _Mapping]] = ...) -> None: ...
|
|
@@ -22,10 +22,10 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
from agentic_mesh_protocol.cost.v1 import
|
|
25
|
+
from agentic_mesh_protocol.cost.v1 import cost_dto_pb2 as agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__dto__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0agentic_mesh_protocol/cost/v1/cost_service.proto\x12\x1d\x61gentic_mesh_protocol.cost.v1\x1a
|
|
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_dto.proto2\xef\x03\n\x0b\x43ostService\x12q\n\nCreateCost\x12\x30.agentic_mesh_protocol.cost.v1.CreateCostRequest\x1a\x31.agentic_mesh_protocol.cost.v1.CreateCostResponse\x12n\n\tListCosts\x12/.agentic_mesh_protocol.cost.v1.ListCostsRequest\x1a\x30.agentic_mesh_protocol.cost.v1.ListCostsResponse\x12\x80\x01\n\x0fListCostConfigs\x12\x35.agentic_mesh_protocol.cost.v1.ListCostConfigsRequest\x1a\x36.agentic_mesh_protocol.cost.v1.ListCostConfigsResponse\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
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,6 +33,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.cost.
|
|
|
33
33
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
34
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
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=
|
|
37
|
-
_globals['_COSTSERVICE']._serialized_end=
|
|
36
|
+
_globals['_COSTSERVICE']._serialized_start=130
|
|
37
|
+
_globals['_COSTSERVICE']._serialized_end=625
|
|
38
38
|
# @@protoc_insertion_point(module_scope)
|