agentic-mesh-protocol 0.2.1.dev1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- agentic_mesh_protocol/__init__.py +5 -0
- agentic_mesh_protocol/__version__.py +8 -0
- agentic_mesh_protocol/cost/__init__.py +0 -0
- agentic_mesh_protocol/cost/v1/__init__.py +0 -0
- agentic_mesh_protocol/cost/v1/cost_pb2.py +132 -0
- agentic_mesh_protocol/cost/v1/cost_pb2.pyi +162 -0
- agentic_mesh_protocol/cost/v1/cost_pb2_grpc.py +4 -0
- agentic_mesh_protocol/cost/v1/cost_service_pb2.py +38 -0
- agentic_mesh_protocol/cost/v1/cost_service_pb2.pyi +5 -0
- agentic_mesh_protocol/cost/v1/cost_service_pb2_grpc.py +257 -0
- agentic_mesh_protocol/filesystem/__init__.py +0 -0
- agentic_mesh_protocol/filesystem/v1/__init__.py +0 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_pb2.py +160 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_pb2.pyi +248 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_pb2_grpc.py +4 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2.py +38 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2.pyi +5 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2_grpc.py +274 -0
- agentic_mesh_protocol/module/__init__.py +0 -0
- agentic_mesh_protocol/module/v1/__init__.py +0 -0
- agentic_mesh_protocol/module/v1/information_pb2.py +85 -0
- agentic_mesh_protocol/module/v1/information_pb2.pyi +104 -0
- agentic_mesh_protocol/module/v1/information_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module/v1/lifecycle_pb2.py +70 -0
- agentic_mesh_protocol/module/v1/lifecycle_pb2.pyi +61 -0
- agentic_mesh_protocol/module/v1/lifecycle_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module/v1/module_service_pb2.py +40 -0
- agentic_mesh_protocol/module/v1/module_service_pb2.pyi +7 -0
- agentic_mesh_protocol/module/v1/module_service_pb2_grpc.py +544 -0
- agentic_mesh_protocol/module/v1/monitoring_pb2.py +58 -0
- agentic_mesh_protocol/module/v1/monitoring_pb2.pyi +64 -0
- agentic_mesh_protocol/module/v1/monitoring_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/__init__.py +0 -0
- agentic_mesh_protocol/module_registry/v1/__init__.py +0 -0
- agentic_mesh_protocol/module_registry/v1/discover_pb2.py +63 -0
- agentic_mesh_protocol/module_registry/v1/discover_pb2.pyi +49 -0
- agentic_mesh_protocol/module_registry/v1/discover_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/v1/metadata_pb2.py +46 -0
- agentic_mesh_protocol/module_registry/v1/metadata_pb2.pyi +24 -0
- agentic_mesh_protocol/module_registry/v1/metadata_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2.py +40 -0
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2.pyi +7 -0
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2_grpc.py +406 -0
- agentic_mesh_protocol/module_registry/v1/registration_pb2.py +57 -0
- agentic_mesh_protocol/module_registry/v1/registration_pb2.pyi +42 -0
- agentic_mesh_protocol/module_registry/v1/registration_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/v1/status_pb2.py +58 -0
- agentic_mesh_protocol/module_registry/v1/status_pb2.pyi +70 -0
- agentic_mesh_protocol/module_registry/v1/status_pb2_grpc.py +4 -0
- agentic_mesh_protocol/py.typed +0 -0
- agentic_mesh_protocol/registry/__init__.py +0 -0
- agentic_mesh_protocol/registry/v1/__init__.py +0 -0
- agentic_mesh_protocol/registry/v1/registry_enums_pb2.py +43 -0
- agentic_mesh_protocol/registry/v1/registry_enums_pb2.pyi +59 -0
- agentic_mesh_protocol/registry/v1/registry_enums_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_models_pb2.py +105 -0
- agentic_mesh_protocol/registry/v1/registry_models_pb2.pyi +82 -0
- agentic_mesh_protocol/registry/v1/registry_models_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_requests_pb2.py +110 -0
- agentic_mesh_protocol/registry/v1/registry_requests_pb2.pyi +102 -0
- agentic_mesh_protocol/registry/v1/registry_requests_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_service_pb2.py +39 -0
- agentic_mesh_protocol/registry/v1/registry_service_pb2.pyi +6 -0
- agentic_mesh_protocol/registry/v1/registry_service_pb2_grpc.py +322 -0
- agentic_mesh_protocol/setup/__init__.py +0 -0
- agentic_mesh_protocol/setup/v1/__init__.py +0 -0
- agentic_mesh_protocol/setup/v1/setup_pb2.py +142 -0
- agentic_mesh_protocol/setup/v1/setup_pb2.pyi +234 -0
- agentic_mesh_protocol/setup/v1/setup_pb2_grpc.py +4 -0
- agentic_mesh_protocol/setup/v1/setup_service_pb2.py +38 -0
- agentic_mesh_protocol/setup/v1/setup_service_pb2.pyi +5 -0
- agentic_mesh_protocol/setup/v1/setup_service_pb2_grpc.py +480 -0
- agentic_mesh_protocol/storage/__init__.py +0 -0
- agentic_mesh_protocol/storage/v1/__init__.py +0 -0
- agentic_mesh_protocol/storage/v1/data_pb2.py +136 -0
- agentic_mesh_protocol/storage/v1/data_pb2.pyi +148 -0
- agentic_mesh_protocol/storage/v1/data_pb2_grpc.py +4 -0
- agentic_mesh_protocol/storage/v1/storage_service_pb2.py +38 -0
- agentic_mesh_protocol/storage/v1/storage_service_pb2.pyi +5 -0
- agentic_mesh_protocol/storage/v1/storage_service_pb2_grpc.py +301 -0
- agentic_mesh_protocol/user_profile/__init__.py +0 -0
- agentic_mesh_protocol/user_profile/v1/__init__.py +0 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_pb2.py +72 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_pb2.pyi +82 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_pb2_grpc.py +4 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2.py +38 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2.pyi +5 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2_grpc.py +81 -0
- agentic_mesh_protocol-0.2.1.dev1.dist-info/METADATA +177 -0
- agentic_mesh_protocol-0.2.1.dev1.dist-info/RECORD +98 -0
- agentic_mesh_protocol-0.2.1.dev1.dist-info/WHEEL +5 -0
- agentic_mesh_protocol-0.2.1.dev1.dist-info/licenses/LICENSE +430 -0
- agentic_mesh_protocol-0.2.1.dev1.dist-info/top_level.txt +2 -0
- buf/__init__.py +0 -0
- buf/validate/__init__.py +0 -0
- buf/validate/validate_pb2.py +465 -0
- buf/validate/validate_pb2.pyi +650 -0
- buf/validate/validate_pb2_grpc.py +4 -0
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
|
|
3
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
4
|
+
from google.protobuf import struct_pb2 as _struct_pb2
|
|
5
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
6
|
+
from google.protobuf.internal import containers as _containers
|
|
7
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
8
|
+
from google.protobuf import descriptor as _descriptor
|
|
9
|
+
from google.protobuf import message as _message
|
|
10
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
11
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
12
|
+
|
|
13
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
14
|
+
|
|
15
|
+
class DataType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
16
|
+
__slots__ = ()
|
|
17
|
+
UNSPECIFIED: _ClassVar[DataType]
|
|
18
|
+
OUTPUT: _ClassVar[DataType]
|
|
19
|
+
VIEW: _ClassVar[DataType]
|
|
20
|
+
LOGS: _ClassVar[DataType]
|
|
21
|
+
OTHER: _ClassVar[DataType]
|
|
22
|
+
UNSPECIFIED: DataType
|
|
23
|
+
OUTPUT: DataType
|
|
24
|
+
VIEW: DataType
|
|
25
|
+
LOGS: DataType
|
|
26
|
+
OTHER: DataType
|
|
27
|
+
|
|
28
|
+
class StorageRecord(_message.Message):
|
|
29
|
+
__slots__ = ()
|
|
30
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
+
MISSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
COLLECTION_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
RECORD_ID_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
CREATION_DATE_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
UPDATE_DATE_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
DATA_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
data: _struct_pb2.Struct
|
|
38
|
+
mission_id: str
|
|
39
|
+
collection: str
|
|
40
|
+
record_id: str
|
|
41
|
+
creation_date: _timestamp_pb2.Timestamp
|
|
42
|
+
update_date: _timestamp_pb2.Timestamp
|
|
43
|
+
data_type: DataType
|
|
44
|
+
def __init__(self, data: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., mission_id: _Optional[str] = ..., collection: _Optional[str] = ..., record_id: _Optional[str] = ..., creation_date: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., update_date: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., data_type: _Optional[_Union[DataType, str]] = ...) -> None: ...
|
|
45
|
+
|
|
46
|
+
class StoreRecordRequest(_message.Message):
|
|
47
|
+
__slots__ = ()
|
|
48
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
MISSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
COLLECTION_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
RECORD_ID_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
+
DATA_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
53
|
+
data: _struct_pb2.Struct
|
|
54
|
+
mission_id: str
|
|
55
|
+
collection: str
|
|
56
|
+
record_id: str
|
|
57
|
+
data_type: DataType
|
|
58
|
+
def __init__(self, data: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., mission_id: _Optional[str] = ..., collection: _Optional[str] = ..., record_id: _Optional[str] = ..., data_type: _Optional[_Union[DataType, str]] = ...) -> None: ...
|
|
59
|
+
|
|
60
|
+
class StoreRecordResponse(_message.Message):
|
|
61
|
+
__slots__ = ()
|
|
62
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
STORED_DATA_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
+
success: bool
|
|
65
|
+
stored_data: StorageRecord
|
|
66
|
+
def __init__(self, success: _Optional[bool] = ..., stored_data: _Optional[_Union[StorageRecord, _Mapping]] = ...) -> None: ...
|
|
67
|
+
|
|
68
|
+
class ReadRecordRequest(_message.Message):
|
|
69
|
+
__slots__ = ()
|
|
70
|
+
MISSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
71
|
+
COLLECTION_FIELD_NUMBER: _ClassVar[int]
|
|
72
|
+
RECORD_ID_FIELD_NUMBER: _ClassVar[int]
|
|
73
|
+
mission_id: str
|
|
74
|
+
collection: str
|
|
75
|
+
record_id: str
|
|
76
|
+
def __init__(self, mission_id: _Optional[str] = ..., collection: _Optional[str] = ..., record_id: _Optional[str] = ...) -> None: ...
|
|
77
|
+
|
|
78
|
+
class ReadRecordResponse(_message.Message):
|
|
79
|
+
__slots__ = ()
|
|
80
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
81
|
+
STORED_DATA_FIELD_NUMBER: _ClassVar[int]
|
|
82
|
+
success: bool
|
|
83
|
+
stored_data: StorageRecord
|
|
84
|
+
def __init__(self, success: _Optional[bool] = ..., stored_data: _Optional[_Union[StorageRecord, _Mapping]] = ...) -> None: ...
|
|
85
|
+
|
|
86
|
+
class UpdateRecordRequest(_message.Message):
|
|
87
|
+
__slots__ = ()
|
|
88
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
+
MISSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
COLLECTION_FIELD_NUMBER: _ClassVar[int]
|
|
91
|
+
RECORD_ID_FIELD_NUMBER: _ClassVar[int]
|
|
92
|
+
data: _struct_pb2.Struct
|
|
93
|
+
mission_id: str
|
|
94
|
+
collection: str
|
|
95
|
+
record_id: str
|
|
96
|
+
def __init__(self, data: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., mission_id: _Optional[str] = ..., collection: _Optional[str] = ..., record_id: _Optional[str] = ...) -> None: ...
|
|
97
|
+
|
|
98
|
+
class UpdateRecordResponse(_message.Message):
|
|
99
|
+
__slots__ = ()
|
|
100
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
101
|
+
STORED_DATA_FIELD_NUMBER: _ClassVar[int]
|
|
102
|
+
success: bool
|
|
103
|
+
stored_data: StorageRecord
|
|
104
|
+
def __init__(self, success: _Optional[bool] = ..., stored_data: _Optional[_Union[StorageRecord, _Mapping]] = ...) -> None: ...
|
|
105
|
+
|
|
106
|
+
class RemoveRecordRequest(_message.Message):
|
|
107
|
+
__slots__ = ()
|
|
108
|
+
MISSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
109
|
+
COLLECTION_FIELD_NUMBER: _ClassVar[int]
|
|
110
|
+
RECORD_ID_FIELD_NUMBER: _ClassVar[int]
|
|
111
|
+
mission_id: str
|
|
112
|
+
collection: str
|
|
113
|
+
record_id: str
|
|
114
|
+
def __init__(self, mission_id: _Optional[str] = ..., collection: _Optional[str] = ..., record_id: _Optional[str] = ...) -> None: ...
|
|
115
|
+
|
|
116
|
+
class RemoveRecordResponse(_message.Message):
|
|
117
|
+
__slots__ = ()
|
|
118
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
119
|
+
success: bool
|
|
120
|
+
def __init__(self, success: _Optional[bool] = ...) -> None: ...
|
|
121
|
+
|
|
122
|
+
class ListRecordsRequest(_message.Message):
|
|
123
|
+
__slots__ = ()
|
|
124
|
+
MISSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
125
|
+
COLLECTION_FIELD_NUMBER: _ClassVar[int]
|
|
126
|
+
mission_id: str
|
|
127
|
+
collection: str
|
|
128
|
+
def __init__(self, mission_id: _Optional[str] = ..., collection: _Optional[str] = ...) -> None: ...
|
|
129
|
+
|
|
130
|
+
class ListRecordsResponse(_message.Message):
|
|
131
|
+
__slots__ = ()
|
|
132
|
+
RECORDS_FIELD_NUMBER: _ClassVar[int]
|
|
133
|
+
records: _containers.RepeatedCompositeFieldContainer[StorageRecord]
|
|
134
|
+
def __init__(self, records: _Optional[_Iterable[_Union[StorageRecord, _Mapping]]] = ...) -> None: ...
|
|
135
|
+
|
|
136
|
+
class RemoveCollectionRequest(_message.Message):
|
|
137
|
+
__slots__ = ()
|
|
138
|
+
MISSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
139
|
+
COLLECTION_FIELD_NUMBER: _ClassVar[int]
|
|
140
|
+
mission_id: str
|
|
141
|
+
collection: str
|
|
142
|
+
def __init__(self, mission_id: _Optional[str] = ..., collection: _Optional[str] = ...) -> None: ...
|
|
143
|
+
|
|
144
|
+
class RemoveCollectionResponse(_message.Message):
|
|
145
|
+
__slots__ = ()
|
|
146
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
147
|
+
success: bool
|
|
148
|
+
def __init__(self, success: _Optional[bool] = ...) -> None: ...
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: agentic_mesh_protocol/storage/v1/storage_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/storage/v1/storage_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from agentic_mesh_protocol.storage.v1 import data_pb2 as agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6agentic_mesh_protocol/storage/v1/storage_service.proto\x12 agentic_mesh_protocol.storage.v1\x1a+agentic_mesh_protocol/storage/v1/data.proto2\x8b\x06\n\x0eStorageService\x12z\n\x0bStoreRecord\x12\x34.agentic_mesh_protocol.storage.v1.StoreRecordRequest\x1a\x35.agentic_mesh_protocol.storage.v1.StoreRecordResponse\x12w\n\nReadRecord\x12\x33.agentic_mesh_protocol.storage.v1.ReadRecordRequest\x1a\x34.agentic_mesh_protocol.storage.v1.ReadRecordResponse\x12}\n\x0cUpdateRecord\x12\x35.agentic_mesh_protocol.storage.v1.UpdateRecordRequest\x1a\x36.agentic_mesh_protocol.storage.v1.UpdateRecordResponse\x12}\n\x0cRemoveRecord\x12\x35.agentic_mesh_protocol.storage.v1.RemoveRecordRequest\x1a\x36.agentic_mesh_protocol.storage.v1.RemoveRecordResponse\x12z\n\x0bListRecords\x12\x34.agentic_mesh_protocol.storage.v1.ListRecordsRequest\x1a\x35.agentic_mesh_protocol.storage.v1.ListRecordsResponse\x12\x89\x01\n\x10RemoveCollection\x12\x39.agentic_mesh_protocol.storage.v1.RemoveCollectionRequest\x1a:.agentic_mesh_protocol.storage.v1.RemoveCollectionResponseB\xd5\x01\n$com.agentic_mesh_protocol.storage.v1B\x13StorageServiceProtoP\x01\xa2\x02\x03\x41SX\xaa\x02\x1e\x41genticMeshProtocol.Storage.V1\xca\x02\x1e\x41genticMeshProtocol\\Storage\\V1\xe2\x02*AgenticMeshProtocol\\Storage\\V1\\GPBMetadata\xea\x02 AgenticMeshProtocol::Storage::V1b\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.storage.v1.storage_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.storage.v1B\023StorageServiceProtoP\001\242\002\003ASX\252\002\036AgenticMeshProtocol.Storage.V1\312\002\036AgenticMeshProtocol\\Storage\\V1\342\002*AgenticMeshProtocol\\Storage\\V1\\GPBMetadata\352\002 AgenticMeshProtocol::Storage::V1'
|
|
36
|
+
_globals['_STORAGESERVICE']._serialized_start=138
|
|
37
|
+
_globals['_STORAGESERVICE']._serialized_end=917
|
|
38
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,301 @@
|
|
|
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.storage.v1 import data_pb2 as agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class StorageServiceStub(object):
|
|
9
|
+
"""StorageService: Service for managing structured data storage
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
def __init__(self, channel):
|
|
13
|
+
"""Constructor.
|
|
14
|
+
|
|
15
|
+
Args:
|
|
16
|
+
channel: A grpc.Channel.
|
|
17
|
+
"""
|
|
18
|
+
self.StoreRecord = channel.unary_unary(
|
|
19
|
+
'/agentic_mesh_protocol.storage.v1.StorageService/StoreRecord',
|
|
20
|
+
request_serializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.StoreRecordRequest.SerializeToString,
|
|
21
|
+
response_deserializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.StoreRecordResponse.FromString,
|
|
22
|
+
_registered_method=True)
|
|
23
|
+
self.ReadRecord = channel.unary_unary(
|
|
24
|
+
'/agentic_mesh_protocol.storage.v1.StorageService/ReadRecord',
|
|
25
|
+
request_serializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.ReadRecordRequest.SerializeToString,
|
|
26
|
+
response_deserializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.ReadRecordResponse.FromString,
|
|
27
|
+
_registered_method=True)
|
|
28
|
+
self.UpdateRecord = channel.unary_unary(
|
|
29
|
+
'/agentic_mesh_protocol.storage.v1.StorageService/UpdateRecord',
|
|
30
|
+
request_serializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.UpdateRecordRequest.SerializeToString,
|
|
31
|
+
response_deserializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.UpdateRecordResponse.FromString,
|
|
32
|
+
_registered_method=True)
|
|
33
|
+
self.RemoveRecord = channel.unary_unary(
|
|
34
|
+
'/agentic_mesh_protocol.storage.v1.StorageService/RemoveRecord',
|
|
35
|
+
request_serializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.RemoveRecordRequest.SerializeToString,
|
|
36
|
+
response_deserializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.RemoveRecordResponse.FromString,
|
|
37
|
+
_registered_method=True)
|
|
38
|
+
self.ListRecords = channel.unary_unary(
|
|
39
|
+
'/agentic_mesh_protocol.storage.v1.StorageService/ListRecords',
|
|
40
|
+
request_serializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.ListRecordsRequest.SerializeToString,
|
|
41
|
+
response_deserializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.ListRecordsResponse.FromString,
|
|
42
|
+
_registered_method=True)
|
|
43
|
+
self.RemoveCollection = channel.unary_unary(
|
|
44
|
+
'/agentic_mesh_protocol.storage.v1.StorageService/RemoveCollection',
|
|
45
|
+
request_serializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.RemoveCollectionRequest.SerializeToString,
|
|
46
|
+
response_deserializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.RemoveCollectionResponse.FromString,
|
|
47
|
+
_registered_method=True)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class StorageServiceServicer(object):
|
|
51
|
+
"""StorageService: Service for managing structured data storage
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
def StoreRecord(self, request, context):
|
|
55
|
+
"""StoreRecord: Create a new record in the storage
|
|
56
|
+
"""
|
|
57
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
58
|
+
context.set_details('Method not implemented!')
|
|
59
|
+
raise NotImplementedError('Method not implemented!')
|
|
60
|
+
|
|
61
|
+
def ReadRecord(self, request, context):
|
|
62
|
+
"""ReadRecord: Retrieve a single record by ID
|
|
63
|
+
"""
|
|
64
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
65
|
+
context.set_details('Method not implemented!')
|
|
66
|
+
raise NotImplementedError('Method not implemented!')
|
|
67
|
+
|
|
68
|
+
def UpdateRecord(self, request, context):
|
|
69
|
+
"""UpdateRecord: Update an existing record
|
|
70
|
+
"""
|
|
71
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
72
|
+
context.set_details('Method not implemented!')
|
|
73
|
+
raise NotImplementedError('Method not implemented!')
|
|
74
|
+
|
|
75
|
+
def RemoveRecord(self, request, context):
|
|
76
|
+
"""RemoveRecord: Delete a record from storage
|
|
77
|
+
"""
|
|
78
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
79
|
+
context.set_details('Method not implemented!')
|
|
80
|
+
raise NotImplementedError('Method not implemented!')
|
|
81
|
+
|
|
82
|
+
def ListRecords(self, request, context):
|
|
83
|
+
"""ListRecords: List records with filtering and pagination
|
|
84
|
+
"""
|
|
85
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
86
|
+
context.set_details('Method not implemented!')
|
|
87
|
+
raise NotImplementedError('Method not implemented!')
|
|
88
|
+
|
|
89
|
+
def RemoveCollection(self, request, context):
|
|
90
|
+
"""RemoveCollection: Delete all records in a given collection
|
|
91
|
+
"""
|
|
92
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
93
|
+
context.set_details('Method not implemented!')
|
|
94
|
+
raise NotImplementedError('Method not implemented!')
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
def add_StorageServiceServicer_to_server(servicer, server):
|
|
98
|
+
rpc_method_handlers = {
|
|
99
|
+
'StoreRecord': grpc.unary_unary_rpc_method_handler(
|
|
100
|
+
servicer.StoreRecord,
|
|
101
|
+
request_deserializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.StoreRecordRequest.FromString,
|
|
102
|
+
response_serializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.StoreRecordResponse.SerializeToString,
|
|
103
|
+
),
|
|
104
|
+
'ReadRecord': grpc.unary_unary_rpc_method_handler(
|
|
105
|
+
servicer.ReadRecord,
|
|
106
|
+
request_deserializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.ReadRecordRequest.FromString,
|
|
107
|
+
response_serializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.ReadRecordResponse.SerializeToString,
|
|
108
|
+
),
|
|
109
|
+
'UpdateRecord': grpc.unary_unary_rpc_method_handler(
|
|
110
|
+
servicer.UpdateRecord,
|
|
111
|
+
request_deserializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.UpdateRecordRequest.FromString,
|
|
112
|
+
response_serializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.UpdateRecordResponse.SerializeToString,
|
|
113
|
+
),
|
|
114
|
+
'RemoveRecord': grpc.unary_unary_rpc_method_handler(
|
|
115
|
+
servicer.RemoveRecord,
|
|
116
|
+
request_deserializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.RemoveRecordRequest.FromString,
|
|
117
|
+
response_serializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.RemoveRecordResponse.SerializeToString,
|
|
118
|
+
),
|
|
119
|
+
'ListRecords': grpc.unary_unary_rpc_method_handler(
|
|
120
|
+
servicer.ListRecords,
|
|
121
|
+
request_deserializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.ListRecordsRequest.FromString,
|
|
122
|
+
response_serializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.ListRecordsResponse.SerializeToString,
|
|
123
|
+
),
|
|
124
|
+
'RemoveCollection': grpc.unary_unary_rpc_method_handler(
|
|
125
|
+
servicer.RemoveCollection,
|
|
126
|
+
request_deserializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.RemoveCollectionRequest.FromString,
|
|
127
|
+
response_serializer=agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.RemoveCollectionResponse.SerializeToString,
|
|
128
|
+
),
|
|
129
|
+
}
|
|
130
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
131
|
+
'agentic_mesh_protocol.storage.v1.StorageService', rpc_method_handlers)
|
|
132
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
133
|
+
server.add_registered_method_handlers('agentic_mesh_protocol.storage.v1.StorageService', rpc_method_handlers)
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
# This class is part of an EXPERIMENTAL API.
|
|
137
|
+
class StorageService(object):
|
|
138
|
+
"""StorageService: Service for managing structured data storage
|
|
139
|
+
"""
|
|
140
|
+
|
|
141
|
+
@staticmethod
|
|
142
|
+
def StoreRecord(request,
|
|
143
|
+
target,
|
|
144
|
+
options=(),
|
|
145
|
+
channel_credentials=None,
|
|
146
|
+
call_credentials=None,
|
|
147
|
+
insecure=False,
|
|
148
|
+
compression=None,
|
|
149
|
+
wait_for_ready=None,
|
|
150
|
+
timeout=None,
|
|
151
|
+
metadata=None):
|
|
152
|
+
return grpc.experimental.unary_unary(
|
|
153
|
+
request,
|
|
154
|
+
target,
|
|
155
|
+
'/agentic_mesh_protocol.storage.v1.StorageService/StoreRecord',
|
|
156
|
+
agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.StoreRecordRequest.SerializeToString,
|
|
157
|
+
agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.StoreRecordResponse.FromString,
|
|
158
|
+
options,
|
|
159
|
+
channel_credentials,
|
|
160
|
+
insecure,
|
|
161
|
+
call_credentials,
|
|
162
|
+
compression,
|
|
163
|
+
wait_for_ready,
|
|
164
|
+
timeout,
|
|
165
|
+
metadata,
|
|
166
|
+
_registered_method=True)
|
|
167
|
+
|
|
168
|
+
@staticmethod
|
|
169
|
+
def ReadRecord(request,
|
|
170
|
+
target,
|
|
171
|
+
options=(),
|
|
172
|
+
channel_credentials=None,
|
|
173
|
+
call_credentials=None,
|
|
174
|
+
insecure=False,
|
|
175
|
+
compression=None,
|
|
176
|
+
wait_for_ready=None,
|
|
177
|
+
timeout=None,
|
|
178
|
+
metadata=None):
|
|
179
|
+
return grpc.experimental.unary_unary(
|
|
180
|
+
request,
|
|
181
|
+
target,
|
|
182
|
+
'/agentic_mesh_protocol.storage.v1.StorageService/ReadRecord',
|
|
183
|
+
agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.ReadRecordRequest.SerializeToString,
|
|
184
|
+
agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.ReadRecordResponse.FromString,
|
|
185
|
+
options,
|
|
186
|
+
channel_credentials,
|
|
187
|
+
insecure,
|
|
188
|
+
call_credentials,
|
|
189
|
+
compression,
|
|
190
|
+
wait_for_ready,
|
|
191
|
+
timeout,
|
|
192
|
+
metadata,
|
|
193
|
+
_registered_method=True)
|
|
194
|
+
|
|
195
|
+
@staticmethod
|
|
196
|
+
def UpdateRecord(request,
|
|
197
|
+
target,
|
|
198
|
+
options=(),
|
|
199
|
+
channel_credentials=None,
|
|
200
|
+
call_credentials=None,
|
|
201
|
+
insecure=False,
|
|
202
|
+
compression=None,
|
|
203
|
+
wait_for_ready=None,
|
|
204
|
+
timeout=None,
|
|
205
|
+
metadata=None):
|
|
206
|
+
return grpc.experimental.unary_unary(
|
|
207
|
+
request,
|
|
208
|
+
target,
|
|
209
|
+
'/agentic_mesh_protocol.storage.v1.StorageService/UpdateRecord',
|
|
210
|
+
agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.UpdateRecordRequest.SerializeToString,
|
|
211
|
+
agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.UpdateRecordResponse.FromString,
|
|
212
|
+
options,
|
|
213
|
+
channel_credentials,
|
|
214
|
+
insecure,
|
|
215
|
+
call_credentials,
|
|
216
|
+
compression,
|
|
217
|
+
wait_for_ready,
|
|
218
|
+
timeout,
|
|
219
|
+
metadata,
|
|
220
|
+
_registered_method=True)
|
|
221
|
+
|
|
222
|
+
@staticmethod
|
|
223
|
+
def RemoveRecord(request,
|
|
224
|
+
target,
|
|
225
|
+
options=(),
|
|
226
|
+
channel_credentials=None,
|
|
227
|
+
call_credentials=None,
|
|
228
|
+
insecure=False,
|
|
229
|
+
compression=None,
|
|
230
|
+
wait_for_ready=None,
|
|
231
|
+
timeout=None,
|
|
232
|
+
metadata=None):
|
|
233
|
+
return grpc.experimental.unary_unary(
|
|
234
|
+
request,
|
|
235
|
+
target,
|
|
236
|
+
'/agentic_mesh_protocol.storage.v1.StorageService/RemoveRecord',
|
|
237
|
+
agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.RemoveRecordRequest.SerializeToString,
|
|
238
|
+
agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.RemoveRecordResponse.FromString,
|
|
239
|
+
options,
|
|
240
|
+
channel_credentials,
|
|
241
|
+
insecure,
|
|
242
|
+
call_credentials,
|
|
243
|
+
compression,
|
|
244
|
+
wait_for_ready,
|
|
245
|
+
timeout,
|
|
246
|
+
metadata,
|
|
247
|
+
_registered_method=True)
|
|
248
|
+
|
|
249
|
+
@staticmethod
|
|
250
|
+
def ListRecords(request,
|
|
251
|
+
target,
|
|
252
|
+
options=(),
|
|
253
|
+
channel_credentials=None,
|
|
254
|
+
call_credentials=None,
|
|
255
|
+
insecure=False,
|
|
256
|
+
compression=None,
|
|
257
|
+
wait_for_ready=None,
|
|
258
|
+
timeout=None,
|
|
259
|
+
metadata=None):
|
|
260
|
+
return grpc.experimental.unary_unary(
|
|
261
|
+
request,
|
|
262
|
+
target,
|
|
263
|
+
'/agentic_mesh_protocol.storage.v1.StorageService/ListRecords',
|
|
264
|
+
agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.ListRecordsRequest.SerializeToString,
|
|
265
|
+
agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.ListRecordsResponse.FromString,
|
|
266
|
+
options,
|
|
267
|
+
channel_credentials,
|
|
268
|
+
insecure,
|
|
269
|
+
call_credentials,
|
|
270
|
+
compression,
|
|
271
|
+
wait_for_ready,
|
|
272
|
+
timeout,
|
|
273
|
+
metadata,
|
|
274
|
+
_registered_method=True)
|
|
275
|
+
|
|
276
|
+
@staticmethod
|
|
277
|
+
def RemoveCollection(request,
|
|
278
|
+
target,
|
|
279
|
+
options=(),
|
|
280
|
+
channel_credentials=None,
|
|
281
|
+
call_credentials=None,
|
|
282
|
+
insecure=False,
|
|
283
|
+
compression=None,
|
|
284
|
+
wait_for_ready=None,
|
|
285
|
+
timeout=None,
|
|
286
|
+
metadata=None):
|
|
287
|
+
return grpc.experimental.unary_unary(
|
|
288
|
+
request,
|
|
289
|
+
target,
|
|
290
|
+
'/agentic_mesh_protocol.storage.v1.StorageService/RemoveCollection',
|
|
291
|
+
agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.RemoveCollectionRequest.SerializeToString,
|
|
292
|
+
agentic__mesh__protocol_dot_storage_dot_v1_dot_data__pb2.RemoveCollectionResponse.FromString,
|
|
293
|
+
options,
|
|
294
|
+
channel_credentials,
|
|
295
|
+
insecure,
|
|
296
|
+
call_credentials,
|
|
297
|
+
compression,
|
|
298
|
+
wait_for_ready,
|
|
299
|
+
timeout,
|
|
300
|
+
metadata,
|
|
301
|
+
_registered_method=True)
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,72 @@
|
|
|
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/user_profile/v1/user_profile.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/user_profile/v1/user_profile.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
|
+
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
27
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8agentic_mesh_protocol/user_profile/v1/user_profile.proto\x12%agentic_mesh_protocol.user_profile.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"-\n\x08Metadata\x12!\n\x0csecurity_key\x18\x01 \x01(\tR\x0bsecurityKey\"\x9a\x01\n\x0cSubscription\x12\x12\n\x04tier\x18\x01 \x01(\tR\x04tier\x12\x16\n\x06status\x18\x02 \x01(\tR\x06status\x12\x30\n\x05start\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05start\x12,\n\x03\x65nd\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x03\x65nd\"\x91\x01\n\tCreditLot\x12\x16\n\x06source\x18\x01 \x01(\tR\x06source\x12\x14\n\x05total\x18\x02 \x01(\x03R\x05total\x12\x1c\n\tremaining\x18\x03 \x01(\x01R\tremaining\x12\x38\n\ttimestamp\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\"\xf1\x04\n\x0bUserProfile\x12)\n\x07user_id\x18\x01 \x01(\tB\x10\xbaH\rr\x08:\x06users:\xc8\x01\x01R\x06userId\x12\x41\n\x0forganisation_id\x18\x02 \x01(\tB\x18\xbaH\x15r\x10:\x0eorganisations:\xc8\x01\x01R\x0eorganisationId\x12 \n\x05\x65mail\x18\x03 \x01(\tB\n\xbaH\x07r\x02`\x01\xc8\x01\x01R\x05\x65mail\x12%\n\nfirst_name\x18\x04 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\tfirstName\x12#\n\tlast_name\x18\x05 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x08lastName\x12G\n\rcreation_date\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xbaH\x03\xc8\x01\x01R\x0c\x63reationDate\x12\x43\n\x0bupdate_date\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xbaH\x03\xc8\x01\x01R\nupdateDate\x12\x1e\n\x06locale\x18\x08 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x06locale\x12W\n\x0csubscription\x18\t \x01(\x0b\x32\x33.agentic_mesh_protocol.user_profile.v1.SubscriptionR\x0csubscription\x12J\n\x07\x63redits\x18\n \x03(\x0b\x32\x30.agentic_mesh_protocol.user_profile.v1.CreditLotR\x07\x63redits\x12\x33\n\x08metadata\x18\x0b \x01(\x0b\x32\x17.google.protobuf.StructR\x08metadata\"K\n\x15GetUserProfileRequest\x12\x32\n\nmission_id\x18\x01 \x01(\tB\x13\xbaH\x10r\x0b:\tmissions:\xc8\x01\x01R\tmissionId\"\x99\x01\n\x16GetUserProfileResponse\x12 \n\x07success\x18\x01 \x01(\x08\x42\x06\xbaH\x03\xc8\x01\x01R\x07success\x12]\n\x0cuser_profile\x18\x02 \x01(\x0b\x32\x32.agentic_mesh_protocol.user_profile.v1.UserProfileB\x06\xbaH\x03\xc8\x01\x01R\x0buserProfileB\xe7\x01\n)com.agentic_mesh_protocol.user_profile.v1B\x10UserProfileProtoP\x01\xa2\x02\x03\x41UX\xaa\x02\"AgenticMeshProtocol.UserProfile.V1\xca\x02\"AgenticMeshProtocol\\UserProfile\\V1\xe2\x02.AgenticMeshProtocol\\UserProfile\\V1\\GPBMetadata\xea\x02$AgenticMeshProtocol::UserProfile::V1b\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.user_profile.v1.user_profile_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.user_profile.v1B\020UserProfileProtoP\001\242\002\003AUX\252\002\"AgenticMeshProtocol.UserProfile.V1\312\002\"AgenticMeshProtocol\\UserProfile\\V1\342\002.AgenticMeshProtocol\\UserProfile\\V1\\GPBMetadata\352\002$AgenticMeshProtocol::UserProfile::V1'
|
|
38
|
+
_globals['_USERPROFILE'].fields_by_name['user_id']._loaded_options = None
|
|
39
|
+
_globals['_USERPROFILE'].fields_by_name['user_id']._serialized_options = b'\272H\rr\010:\006users:\310\001\001'
|
|
40
|
+
_globals['_USERPROFILE'].fields_by_name['organisation_id']._loaded_options = None
|
|
41
|
+
_globals['_USERPROFILE'].fields_by_name['organisation_id']._serialized_options = b'\272H\025r\020:\016organisations:\310\001\001'
|
|
42
|
+
_globals['_USERPROFILE'].fields_by_name['email']._loaded_options = None
|
|
43
|
+
_globals['_USERPROFILE'].fields_by_name['email']._serialized_options = b'\272H\007r\002`\001\310\001\001'
|
|
44
|
+
_globals['_USERPROFILE'].fields_by_name['first_name']._loaded_options = None
|
|
45
|
+
_globals['_USERPROFILE'].fields_by_name['first_name']._serialized_options = b'\272H\003\310\001\001'
|
|
46
|
+
_globals['_USERPROFILE'].fields_by_name['last_name']._loaded_options = None
|
|
47
|
+
_globals['_USERPROFILE'].fields_by_name['last_name']._serialized_options = b'\272H\003\310\001\001'
|
|
48
|
+
_globals['_USERPROFILE'].fields_by_name['creation_date']._loaded_options = None
|
|
49
|
+
_globals['_USERPROFILE'].fields_by_name['creation_date']._serialized_options = b'\272H\003\310\001\001'
|
|
50
|
+
_globals['_USERPROFILE'].fields_by_name['update_date']._loaded_options = None
|
|
51
|
+
_globals['_USERPROFILE'].fields_by_name['update_date']._serialized_options = b'\272H\003\310\001\001'
|
|
52
|
+
_globals['_USERPROFILE'].fields_by_name['locale']._loaded_options = None
|
|
53
|
+
_globals['_USERPROFILE'].fields_by_name['locale']._serialized_options = b'\272H\003\310\001\001'
|
|
54
|
+
_globals['_GETUSERPROFILEREQUEST'].fields_by_name['mission_id']._loaded_options = None
|
|
55
|
+
_globals['_GETUSERPROFILEREQUEST'].fields_by_name['mission_id']._serialized_options = b'\272H\020r\013:\tmissions:\310\001\001'
|
|
56
|
+
_globals['_GETUSERPROFILERESPONSE'].fields_by_name['success']._loaded_options = None
|
|
57
|
+
_globals['_GETUSERPROFILERESPONSE'].fields_by_name['success']._serialized_options = b'\272H\003\310\001\001'
|
|
58
|
+
_globals['_GETUSERPROFILERESPONSE'].fields_by_name['user_profile']._loaded_options = None
|
|
59
|
+
_globals['_GETUSERPROFILERESPONSE'].fields_by_name['user_profile']._serialized_options = b'\272H\003\310\001\001'
|
|
60
|
+
_globals['_METADATA']._serialized_start=191
|
|
61
|
+
_globals['_METADATA']._serialized_end=236
|
|
62
|
+
_globals['_SUBSCRIPTION']._serialized_start=239
|
|
63
|
+
_globals['_SUBSCRIPTION']._serialized_end=393
|
|
64
|
+
_globals['_CREDITLOT']._serialized_start=396
|
|
65
|
+
_globals['_CREDITLOT']._serialized_end=541
|
|
66
|
+
_globals['_USERPROFILE']._serialized_start=544
|
|
67
|
+
_globals['_USERPROFILE']._serialized_end=1169
|
|
68
|
+
_globals['_GETUSERPROFILEREQUEST']._serialized_start=1171
|
|
69
|
+
_globals['_GETUSERPROFILEREQUEST']._serialized_end=1246
|
|
70
|
+
_globals['_GETUSERPROFILERESPONSE']._serialized_start=1249
|
|
71
|
+
_globals['_GETUSERPROFILERESPONSE']._serialized_end=1402
|
|
72
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
|
|
3
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
4
|
+
from google.protobuf import struct_pb2 as _struct_pb2
|
|
5
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
6
|
+
from google.protobuf.internal import containers as _containers
|
|
7
|
+
from google.protobuf 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 Metadata(_message.Message):
|
|
15
|
+
__slots__ = ()
|
|
16
|
+
SECURITY_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
security_key: str
|
|
18
|
+
def __init__(self, security_key: _Optional[str] = ...) -> None: ...
|
|
19
|
+
|
|
20
|
+
class Subscription(_message.Message):
|
|
21
|
+
__slots__ = ()
|
|
22
|
+
TIER_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
START_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
END_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
tier: str
|
|
27
|
+
status: str
|
|
28
|
+
start: _timestamp_pb2.Timestamp
|
|
29
|
+
end: _timestamp_pb2.Timestamp
|
|
30
|
+
def __init__(self, tier: _Optional[str] = ..., status: _Optional[str] = ..., start: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., end: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
31
|
+
|
|
32
|
+
class CreditLot(_message.Message):
|
|
33
|
+
__slots__ = ()
|
|
34
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
TOTAL_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
REMAINING_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
source: str
|
|
39
|
+
total: int
|
|
40
|
+
remaining: float
|
|
41
|
+
timestamp: _timestamp_pb2.Timestamp
|
|
42
|
+
def __init__(self, source: _Optional[str] = ..., total: _Optional[int] = ..., remaining: _Optional[float] = ..., timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
43
|
+
|
|
44
|
+
class UserProfile(_message.Message):
|
|
45
|
+
__slots__ = ()
|
|
46
|
+
USER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
+
ORGANISATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
EMAIL_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
FIRST_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
LAST_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
CREATION_DATE_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
+
UPDATE_DATE_FIELD_NUMBER: _ClassVar[int]
|
|
53
|
+
LOCALE_FIELD_NUMBER: _ClassVar[int]
|
|
54
|
+
SUBSCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
55
|
+
CREDITS_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
user_id: str
|
|
58
|
+
organisation_id: str
|
|
59
|
+
email: str
|
|
60
|
+
first_name: str
|
|
61
|
+
last_name: str
|
|
62
|
+
creation_date: _timestamp_pb2.Timestamp
|
|
63
|
+
update_date: _timestamp_pb2.Timestamp
|
|
64
|
+
locale: str
|
|
65
|
+
subscription: Subscription
|
|
66
|
+
credits: _containers.RepeatedCompositeFieldContainer[CreditLot]
|
|
67
|
+
metadata: _struct_pb2.Struct
|
|
68
|
+
def __init__(self, user_id: _Optional[str] = ..., organisation_id: _Optional[str] = ..., email: _Optional[str] = ..., first_name: _Optional[str] = ..., last_name: _Optional[str] = ..., creation_date: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., update_date: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., locale: _Optional[str] = ..., subscription: _Optional[_Union[Subscription, _Mapping]] = ..., credits: _Optional[_Iterable[_Union[CreditLot, _Mapping]]] = ..., metadata: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
69
|
+
|
|
70
|
+
class GetUserProfileRequest(_message.Message):
|
|
71
|
+
__slots__ = ()
|
|
72
|
+
MISSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
73
|
+
mission_id: str
|
|
74
|
+
def __init__(self, mission_id: _Optional[str] = ...) -> None: ...
|
|
75
|
+
|
|
76
|
+
class GetUserProfileResponse(_message.Message):
|
|
77
|
+
__slots__ = ()
|
|
78
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
79
|
+
USER_PROFILE_FIELD_NUMBER: _ClassVar[int]
|
|
80
|
+
success: bool
|
|
81
|
+
user_profile: UserProfile
|
|
82
|
+
def __init__(self, success: _Optional[bool] = ..., user_profile: _Optional[_Union[UserProfile, _Mapping]] = ...) -> None: ...
|