From b054f98d98768911613fe32aaf460868511aa6ae Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Mon, 31 Aug 2020 14:19:43 +0200
Subject: [PATCH 001/155] add Message class in base.proto
The reason is that all the protocols currently use
the dialogue system and need to add some fields like message_id, target etc.
in their message definition.
This change will be useful to refactor existing protocols;
we define those fields in only one place and make them available for
all the '.proto' protocol files.
---
aea/mail/base.proto | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/aea/mail/base.proto b/aea/mail/base.proto
index 9f02bca898..4d8dfb6c51 100644
--- a/aea/mail/base.proto
+++ b/aea/mail/base.proto
@@ -2,10 +2,23 @@ syntax = "proto3";
package fetch.aea;
+import "google/protobuf/any.proto";
+
+message Message {
+ int32 message_id = 1;
+ string dialogue_starter_reference = 2;
+ string dialogue_responder_reference = 3;
+ int32 target = 4;
+ google.protobuf.Any content = 5;
+}
+
message Envelope{
string to = 1;
string sender = 2;
string protocol_id = 3;
- bytes message = 4;
- string uri = 5;
+ oneof message {
+ bytes message_bytes = 4;
+ Message message_ = 5;
+ }
+ string uri = 6;
}
From 570014b85e793d40c26b2ecf31ea16de52afc8b3 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Mon, 31 Aug 2020 19:04:36 +0200
Subject: [PATCH 002/155] implement default encoding/decoding of a Message
object.
---
aea/mail/base.proto | 18 ++-
aea/mail/base.py | 5 +-
aea/mail/base_pb2.py | 230 +++++++++++++++++++++++++++++-
aea/protocols/base.py | 99 +++++++++++--
tests/test_protocols/test_base.py | 25 ++++
5 files changed, 352 insertions(+), 25 deletions(-)
diff --git a/aea/mail/base.proto b/aea/mail/base.proto
index 4d8dfb6c51..d9dc52dfec 100644
--- a/aea/mail/base.proto
+++ b/aea/mail/base.proto
@@ -3,8 +3,10 @@ syntax = "proto3";
package fetch.aea;
import "google/protobuf/any.proto";
+import "google/protobuf/struct.proto";
-message Message {
+
+message DialogueMessage {
int32 message_id = 1;
string dialogue_starter_reference = 2;
string dialogue_responder_reference = 3;
@@ -12,13 +14,17 @@ message Message {
google.protobuf.Any content = 5;
}
+message Message {
+ oneof message {
+ google.protobuf.Struct body = 1;
+ DialogueMessage dialogue_message = 2;
+ }
+}
+
message Envelope{
string to = 1;
string sender = 2;
string protocol_id = 3;
- oneof message {
- bytes message_bytes = 4;
- Message message_ = 5;
- }
- string uri = 6;
+ bytes message = 4;
+ string uri = 5;
}
diff --git a/aea/mail/base.py b/aea/mail/base.py
index 7e41685ec5..1c24327dfd 100644
--- a/aea/mail/base.py
+++ b/aea/mail/base.py
@@ -266,6 +266,8 @@ def decode(self, envelope_bytes: bytes) -> "Envelope":
"""
Decode the envelope.
+ The default serializer doesn't decode the message field.
+
:param envelope_bytes: the encoded envelope
:return: the envelope
"""
@@ -276,7 +278,8 @@ def decode(self, envelope_bytes: bytes) -> "Envelope":
sender = envelope_pb.sender # pylint: disable=no-member
raw_protocol_id = envelope_pb.protocol_id # pylint: disable=no-member
protocol_id = PublicId.from_str(raw_protocol_id)
- message = envelope_pb.message # pylint: disable=no-member
+ message = envelope_pb.message
+
uri_raw = envelope_pb.uri # pylint: disable=no-member
if uri_raw != "": # empty string means this field is not set in proto3
uri = URI(uri_raw=uri_raw)
diff --git a/aea/mail/base_pb2.py b/aea/mail/base_pb2.py
index 60579813c1..3017f52e4d 100644
--- a/aea/mail/base_pb2.py
+++ b/aea/mail/base_pb2.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: base.proto
@@ -15,14 +14,198 @@
_sym_db = _symbol_database.Default()
+from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
+from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
+
+
DESCRIPTOR = _descriptor.FileDescriptor(
name="base.proto",
package="fetch.aea",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\nbase.proto\x12\tfetch.aea"Y\n\x08\x45nvelope\x12\n\n\x02to\x18\x01 \x01(\t\x12\x0e\n\x06sender\x18\x02 \x01(\t\x12\x13\n\x0bprotocol_id\x18\x03 \x01(\t\x12\x0f\n\x07message\x18\x04 \x01(\x0c\x12\x0b\n\x03uri\x18\x05 \x01(\tb\x06proto3'
+ '\n\nbase.proto\x12\tfetch.aea\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto"\xa6\x01\n\x0f\x44ialogueMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12%\n\x07\x63ontent\x18\x05 \x01(\x0b\x32\x14.google.protobuf.Any"u\n\x07Message\x12\'\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12\x36\n\x10\x64ialogue_message\x18\x02 \x01(\x0b\x32\x1a.fetch.aea.DialogueMessageH\x00\x42\t\n\x07message"Y\n\x08\x45nvelope\x12\n\n\x02to\x18\x01 \x01(\t\x12\x0e\n\x06sender\x18\x02 \x01(\t\x12\x13\n\x0bprotocol_id\x18\x03 \x01(\t\x12\x0f\n\x07message\x18\x04 \x01(\x0c\x12\x0b\n\x03uri\x18\x05 \x01(\tb\x06proto3'
),
+ dependencies=[
+ google_dot_protobuf_dot_any__pb2.DESCRIPTOR,
+ google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,
+ ],
+)
+
+
+_DIALOGUEMESSAGE = _descriptor.Descriptor(
+ name="DialogueMessage",
+ full_name="fetch.aea.DialogueMessage",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="message_id",
+ full_name="fetch.aea.DialogueMessage.message_id",
+ index=0,
+ number=1,
+ type=5,
+ cpp_type=1,
+ label=1,
+ has_default_value=False,
+ default_value=0,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="dialogue_starter_reference",
+ full_name="fetch.aea.DialogueMessage.dialogue_starter_reference",
+ index=1,
+ number=2,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="dialogue_responder_reference",
+ full_name="fetch.aea.DialogueMessage.dialogue_responder_reference",
+ index=2,
+ number=3,
+ type=9,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b("").decode("utf-8"),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="target",
+ full_name="fetch.aea.DialogueMessage.target",
+ index=3,
+ number=4,
+ type=5,
+ cpp_type=1,
+ label=1,
+ has_default_value=False,
+ default_value=0,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="content",
+ full_name="fetch.aea.DialogueMessage.content",
+ index=4,
+ number=5,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ ],
+ extensions=[],
+ nested_types=[],
+ enum_types=[],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[],
+ serialized_start=83,
+ serialized_end=249,
+)
+
+
+_MESSAGE = _descriptor.Descriptor(
+ name="Message",
+ full_name="fetch.aea.Message",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="body",
+ full_name="fetch.aea.Message.body",
+ index=0,
+ number=1,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ _descriptor.FieldDescriptor(
+ name="dialogue_message",
+ full_name="fetch.aea.Message.dialogue_message",
+ index=1,
+ number=2,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ ],
+ extensions=[],
+ nested_types=[],
+ enum_types=[],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[
+ _descriptor.OneofDescriptor(
+ name="message",
+ full_name="fetch.aea.Message.message",
+ index=0,
+ containing_type=None,
+ fields=[],
+ ),
+ ],
+ serialized_start=251,
+ serialized_end=368,
)
@@ -132,13 +315,52 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=25,
- serialized_end=114,
+ serialized_start=370,
+ serialized_end=459,
)
+_DIALOGUEMESSAGE.fields_by_name[
+ "content"
+].message_type = google_dot_protobuf_dot_any__pb2._ANY
+_MESSAGE.fields_by_name[
+ "body"
+].message_type = google_dot_protobuf_dot_struct__pb2._STRUCT
+_MESSAGE.fields_by_name["dialogue_message"].message_type = _DIALOGUEMESSAGE
+_MESSAGE.oneofs_by_name["message"].fields.append(_MESSAGE.fields_by_name["body"])
+_MESSAGE.fields_by_name["body"].containing_oneof = _MESSAGE.oneofs_by_name["message"]
+_MESSAGE.oneofs_by_name["message"].fields.append(
+ _MESSAGE.fields_by_name["dialogue_message"]
+)
+_MESSAGE.fields_by_name["dialogue_message"].containing_oneof = _MESSAGE.oneofs_by_name[
+ "message"
+]
+DESCRIPTOR.message_types_by_name["DialogueMessage"] = _DIALOGUEMESSAGE
+DESCRIPTOR.message_types_by_name["Message"] = _MESSAGE
DESCRIPTOR.message_types_by_name["Envelope"] = _ENVELOPE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
+DialogueMessage = _reflection.GeneratedProtocolMessageType(
+ "DialogueMessage",
+ (_message.Message,),
+ dict(
+ DESCRIPTOR=_DIALOGUEMESSAGE,
+ __module__="base_pb2"
+ # @@protoc_insertion_point(class_scope:fetch.aea.DialogueMessage)
+ ),
+)
+_sym_db.RegisterMessage(DialogueMessage)
+
+Message = _reflection.GeneratedProtocolMessageType(
+ "Message",
+ (_message.Message,),
+ dict(
+ DESCRIPTOR=_MESSAGE,
+ __module__="base_pb2"
+ # @@protoc_insertion_point(class_scope:fetch.aea.Message)
+ ),
+)
+_sym_db.RegisterMessage(Message)
+
Envelope = _reflection.GeneratedProtocolMessageType(
"Envelope",
(_message.Message,),
diff --git a/aea/protocols/base.py b/aea/protocols/base.py
index f79089ac4e..2e7c409544 100644
--- a/aea/protocols/base.py
+++ b/aea/protocols/base.py
@@ -38,6 +38,7 @@
)
from aea.configurations.loader import load_component_configuration
from aea.exceptions import enforce
+from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
logger = logging.getLogger(__name__)
@@ -64,9 +65,9 @@ def __init__(self, body: Optional[Dict] = None, **kwargs):
:param body: the dictionary of values to hold.
:param kwargs: any additional value to add to the body. It will overwrite the body values.
"""
- self._to = None # type: Optional[Address]
- self._sender = None # type: Optional[Address]
- self._body = copy(body) if body else {} # type: Dict[str, Any]
+ self._to: Optional[Address] = None
+ self._sender: Optional[Address] = None
+ self._body: Dict[str, Any] = copy(body) if body else {}
self._body.update(kwargs)
try:
self._is_consistent()
@@ -212,6 +213,22 @@ def encode(self) -> bytes:
"""Encode the message."""
return self.serializer.encode(self)
+ @property
+ def has_dialogue_info(self) -> bool:
+ """
+ Check whether a message has the dialogue fields populated.
+
+ More precisely, it checks whether the fields 'message_id',
+ 'target' and 'dialogue_reference' are set.
+
+ :return: True if the message has the dialogue fields set, False otherwise.
+ """
+ return (
+ self.is_set("message_id")
+ and self.is_set("target")
+ and self.is_set("dialogue_reference")
+ )
+
class Encoder(ABC):
"""Encoder interface."""
@@ -254,21 +271,75 @@ class ProtobufSerializer(Serializer):
@staticmethod
def encode(msg: Message) -> bytes:
- """Encode a message into bytes using Protobuf."""
- body_json = Struct()
- body_json.update(msg.body) # pylint: disable=no-member
- body_bytes = body_json.SerializeToString()
- return body_bytes
+ """
+ Encode a message into bytes using Protobuf.
+
+ - if one of message_id, target and dialogue_reference are not defined,
+ serialize only the message body/
+ - otherwise, extract those fields from the body and instantiate
+ a Message struct.
+ """
+ message_pb = ProtobufMessage()
+ if msg.has_dialogue_info:
+ dialogue_message_pb = DialogueMessage()
+ dialogue_message_pb.message_id = msg.message_id
+ dialogue_message_pb.dialogue_starter_reference = msg.dialogue_reference[0]
+ dialogue_message_pb.dialogue_responder_reference = msg.dialogue_reference[1]
+ dialogue_message_pb.target = msg.target
+
+ new_body = copy(msg.body)
+ new_body.pop("message_id")
+ new_body.pop("dialogue_reference")
+ new_body.pop("target")
+
+ body_json = Struct()
+ body_json.update(new_body) # pylint: disable=no-member
+
+ dialogue_message_pb.content.Pack(body_json)
+ message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
+ else:
+ body_json = Struct()
+ body_json.update(msg.body) # pylint: disable=no-member
+ message_pb.body.CopyFrom(body_json)
+
+ return message_pb.SerializeToString()
@staticmethod
def decode(obj: bytes) -> Message:
- """Decode bytes into a message using Protobuf."""
- body_json = Struct()
- body_json.ParseFromString(obj)
+ """
+ Decode bytes into a message using Protobuf.
- body = dict(body_json)
- msg = Message(body=body)
- return msg
+ First, try to parse the input as a Protobuf 'Message';
+ if it fails, parse the bytes as struct.
+ """
+ message_pb = ProtobufMessage()
+ message_pb.ParseFromString(obj)
+ message_type = message_pb.WhichOneof("message")
+ if message_type == "body":
+ body = dict(message_pb.body)
+ msg = Message(body=body)
+ return msg
+ elif message_type == "dialogue_message":
+ dialogue_message_pb = message_pb.dialogue_message
+ message_id = dialogue_message_pb.message_id
+ target = dialogue_message_pb.target
+ dialogue_starter_reference = dialogue_message_pb.dialogue_starter_reference
+ dialogue_responder_reference = (
+ dialogue_message_pb.dialogue_responder_reference
+ )
+ content = dialogue_message_pb.content
+ body_json = Struct()
+ content.Unpack(body_json)
+ body = dict(body_json)
+ body["message_id"] = message_id
+ body["target"] = target
+ body["dialogue_reference"] = (
+ dialogue_starter_reference,
+ dialogue_responder_reference,
+ )
+ return Message(body=body)
+ else:
+ raise ValueError("Message type not recognized.") # pragma: nocover
class Protocol(Component):
diff --git a/tests/test_protocols/test_base.py b/tests/test_protocols/test_base.py
index 5a00f11c6a..1cea36588f 100644
--- a/tests/test_protocols/test_base.py
+++ b/tests/test_protocols/test_base.py
@@ -122,6 +122,12 @@ def setup_class(cls):
"""Set up the use case."""
cls.message = Message(content="hello")
cls.message2 = Message(body={"content": "hello"})
+ cls.message3 = Message(
+ message_id=1,
+ target=0,
+ dialogue_reference=("", ""),
+ body={"content": "hello"},
+ )
def test_default_protobuf_serialization(self):
"""Test that the default Protobuf serialization works."""
@@ -142,6 +148,25 @@ def test_default_protobuf_serialization(self):
actual_msg = self.message
assert expected_msg == actual_msg
+ def test_default_protobuf_serialization_with_dialogue_info(self):
+ """Test that the default Protobuf serialization with dialogue info works."""
+ message_bytes = ProtobufSerializer().encode(self.message3)
+ envelope = Envelope(
+ to="receiver",
+ sender="sender",
+ protocol_id=UNKNOWN_PROTOCOL_PUBLIC_ID,
+ message=message_bytes,
+ )
+ envelope_bytes = envelope.encode()
+
+ expected_envelope = Envelope.decode(envelope_bytes)
+ actual_envelope = envelope
+ assert expected_envelope == actual_envelope
+
+ expected_msg = ProtobufSerializer().decode(expected_envelope.message)
+ actual_msg = self.message3
+ assert expected_msg == actual_msg
+
def test_set(self):
"""Test that the set method works."""
key, value = "temporary_key", "temporary_value"
From b408143c19e0d1011d58c6c72122ee3ac47675df Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Mon, 31 Aug 2020 21:09:26 +0200
Subject: [PATCH 003/155] first prototype with default protocol
---
aea/protocols/base.py | 3 +-
aea/protocols/default/default.proto | 5 -
aea/protocols/default/default_pb2.py | 164 ++++++++-----------------
aea/protocols/default/protocol.yaml | 6 +-
aea/protocols/default/serialization.py | 31 +++--
aea/protocols/generator/base.py | 53 +++-----
packages/hashes.csv | 2 +-
7 files changed, 92 insertions(+), 172 deletions(-)
diff --git a/aea/protocols/base.py b/aea/protocols/base.py
index 2e7c409544..3036ee856b 100644
--- a/aea/protocols/base.py
+++ b/aea/protocols/base.py
@@ -327,9 +327,8 @@ def decode(obj: bytes) -> Message:
dialogue_responder_reference = (
dialogue_message_pb.dialogue_responder_reference
)
- content = dialogue_message_pb.content
body_json = Struct()
- content.Unpack(body_json)
+ dialogue_message_pb.content.Unpack(body_json)
body = dict(body_json)
body["message_id"] = message_id
body["target"] = target
diff --git a/aea/protocols/default/default.proto b/aea/protocols/default/default.proto
index 8613a92869..e205482a5f 100644
--- a/aea/protocols/default/default.proto
+++ b/aea/protocols/default/default.proto
@@ -29,11 +29,6 @@ message DefaultMessage{
}
- // Standard DefaultMessage fields
- int32 message_id = 1;
- string dialogue_starter_reference = 2;
- string dialogue_responder_reference = 3;
- int32 target = 4;
oneof performative{
Bytes_Performative bytes = 5;
Error_Performative error = 6;
diff --git a/aea/protocols/default/default_pb2.py b/aea/protocols/default/default_pb2.py
index 6b5dee98a3..532ee8b30e 100644
--- a/aea/protocols/default/default_pb2.py
+++ b/aea/protocols/default/default_pb2.py
@@ -1,7 +1,9 @@
-# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: default.proto
+import sys
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@@ -17,7 +19,9 @@
package="fetch.aea.Default",
syntax="proto3",
serialized_options=None,
- serialized_pb=b'\n\rdefault.proto\x12\x11\x66\x65tch.aea.Default"\x97\x06\n\x0e\x44\x65\x66\x61ultMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12\x45\n\x05\x62ytes\x18\x05 \x01(\x0b\x32\x34.fetch.aea.Default.DefaultMessage.Bytes_PerformativeH\x00\x12\x45\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x34.fetch.aea.Default.DefaultMessage.Error_PerformativeH\x00\x1a\xdb\x01\n\tErrorCode\x12M\n\nerror_code\x18\x01 \x01(\x0e\x32\x39.fetch.aea.Default.DefaultMessage.ErrorCode.ErrorCodeEnum"\x7f\n\rErrorCodeEnum\x12\x18\n\x14UNSUPPORTED_PROTOCOL\x10\x00\x12\x12\n\x0e\x44\x45\x43ODING_ERROR\x10\x01\x12\x13\n\x0fINVALID_MESSAGE\x10\x02\x12\x15\n\x11UNSUPPORTED_SKILL\x10\x03\x12\x14\n\x10INVALID_DIALOGUE\x10\x04\x1a%\n\x12\x42ytes_Performative\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\x0c\x1a\xf3\x01\n\x12\x45rror_Performative\x12?\n\nerror_code\x18\x01 \x01(\x0b\x32+.fetch.aea.Default.DefaultMessage.ErrorCode\x12\x11\n\terror_msg\x18\x02 \x01(\t\x12W\n\nerror_data\x18\x03 \x03(\x0b\x32\x43.fetch.aea.Default.DefaultMessage.Error_Performative.ErrorDataEntry\x1a\x30\n\x0e\x45rrorDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x42\x0e\n\x0cperformativeb\x06proto3',
+ serialized_pb=_b(
+ '\n\rdefault.proto\x12\x11\x66\x65tch.aea.Default"\xa9\x05\n\x0e\x44\x65\x66\x61ultMessage\x12\x45\n\x05\x62ytes\x18\x05 \x01(\x0b\x32\x34.fetch.aea.Default.DefaultMessage.Bytes_PerformativeH\x00\x12\x45\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x34.fetch.aea.Default.DefaultMessage.Error_PerformativeH\x00\x1a\xdb\x01\n\tErrorCode\x12M\n\nerror_code\x18\x01 \x01(\x0e\x32\x39.fetch.aea.Default.DefaultMessage.ErrorCode.ErrorCodeEnum"\x7f\n\rErrorCodeEnum\x12\x18\n\x14UNSUPPORTED_PROTOCOL\x10\x00\x12\x12\n\x0e\x44\x45\x43ODING_ERROR\x10\x01\x12\x13\n\x0fINVALID_MESSAGE\x10\x02\x12\x15\n\x11UNSUPPORTED_SKILL\x10\x03\x12\x14\n\x10INVALID_DIALOGUE\x10\x04\x1a%\n\x12\x42ytes_Performative\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\x0c\x1a\xf3\x01\n\x12\x45rror_Performative\x12?\n\nerror_code\x18\x01 \x01(\x0b\x32+.fetch.aea.Default.DefaultMessage.ErrorCode\x12\x11\n\terror_msg\x18\x02 \x01(\t\x12W\n\nerror_data\x18\x03 \x03(\x0b\x32\x43.fetch.aea.Default.DefaultMessage.Error_Performative.ErrorDataEntry\x1a\x30\n\x0e\x45rrorDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x42\x0e\n\x0cperformativeb\x06proto3'
+ ),
)
@@ -61,8 +65,8 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=400,
- serialized_end=527,
+ serialized_start=290,
+ serialized_end=417,
)
_sym_db.RegisterEnumDescriptor(_DEFAULTMESSAGE_ERRORCODE_ERRORCODEENUM)
@@ -101,8 +105,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=308,
- serialized_end=527,
+ serialized_start=198,
+ serialized_end=417,
)
_DEFAULTMESSAGE_BYTES_PERFORMATIVE = _descriptor.Descriptor(
@@ -121,7 +125,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -139,8 +143,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=529,
- serialized_end=566,
+ serialized_start=419,
+ serialized_end=456,
)
_DEFAULTMESSAGE_ERROR_PERFORMATIVE_ERRORDATAENTRY = _descriptor.Descriptor(
@@ -159,7 +163,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -177,7 +181,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -190,13 +194,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=764,
- serialized_end=812,
+ serialized_start=654,
+ serialized_end=702,
)
_DEFAULTMESSAGE_ERROR_PERFORMATIVE = _descriptor.Descriptor(
@@ -233,7 +237,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -269,8 +273,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=569,
- serialized_end=812,
+ serialized_start=459,
+ serialized_end=702,
)
_DEFAULTMESSAGE = _descriptor.Descriptor(
@@ -280,82 +284,10 @@
file=DESCRIPTOR,
containing_type=None,
fields=[
- _descriptor.FieldDescriptor(
- name="message_id",
- full_name="fetch.aea.Default.DefaultMessage.message_id",
- index=0,
- number=1,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_starter_reference",
- full_name="fetch.aea.Default.DefaultMessage.dialogue_starter_reference",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_responder_reference",
- full_name="fetch.aea.Default.DefaultMessage.dialogue_responder_reference",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="target",
- full_name="fetch.aea.Default.DefaultMessage.target",
- index=3,
- number=4,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
_descriptor.FieldDescriptor(
name="bytes",
full_name="fetch.aea.Default.DefaultMessage.bytes",
- index=4,
+ index=0,
number=5,
type=11,
cpp_type=10,
@@ -373,7 +305,7 @@
_descriptor.FieldDescriptor(
name="error",
full_name="fetch.aea.Default.DefaultMessage.error",
- index=5,
+ index=1,
number=6,
type=11,
cpp_type=10,
@@ -410,7 +342,7 @@
),
],
serialized_start=37,
- serialized_end=828,
+ serialized_end=718,
)
_DEFAULTMESSAGE_ERRORCODE.fields_by_name[
@@ -453,47 +385,47 @@
DefaultMessage = _reflection.GeneratedProtocolMessageType(
"DefaultMessage",
(_message.Message,),
- {
- "ErrorCode": _reflection.GeneratedProtocolMessageType(
+ dict(
+ ErrorCode=_reflection.GeneratedProtocolMessageType(
"ErrorCode",
(_message.Message,),
- {
- "DESCRIPTOR": _DEFAULTMESSAGE_ERRORCODE,
- "__module__": "default_pb2"
+ dict(
+ DESCRIPTOR=_DEFAULTMESSAGE_ERRORCODE,
+ __module__="default_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.Default.DefaultMessage.ErrorCode)
- },
+ ),
),
- "Bytes_Performative": _reflection.GeneratedProtocolMessageType(
+ Bytes_Performative=_reflection.GeneratedProtocolMessageType(
"Bytes_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _DEFAULTMESSAGE_BYTES_PERFORMATIVE,
- "__module__": "default_pb2"
+ dict(
+ DESCRIPTOR=_DEFAULTMESSAGE_BYTES_PERFORMATIVE,
+ __module__="default_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.Default.DefaultMessage.Bytes_Performative)
- },
+ ),
),
- "Error_Performative": _reflection.GeneratedProtocolMessageType(
+ Error_Performative=_reflection.GeneratedProtocolMessageType(
"Error_Performative",
(_message.Message,),
- {
- "ErrorDataEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ ErrorDataEntry=_reflection.GeneratedProtocolMessageType(
"ErrorDataEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _DEFAULTMESSAGE_ERROR_PERFORMATIVE_ERRORDATAENTRY,
- "__module__": "default_pb2"
+ dict(
+ DESCRIPTOR=_DEFAULTMESSAGE_ERROR_PERFORMATIVE_ERRORDATAENTRY,
+ __module__="default_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.Default.DefaultMessage.Error_Performative.ErrorDataEntry)
- },
+ ),
),
- "DESCRIPTOR": _DEFAULTMESSAGE_ERROR_PERFORMATIVE,
- "__module__": "default_pb2"
+ DESCRIPTOR=_DEFAULTMESSAGE_ERROR_PERFORMATIVE,
+ __module__="default_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.Default.DefaultMessage.Error_Performative)
- },
+ ),
),
- "DESCRIPTOR": _DEFAULTMESSAGE,
- "__module__": "default_pb2"
+ DESCRIPTOR=_DEFAULTMESSAGE,
+ __module__="default_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.Default.DefaultMessage)
- },
+ ),
)
_sym_db.RegisterMessage(DefaultMessage)
_sym_db.RegisterMessage(DefaultMessage.ErrorCode)
diff --git a/aea/protocols/default/protocol.yaml b/aea/protocols/default/protocol.yaml
index 966211ee54..420adfb7b5 100644
--- a/aea/protocols/default/protocol.yaml
+++ b/aea/protocols/default/protocol.yaml
@@ -9,11 +9,11 @@ fingerprint:
README.md: QmcoWaezoTDWvV749RJBNB7WmXCrNuqZpmGKSiUPPNBsGi
__init__.py: QmPMtKUrzVJp594VqNuapJzCesWLQ6Awjqv2ufG3wKNRmH
custom_types.py: QmRcgwDdTxkSHyfF9eoMtsb5P5GJDm4oyLq5W6ZBko1MFU
- default.proto: QmNzMUvXkBm5bbitR5Yi49ADiwNn1FhCvXqSKKoqAPZyXv
- default_pb2.py: QmSRFi1s3jcqnPuk4yopJeNuC6o58RL7dvEdt85uns3B3N
+ default.proto: QmP9QG2c2nTWYxEMDeSS2JHUJ4b3KMEeoov1fWHZtcJ9wv
+ default_pb2.py: QmbfLCqPe7XyJLpoeT87bG1KTBTRbmaNrPgU39DHQWgpgW
dialogues.py: Qmc991snbS7DwFxo1cKcq1rQ2uj7y8ukp14kfe2zve387C
message.py: QmeaadvKib9QqpjZgd7NiDUqGRpC2eZPVpgq1dY3PYacht
- serialization.py: QmRnajc9BNCftjGkYTKCP9LnD3rq197jM3Re1GDVJTHh2y
+ serialization.py: QmZVLCas8LRuE6SkzGGtb3TB5oSc1J2f7X4bJuxi8qyQ9i
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/aea/protocols/default/serialization.py b/aea/protocols/default/serialization.py
index fb886974cd..cf9a35a8bd 100644
--- a/aea/protocols/default/serialization.py
+++ b/aea/protocols/default/serialization.py
@@ -21,6 +21,7 @@
from typing import Any, Dict, cast
+from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
from aea.protocols.base import Message
from aea.protocols.base import Serializer
from aea.protocols.default import default_pb2
@@ -40,12 +41,15 @@ def encode(msg: Message) -> bytes:
:return: the bytes.
"""
msg = cast(DefaultMessage, msg)
+ message_pb = ProtobufMessage()
+ dialogue_message_pb = DialogueMessage()
default_msg = default_pb2.DefaultMessage()
- default_msg.message_id = msg.message_id
+
+ dialogue_message_pb.message_id = msg.message_id
dialogue_reference = msg.dialogue_reference
- default_msg.dialogue_starter_reference = dialogue_reference[0]
- default_msg.dialogue_responder_reference = dialogue_reference[1]
- default_msg.target = msg.target
+ dialogue_message_pb.dialogue_starter_reference = dialogue_reference[0]
+ dialogue_message_pb.dialogue_responder_reference = dialogue_reference[1]
+ dialogue_message_pb.target = msg.target
performative_id = msg.performative
if performative_id == DefaultMessage.Performative.BYTES:
@@ -65,8 +69,11 @@ def encode(msg: Message) -> bytes:
else:
raise ValueError("Performative not valid: {}".format(performative_id))
- default_bytes = default_msg.SerializeToString()
- return default_bytes
+ dialogue_message_pb.content.Pack(default_msg)
+
+ message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
+ message_bytes = message_pb.SerializeToString()
+ return message_bytes
@staticmethod
def decode(obj: bytes) -> Message:
@@ -76,15 +83,17 @@ def decode(obj: bytes) -> Message:
:param obj: the bytes object.
:return: the 'Default' message.
"""
+ message_pb = ProtobufMessage()
default_pb = default_pb2.DefaultMessage()
- default_pb.ParseFromString(obj)
- message_id = default_pb.message_id
+ message_pb.ParseFromString(obj)
+ message_id = message_pb.dialogue_message.message_id
dialogue_reference = (
- default_pb.dialogue_starter_reference,
- default_pb.dialogue_responder_reference,
+ message_pb.dialogue_message.dialogue_starter_reference,
+ message_pb.dialogue_message.dialogue_responder_reference,
)
- target = default_pb.target
+ target = message_pb.dialogue_message.target
+ message_pb.dialogue_message.content.Unpack(default_pb)
performative = default_pb.WhichOneof("performative")
performative_id = DefaultMessage.Performative(str(performative))
performative_content = dict() # type: Dict[str, Any]
diff --git a/aea/protocols/generator/base.py b/aea/protocols/generator/base.py
index 9468a86200..c370037fb7 100644
--- a/aea/protocols/generator/base.py
+++ b/aea/protocols/generator/base.py
@@ -1488,6 +1488,7 @@ def _serialization_class_str(self) -> str:
# Imports
cls_str += self.indent + "from typing import Any, Dict, cast\n\n"
+ cls_str += self.indent + "from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage\n"
cls_str += MESSAGE_IMPORT + "\n"
cls_str += SERIALIZER_IMPORT + "\n\n"
cls_str += self.indent + "from {} import (\n {}_pb2,\n)\n".format(
@@ -1531,28 +1532,28 @@ def _serialization_class_str(self) -> str:
cls_str += self.indent + "msg = cast({}Message, msg)\n".format(
self.protocol_specification_in_camel_case
)
- cls_str += self.indent + "{}_msg = {}_pb2.{}Message()\n".format(
+ cls_str += self.indent + "message_pb = ProtobufMessage()\n"
+ cls_str += self.indent + "dialogue_message_pb = DialogueMessage()\n"
+ cls_str += self.indent + "{}_msg = {}_pb2.{}Message()\n\n".format(
self.protocol_specification.name,
self.protocol_specification.name,
self.protocol_specification_in_camel_case,
)
- cls_str += self.indent + "{}_msg.message_id = msg.message_id\n".format(
- self.protocol_specification.name
- )
+ cls_str += self.indent + "dialogue_message_pb.message_id = msg.message_id\n"
cls_str += self.indent + "dialogue_reference = msg.dialogue_reference\n"
cls_str += (
self.indent
- + "{}_msg.dialogue_starter_reference = dialogue_reference[0]\n".format(
+ + "dialogue_message_pb.dialogue_starter_reference = dialogue_reference[0]\n".format(
self.protocol_specification.name
)
)
cls_str += (
self.indent
- + "{}_msg.dialogue_responder_reference = dialogue_reference[1]\n".format(
+ + "dialogue_message_pb.dialogue_responder_reference = dialogue_reference[1]\n".format(
self.protocol_specification.name
)
)
- cls_str += self.indent + "{}_msg.target = msg.target\n\n".format(
+ cls_str += self.indent + "dialogue_message_pb.target = msg.target\n\n".format(
self.protocol_specification.name
)
cls_str += self.indent + "performative_id = msg.performative\n"
@@ -1592,12 +1593,12 @@ def _serialization_class_str(self) -> str:
)
self._change_indent(-1)
- cls_str += self.indent + "{}_bytes = {}_msg.SerializeToString()\n".format(
- self.protocol_specification.name, self.protocol_specification.name
- )
- cls_str += self.indent + "return {}_bytes\n\n".format(
- self.protocol_specification.name
+ cls_str += self.indent + "dialogue_message_pb.content.Pack({}_msg)\n\n".format(
+ self.protocol_specification.name,
)
+ cls_str += self.indent + "message_pb.dialogue_message.CopyFrom(dialogue_message_pb)\n"
+ cls_str += self.indent + "message_bytes = message_pb.SerializeToString()\n"
+ cls_str += self.indent + "return message_bytes\n"
self._change_indent(-1)
# decoder
@@ -1613,26 +1614,22 @@ def _serialization_class_str(self) -> str:
self.protocol_specification_in_camel_case
)
cls_str += self.indent + '"""\n'
+ cls_str += self.indent + "message_pb = ProtobufMessage()\n"
cls_str += self.indent + "{}_pb = {}_pb2.{}Message()\n".format(
self.protocol_specification.name,
self.protocol_specification.name,
self.protocol_specification_in_camel_case,
)
- cls_str += self.indent + "{}_pb.ParseFromString(obj)\n".format(
- self.protocol_specification.name
- )
- cls_str += self.indent + "message_id = {}_pb.message_id\n".format(
- self.protocol_specification.name
- )
+ cls_str += self.indent + "message_pb.ParseFromString(obj)\n"
+ cls_str += self.indent + "message_id = message_pb.dialogue_message.message_id\n"
cls_str += (
self.indent
- + "dialogue_reference = ({}_pb.dialogue_starter_reference, {}_pb.dialogue_responder_reference)\n".format(
- self.protocol_specification.name, self.protocol_specification.name
- )
+ + "dialogue_reference = (message_pb.dialogue_message.dialogue_starter_reference, message_pb.dialogue_message.dialogue_responder_reference)\n"
)
- cls_str += self.indent + "target = {}_pb.target\n\n".format(
+ cls_str += self.indent + "target = message_pb.dialogue_message.target\n\n".format(
self.protocol_specification.name
)
+ cls_str += self.indent + "message_pb.dialogue_message.content.Unpack({}_pb)\n".format(self.protocol_specification.name)
cls_str += (
self.indent
+ 'performative = {}_pb.WhichOneof("performative")\n'.format(
@@ -1822,18 +1819,6 @@ def _protocol_buffer_schema_str(self) -> str:
proto_buff_schema_str += self.indent + "}\n\n"
proto_buff_schema_str += "\n"
- # meta-data
- proto_buff_schema_str += self.indent + "// Standard {}Message fields\n".format(
- self.protocol_specification_in_camel_case
- )
- proto_buff_schema_str += self.indent + "int32 message_id = 1;\n"
- proto_buff_schema_str += (
- self.indent + "string dialogue_starter_reference = 2;\n"
- )
- proto_buff_schema_str += (
- self.indent + "string dialogue_responder_reference = 3;\n"
- )
- proto_buff_schema_str += self.indent + "int32 target = 4;\n"
proto_buff_schema_str += self.indent + "oneof performative{\n"
self._change_indent(1)
tag_no = 5
diff --git a/packages/hashes.csv b/packages/hashes.csv
index 3951e1ebcb..adb11197f6 100644
--- a/packages/hashes.csv
+++ b/packages/hashes.csv
@@ -35,7 +35,7 @@ fetchai/connections/webhook,QmQJHzHQBF3USzHNiZ35thj5RNXYuFcQ78yxr3TS9gkQJo
fetchai/contracts/erc1155,QmRPpD2RSxgZfhtuiv4vRp6oP1uZ4nsECKrCkwmyUgzUpq
fetchai/contracts/scaffold,QmVfDLFc2Ly1iDe8Bd6D4SL28wjXZ4zMkuFA3gYWxbubXG
fetchai/protocols/contract_api,QmYxGJTnAEAApBNXqdxAd6hPPkgTvnwJAqCfoi1PWTfbF2
-fetchai/protocols/default,Qmf5k68VEGfAnTmzSN6Gke9vUq27qqZtE5z6iACgV8wPnR
+fetchai/protocols/default,QmT6pQCt5nKCMVjmY7W9SShtSS5QBN2LfUdvX1ZdQBap5L
fetchai/protocols/fipa,QmbxnVbH9AdsgU1Ye3SvSCjPxxwAH1kAGjeVBF9SFnjrb5
fetchai/protocols/gym,QmcoRdy2RTsXw5o7ASWVX5P34XuNMegCzGm9BjxAUXptBm
fetchai/protocols/http,QmPF2HHxGt6XGQ4SjhhefGR5VaQxZiGTFz6RK6Uay9f9xN
From 23b60b06ff946b51f15920e74c1c08c4bbfd2833 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Mon, 31 Aug 2020 21:16:36 +0200
Subject: [PATCH 004/155] fix linting issues
---
aea/mail/base.py | 2 +-
aea/protocols/base.py | 19 +++++++++++--------
aea/protocols/generator/base.py | 30 ++++++++++++++++--------------
3 files changed, 28 insertions(+), 23 deletions(-)
diff --git a/aea/mail/base.py b/aea/mail/base.py
index 1c24327dfd..19b2bb7d64 100644
--- a/aea/mail/base.py
+++ b/aea/mail/base.py
@@ -278,7 +278,7 @@ def decode(self, envelope_bytes: bytes) -> "Envelope":
sender = envelope_pb.sender # pylint: disable=no-member
raw_protocol_id = envelope_pb.protocol_id # pylint: disable=no-member
protocol_id = PublicId.from_str(raw_protocol_id)
- message = envelope_pb.message
+ message = envelope_pb.message # pylint: disable=no-member
uri_raw = envelope_pb.uri # pylint: disable=no-member
if uri_raw != "": # empty string means this field is not set in proto3
diff --git a/aea/protocols/base.py b/aea/protocols/base.py
index 3036ee856b..64dbe41925 100644
--- a/aea/protocols/base.py
+++ b/aea/protocols/base.py
@@ -295,12 +295,14 @@ def encode(msg: Message) -> bytes:
body_json = Struct()
body_json.update(new_body) # pylint: disable=no-member
- dialogue_message_pb.content.Pack(body_json)
- message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
+ dialogue_message_pb.content.Pack(body_json) # pylint: disable=no-member
+ message_pb.dialogue_message.CopyFrom( # pylint: disable=no-member
+ dialogue_message_pb
+ )
else:
body_json = Struct()
body_json.update(msg.body) # pylint: disable=no-member
- message_pb.body.CopyFrom(body_json)
+ message_pb.body.CopyFrom(body_json) # pylint: disable=no-member
return message_pb.SerializeToString()
@@ -316,11 +318,13 @@ def decode(obj: bytes) -> Message:
message_pb.ParseFromString(obj)
message_type = message_pb.WhichOneof("message")
if message_type == "body":
- body = dict(message_pb.body)
+ body = dict(message_pb.body) # pylint: disable=no-member
msg = Message(body=body)
return msg
- elif message_type == "dialogue_message":
- dialogue_message_pb = message_pb.dialogue_message
+ if message_type == "dialogue_message":
+ dialogue_message_pb = (
+ message_pb.dialogue_message # pylint: disable=no-member
+ )
message_id = dialogue_message_pb.message_id
target = dialogue_message_pb.target
dialogue_starter_reference = dialogue_message_pb.dialogue_starter_reference
@@ -337,8 +341,7 @@ def decode(obj: bytes) -> Message:
dialogue_responder_reference,
)
return Message(body=body)
- else:
- raise ValueError("Message type not recognized.") # pragma: nocover
+ raise ValueError("Message type not recognized.") # pragma: nocover
class Protocol(Component):
diff --git a/aea/protocols/generator/base.py b/aea/protocols/generator/base.py
index c370037fb7..0181d68759 100644
--- a/aea/protocols/generator/base.py
+++ b/aea/protocols/generator/base.py
@@ -1488,7 +1488,10 @@ def _serialization_class_str(self) -> str:
# Imports
cls_str += self.indent + "from typing import Any, Dict, cast\n\n"
- cls_str += self.indent + "from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage\n"
+ cls_str += (
+ self.indent
+ + "from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage\n"
+ )
cls_str += MESSAGE_IMPORT + "\n"
cls_str += SERIALIZER_IMPORT + "\n\n"
cls_str += self.indent + "from {} import (\n {}_pb2,\n)\n".format(
@@ -1543,19 +1546,13 @@ def _serialization_class_str(self) -> str:
cls_str += self.indent + "dialogue_reference = msg.dialogue_reference\n"
cls_str += (
self.indent
- + "dialogue_message_pb.dialogue_starter_reference = dialogue_reference[0]\n".format(
- self.protocol_specification.name
- )
+ + "dialogue_message_pb.dialogue_starter_reference = dialogue_reference[0]\n"
)
cls_str += (
self.indent
- + "dialogue_message_pb.dialogue_responder_reference = dialogue_reference[1]\n".format(
- self.protocol_specification.name
- )
- )
- cls_str += self.indent + "dialogue_message_pb.target = msg.target\n\n".format(
- self.protocol_specification.name
+ + "dialogue_message_pb.dialogue_responder_reference = dialogue_reference[1]\n"
)
+ cls_str += self.indent + "dialogue_message_pb.target = msg.target\n\n"
cls_str += self.indent + "performative_id = msg.performative\n"
counter = 1
for performative, contents in self.spec.speech_acts.items():
@@ -1596,7 +1593,9 @@ def _serialization_class_str(self) -> str:
cls_str += self.indent + "dialogue_message_pb.content.Pack({}_msg)\n\n".format(
self.protocol_specification.name,
)
- cls_str += self.indent + "message_pb.dialogue_message.CopyFrom(dialogue_message_pb)\n"
+ cls_str += (
+ self.indent + "message_pb.dialogue_message.CopyFrom(dialogue_message_pb)\n"
+ )
cls_str += self.indent + "message_bytes = message_pb.SerializeToString()\n"
cls_str += self.indent + "return message_bytes\n"
self._change_indent(-1)
@@ -1626,10 +1625,13 @@ def _serialization_class_str(self) -> str:
self.indent
+ "dialogue_reference = (message_pb.dialogue_message.dialogue_starter_reference, message_pb.dialogue_message.dialogue_responder_reference)\n"
)
- cls_str += self.indent + "target = message_pb.dialogue_message.target\n\n".format(
- self.protocol_specification.name
+ cls_str += self.indent + "target = message_pb.dialogue_message.target\n\n"
+ cls_str += (
+ self.indent
+ + "message_pb.dialogue_message.content.Unpack({}_pb)\n".format(
+ self.protocol_specification.name
+ )
)
- cls_str += self.indent + "message_pb.dialogue_message.content.Unpack({}_pb)\n".format(self.protocol_specification.name)
cls_str += (
self.indent
+ 'performative = {}_pb.WhichOneof("performative")\n'.format(
From 26c16f5074f77da94e392340517dc1162adbbfaf Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Mon, 31 Aug 2020 22:11:07 +0200
Subject: [PATCH 005/155] update test protocol generated
---
tests/data/generator/t_protocol/protocol.yaml | 6 +-
.../generator/t_protocol/serialization.py | 31 +-
.../generator/t_protocol/t_protocol.proto | 5 -
.../generator/t_protocol/t_protocol_pb2.py | 594 ++++++++----------
.../generator/t_protocol_no_ct/protocol.yaml | 6 +-
.../t_protocol_no_ct/serialization.py | 31 +-
.../t_protocol_no_ct/t_protocol_no_ct.proto | 5 -
.../t_protocol_no_ct/t_protocol_no_ct_pb2.py | 544 +++++++---------
.../test_generator/test_generator.py | 5 -
9 files changed, 547 insertions(+), 680 deletions(-)
diff --git a/tests/data/generator/t_protocol/protocol.yaml b/tests/data/generator/t_protocol/protocol.yaml
index 76ced6e9c8..a38e8c0214 100644
--- a/tests/data/generator/t_protocol/protocol.yaml
+++ b/tests/data/generator/t_protocol/protocol.yaml
@@ -10,9 +10,9 @@ fingerprint:
custom_types.py: QmVboXL98TzRtreCRMrCF3U9xjRGRkGJjNgDBTAm5GXyLq
dialogues.py: QmVUoaW4CNgjZNy6PzmQrSYTCdeWQERsQR5maXhD9cd6HF
message.py: QmS3NcTMgbDx1ZkXkzwfiML26LU9FPfgjg2XznpL8wueQR
- serialization.py: QmcS33k6rHgCCkhBuQ5kiXVKFMxxEzcZManshPD51MEHbw
- t_protocol.proto: QmRuYvnojwkyZLzeECH3snomgoMJTB3m48yJiLq8LYsVb8
- t_protocol_pb2.py: QmXrSgBBJCj8hbGCynKrvdkSDohQzHLPBA2vi5hDHmaGid
+ serialization.py: QmZEWNPf4xV45vgNYMoEpuybyVAg7dkTo2jDjUqN6VVvS7
+ t_protocol.proto: Qmc1JYbXiPNGQGL2Sj5FJm4VEZho87Nor3aa4Q29ymj5fs
+ t_protocol_pb2.py: QmcEHyEAQPacC8YzAWv93p5mhEdyHUGaN93rifBmo8GqL9
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/tests/data/generator/t_protocol/serialization.py b/tests/data/generator/t_protocol/serialization.py
index 942f766ba8..5d4574dfe4 100644
--- a/tests/data/generator/t_protocol/serialization.py
+++ b/tests/data/generator/t_protocol/serialization.py
@@ -21,6 +21,7 @@
from typing import Any, Dict, cast
+from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
from aea.protocols.base import Message
from aea.protocols.base import Serializer
@@ -41,12 +42,15 @@ def encode(msg: Message) -> bytes:
:return: the bytes.
"""
msg = cast(TProtocolMessage, msg)
+ message_pb = ProtobufMessage()
+ dialogue_message_pb = DialogueMessage()
t_protocol_msg = t_protocol_pb2.TProtocolMessage()
- t_protocol_msg.message_id = msg.message_id
+
+ dialogue_message_pb.message_id = msg.message_id
dialogue_reference = msg.dialogue_reference
- t_protocol_msg.dialogue_starter_reference = dialogue_reference[0]
- t_protocol_msg.dialogue_responder_reference = dialogue_reference[1]
- t_protocol_msg.target = msg.target
+ dialogue_message_pb.dialogue_starter_reference = dialogue_reference[0]
+ dialogue_message_pb.dialogue_responder_reference = dialogue_reference[1]
+ dialogue_message_pb.target = msg.target
performative_id = msg.performative
if performative_id == TProtocolMessage.Performative.PERFORMATIVE_CT:
@@ -274,8 +278,11 @@ def encode(msg: Message) -> bytes:
else:
raise ValueError("Performative not valid: {}".format(performative_id))
- t_protocol_bytes = t_protocol_msg.SerializeToString()
- return t_protocol_bytes
+ dialogue_message_pb.content.Pack(t_protocol_msg)
+
+ message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
+ message_bytes = message_pb.SerializeToString()
+ return message_bytes
@staticmethod
def decode(obj: bytes) -> Message:
@@ -285,15 +292,17 @@ def decode(obj: bytes) -> Message:
:param obj: the bytes object.
:return: the 'TProtocol' message.
"""
+ message_pb = ProtobufMessage()
t_protocol_pb = t_protocol_pb2.TProtocolMessage()
- t_protocol_pb.ParseFromString(obj)
- message_id = t_protocol_pb.message_id
+ message_pb.ParseFromString(obj)
+ message_id = message_pb.dialogue_message.message_id
dialogue_reference = (
- t_protocol_pb.dialogue_starter_reference,
- t_protocol_pb.dialogue_responder_reference,
+ message_pb.dialogue_message.dialogue_starter_reference,
+ message_pb.dialogue_message.dialogue_responder_reference,
)
- target = t_protocol_pb.target
+ target = message_pb.dialogue_message.target
+ message_pb.dialogue_message.content.Unpack(t_protocol_pb)
performative = t_protocol_pb.WhichOneof("performative")
performative_id = TProtocolMessage.Performative(str(performative))
performative_content = dict() # type: Dict[str, Any]
diff --git a/tests/data/generator/t_protocol/t_protocol.proto b/tests/data/generator/t_protocol/t_protocol.proto
index b408c295d7..f977c2fb72 100644
--- a/tests/data/generator/t_protocol/t_protocol.proto
+++ b/tests/data/generator/t_protocol/t_protocol.proto
@@ -98,11 +98,6 @@ message TProtocolMessage{
message Performative_Empty_Contents_Performative{}
- // Standard TProtocolMessage fields
- int32 message_id = 1;
- string dialogue_starter_reference = 2;
- string dialogue_responder_reference = 3;
- int32 target = 4;
oneof performative{
Performative_Ct_Performative performative_ct = 5;
Performative_Empty_Contents_Performative performative_empty_contents = 6;
diff --git a/tests/data/generator/t_protocol/t_protocol_pb2.py b/tests/data/generator/t_protocol/t_protocol_pb2.py
index c021c11aa3..9b4f4e62b4 100644
--- a/tests/data/generator/t_protocol/t_protocol_pb2.py
+++ b/tests/data/generator/t_protocol/t_protocol_pb2.py
@@ -1,7 +1,9 @@
-# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: t_protocol.proto
+import sys
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@@ -17,7 +19,9 @@
package="fetch.aea.TProtocol",
syntax="proto3",
serialized_options=None,
- serialized_pb=b'\n\x10t_protocol.proto\x12\x13\x66\x65tch.aea.TProtocol"\xab\x33\n\x10TProtocolMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12]\n\x0fperformative_ct\x18\x05 \x01(\x0b\x32\x42.fetch.aea.TProtocol.TProtocolMessage.Performative_Ct_PerformativeH\x00\x12u\n\x1bperformative_empty_contents\x18\x06 \x01(\x0b\x32N.fetch.aea.TProtocol.TProtocolMessage.Performative_Empty_Contents_PerformativeH\x00\x12]\n\x0fperformative_mt\x18\x07 \x01(\x0b\x32\x42.fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_PerformativeH\x00\x12[\n\x0eperformative_o\x18\x08 \x01(\x0b\x32\x41.fetch.aea.TProtocol.TProtocolMessage.Performative_O_PerformativeH\x00\x12_\n\x10performative_pct\x18\t \x01(\x0b\x32\x43.fetch.aea.TProtocol.TProtocolMessage.Performative_Pct_PerformativeH\x00\x12_\n\x10performative_pmt\x18\n \x01(\x0b\x32\x43.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_PerformativeH\x00\x12]\n\x0fperformative_pt\x18\x0b \x01(\x0b\x32\x42.fetch.aea.TProtocol.TProtocolMessage.Performative_Pt_PerformativeH\x00\x1a\x9c\x02\n\tDataModel\x12\x13\n\x0b\x62ytes_field\x18\x01 \x01(\x0c\x12\x11\n\tint_field\x18\x02 \x01(\x05\x12\x13\n\x0b\x66loat_field\x18\x03 \x01(\x02\x12\x12\n\nbool_field\x18\x04 \x01(\x08\x12\x11\n\tstr_field\x18\x05 \x01(\t\x12\x11\n\tset_field\x18\x06 \x03(\x05\x12\x12\n\nlist_field\x18\x07 \x03(\t\x12R\n\ndict_field\x18\x08 \x03(\x0b\x32>.fetch.aea.TProtocol.TProtocolMessage.DataModel.DictFieldEntry\x1a\x30\n\x0e\x44ictFieldEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x63\n\x1cPerformative_Ct_Performative\x12\x43\n\ncontent_ct\x18\x01 \x01(\x0b\x32/.fetch.aea.TProtocol.TProtocolMessage.DataModel\x1a\x8c\x01\n\x1cPerformative_Pt_Performative\x12\x15\n\rcontent_bytes\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ontent_int\x18\x02 \x01(\x05\x12\x15\n\rcontent_float\x18\x03 \x01(\x02\x12\x14\n\x0c\x63ontent_bool\x18\x04 \x01(\x08\x12\x13\n\x0b\x63ontent_str\x18\x05 \x01(\t\x1a\xa8\x02\n\x1dPerformative_Pct_Performative\x12\x19\n\x11\x63ontent_set_bytes\x18\x01 \x03(\x0c\x12\x17\n\x0f\x63ontent_set_int\x18\x02 \x03(\x05\x12\x19\n\x11\x63ontent_set_float\x18\x03 \x03(\x02\x12\x18\n\x10\x63ontent_set_bool\x18\x04 \x03(\x08\x12\x17\n\x0f\x63ontent_set_str\x18\x05 \x03(\t\x12\x1a\n\x12\x63ontent_list_bytes\x18\x06 \x03(\x0c\x12\x18\n\x10\x63ontent_list_int\x18\x07 \x03(\x05\x12\x1a\n\x12\x63ontent_list_float\x18\x08 \x03(\x02\x12\x19\n\x11\x63ontent_list_bool\x18\t \x03(\x08\x12\x18\n\x10\x63ontent_list_str\x18\n \x03(\t\x1a\xe7\x15\n\x1dPerformative_Pmt_Performative\x12|\n\x16\x63ontent_dict_int_bytes\x18\x01 \x03(\x0b\x32\\.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry\x12x\n\x14\x63ontent_dict_int_int\x18\x02 \x03(\x0b\x32Z.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry\x12|\n\x16\x63ontent_dict_int_float\x18\x03 \x03(\x0b\x32\\.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry\x12z\n\x15\x63ontent_dict_int_bool\x18\x04 \x03(\x0b\x32[.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry\x12x\n\x14\x63ontent_dict_int_str\x18\x05 \x03(\x0b\x32Z.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry\x12~\n\x17\x63ontent_dict_bool_bytes\x18\x06 \x03(\x0b\x32].fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry\x12z\n\x15\x63ontent_dict_bool_int\x18\x07 \x03(\x0b\x32[.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry\x12~\n\x17\x63ontent_dict_bool_float\x18\x08 \x03(\x0b\x32].fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry\x12|\n\x16\x63ontent_dict_bool_bool\x18\t \x03(\x0b\x32\\.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry\x12z\n\x15\x63ontent_dict_bool_str\x18\n \x03(\x0b\x32[.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry\x12|\n\x16\x63ontent_dict_str_bytes\x18\x0b \x03(\x0b\x32\\.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry\x12x\n\x14\x63ontent_dict_str_int\x18\x0c \x03(\x0b\x32Z.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry\x12|\n\x16\x63ontent_dict_str_float\x18\r \x03(\x0b\x32\\.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry\x12z\n\x15\x63ontent_dict_str_bool\x18\x0e \x03(\x0b\x32[.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry\x12x\n\x14\x63ontent_dict_str_str\x18\x0f \x03(\x0b\x32Z.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry\x1a:\n\x18\x43ontentDictIntBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictIntBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a:\n\x18\x43ontentDictBoolBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictStrBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xf9\x0b\n\x1cPerformative_Mt_Performative\x12W\n\x1e\x63ontent_union_1_type_DataModel\x18\x01 \x01(\x0b\x32/.fetch.aea.TProtocol.TProtocolMessage.DataModel\x12"\n\x1a\x63ontent_union_1_type_bytes\x18\x02 \x01(\x0c\x12 \n\x18\x63ontent_union_1_type_int\x18\x03 \x01(\x05\x12"\n\x1a\x63ontent_union_1_type_float\x18\x04 \x01(\x02\x12!\n\x19\x63ontent_union_1_type_bool\x18\x05 \x01(\x08\x12 \n\x18\x63ontent_union_1_type_str\x18\x06 \x01(\t\x12\'\n\x1f\x63ontent_union_1_type_set_of_int\x18\x07 \x03(\x05\x12)\n!content_union_1_type_list_of_bool\x18\x08 \x03(\x08\x12\x93\x01\n$content_union_1_type_dict_of_str_int\x18\t \x03(\x0b\x32\x65.fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry\x12)\n!content_union_2_type_set_of_bytes\x18\n \x03(\x0c\x12\'\n\x1f\x63ontent_union_2_type_set_of_int\x18\x0b \x03(\x05\x12\'\n\x1f\x63ontent_union_2_type_set_of_str\x18\x0c \x03(\t\x12*\n"content_union_2_type_list_of_float\x18\r \x03(\x02\x12)\n!content_union_2_type_list_of_bool\x18\x0e \x03(\x08\x12*\n"content_union_2_type_list_of_bytes\x18\x0f \x03(\x0c\x12\x93\x01\n$content_union_2_type_dict_of_str_int\x18\x10 \x03(\x0b\x32\x65.fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry\x12\x97\x01\n&content_union_2_type_dict_of_int_float\x18\x11 \x03(\x0b\x32g.fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry\x12\x99\x01\n\'content_union_2_type_dict_of_bool_bytes\x18\x12 \x03(\x0b\x32h.fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry\x1a\x44\n"ContentUnion1TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x44\n"ContentUnion2TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x46\n$ContentUnion2TypeDictOfIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1aG\n%ContentUnion2TypeDictOfBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x95\x04\n\x1bPerformative_O_Performative\x12\x45\n\x0c\x63ontent_o_ct\x18\x01 \x01(\x0b\x32/.fetch.aea.TProtocol.TProtocolMessage.DataModel\x12\x1b\n\x13\x63ontent_o_ct_is_set\x18\x02 \x01(\x08\x12\x16\n\x0e\x63ontent_o_bool\x18\x03 \x01(\x08\x12\x1d\n\x15\x63ontent_o_bool_is_set\x18\x04 \x01(\x08\x12\x19\n\x11\x63ontent_o_set_int\x18\x05 \x03(\x05\x12 \n\x18\x63ontent_o_set_int_is_set\x18\x06 \x01(\x08\x12\x1c\n\x14\x63ontent_o_list_bytes\x18\x07 \x03(\x0c\x12#\n\x1b\x63ontent_o_list_bytes_is_set\x18\x08 \x01(\x08\x12y\n\x16\x63ontent_o_dict_str_int\x18\t \x03(\x0b\x32Y.fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry\x12%\n\x1d\x63ontent_o_dict_str_int_is_set\x18\n \x01(\x08\x1a\x39\n\x17\x43ontentODictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a*\n(Performative_Empty_Contents_PerformativeB\x0e\n\x0cperformativeb\x06proto3',
+ serialized_pb=_b(
+ '\n\x10t_protocol.proto\x12\x13\x66\x65tch.aea.TProtocol"\xbd\x32\n\x10TProtocolMessage\x12]\n\x0fperformative_ct\x18\x05 \x01(\x0b\x32\x42.fetch.aea.TProtocol.TProtocolMessage.Performative_Ct_PerformativeH\x00\x12u\n\x1bperformative_empty_contents\x18\x06 \x01(\x0b\x32N.fetch.aea.TProtocol.TProtocolMessage.Performative_Empty_Contents_PerformativeH\x00\x12]\n\x0fperformative_mt\x18\x07 \x01(\x0b\x32\x42.fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_PerformativeH\x00\x12[\n\x0eperformative_o\x18\x08 \x01(\x0b\x32\x41.fetch.aea.TProtocol.TProtocolMessage.Performative_O_PerformativeH\x00\x12_\n\x10performative_pct\x18\t \x01(\x0b\x32\x43.fetch.aea.TProtocol.TProtocolMessage.Performative_Pct_PerformativeH\x00\x12_\n\x10performative_pmt\x18\n \x01(\x0b\x32\x43.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_PerformativeH\x00\x12]\n\x0fperformative_pt\x18\x0b \x01(\x0b\x32\x42.fetch.aea.TProtocol.TProtocolMessage.Performative_Pt_PerformativeH\x00\x1a\x9c\x02\n\tDataModel\x12\x13\n\x0b\x62ytes_field\x18\x01 \x01(\x0c\x12\x11\n\tint_field\x18\x02 \x01(\x05\x12\x13\n\x0b\x66loat_field\x18\x03 \x01(\x02\x12\x12\n\nbool_field\x18\x04 \x01(\x08\x12\x11\n\tstr_field\x18\x05 \x01(\t\x12\x11\n\tset_field\x18\x06 \x03(\x05\x12\x12\n\nlist_field\x18\x07 \x03(\t\x12R\n\ndict_field\x18\x08 \x03(\x0b\x32>.fetch.aea.TProtocol.TProtocolMessage.DataModel.DictFieldEntry\x1a\x30\n\x0e\x44ictFieldEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x63\n\x1cPerformative_Ct_Performative\x12\x43\n\ncontent_ct\x18\x01 \x01(\x0b\x32/.fetch.aea.TProtocol.TProtocolMessage.DataModel\x1a\x8c\x01\n\x1cPerformative_Pt_Performative\x12\x15\n\rcontent_bytes\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ontent_int\x18\x02 \x01(\x05\x12\x15\n\rcontent_float\x18\x03 \x01(\x02\x12\x14\n\x0c\x63ontent_bool\x18\x04 \x01(\x08\x12\x13\n\x0b\x63ontent_str\x18\x05 \x01(\t\x1a\xa8\x02\n\x1dPerformative_Pct_Performative\x12\x19\n\x11\x63ontent_set_bytes\x18\x01 \x03(\x0c\x12\x17\n\x0f\x63ontent_set_int\x18\x02 \x03(\x05\x12\x19\n\x11\x63ontent_set_float\x18\x03 \x03(\x02\x12\x18\n\x10\x63ontent_set_bool\x18\x04 \x03(\x08\x12\x17\n\x0f\x63ontent_set_str\x18\x05 \x03(\t\x12\x1a\n\x12\x63ontent_list_bytes\x18\x06 \x03(\x0c\x12\x18\n\x10\x63ontent_list_int\x18\x07 \x03(\x05\x12\x1a\n\x12\x63ontent_list_float\x18\x08 \x03(\x02\x12\x19\n\x11\x63ontent_list_bool\x18\t \x03(\x08\x12\x18\n\x10\x63ontent_list_str\x18\n \x03(\t\x1a\xe7\x15\n\x1dPerformative_Pmt_Performative\x12|\n\x16\x63ontent_dict_int_bytes\x18\x01 \x03(\x0b\x32\\.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry\x12x\n\x14\x63ontent_dict_int_int\x18\x02 \x03(\x0b\x32Z.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry\x12|\n\x16\x63ontent_dict_int_float\x18\x03 \x03(\x0b\x32\\.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry\x12z\n\x15\x63ontent_dict_int_bool\x18\x04 \x03(\x0b\x32[.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry\x12x\n\x14\x63ontent_dict_int_str\x18\x05 \x03(\x0b\x32Z.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry\x12~\n\x17\x63ontent_dict_bool_bytes\x18\x06 \x03(\x0b\x32].fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry\x12z\n\x15\x63ontent_dict_bool_int\x18\x07 \x03(\x0b\x32[.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry\x12~\n\x17\x63ontent_dict_bool_float\x18\x08 \x03(\x0b\x32].fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry\x12|\n\x16\x63ontent_dict_bool_bool\x18\t \x03(\x0b\x32\\.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry\x12z\n\x15\x63ontent_dict_bool_str\x18\n \x03(\x0b\x32[.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry\x12|\n\x16\x63ontent_dict_str_bytes\x18\x0b \x03(\x0b\x32\\.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry\x12x\n\x14\x63ontent_dict_str_int\x18\x0c \x03(\x0b\x32Z.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry\x12|\n\x16\x63ontent_dict_str_float\x18\r \x03(\x0b\x32\\.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry\x12z\n\x15\x63ontent_dict_str_bool\x18\x0e \x03(\x0b\x32[.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry\x12x\n\x14\x63ontent_dict_str_str\x18\x0f \x03(\x0b\x32Z.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry\x1a:\n\x18\x43ontentDictIntBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictIntBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a:\n\x18\x43ontentDictBoolBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictStrBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xf9\x0b\n\x1cPerformative_Mt_Performative\x12W\n\x1e\x63ontent_union_1_type_DataModel\x18\x01 \x01(\x0b\x32/.fetch.aea.TProtocol.TProtocolMessage.DataModel\x12"\n\x1a\x63ontent_union_1_type_bytes\x18\x02 \x01(\x0c\x12 \n\x18\x63ontent_union_1_type_int\x18\x03 \x01(\x05\x12"\n\x1a\x63ontent_union_1_type_float\x18\x04 \x01(\x02\x12!\n\x19\x63ontent_union_1_type_bool\x18\x05 \x01(\x08\x12 \n\x18\x63ontent_union_1_type_str\x18\x06 \x01(\t\x12\'\n\x1f\x63ontent_union_1_type_set_of_int\x18\x07 \x03(\x05\x12)\n!content_union_1_type_list_of_bool\x18\x08 \x03(\x08\x12\x93\x01\n$content_union_1_type_dict_of_str_int\x18\t \x03(\x0b\x32\x65.fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry\x12)\n!content_union_2_type_set_of_bytes\x18\n \x03(\x0c\x12\'\n\x1f\x63ontent_union_2_type_set_of_int\x18\x0b \x03(\x05\x12\'\n\x1f\x63ontent_union_2_type_set_of_str\x18\x0c \x03(\t\x12*\n"content_union_2_type_list_of_float\x18\r \x03(\x02\x12)\n!content_union_2_type_list_of_bool\x18\x0e \x03(\x08\x12*\n"content_union_2_type_list_of_bytes\x18\x0f \x03(\x0c\x12\x93\x01\n$content_union_2_type_dict_of_str_int\x18\x10 \x03(\x0b\x32\x65.fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry\x12\x97\x01\n&content_union_2_type_dict_of_int_float\x18\x11 \x03(\x0b\x32g.fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry\x12\x99\x01\n\'content_union_2_type_dict_of_bool_bytes\x18\x12 \x03(\x0b\x32h.fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry\x1a\x44\n"ContentUnion1TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x44\n"ContentUnion2TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x46\n$ContentUnion2TypeDictOfIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1aG\n%ContentUnion2TypeDictOfBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x95\x04\n\x1bPerformative_O_Performative\x12\x45\n\x0c\x63ontent_o_ct\x18\x01 \x01(\x0b\x32/.fetch.aea.TProtocol.TProtocolMessage.DataModel\x12\x1b\n\x13\x63ontent_o_ct_is_set\x18\x02 \x01(\x08\x12\x16\n\x0e\x63ontent_o_bool\x18\x03 \x01(\x08\x12\x1d\n\x15\x63ontent_o_bool_is_set\x18\x04 \x01(\x08\x12\x19\n\x11\x63ontent_o_set_int\x18\x05 \x03(\x05\x12 \n\x18\x63ontent_o_set_int_is_set\x18\x06 \x01(\x08\x12\x1c\n\x14\x63ontent_o_list_bytes\x18\x07 \x03(\x0c\x12#\n\x1b\x63ontent_o_list_bytes_is_set\x18\x08 \x01(\x08\x12y\n\x16\x63ontent_o_dict_str_int\x18\t \x03(\x0b\x32Y.fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry\x12%\n\x1d\x63ontent_o_dict_str_int_is_set\x18\n \x01(\x08\x1a\x39\n\x17\x43ontentODictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a*\n(Performative_Empty_Contents_PerformativeB\x0e\n\x0cperformativeb\x06proto3'
+ ),
)
@@ -68,13 +72,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1100,
- serialized_end=1148,
+ serialized_start=990,
+ serialized_end=1038,
)
_TPROTOCOLMESSAGE_DATAMODEL = _descriptor.Descriptor(
@@ -93,7 +97,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -165,7 +169,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -237,8 +241,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=864,
- serialized_end=1148,
+ serialized_start=754,
+ serialized_end=1038,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_CT_PERFORMATIVE = _descriptor.Descriptor(
@@ -275,8 +279,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1150,
- serialized_end=1249,
+ serialized_start=1040,
+ serialized_end=1139,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PT_PERFORMATIVE = _descriptor.Descriptor(
@@ -295,7 +299,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -367,7 +371,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -385,8 +389,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1252,
- serialized_end=1392,
+ serialized_start=1142,
+ serialized_end=1282,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PCT_PERFORMATIVE = _descriptor.Descriptor(
@@ -585,8 +589,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1395,
- serialized_end=1691,
+ serialized_start=1285,
+ serialized_end=1581,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBYTESENTRY = _descriptor.Descriptor(
@@ -623,7 +627,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -636,13 +640,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3597,
- serialized_end=3655,
+ serialized_start=3487,
+ serialized_end=3545,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTINTENTRY = _descriptor.Descriptor(
@@ -692,13 +696,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3657,
- serialized_end=3713,
+ serialized_start=3547,
+ serialized_end=3603,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTFLOATENTRY = _descriptor.Descriptor(
@@ -748,13 +752,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3715,
- serialized_end=3773,
+ serialized_start=3605,
+ serialized_end=3663,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBOOLENTRY = _descriptor.Descriptor(
@@ -804,13 +808,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3775,
- serialized_end=3832,
+ serialized_start=3665,
+ serialized_end=3722,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTSTRENTRY = _descriptor.Descriptor(
@@ -847,7 +851,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -860,13 +864,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3834,
- serialized_end=3890,
+ serialized_start=3724,
+ serialized_end=3780,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBYTESENTRY = _descriptor.Descriptor(
@@ -903,7 +907,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -916,13 +920,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3892,
- serialized_end=3951,
+ serialized_start=3782,
+ serialized_end=3841,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLINTENTRY = _descriptor.Descriptor(
@@ -972,13 +976,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3953,
- serialized_end=4010,
+ serialized_start=3843,
+ serialized_end=3900,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLFLOATENTRY = _descriptor.Descriptor(
@@ -1028,13 +1032,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4012,
- serialized_end=4071,
+ serialized_start=3902,
+ serialized_end=3961,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBOOLENTRY = _descriptor.Descriptor(
@@ -1084,13 +1088,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4073,
- serialized_end=4131,
+ serialized_start=3963,
+ serialized_end=4021,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLSTRENTRY = _descriptor.Descriptor(
@@ -1127,7 +1131,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1140,13 +1144,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4133,
- serialized_end=4190,
+ serialized_start=4023,
+ serialized_end=4080,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBYTESENTRY = _descriptor.Descriptor(
@@ -1165,7 +1169,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1183,7 +1187,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1196,13 +1200,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4192,
- serialized_end=4250,
+ serialized_start=4082,
+ serialized_end=4140,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRINTENTRY = _descriptor.Descriptor(
@@ -1221,7 +1225,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1252,13 +1256,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4252,
- serialized_end=4308,
+ serialized_start=4142,
+ serialized_end=4198,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRFLOATENTRY = _descriptor.Descriptor(
@@ -1277,7 +1281,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1308,13 +1312,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4310,
- serialized_end=4368,
+ serialized_start=4200,
+ serialized_end=4258,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBOOLENTRY = _descriptor.Descriptor(
@@ -1333,7 +1337,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1364,13 +1368,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4370,
- serialized_end=4427,
+ serialized_start=4260,
+ serialized_end=4317,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRSTRENTRY = _descriptor.Descriptor(
@@ -1389,7 +1393,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1407,7 +1411,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1420,13 +1424,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4429,
- serialized_end=4485,
+ serialized_start=4319,
+ serialized_end=4375,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE = _descriptor.Descriptor(
@@ -1731,8 +1735,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1694,
- serialized_end=4485,
+ serialized_start=1584,
+ serialized_end=4375,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION1TYPEDICTOFSTRINTENTRY = _descriptor.Descriptor(
@@ -1751,7 +1755,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1782,13 +1786,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5734,
- serialized_end=5802,
+ serialized_start=5624,
+ serialized_end=5692,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFSTRINTENTRY = _descriptor.Descriptor(
@@ -1807,7 +1811,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1838,13 +1842,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5804,
- serialized_end=5872,
+ serialized_start=5694,
+ serialized_end=5762,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFINTFLOATENTRY = _descriptor.Descriptor(
@@ -1894,13 +1898,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5874,
- serialized_end=5944,
+ serialized_start=5764,
+ serialized_end=5834,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFBOOLBYTESENTRY = _descriptor.Descriptor(
@@ -1937,7 +1941,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1950,13 +1954,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5946,
- serialized_end=6017,
+ serialized_start=5836,
+ serialized_end=5907,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE = _descriptor.Descriptor(
@@ -1993,7 +1997,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -2065,7 +2069,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -2304,8 +2308,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4488,
- serialized_end=6017,
+ serialized_start=4378,
+ serialized_end=5907,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_O_PERFORMATIVE_CONTENTODICTSTRINTENTRY = _descriptor.Descriptor(
@@ -2324,7 +2328,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -2355,13 +2359,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6496,
- serialized_end=6553,
+ serialized_start=6386,
+ serialized_end=6443,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_O_PERFORMATIVE = _descriptor.Descriptor(
@@ -2562,8 +2566,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6020,
- serialized_end=6553,
+ serialized_start=5910,
+ serialized_end=6443,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_EMPTY_CONTENTS_PERFORMATIVE = _descriptor.Descriptor(
@@ -2581,8 +2585,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6555,
- serialized_end=6597,
+ serialized_start=6445,
+ serialized_end=6487,
)
_TPROTOCOLMESSAGE = _descriptor.Descriptor(
@@ -2592,82 +2596,10 @@
file=DESCRIPTOR,
containing_type=None,
fields=[
- _descriptor.FieldDescriptor(
- name="message_id",
- full_name="fetch.aea.TProtocol.TProtocolMessage.message_id",
- index=0,
- number=1,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_starter_reference",
- full_name="fetch.aea.TProtocol.TProtocolMessage.dialogue_starter_reference",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_responder_reference",
- full_name="fetch.aea.TProtocol.TProtocolMessage.dialogue_responder_reference",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="target",
- full_name="fetch.aea.TProtocol.TProtocolMessage.target",
- index=3,
- number=4,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
_descriptor.FieldDescriptor(
name="performative_ct",
full_name="fetch.aea.TProtocol.TProtocolMessage.performative_ct",
- index=4,
+ index=0,
number=5,
type=11,
cpp_type=10,
@@ -2685,7 +2617,7 @@
_descriptor.FieldDescriptor(
name="performative_empty_contents",
full_name="fetch.aea.TProtocol.TProtocolMessage.performative_empty_contents",
- index=5,
+ index=1,
number=6,
type=11,
cpp_type=10,
@@ -2703,7 +2635,7 @@
_descriptor.FieldDescriptor(
name="performative_mt",
full_name="fetch.aea.TProtocol.TProtocolMessage.performative_mt",
- index=6,
+ index=2,
number=7,
type=11,
cpp_type=10,
@@ -2721,7 +2653,7 @@
_descriptor.FieldDescriptor(
name="performative_o",
full_name="fetch.aea.TProtocol.TProtocolMessage.performative_o",
- index=7,
+ index=3,
number=8,
type=11,
cpp_type=10,
@@ -2739,7 +2671,7 @@
_descriptor.FieldDescriptor(
name="performative_pct",
full_name="fetch.aea.TProtocol.TProtocolMessage.performative_pct",
- index=8,
+ index=4,
number=9,
type=11,
cpp_type=10,
@@ -2757,7 +2689,7 @@
_descriptor.FieldDescriptor(
name="performative_pmt",
full_name="fetch.aea.TProtocol.TProtocolMessage.performative_pmt",
- index=9,
+ index=5,
number=10,
type=11,
cpp_type=10,
@@ -2775,7 +2707,7 @@
_descriptor.FieldDescriptor(
name="performative_pt",
full_name="fetch.aea.TProtocol.TProtocolMessage.performative_pt",
- index=10,
+ index=6,
number=11,
type=11,
cpp_type=10,
@@ -2817,7 +2749,7 @@
),
],
serialized_start=42,
- serialized_end=6613,
+ serialized_end=6503,
)
_TPROTOCOLMESSAGE_DATAMODEL_DICTFIELDENTRY.containing_type = _TPROTOCOLMESSAGE_DATAMODEL
@@ -3054,272 +2986,272 @@
TProtocolMessage = _reflection.GeneratedProtocolMessageType(
"TProtocolMessage",
(_message.Message,),
- {
- "DataModel": _reflection.GeneratedProtocolMessageType(
+ dict(
+ DataModel=_reflection.GeneratedProtocolMessageType(
"DataModel",
(_message.Message,),
- {
- "DictFieldEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ DictFieldEntry=_reflection.GeneratedProtocolMessageType(
"DictFieldEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_DATAMODEL_DICTFIELDENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_DATAMODEL_DICTFIELDENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.DataModel.DictFieldEntry)
- },
+ ),
),
- "DESCRIPTOR": _TPROTOCOLMESSAGE_DATAMODEL,
- "__module__": "t_protocol_pb2"
+ DESCRIPTOR=_TPROTOCOLMESSAGE_DATAMODEL,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.DataModel)
- },
+ ),
),
- "Performative_Ct_Performative": _reflection.GeneratedProtocolMessageType(
+ Performative_Ct_Performative=_reflection.GeneratedProtocolMessageType(
"Performative_Ct_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_CT_PERFORMATIVE,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_CT_PERFORMATIVE,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Ct_Performative)
- },
+ ),
),
- "Performative_Pt_Performative": _reflection.GeneratedProtocolMessageType(
+ Performative_Pt_Performative=_reflection.GeneratedProtocolMessageType(
"Performative_Pt_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PT_PERFORMATIVE,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PT_PERFORMATIVE,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pt_Performative)
- },
+ ),
),
- "Performative_Pct_Performative": _reflection.GeneratedProtocolMessageType(
+ Performative_Pct_Performative=_reflection.GeneratedProtocolMessageType(
"Performative_Pct_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PCT_PERFORMATIVE,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PCT_PERFORMATIVE,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pct_Performative)
- },
+ ),
),
- "Performative_Pmt_Performative": _reflection.GeneratedProtocolMessageType(
+ Performative_Pmt_Performative=_reflection.GeneratedProtocolMessageType(
"Performative_Pmt_Performative",
(_message.Message,),
- {
- "ContentDictIntBytesEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ ContentDictIntBytesEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictIntBytesEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBYTESENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBYTESENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry)
- },
+ ),
),
- "ContentDictIntIntEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictIntIntEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictIntIntEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTINTENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTINTENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry)
- },
+ ),
),
- "ContentDictIntFloatEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictIntFloatEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictIntFloatEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTFLOATENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTFLOATENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry)
- },
+ ),
),
- "ContentDictIntBoolEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictIntBoolEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictIntBoolEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBOOLENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBOOLENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry)
- },
+ ),
),
- "ContentDictIntStrEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictIntStrEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictIntStrEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTSTRENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTSTRENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry)
- },
+ ),
),
- "ContentDictBoolBytesEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictBoolBytesEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictBoolBytesEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBYTESENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBYTESENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry)
- },
+ ),
),
- "ContentDictBoolIntEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictBoolIntEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictBoolIntEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLINTENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLINTENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry)
- },
+ ),
),
- "ContentDictBoolFloatEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictBoolFloatEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictBoolFloatEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLFLOATENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLFLOATENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry)
- },
+ ),
),
- "ContentDictBoolBoolEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictBoolBoolEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictBoolBoolEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBOOLENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBOOLENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry)
- },
+ ),
),
- "ContentDictBoolStrEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictBoolStrEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictBoolStrEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLSTRENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLSTRENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry)
- },
+ ),
),
- "ContentDictStrBytesEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictStrBytesEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictStrBytesEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBYTESENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBYTESENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry)
- },
+ ),
),
- "ContentDictStrIntEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictStrIntEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictStrIntEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRINTENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRINTENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry)
- },
+ ),
),
- "ContentDictStrFloatEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictStrFloatEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictStrFloatEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRFLOATENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRFLOATENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry)
- },
+ ),
),
- "ContentDictStrBoolEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictStrBoolEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictStrBoolEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBOOLENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBOOLENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry)
- },
+ ),
),
- "ContentDictStrStrEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictStrStrEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictStrStrEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRSTRENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRSTRENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry)
- },
+ ),
),
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE,
- "__module__": "t_protocol_pb2"
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative)
- },
+ ),
),
- "Performative_Mt_Performative": _reflection.GeneratedProtocolMessageType(
+ Performative_Mt_Performative=_reflection.GeneratedProtocolMessageType(
"Performative_Mt_Performative",
(_message.Message,),
- {
- "ContentUnion1TypeDictOfStrIntEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ ContentUnion1TypeDictOfStrIntEntry=_reflection.GeneratedProtocolMessageType(
"ContentUnion1TypeDictOfStrIntEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION1TYPEDICTOFSTRINTENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION1TYPEDICTOFSTRINTENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry)
- },
+ ),
),
- "ContentUnion2TypeDictOfStrIntEntry": _reflection.GeneratedProtocolMessageType(
+ ContentUnion2TypeDictOfStrIntEntry=_reflection.GeneratedProtocolMessageType(
"ContentUnion2TypeDictOfStrIntEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFSTRINTENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFSTRINTENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry)
- },
+ ),
),
- "ContentUnion2TypeDictOfIntFloatEntry": _reflection.GeneratedProtocolMessageType(
+ ContentUnion2TypeDictOfIntFloatEntry=_reflection.GeneratedProtocolMessageType(
"ContentUnion2TypeDictOfIntFloatEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFINTFLOATENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFINTFLOATENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry)
- },
+ ),
),
- "ContentUnion2TypeDictOfBoolBytesEntry": _reflection.GeneratedProtocolMessageType(
+ ContentUnion2TypeDictOfBoolBytesEntry=_reflection.GeneratedProtocolMessageType(
"ContentUnion2TypeDictOfBoolBytesEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFBOOLBYTESENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFBOOLBYTESENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry)
- },
+ ),
),
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE,
- "__module__": "t_protocol_pb2"
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative)
- },
+ ),
),
- "Performative_O_Performative": _reflection.GeneratedProtocolMessageType(
+ Performative_O_Performative=_reflection.GeneratedProtocolMessageType(
"Performative_O_Performative",
(_message.Message,),
- {
- "ContentODictStrIntEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ ContentODictStrIntEntry=_reflection.GeneratedProtocolMessageType(
"ContentODictStrIntEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_O_PERFORMATIVE_CONTENTODICTSTRINTENTRY,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_O_PERFORMATIVE_CONTENTODICTSTRINTENTRY,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry)
- },
+ ),
),
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_O_PERFORMATIVE,
- "__module__": "t_protocol_pb2"
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_O_PERFORMATIVE,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative)
- },
+ ),
),
- "Performative_Empty_Contents_Performative": _reflection.GeneratedProtocolMessageType(
+ Performative_Empty_Contents_Performative=_reflection.GeneratedProtocolMessageType(
"Performative_Empty_Contents_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLMESSAGE_PERFORMATIVE_EMPTY_CONTENTS_PERFORMATIVE,
- "__module__": "t_protocol_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_EMPTY_CONTENTS_PERFORMATIVE,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Empty_Contents_Performative)
- },
+ ),
),
- "DESCRIPTOR": _TPROTOCOLMESSAGE,
- "__module__": "t_protocol_pb2"
+ DESCRIPTOR=_TPROTOCOLMESSAGE,
+ __module__="t_protocol_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage)
- },
+ ),
)
_sym_db.RegisterMessage(TProtocolMessage)
_sym_db.RegisterMessage(TProtocolMessage.DataModel)
diff --git a/tests/data/generator/t_protocol_no_ct/protocol.yaml b/tests/data/generator/t_protocol_no_ct/protocol.yaml
index 9a52b7bdc0..b00452fdca 100644
--- a/tests/data/generator/t_protocol_no_ct/protocol.yaml
+++ b/tests/data/generator/t_protocol_no_ct/protocol.yaml
@@ -9,9 +9,9 @@ fingerprint:
__init__.py: QmRGHGRoZHGCXQ29v3q93Nt6J5TuhggYvUvZoQfrM6c3yp
dialogues.py: QmUjFTMYk2C69dcYfsKorTQWJbaUGEz8orCQnkZtFbR6Je
message.py: Qma11dAGwWr3oYSWAmRrwLJj9mLvyLVD66svTyHwU3HVNB
- serialization.py: Qmc3tJ5vk1AbtkF5BrPUeuyrnvVUTrfuUMF9MgDfkiiMkB
- t_protocol_no_ct.proto: QmeZWVLhb6EUGr5AgVwgf2YTEZTSuCskpmxCwAE3sDU9sY
- t_protocol_no_ct_pb2.py: QmYtjyYTv1fQrwTS2x5ZkrNB8bpgH2vpPUJsUV29B7E4d9
+ serialization.py: QmdxfZeYT1zo1oUgomEJwuZ6ttFodRXdYhaWBfzFhMrgBN
+ t_protocol_no_ct.proto: QmcQtSHEVK25h5s1MN5RkCrRGhHqbRmMvTjhgZNMk9tdUe
+ t_protocol_no_ct_pb2.py: QmfU5AaVARTUi8gmhShNZk23LcA6Qp2AY2ysy39LM32eLq
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/tests/data/generator/t_protocol_no_ct/serialization.py b/tests/data/generator/t_protocol_no_ct/serialization.py
index bf7b3face3..b2c5289df3 100644
--- a/tests/data/generator/t_protocol_no_ct/serialization.py
+++ b/tests/data/generator/t_protocol_no_ct/serialization.py
@@ -21,6 +21,7 @@
from typing import Any, Dict, cast
+from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
from aea.protocols.base import Message
from aea.protocols.base import Serializer
@@ -40,12 +41,15 @@ def encode(msg: Message) -> bytes:
:return: the bytes.
"""
msg = cast(TProtocolNoCtMessage, msg)
+ message_pb = ProtobufMessage()
+ dialogue_message_pb = DialogueMessage()
t_protocol_no_ct_msg = t_protocol_no_ct_pb2.TProtocolNoCtMessage()
- t_protocol_no_ct_msg.message_id = msg.message_id
+
+ dialogue_message_pb.message_id = msg.message_id
dialogue_reference = msg.dialogue_reference
- t_protocol_no_ct_msg.dialogue_starter_reference = dialogue_reference[0]
- t_protocol_no_ct_msg.dialogue_responder_reference = dialogue_reference[1]
- t_protocol_no_ct_msg.target = msg.target
+ dialogue_message_pb.dialogue_starter_reference = dialogue_reference[0]
+ dialogue_message_pb.dialogue_responder_reference = dialogue_reference[1]
+ dialogue_message_pb.target = msg.target
performative_id = msg.performative
if performative_id == TProtocolNoCtMessage.Performative.PERFORMATIVE_PT:
@@ -258,8 +262,11 @@ def encode(msg: Message) -> bytes:
else:
raise ValueError("Performative not valid: {}".format(performative_id))
- t_protocol_no_ct_bytes = t_protocol_no_ct_msg.SerializeToString()
- return t_protocol_no_ct_bytes
+ dialogue_message_pb.content.Pack(t_protocol_no_ct_msg)
+
+ message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
+ message_bytes = message_pb.SerializeToString()
+ return message_bytes
@staticmethod
def decode(obj: bytes) -> Message:
@@ -269,15 +276,17 @@ def decode(obj: bytes) -> Message:
:param obj: the bytes object.
:return: the 'TProtocolNoCt' message.
"""
+ message_pb = ProtobufMessage()
t_protocol_no_ct_pb = t_protocol_no_ct_pb2.TProtocolNoCtMessage()
- t_protocol_no_ct_pb.ParseFromString(obj)
- message_id = t_protocol_no_ct_pb.message_id
+ message_pb.ParseFromString(obj)
+ message_id = message_pb.dialogue_message.message_id
dialogue_reference = (
- t_protocol_no_ct_pb.dialogue_starter_reference,
- t_protocol_no_ct_pb.dialogue_responder_reference,
+ message_pb.dialogue_message.dialogue_starter_reference,
+ message_pb.dialogue_message.dialogue_responder_reference,
)
- target = t_protocol_no_ct_pb.target
+ target = message_pb.dialogue_message.target
+ message_pb.dialogue_message.content.Unpack(t_protocol_no_ct_pb)
performative = t_protocol_no_ct_pb.WhichOneof("performative")
performative_id = TProtocolNoCtMessage.Performative(str(performative))
performative_content = dict() # type: Dict[str, Any]
diff --git a/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct.proto b/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct.proto
index c9a4b9a145..a0e83c267f 100644
--- a/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct.proto
+++ b/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct.proto
@@ -78,11 +78,6 @@ message TProtocolNoCtMessage{
message Performative_Empty_Contents_Performative{}
- // Standard TProtocolNoCtMessage fields
- int32 message_id = 1;
- string dialogue_starter_reference = 2;
- string dialogue_responder_reference = 3;
- int32 target = 4;
oneof performative{
Performative_Empty_Contents_Performative performative_empty_contents = 5;
Performative_Mt_Performative performative_mt = 6;
diff --git a/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct_pb2.py b/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct_pb2.py
index c018654cf4..7f229bd662 100644
--- a/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct_pb2.py
+++ b/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct_pb2.py
@@ -1,7 +1,9 @@
-# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: t_protocol_no_ct.proto
+import sys
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@@ -17,7 +19,9 @@
package="fetch.aea.TProtocolNoCt",
syntax="proto3",
serialized_options=None,
- serialized_pb=b'\n\x16t_protocol_no_ct.proto\x12\x17\x66\x65tch.aea.TProtocolNoCt"\xef/\n\x14TProtocolNoCtMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12}\n\x1bperformative_empty_contents\x18\x05 \x01(\x0b\x32V.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Empty_Contents_PerformativeH\x00\x12\x65\n\x0fperformative_mt\x18\x06 \x01(\x0b\x32J.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_PerformativeH\x00\x12\x63\n\x0eperformative_o\x18\x07 \x01(\x0b\x32I.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_PerformativeH\x00\x12g\n\x10performative_pct\x18\x08 \x01(\x0b\x32K.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pct_PerformativeH\x00\x12g\n\x10performative_pmt\x18\t \x01(\x0b\x32K.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_PerformativeH\x00\x12\x65\n\x0fperformative_pt\x18\n \x01(\x0b\x32J.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pt_PerformativeH\x00\x1a\x8c\x01\n\x1cPerformative_Pt_Performative\x12\x15\n\rcontent_bytes\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ontent_int\x18\x02 \x01(\x05\x12\x15\n\rcontent_float\x18\x03 \x01(\x02\x12\x14\n\x0c\x63ontent_bool\x18\x04 \x01(\x08\x12\x13\n\x0b\x63ontent_str\x18\x05 \x01(\t\x1a\xa8\x02\n\x1dPerformative_Pct_Performative\x12\x19\n\x11\x63ontent_set_bytes\x18\x01 \x03(\x0c\x12\x17\n\x0f\x63ontent_set_int\x18\x02 \x03(\x05\x12\x19\n\x11\x63ontent_set_float\x18\x03 \x03(\x02\x12\x18\n\x10\x63ontent_set_bool\x18\x04 \x03(\x08\x12\x17\n\x0f\x63ontent_set_str\x18\x05 \x03(\t\x12\x1a\n\x12\x63ontent_list_bytes\x18\x06 \x03(\x0c\x12\x18\n\x10\x63ontent_list_int\x18\x07 \x03(\x05\x12\x1a\n\x12\x63ontent_list_float\x18\x08 \x03(\x02\x12\x19\n\x11\x63ontent_list_bool\x18\t \x03(\x08\x12\x18\n\x10\x63ontent_list_str\x18\n \x03(\t\x1a\xee\x16\n\x1dPerformative_Pmt_Performative\x12\x84\x01\n\x16\x63ontent_dict_int_bytes\x18\x01 \x03(\x0b\x32\x64.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry\x12\x80\x01\n\x14\x63ontent_dict_int_int\x18\x02 \x03(\x0b\x32\x62.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry\x12\x84\x01\n\x16\x63ontent_dict_int_float\x18\x03 \x03(\x0b\x32\x64.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry\x12\x82\x01\n\x15\x63ontent_dict_int_bool\x18\x04 \x03(\x0b\x32\x63.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry\x12\x80\x01\n\x14\x63ontent_dict_int_str\x18\x05 \x03(\x0b\x32\x62.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry\x12\x86\x01\n\x17\x63ontent_dict_bool_bytes\x18\x06 \x03(\x0b\x32\x65.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry\x12\x82\x01\n\x15\x63ontent_dict_bool_int\x18\x07 \x03(\x0b\x32\x63.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry\x12\x86\x01\n\x17\x63ontent_dict_bool_float\x18\x08 \x03(\x0b\x32\x65.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry\x12\x84\x01\n\x16\x63ontent_dict_bool_bool\x18\t \x03(\x0b\x32\x64.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry\x12\x82\x01\n\x15\x63ontent_dict_bool_str\x18\n \x03(\x0b\x32\x63.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry\x12\x84\x01\n\x16\x63ontent_dict_str_bytes\x18\x0b \x03(\x0b\x32\x64.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry\x12\x80\x01\n\x14\x63ontent_dict_str_int\x18\x0c \x03(\x0b\x32\x62.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry\x12\x84\x01\n\x16\x63ontent_dict_str_float\x18\r \x03(\x0b\x32\x64.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry\x12\x82\x01\n\x15\x63ontent_dict_str_bool\x18\x0e \x03(\x0b\x32\x63.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry\x12\x80\x01\n\x14\x63ontent_dict_str_str\x18\x0f \x03(\x0b\x32\x62.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry\x1a:\n\x18\x43ontentDictIntBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictIntBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a:\n\x18\x43ontentDictBoolBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictStrBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xc0\x0b\n\x1cPerformative_Mt_Performative\x12"\n\x1a\x63ontent_union_1_type_bytes\x18\x01 \x01(\x0c\x12 \n\x18\x63ontent_union_1_type_int\x18\x02 \x01(\x05\x12"\n\x1a\x63ontent_union_1_type_float\x18\x03 \x01(\x02\x12!\n\x19\x63ontent_union_1_type_bool\x18\x04 \x01(\x08\x12 \n\x18\x63ontent_union_1_type_str\x18\x05 \x01(\t\x12\'\n\x1f\x63ontent_union_1_type_set_of_int\x18\x06 \x03(\x05\x12)\n!content_union_1_type_list_of_bool\x18\x07 \x03(\x08\x12\x9b\x01\n$content_union_1_type_dict_of_str_int\x18\x08 \x03(\x0b\x32m.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry\x12)\n!content_union_2_type_set_of_bytes\x18\t \x03(\x0c\x12\'\n\x1f\x63ontent_union_2_type_set_of_int\x18\n \x03(\x05\x12\'\n\x1f\x63ontent_union_2_type_set_of_str\x18\x0b \x03(\t\x12*\n"content_union_2_type_list_of_float\x18\x0c \x03(\x02\x12)\n!content_union_2_type_list_of_bool\x18\r \x03(\x08\x12*\n"content_union_2_type_list_of_bytes\x18\x0e \x03(\x0c\x12\x9b\x01\n$content_union_2_type_dict_of_str_int\x18\x0f \x03(\x0b\x32m.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry\x12\x9f\x01\n&content_union_2_type_dict_of_int_float\x18\x10 \x03(\x0b\x32o.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry\x12\xa1\x01\n\'content_union_2_type_dict_of_bool_bytes\x18\x11 \x03(\x0b\x32p.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry\x1a\x44\n"ContentUnion1TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x44\n"ContentUnion2TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x46\n$ContentUnion2TypeDictOfIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1aG\n%ContentUnion2TypeDictOfBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\xba\x03\n\x1bPerformative_O_Performative\x12\x16\n\x0e\x63ontent_o_bool\x18\x01 \x01(\x08\x12\x1d\n\x15\x63ontent_o_bool_is_set\x18\x02 \x01(\x08\x12\x19\n\x11\x63ontent_o_set_int\x18\x03 \x03(\x05\x12 \n\x18\x63ontent_o_set_int_is_set\x18\x04 \x01(\x08\x12\x1c\n\x14\x63ontent_o_list_bytes\x18\x05 \x03(\x0c\x12#\n\x1b\x63ontent_o_list_bytes_is_set\x18\x06 \x01(\x08\x12\x81\x01\n\x16\x63ontent_o_dict_str_int\x18\x07 \x03(\x0b\x32\x61.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry\x12%\n\x1d\x63ontent_o_dict_str_int_is_set\x18\x08 \x01(\x08\x1a\x39\n\x17\x43ontentODictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a*\n(Performative_Empty_Contents_PerformativeB\x0e\n\x0cperformativeb\x06proto3',
+ serialized_pb=_b(
+ '\n\x16t_protocol_no_ct.proto\x12\x17\x66\x65tch.aea.TProtocolNoCt"\x81/\n\x14TProtocolNoCtMessage\x12}\n\x1bperformative_empty_contents\x18\x05 \x01(\x0b\x32V.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Empty_Contents_PerformativeH\x00\x12\x65\n\x0fperformative_mt\x18\x06 \x01(\x0b\x32J.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_PerformativeH\x00\x12\x63\n\x0eperformative_o\x18\x07 \x01(\x0b\x32I.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_PerformativeH\x00\x12g\n\x10performative_pct\x18\x08 \x01(\x0b\x32K.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pct_PerformativeH\x00\x12g\n\x10performative_pmt\x18\t \x01(\x0b\x32K.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_PerformativeH\x00\x12\x65\n\x0fperformative_pt\x18\n \x01(\x0b\x32J.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pt_PerformativeH\x00\x1a\x8c\x01\n\x1cPerformative_Pt_Performative\x12\x15\n\rcontent_bytes\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ontent_int\x18\x02 \x01(\x05\x12\x15\n\rcontent_float\x18\x03 \x01(\x02\x12\x14\n\x0c\x63ontent_bool\x18\x04 \x01(\x08\x12\x13\n\x0b\x63ontent_str\x18\x05 \x01(\t\x1a\xa8\x02\n\x1dPerformative_Pct_Performative\x12\x19\n\x11\x63ontent_set_bytes\x18\x01 \x03(\x0c\x12\x17\n\x0f\x63ontent_set_int\x18\x02 \x03(\x05\x12\x19\n\x11\x63ontent_set_float\x18\x03 \x03(\x02\x12\x18\n\x10\x63ontent_set_bool\x18\x04 \x03(\x08\x12\x17\n\x0f\x63ontent_set_str\x18\x05 \x03(\t\x12\x1a\n\x12\x63ontent_list_bytes\x18\x06 \x03(\x0c\x12\x18\n\x10\x63ontent_list_int\x18\x07 \x03(\x05\x12\x1a\n\x12\x63ontent_list_float\x18\x08 \x03(\x02\x12\x19\n\x11\x63ontent_list_bool\x18\t \x03(\x08\x12\x18\n\x10\x63ontent_list_str\x18\n \x03(\t\x1a\xee\x16\n\x1dPerformative_Pmt_Performative\x12\x84\x01\n\x16\x63ontent_dict_int_bytes\x18\x01 \x03(\x0b\x32\x64.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry\x12\x80\x01\n\x14\x63ontent_dict_int_int\x18\x02 \x03(\x0b\x32\x62.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry\x12\x84\x01\n\x16\x63ontent_dict_int_float\x18\x03 \x03(\x0b\x32\x64.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry\x12\x82\x01\n\x15\x63ontent_dict_int_bool\x18\x04 \x03(\x0b\x32\x63.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry\x12\x80\x01\n\x14\x63ontent_dict_int_str\x18\x05 \x03(\x0b\x32\x62.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry\x12\x86\x01\n\x17\x63ontent_dict_bool_bytes\x18\x06 \x03(\x0b\x32\x65.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry\x12\x82\x01\n\x15\x63ontent_dict_bool_int\x18\x07 \x03(\x0b\x32\x63.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry\x12\x86\x01\n\x17\x63ontent_dict_bool_float\x18\x08 \x03(\x0b\x32\x65.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry\x12\x84\x01\n\x16\x63ontent_dict_bool_bool\x18\t \x03(\x0b\x32\x64.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry\x12\x82\x01\n\x15\x63ontent_dict_bool_str\x18\n \x03(\x0b\x32\x63.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry\x12\x84\x01\n\x16\x63ontent_dict_str_bytes\x18\x0b \x03(\x0b\x32\x64.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry\x12\x80\x01\n\x14\x63ontent_dict_str_int\x18\x0c \x03(\x0b\x32\x62.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry\x12\x84\x01\n\x16\x63ontent_dict_str_float\x18\r \x03(\x0b\x32\x64.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry\x12\x82\x01\n\x15\x63ontent_dict_str_bool\x18\x0e \x03(\x0b\x32\x63.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry\x12\x80\x01\n\x14\x63ontent_dict_str_str\x18\x0f \x03(\x0b\x32\x62.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry\x1a:\n\x18\x43ontentDictIntBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictIntBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a:\n\x18\x43ontentDictBoolBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictStrBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xc0\x0b\n\x1cPerformative_Mt_Performative\x12"\n\x1a\x63ontent_union_1_type_bytes\x18\x01 \x01(\x0c\x12 \n\x18\x63ontent_union_1_type_int\x18\x02 \x01(\x05\x12"\n\x1a\x63ontent_union_1_type_float\x18\x03 \x01(\x02\x12!\n\x19\x63ontent_union_1_type_bool\x18\x04 \x01(\x08\x12 \n\x18\x63ontent_union_1_type_str\x18\x05 \x01(\t\x12\'\n\x1f\x63ontent_union_1_type_set_of_int\x18\x06 \x03(\x05\x12)\n!content_union_1_type_list_of_bool\x18\x07 \x03(\x08\x12\x9b\x01\n$content_union_1_type_dict_of_str_int\x18\x08 \x03(\x0b\x32m.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry\x12)\n!content_union_2_type_set_of_bytes\x18\t \x03(\x0c\x12\'\n\x1f\x63ontent_union_2_type_set_of_int\x18\n \x03(\x05\x12\'\n\x1f\x63ontent_union_2_type_set_of_str\x18\x0b \x03(\t\x12*\n"content_union_2_type_list_of_float\x18\x0c \x03(\x02\x12)\n!content_union_2_type_list_of_bool\x18\r \x03(\x08\x12*\n"content_union_2_type_list_of_bytes\x18\x0e \x03(\x0c\x12\x9b\x01\n$content_union_2_type_dict_of_str_int\x18\x0f \x03(\x0b\x32m.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry\x12\x9f\x01\n&content_union_2_type_dict_of_int_float\x18\x10 \x03(\x0b\x32o.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry\x12\xa1\x01\n\'content_union_2_type_dict_of_bool_bytes\x18\x11 \x03(\x0b\x32p.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry\x1a\x44\n"ContentUnion1TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x44\n"ContentUnion2TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x46\n$ContentUnion2TypeDictOfIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1aG\n%ContentUnion2TypeDictOfBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\xba\x03\n\x1bPerformative_O_Performative\x12\x16\n\x0e\x63ontent_o_bool\x18\x01 \x01(\x08\x12\x1d\n\x15\x63ontent_o_bool_is_set\x18\x02 \x01(\x08\x12\x19\n\x11\x63ontent_o_set_int\x18\x03 \x03(\x05\x12 \n\x18\x63ontent_o_set_int_is_set\x18\x04 \x01(\x08\x12\x1c\n\x14\x63ontent_o_list_bytes\x18\x05 \x03(\x0c\x12#\n\x1b\x63ontent_o_list_bytes_is_set\x18\x06 \x01(\x08\x12\x81\x01\n\x16\x63ontent_o_dict_str_int\x18\x07 \x03(\x0b\x32\x61.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry\x12%\n\x1d\x63ontent_o_dict_str_int_is_set\x18\x08 \x01(\x08\x1a\x39\n\x17\x43ontentODictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a*\n(Performative_Empty_Contents_PerformativeB\x0e\n\x0cperformativeb\x06proto3'
+ ),
)
@@ -37,7 +41,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -109,7 +113,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -127,8 +131,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=831,
- serialized_end=971,
+ serialized_start=721,
+ serialized_end=861,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PCT_PERFORMATIVE = _descriptor.Descriptor(
@@ -327,8 +331,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=974,
- serialized_end=1270,
+ serialized_start=864,
+ serialized_end=1160,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBYTESENTRY = _descriptor.Descriptor(
@@ -365,7 +369,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -378,13 +382,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3311,
- serialized_end=3369,
+ serialized_start=3201,
+ serialized_end=3259,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTINTENTRY = _descriptor.Descriptor(
@@ -434,13 +438,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3371,
- serialized_end=3427,
+ serialized_start=3261,
+ serialized_end=3317,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTFLOATENTRY = _descriptor.Descriptor(
@@ -490,13 +494,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3429,
- serialized_end=3487,
+ serialized_start=3319,
+ serialized_end=3377,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBOOLENTRY = _descriptor.Descriptor(
@@ -546,13 +550,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3489,
- serialized_end=3546,
+ serialized_start=3379,
+ serialized_end=3436,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTSTRENTRY = _descriptor.Descriptor(
@@ -589,7 +593,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -602,13 +606,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3548,
- serialized_end=3604,
+ serialized_start=3438,
+ serialized_end=3494,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBYTESENTRY = _descriptor.Descriptor(
@@ -645,7 +649,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -658,13 +662,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3606,
- serialized_end=3665,
+ serialized_start=3496,
+ serialized_end=3555,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLINTENTRY = _descriptor.Descriptor(
@@ -714,13 +718,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3667,
- serialized_end=3724,
+ serialized_start=3557,
+ serialized_end=3614,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLFLOATENTRY = _descriptor.Descriptor(
@@ -770,13 +774,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3726,
- serialized_end=3785,
+ serialized_start=3616,
+ serialized_end=3675,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBOOLENTRY = _descriptor.Descriptor(
@@ -826,13 +830,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3787,
- serialized_end=3845,
+ serialized_start=3677,
+ serialized_end=3735,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLSTRENTRY = _descriptor.Descriptor(
@@ -869,7 +873,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -882,13 +886,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3847,
- serialized_end=3904,
+ serialized_start=3737,
+ serialized_end=3794,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBYTESENTRY = _descriptor.Descriptor(
@@ -907,7 +911,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -925,7 +929,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -938,13 +942,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3906,
- serialized_end=3964,
+ serialized_start=3796,
+ serialized_end=3854,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRINTENTRY = _descriptor.Descriptor(
@@ -963,7 +967,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -994,13 +998,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3966,
- serialized_end=4022,
+ serialized_start=3856,
+ serialized_end=3912,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRFLOATENTRY = _descriptor.Descriptor(
@@ -1019,7 +1023,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1050,13 +1054,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4024,
- serialized_end=4082,
+ serialized_start=3914,
+ serialized_end=3972,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBOOLENTRY = _descriptor.Descriptor(
@@ -1075,7 +1079,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1106,13 +1110,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4084,
- serialized_end=4141,
+ serialized_start=3974,
+ serialized_end=4031,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRSTRENTRY = _descriptor.Descriptor(
@@ -1131,7 +1135,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1149,7 +1153,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1162,13 +1166,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4143,
- serialized_end=4199,
+ serialized_start=4033,
+ serialized_end=4089,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE = _descriptor.Descriptor(
@@ -1473,8 +1477,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1273,
- serialized_end=4199,
+ serialized_start=1163,
+ serialized_end=4089,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION1TYPEDICTOFSTRINTENTRY = _descriptor.Descriptor(
@@ -1493,7 +1497,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1524,13 +1528,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5391,
- serialized_end=5459,
+ serialized_start=5281,
+ serialized_end=5349,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFSTRINTENTRY = _descriptor.Descriptor(
@@ -1549,7 +1553,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1580,13 +1584,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5461,
- serialized_end=5529,
+ serialized_start=5351,
+ serialized_end=5419,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFINTFLOATENTRY = _descriptor.Descriptor(
@@ -1636,13 +1640,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5531,
- serialized_end=5601,
+ serialized_start=5421,
+ serialized_end=5491,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFBOOLBYTESENTRY = _descriptor.Descriptor(
@@ -1679,7 +1683,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1692,13 +1696,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5603,
- serialized_end=5674,
+ serialized_start=5493,
+ serialized_end=5564,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE = _descriptor.Descriptor(
@@ -1717,7 +1721,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1789,7 +1793,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -2028,8 +2032,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4202,
- serialized_end=5674,
+ serialized_start=4092,
+ serialized_end=5564,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_O_PERFORMATIVE_CONTENTODICTSTRINTENTRY = _descriptor.Descriptor(
@@ -2048,7 +2052,7 @@
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -2079,13 +2083,13 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6062,
- serialized_end=6119,
+ serialized_start=5952,
+ serialized_end=6009,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_O_PERFORMATIVE = _descriptor.Descriptor(
@@ -2250,8 +2254,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5677,
- serialized_end=6119,
+ serialized_start=5567,
+ serialized_end=6009,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_EMPTY_CONTENTS_PERFORMATIVE = _descriptor.Descriptor(
@@ -2269,8 +2273,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6121,
- serialized_end=6163,
+ serialized_start=6011,
+ serialized_end=6053,
)
_TPROTOCOLNOCTMESSAGE = _descriptor.Descriptor(
@@ -2280,82 +2284,10 @@
file=DESCRIPTOR,
containing_type=None,
fields=[
- _descriptor.FieldDescriptor(
- name="message_id",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.message_id",
- index=0,
- number=1,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_starter_reference",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.dialogue_starter_reference",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_responder_reference",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.dialogue_responder_reference",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="target",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.target",
- index=3,
- number=4,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
_descriptor.FieldDescriptor(
name="performative_empty_contents",
full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.performative_empty_contents",
- index=4,
+ index=0,
number=5,
type=11,
cpp_type=10,
@@ -2373,7 +2305,7 @@
_descriptor.FieldDescriptor(
name="performative_mt",
full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.performative_mt",
- index=5,
+ index=1,
number=6,
type=11,
cpp_type=10,
@@ -2391,7 +2323,7 @@
_descriptor.FieldDescriptor(
name="performative_o",
full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.performative_o",
- index=6,
+ index=2,
number=7,
type=11,
cpp_type=10,
@@ -2409,7 +2341,7 @@
_descriptor.FieldDescriptor(
name="performative_pct",
full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.performative_pct",
- index=7,
+ index=3,
number=8,
type=11,
cpp_type=10,
@@ -2427,7 +2359,7 @@
_descriptor.FieldDescriptor(
name="performative_pmt",
full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.performative_pmt",
- index=8,
+ index=4,
number=9,
type=11,
cpp_type=10,
@@ -2445,7 +2377,7 @@
_descriptor.FieldDescriptor(
name="performative_pt",
full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.performative_pt",
- index=9,
+ index=5,
number=10,
type=11,
cpp_type=10,
@@ -2485,7 +2417,7 @@
),
],
serialized_start=52,
- serialized_end=6179,
+ serialized_end=6069,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PT_PERFORMATIVE.containing_type = (
@@ -2718,245 +2650,245 @@
TProtocolNoCtMessage = _reflection.GeneratedProtocolMessageType(
"TProtocolNoCtMessage",
(_message.Message,),
- {
- "Performative_Pt_Performative": _reflection.GeneratedProtocolMessageType(
+ dict(
+ Performative_Pt_Performative=_reflection.GeneratedProtocolMessageType(
"Performative_Pt_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PT_PERFORMATIVE,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PT_PERFORMATIVE,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pt_Performative)
- },
+ ),
),
- "Performative_Pct_Performative": _reflection.GeneratedProtocolMessageType(
+ Performative_Pct_Performative=_reflection.GeneratedProtocolMessageType(
"Performative_Pct_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PCT_PERFORMATIVE,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PCT_PERFORMATIVE,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pct_Performative)
- },
+ ),
),
- "Performative_Pmt_Performative": _reflection.GeneratedProtocolMessageType(
+ Performative_Pmt_Performative=_reflection.GeneratedProtocolMessageType(
"Performative_Pmt_Performative",
(_message.Message,),
- {
- "ContentDictIntBytesEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ ContentDictIntBytesEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictIntBytesEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBYTESENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBYTESENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry)
- },
+ ),
),
- "ContentDictIntIntEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictIntIntEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictIntIntEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTINTENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTINTENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry)
- },
+ ),
),
- "ContentDictIntFloatEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictIntFloatEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictIntFloatEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTFLOATENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTFLOATENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry)
- },
+ ),
),
- "ContentDictIntBoolEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictIntBoolEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictIntBoolEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBOOLENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBOOLENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry)
- },
+ ),
),
- "ContentDictIntStrEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictIntStrEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictIntStrEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTSTRENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTSTRENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry)
- },
+ ),
),
- "ContentDictBoolBytesEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictBoolBytesEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictBoolBytesEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBYTESENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBYTESENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry)
- },
+ ),
),
- "ContentDictBoolIntEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictBoolIntEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictBoolIntEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLINTENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLINTENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry)
- },
+ ),
),
- "ContentDictBoolFloatEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictBoolFloatEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictBoolFloatEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLFLOATENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLFLOATENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry)
- },
+ ),
),
- "ContentDictBoolBoolEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictBoolBoolEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictBoolBoolEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBOOLENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBOOLENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry)
- },
+ ),
),
- "ContentDictBoolStrEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictBoolStrEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictBoolStrEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLSTRENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLSTRENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry)
- },
+ ),
),
- "ContentDictStrBytesEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictStrBytesEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictStrBytesEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBYTESENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBYTESENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry)
- },
+ ),
),
- "ContentDictStrIntEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictStrIntEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictStrIntEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRINTENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRINTENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry)
- },
+ ),
),
- "ContentDictStrFloatEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictStrFloatEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictStrFloatEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRFLOATENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRFLOATENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry)
- },
+ ),
),
- "ContentDictStrBoolEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictStrBoolEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictStrBoolEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBOOLENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBOOLENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry)
- },
+ ),
),
- "ContentDictStrStrEntry": _reflection.GeneratedProtocolMessageType(
+ ContentDictStrStrEntry=_reflection.GeneratedProtocolMessageType(
"ContentDictStrStrEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRSTRENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRSTRENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry)
- },
+ ),
),
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE,
- "__module__": "t_protocol_no_ct_pb2"
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative)
- },
+ ),
),
- "Performative_Mt_Performative": _reflection.GeneratedProtocolMessageType(
+ Performative_Mt_Performative=_reflection.GeneratedProtocolMessageType(
"Performative_Mt_Performative",
(_message.Message,),
- {
- "ContentUnion1TypeDictOfStrIntEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ ContentUnion1TypeDictOfStrIntEntry=_reflection.GeneratedProtocolMessageType(
"ContentUnion1TypeDictOfStrIntEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION1TYPEDICTOFSTRINTENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION1TYPEDICTOFSTRINTENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry)
- },
+ ),
),
- "ContentUnion2TypeDictOfStrIntEntry": _reflection.GeneratedProtocolMessageType(
+ ContentUnion2TypeDictOfStrIntEntry=_reflection.GeneratedProtocolMessageType(
"ContentUnion2TypeDictOfStrIntEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFSTRINTENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFSTRINTENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry)
- },
+ ),
),
- "ContentUnion2TypeDictOfIntFloatEntry": _reflection.GeneratedProtocolMessageType(
+ ContentUnion2TypeDictOfIntFloatEntry=_reflection.GeneratedProtocolMessageType(
"ContentUnion2TypeDictOfIntFloatEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFINTFLOATENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFINTFLOATENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry)
- },
+ ),
),
- "ContentUnion2TypeDictOfBoolBytesEntry": _reflection.GeneratedProtocolMessageType(
+ ContentUnion2TypeDictOfBoolBytesEntry=_reflection.GeneratedProtocolMessageType(
"ContentUnion2TypeDictOfBoolBytesEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFBOOLBYTESENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFBOOLBYTESENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry)
- },
+ ),
),
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE,
- "__module__": "t_protocol_no_ct_pb2"
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative)
- },
+ ),
),
- "Performative_O_Performative": _reflection.GeneratedProtocolMessageType(
+ Performative_O_Performative=_reflection.GeneratedProtocolMessageType(
"Performative_O_Performative",
(_message.Message,),
- {
- "ContentODictStrIntEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ ContentODictStrIntEntry=_reflection.GeneratedProtocolMessageType(
"ContentODictStrIntEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_O_PERFORMATIVE_CONTENTODICTSTRINTENTRY,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_O_PERFORMATIVE_CONTENTODICTSTRINTENTRY,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry)
- },
+ ),
),
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_O_PERFORMATIVE,
- "__module__": "t_protocol_no_ct_pb2"
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_O_PERFORMATIVE,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative)
- },
+ ),
),
- "Performative_Empty_Contents_Performative": _reflection.GeneratedProtocolMessageType(
+ Performative_Empty_Contents_Performative=_reflection.GeneratedProtocolMessageType(
"Performative_Empty_Contents_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE_PERFORMATIVE_EMPTY_CONTENTS_PERFORMATIVE,
- "__module__": "t_protocol_no_ct_pb2"
+ dict(
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_EMPTY_CONTENTS_PERFORMATIVE,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Empty_Contents_Performative)
- },
+ ),
),
- "DESCRIPTOR": _TPROTOCOLNOCTMESSAGE,
- "__module__": "t_protocol_no_ct_pb2"
+ DESCRIPTOR=_TPROTOCOLNOCTMESSAGE,
+ __module__="t_protocol_no_ct_pb2"
# @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage)
- },
+ ),
)
_sym_db.RegisterMessage(TProtocolNoCtMessage)
_sym_db.RegisterMessage(TProtocolNoCtMessage.Performative_Pt_Performative)
diff --git a/tests/test_protocols/test_generator/test_generator.py b/tests/test_protocols/test_generator/test_generator.py
index 19d7a189b9..c154f0f6d0 100644
--- a/tests/test_protocols/test_generator/test_generator.py
+++ b/tests/test_protocols/test_generator/test_generator.py
@@ -1210,11 +1210,6 @@ def test_protocol_buffer_schema_str(self):
" message SomeCustomType{\n"
" bytes description = 1; }\n\n\n"
" // Performatives and contents\n\n"
- " // Standard SomeNameMessage fields\n"
- " int32 message_id = 1;\n"
- " string dialogue_starter_reference = 2;\n"
- " string dialogue_responder_reference = 3;\n"
- " int32 target = 4;\n"
" oneof performative{\n"
" }\n"
"}\n"
From 113547dacded037b05ba59fcb4a694d3a70ed731 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Tue, 1 Sep 2020 11:18:48 +0200
Subject: [PATCH 006/155] update stub connection with new encoding
---
aea/connections/stub/connection.py | 3 +--
aea/connections/stub/connection.yaml | 2 +-
aea/test_tools/generic.py | 4 ++--
packages/hashes.csv | 2 +-
tests/test_connections/test_stub.py | 4 ++--
5 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/aea/connections/stub/connection.py b/aea/connections/stub/connection.py
index a80267f0c9..788db20e29 100644
--- a/aea/connections/stub/connection.py
+++ b/aea/connections/stub/connection.py
@@ -19,7 +19,6 @@
"""This module contains the stub connection."""
import asyncio
-import codecs
import logging
import re
from asyncio import CancelledError
@@ -77,7 +76,7 @@ def _decode(e: bytes, separator: bytes = SEPARATOR):
# protobuf messages cannot be delimited as they can contain an arbitrary byte sequence; however
# we know everything remaining constitutes the protobuf message.
message = SEPARATOR.join(split[3:-1])
- message = codecs.decode(message, "unicode-escape").encode("utf-8")
+ # message = codecs.decode(message, "unicode-escape").encode("utf-8") # noqa: E800
return Envelope(to=to, sender=sender, protocol_id=protocol_id, message=message)
diff --git a/aea/connections/stub/connection.yaml b/aea/connections/stub/connection.yaml
index 9a3180ab88..e61d77d891 100644
--- a/aea/connections/stub/connection.yaml
+++ b/aea/connections/stub/connection.yaml
@@ -8,7 +8,7 @@ license: Apache-2.0
aea_version: '>=0.5.0, <0.6.0'
fingerprint:
__init__.py: QmWwepN9Fy9gHAp39vUGFSLdnB9JZjdyE3STnbowSUhJkC
- connection.py: QmTSESVFvsDc9iq2QM3YdZju3yHqTA3wHbLkAzHXEFY17Z
+ connection.py: QmSZTPuYsQk3bfCspG4JBPGMSBuwroDjbe7jLPsgBrDWP7
readme.md: QmXSAtxSY7C2YkvUxeVnpqCJY9uJYZxZBmuUcE4zjFXcXz
fingerprint_ignore_patterns: []
protocols: []
diff --git a/aea/test_tools/generic.py b/aea/test_tools/generic.py
index 74743bdd15..33f741a3ee 100644
--- a/aea/test_tools/generic.py
+++ b/aea/test_tools/generic.py
@@ -55,8 +55,8 @@ def read_envelope_from_file(file_path: str):
with open(Path(file_path), "rb+") as f:
lines.extend(f.readlines())
- enforce(len(lines) == 2, "Did not find two lines.")
- line = lines[0] + lines[1]
+ enforce(len(lines) == 3, "Did not find three lines.")
+ line = lines[0] + lines[1] + lines[2]
to_b, sender_b, protocol_id_b, message, end = line.strip().split(b",", maxsplit=4)
to = to_b.decode("utf-8")
sender = sender_b.decode("utf-8")
diff --git a/packages/hashes.csv b/packages/hashes.csv
index adb11197f6..405d4425e6 100644
--- a/packages/hashes.csv
+++ b/packages/hashes.csv
@@ -29,7 +29,7 @@ fetchai/connections/p2p_libp2p_client,QmdYNnXerZZWNehprYrErQSFm2KL5GJfNJ9fZgpEhQ
fetchai/connections/p2p_stub,QmYDtzju1Ytx5Kyujk85H1gBmzc4eTh3aUYGmH3AQ3wVqE
fetchai/connections/scaffold,QmcLGRxT2HmPvxM29sGDNxy7tB5X8JbwuKWfVWJvYofTWT
fetchai/connections/soef,Qmf1B15eVrERmYB5mUEDWmDB5orKfJfoGmgXWyNvFcDEee
-fetchai/connections/stub,QmeNb7frSsY4kDv1VD9bmpdDP7Ss4WWVqUdtTvWSwmdNB3
+fetchai/connections/stub,QmU3TWjv9k97SKP9Si7ixWyeHbxUdC46fHDHohFQiZfHYE
fetchai/connections/tcp,QmYGgAm14yAnrQjpH7KVsGw8nAnhjCyZCozhqDKs7pt819
fetchai/connections/webhook,QmQJHzHQBF3USzHNiZ35thj5RNXYuFcQ78yxr3TS9gkQJo
fetchai/contracts/erc1155,QmRPpD2RSxgZfhtuiv4vRp6oP1uZ4nsECKrCkwmyUgzUpq
diff --git a/tests/test_connections/test_stub.py b/tests/test_connections/test_stub.py
index 20a7c2339d..52e27758c8 100644
--- a/tests/test_connections/test_stub.py
+++ b/tests/test_connections/test_stub.py
@@ -248,8 +248,8 @@ def test_send_message(self):
with open(self.output_file_path, "rb+") as f:
lines = f.readlines()
- assert len(lines) == 2
- line = lines[0] + lines[1]
+ assert len(lines) == 3
+ line = lines[0] + lines[1] + lines[2]
to, sender, protocol_id, message, end = line.strip().split(
"{}".format(SEPARATOR).encode("utf-8"), maxsplit=4
)
From 67567e073d109ce0a7fe8d6ea4f8c9233b66a05b Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Tue, 1 Sep 2020 17:01:14 +0200
Subject: [PATCH 007/155] fix programmatic AEA test.
---
docs/build-aea-programmatically.md | 4 ++--
.../test_build_aea_programmatically/programmatic_aea.py | 2 +-
.../test_programmatic_aea.py | 6 ++++--
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/docs/build-aea-programmatically.md b/docs/build-aea-programmatically.md
index 91dec3e9ee..2a75b6bebf 100644
--- a/docs/build-aea-programmatically.md
+++ b/docs/build-aea-programmatically.md
@@ -121,7 +121,7 @@ We run the AEA from a different thread so that we can still use the main thread
We use the input and output text files to send an envelope to our AEA and receive a response (from the echo skill)
``` python
# Create a message inside an envelope and get the stub connection to pass it on to the echo skill
- message_text = b"my_aea,other_agent,fetchai/default:0.5.0,\x08\x01\x12\x011*\x07\n\x05hello,"
+ message_text = b"my_aea,other_agent,fetchai/default:0.5.0,\x12H\x08\x01\x12\x011*A\n4type.googleapis.com/fetch.aea.Default.DefaultMessage\x12\t*\x07\n\x05hello,"
with open(INPUT_FILE, "wb") as f:
write_with_lock(f, message_text)
print(b"input message: " + message_text)
@@ -236,7 +236,7 @@ def run():
time.sleep(4)
# Create a message inside an envelope and get the stub connection to pass it on to the echo skill
- message_text = b"my_aea,other_agent,fetchai/default:0.5.0,\x08\x01\x12\x011*\x07\n\x05hello,"
+ message_text = b"my_aea,other_agent,fetchai/default:0.5.0,\x12H\x08\x01\x12\x011*A\n4type.googleapis.com/fetch.aea.Default.DefaultMessage\x12\t*\x07\n\x05hello,"
with open(INPUT_FILE, "wb") as f:
write_with_lock(f, message_text)
print(b"input message: " + message_text)
diff --git a/tests/test_docs/test_build_aea_programmatically/programmatic_aea.py b/tests/test_docs/test_build_aea_programmatically/programmatic_aea.py
index 68363192ad..85688cd93b 100644
--- a/tests/test_docs/test_build_aea_programmatically/programmatic_aea.py
+++ b/tests/test_docs/test_build_aea_programmatically/programmatic_aea.py
@@ -97,7 +97,7 @@ def handle(self, message: Message) -> None:
time.sleep(4)
# Create a message inside an envelope and get the stub connection to pass it on to the echo skill
- message_text = b"my_aea,other_agent,fetchai/default:0.5.0,\x08\x01\x12\x011*\x07\n\x05hello,"
+ message_text = b"my_aea,other_agent,fetchai/default:0.5.0,\x12H\x08\x01\x12\x011*A\n4type.googleapis.com/fetch.aea.Default.DefaultMessage\x12\t*\x07\n\x05hello,"
with open(INPUT_FILE, "wb") as f:
write_with_lock(f, message_text)
print(b"input message: " + message_text)
diff --git a/tests/test_docs/test_build_aea_programmatically/test_programmatic_aea.py b/tests/test_docs/test_build_aea_programmatically/test_programmatic_aea.py
index cb307c49d2..2a09bc65fd 100644
--- a/tests/test_docs/test_build_aea_programmatically/test_programmatic_aea.py
+++ b/tests/test_docs/test_build_aea_programmatically/test_programmatic_aea.py
@@ -60,11 +60,13 @@ def test_run_agent(self):
assert os.path.exists(Path(self.t, DEFAULT_PRIVATE_KEY_FILE))
message_text_1 = b"other_agent,my_aea,fetchai/default:0.5.0,"
- message_text_2 = b"\x01*\x07\n\x05hello,"
+ message_text_2 = b"type.googleapis.com/fetch.aea.Default.DefaultMessage\x12\t*\x07\n\x05hello"
+
path = os.path.join(self.t, "output_file")
with open(path, "rb") as file:
msg = file.read()
- assert message_text_1 in msg and message_text_2 in msg
+ assert message_text_1 in msg
+ assert message_text_2 in msg
def test_code_blocks_exist(self):
"""Test that all the code-blocks exist in the python file."""
From a57d2cb944f58a016ff91fe1cc33f56dd5d353a9 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Tue, 1 Sep 2020 17:20:37 +0200
Subject: [PATCH 008/155] fix agent vs aea tests
---
docs/agent-vs-aea.md | 8 ++------
tests/test_docs/test_agent_vs_aea/agent_code_block.py | 4 +---
tests/test_docs/test_agent_vs_aea/test_agent_vs_aea.py | 4 +---
3 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/docs/agent-vs-aea.md b/docs/agent-vs-aea.md
index 7ec078fb9a..8ccb2f760b 100644
--- a/docs/agent-vs-aea.md
+++ b/docs/agent-vs-aea.md
@@ -117,9 +117,7 @@ We run the agent from a different thread so that we can still use the main threa
We use the input and output text files to send an envelope to our agent and receive a response
``` python
# Create a message inside an envelope and get the stub connection to pass it into the agent
- message_text = (
- b"my_agent,other_agent,fetchai/default:0.5.0,\x08\x01*\x07\n\x05hello,"
- )
+ message_text = b"my_agent,other_agent,fetchai/default:0.5.0,\x12H\x08\x01\x12\x011*A\n4type.googleapis.com/fetch.aea.Default.DefaultMessage\x12\t*\x07\n\x05hello,"
with open(INPUT_FILE, "wb") as f:
write_with_lock(f, message_text)
@@ -233,9 +231,7 @@ def run():
time.sleep(3)
# Create a message inside an envelope and get the stub connection to pass it into the agent
- message_text = (
- b"my_agent,other_agent,fetchai/default:0.5.0,\x08\x01*\x07\n\x05hello,"
- )
+ message_text = b"my_agent,other_agent,fetchai/default:0.5.0,\x12H\x08\x01\x12\x011*A\n4type.googleapis.com/fetch.aea.Default.DefaultMessage\x12\t*\x07\n\x05hello,"
with open(INPUT_FILE, "wb") as f:
write_with_lock(f, message_text)
diff --git a/tests/test_docs/test_agent_vs_aea/agent_code_block.py b/tests/test_docs/test_agent_vs_aea/agent_code_block.py
index b449261244..6a466c72a1 100644
--- a/tests/test_docs/test_agent_vs_aea/agent_code_block.py
+++ b/tests/test_docs/test_agent_vs_aea/agent_code_block.py
@@ -101,9 +101,7 @@ def run():
time.sleep(3)
# Create a message inside an envelope and get the stub connection to pass it into the agent
- message_text = (
- b"my_agent,other_agent,fetchai/default:0.5.0,\x08\x01*\x07\n\x05hello,"
- )
+ message_text = b"my_agent,other_agent,fetchai/default:0.5.0,\x12H\x08\x01\x12\x011*A\n4type.googleapis.com/fetch.aea.Default.DefaultMessage\x12\t*\x07\n\x05hello,"
with open(INPUT_FILE, "wb") as f:
write_with_lock(f, message_text)
diff --git a/tests/test_docs/test_agent_vs_aea/test_agent_vs_aea.py b/tests/test_docs/test_agent_vs_aea/test_agent_vs_aea.py
index 9fe0f5dfad..ca8dcbd075 100644
--- a/tests/test_docs/test_agent_vs_aea/test_agent_vs_aea.py
+++ b/tests/test_docs/test_agent_vs_aea/test_agent_vs_aea.py
@@ -59,9 +59,7 @@ def test_run_agent(self):
run()
assert os.path.exists(Path(self.t, "input_file"))
- message_text = (
- b"other_agent,my_agent,fetchai/default:0.5.0,\x08\x01*\x07\n\x05hello,"
- )
+ message_text = b"other_agent,my_agent,fetchai/default:0.5.0,\x12H\x08\x01\x12\x011*A\n4type.googleapis.com/fetch.aea.Default.DefaultMessage\x12\t*\x07\n\x05hello,"
path = os.path.join(self.t, "output_file")
with open(path, "rb") as file:
msg = file.read()
From 13cb6b397e9701571ff19f28b661b0a9f7421232 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Tue, 1 Sep 2020 18:43:40 +0200
Subject: [PATCH 009/155] change proto package name in protocol generator
---
aea/protocols/default/default.proto | 2 +-
aea/protocols/default/default_pb2.py | 70 +++++------
aea/protocols/generator/base.py | 4 +-
scripts/generate_all_protocols.py | 171 +++++++++++++++++++++++++++
4 files changed, 209 insertions(+), 38 deletions(-)
create mode 100755 scripts/generate_all_protocols.py
diff --git a/aea/protocols/default/default.proto b/aea/protocols/default/default.proto
index e205482a5f..5d21b1d1bd 100644
--- a/aea/protocols/default/default.proto
+++ b/aea/protocols/default/default.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetch.aea.Default;
+package fetchai.aea.fetchai.default;
message DefaultMessage{
diff --git a/aea/protocols/default/default_pb2.py b/aea/protocols/default/default_pb2.py
index 532ee8b30e..c746bc5de1 100644
--- a/aea/protocols/default/default_pb2.py
+++ b/aea/protocols/default/default_pb2.py
@@ -16,18 +16,18 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="default.proto",
- package="fetch.aea.Default",
+ package="fetchai.aea.fetchai.default",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\rdefault.proto\x12\x11\x66\x65tch.aea.Default"\xa9\x05\n\x0e\x44\x65\x66\x61ultMessage\x12\x45\n\x05\x62ytes\x18\x05 \x01(\x0b\x32\x34.fetch.aea.Default.DefaultMessage.Bytes_PerformativeH\x00\x12\x45\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x34.fetch.aea.Default.DefaultMessage.Error_PerformativeH\x00\x1a\xdb\x01\n\tErrorCode\x12M\n\nerror_code\x18\x01 \x01(\x0e\x32\x39.fetch.aea.Default.DefaultMessage.ErrorCode.ErrorCodeEnum"\x7f\n\rErrorCodeEnum\x12\x18\n\x14UNSUPPORTED_PROTOCOL\x10\x00\x12\x12\n\x0e\x44\x45\x43ODING_ERROR\x10\x01\x12\x13\n\x0fINVALID_MESSAGE\x10\x02\x12\x15\n\x11UNSUPPORTED_SKILL\x10\x03\x12\x14\n\x10INVALID_DIALOGUE\x10\x04\x1a%\n\x12\x42ytes_Performative\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\x0c\x1a\xf3\x01\n\x12\x45rror_Performative\x12?\n\nerror_code\x18\x01 \x01(\x0b\x32+.fetch.aea.Default.DefaultMessage.ErrorCode\x12\x11\n\terror_msg\x18\x02 \x01(\t\x12W\n\nerror_data\x18\x03 \x03(\x0b\x32\x43.fetch.aea.Default.DefaultMessage.Error_Performative.ErrorDataEntry\x1a\x30\n\x0e\x45rrorDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x42\x0e\n\x0cperformativeb\x06proto3'
+ '\n\rdefault.proto\x12\x1b\x66\x65tchai.aea.fetchai.default"\xdb\x05\n\x0e\x44\x65\x66\x61ultMessage\x12O\n\x05\x62ytes\x18\x05 \x01(\x0b\x32>.fetchai.aea.fetchai.default.DefaultMessage.Bytes_PerformativeH\x00\x12O\n\x05\x65rror\x18\x06 \x01(\x0b\x32>.fetchai.aea.fetchai.default.DefaultMessage.Error_PerformativeH\x00\x1a\xe5\x01\n\tErrorCode\x12W\n\nerror_code\x18\x01 \x01(\x0e\x32\x43.fetchai.aea.fetchai.default.DefaultMessage.ErrorCode.ErrorCodeEnum"\x7f\n\rErrorCodeEnum\x12\x18\n\x14UNSUPPORTED_PROTOCOL\x10\x00\x12\x12\n\x0e\x44\x45\x43ODING_ERROR\x10\x01\x12\x13\n\x0fINVALID_MESSAGE\x10\x02\x12\x15\n\x11UNSUPPORTED_SKILL\x10\x03\x12\x14\n\x10INVALID_DIALOGUE\x10\x04\x1a%\n\x12\x42ytes_Performative\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\x0c\x1a\x87\x02\n\x12\x45rror_Performative\x12I\n\nerror_code\x18\x01 \x01(\x0b\x32\x35.fetchai.aea.fetchai.default.DefaultMessage.ErrorCode\x12\x11\n\terror_msg\x18\x02 \x01(\t\x12\x61\n\nerror_data\x18\x03 \x03(\x0b\x32M.fetchai.aea.fetchai.default.DefaultMessage.Error_Performative.ErrorDataEntry\x1a\x30\n\x0e\x45rrorDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x42\x0e\n\x0cperformativeb\x06proto3'
),
)
_DEFAULTMESSAGE_ERRORCODE_ERRORCODEENUM = _descriptor.EnumDescriptor(
name="ErrorCodeEnum",
- full_name="fetch.aea.Default.DefaultMessage.ErrorCode.ErrorCodeEnum",
+ full_name="fetchai.aea.fetchai.default.DefaultMessage.ErrorCode.ErrorCodeEnum",
filename=None,
file=DESCRIPTOR,
values=[
@@ -65,22 +65,22 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=290,
- serialized_end=417,
+ serialized_start=330,
+ serialized_end=457,
)
_sym_db.RegisterEnumDescriptor(_DEFAULTMESSAGE_ERRORCODE_ERRORCODEENUM)
_DEFAULTMESSAGE_ERRORCODE = _descriptor.Descriptor(
name="ErrorCode",
- full_name="fetch.aea.Default.DefaultMessage.ErrorCode",
+ full_name="fetchai.aea.fetchai.default.DefaultMessage.ErrorCode",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="error_code",
- full_name="fetch.aea.Default.DefaultMessage.ErrorCode.error_code",
+ full_name="fetchai.aea.fetchai.default.DefaultMessage.ErrorCode.error_code",
index=0,
number=1,
type=14,
@@ -105,20 +105,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=198,
- serialized_end=417,
+ serialized_start=228,
+ serialized_end=457,
)
_DEFAULTMESSAGE_BYTES_PERFORMATIVE = _descriptor.Descriptor(
name="Bytes_Performative",
- full_name="fetch.aea.Default.DefaultMessage.Bytes_Performative",
+ full_name="fetchai.aea.fetchai.default.DefaultMessage.Bytes_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content",
- full_name="fetch.aea.Default.DefaultMessage.Bytes_Performative.content",
+ full_name="fetchai.aea.fetchai.default.DefaultMessage.Bytes_Performative.content",
index=0,
number=1,
type=12,
@@ -143,20 +143,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=419,
- serialized_end=456,
+ serialized_start=459,
+ serialized_end=496,
)
_DEFAULTMESSAGE_ERROR_PERFORMATIVE_ERRORDATAENTRY = _descriptor.Descriptor(
name="ErrorDataEntry",
- full_name="fetch.aea.Default.DefaultMessage.Error_Performative.ErrorDataEntry",
+ full_name="fetchai.aea.fetchai.default.DefaultMessage.Error_Performative.ErrorDataEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Default.DefaultMessage.Error_Performative.ErrorDataEntry.key",
+ full_name="fetchai.aea.fetchai.default.DefaultMessage.Error_Performative.ErrorDataEntry.key",
index=0,
number=1,
type=9,
@@ -174,7 +174,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Default.DefaultMessage.Error_Performative.ErrorDataEntry.value",
+ full_name="fetchai.aea.fetchai.default.DefaultMessage.Error_Performative.ErrorDataEntry.value",
index=1,
number=2,
type=12,
@@ -199,20 +199,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=654,
- serialized_end=702,
+ serialized_start=714,
+ serialized_end=762,
)
_DEFAULTMESSAGE_ERROR_PERFORMATIVE = _descriptor.Descriptor(
name="Error_Performative",
- full_name="fetch.aea.Default.DefaultMessage.Error_Performative",
+ full_name="fetchai.aea.fetchai.default.DefaultMessage.Error_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="error_code",
- full_name="fetch.aea.Default.DefaultMessage.Error_Performative.error_code",
+ full_name="fetchai.aea.fetchai.default.DefaultMessage.Error_Performative.error_code",
index=0,
number=1,
type=11,
@@ -230,7 +230,7 @@
),
_descriptor.FieldDescriptor(
name="error_msg",
- full_name="fetch.aea.Default.DefaultMessage.Error_Performative.error_msg",
+ full_name="fetchai.aea.fetchai.default.DefaultMessage.Error_Performative.error_msg",
index=1,
number=2,
type=9,
@@ -248,7 +248,7 @@
),
_descriptor.FieldDescriptor(
name="error_data",
- full_name="fetch.aea.Default.DefaultMessage.Error_Performative.error_data",
+ full_name="fetchai.aea.fetchai.default.DefaultMessage.Error_Performative.error_data",
index=2,
number=3,
type=11,
@@ -273,20 +273,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=459,
- serialized_end=702,
+ serialized_start=499,
+ serialized_end=762,
)
_DEFAULTMESSAGE = _descriptor.Descriptor(
name="DefaultMessage",
- full_name="fetch.aea.Default.DefaultMessage",
+ full_name="fetchai.aea.fetchai.default.DefaultMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="bytes",
- full_name="fetch.aea.Default.DefaultMessage.bytes",
+ full_name="fetchai.aea.fetchai.default.DefaultMessage.bytes",
index=0,
number=5,
type=11,
@@ -304,7 +304,7 @@
),
_descriptor.FieldDescriptor(
name="error",
- full_name="fetch.aea.Default.DefaultMessage.error",
+ full_name="fetchai.aea.fetchai.default.DefaultMessage.error",
index=1,
number=6,
type=11,
@@ -335,14 +335,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetch.aea.Default.DefaultMessage.performative",
+ full_name="fetchai.aea.fetchai.default.DefaultMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=37,
- serialized_end=718,
+ serialized_start=47,
+ serialized_end=778,
)
_DEFAULTMESSAGE_ERRORCODE.fields_by_name[
@@ -392,7 +392,7 @@
dict(
DESCRIPTOR=_DEFAULTMESSAGE_ERRORCODE,
__module__="default_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Default.DefaultMessage.ErrorCode)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.default.DefaultMessage.ErrorCode)
),
),
Bytes_Performative=_reflection.GeneratedProtocolMessageType(
@@ -401,7 +401,7 @@
dict(
DESCRIPTOR=_DEFAULTMESSAGE_BYTES_PERFORMATIVE,
__module__="default_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Default.DefaultMessage.Bytes_Performative)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.default.DefaultMessage.Bytes_Performative)
),
),
Error_Performative=_reflection.GeneratedProtocolMessageType(
@@ -414,17 +414,17 @@
dict(
DESCRIPTOR=_DEFAULTMESSAGE_ERROR_PERFORMATIVE_ERRORDATAENTRY,
__module__="default_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Default.DefaultMessage.Error_Performative.ErrorDataEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.default.DefaultMessage.Error_Performative.ErrorDataEntry)
),
),
DESCRIPTOR=_DEFAULTMESSAGE_ERROR_PERFORMATIVE,
__module__="default_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Default.DefaultMessage.Error_Performative)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.default.DefaultMessage.Error_Performative)
),
),
DESCRIPTOR=_DEFAULTMESSAGE,
__module__="default_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Default.DefaultMessage)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.default.DefaultMessage)
),
)
_sym_db.RegisterMessage(DefaultMessage)
diff --git a/aea/protocols/generator/base.py b/aea/protocols/generator/base.py
index 0181d68759..d8175c40e4 100644
--- a/aea/protocols/generator/base.py
+++ b/aea/protocols/generator/base.py
@@ -1757,8 +1757,8 @@ def _protocol_buffer_schema_str(self) -> str:
# heading
proto_buff_schema_str = self.indent + 'syntax = "proto3";\n\n'
- proto_buff_schema_str += self.indent + "package fetch.aea.{};\n\n".format(
- self.protocol_specification_in_camel_case
+ proto_buff_schema_str += self.indent + "package fetchai.aea.{}.{};\n\n".format(
+ self.protocol_specification.author, self.protocol_specification.name
)
proto_buff_schema_str += self.indent + "message {}Message{{\n\n".format(
self.protocol_specification_in_camel_case
diff --git a/scripts/generate_all_protocols.py b/scripts/generate_all_protocols.py
new file mode 100755
index 0000000000..2b459da0fb
--- /dev/null
+++ b/scripts/generate_all_protocols.py
@@ -0,0 +1,171 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+# ------------------------------------------------------------------------------
+#
+# Copyright 2018-2019 Fetch.AI Limited
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ------------------------------------------------------------------------------
+
+"""
+This tool generates the API docs.
+"""
+
+import shutil
+import subprocess # nosec
+import sys
+from pathlib import Path
+
+DOCS_DIR = "docs/"
+MODULES_TO_PATH = {
+ "aea.aea": "api/aea.md",
+ "aea.aea_builder": "api/aea_builder.md",
+ "aea.agent": "api/agent.md",
+ "aea.agent_loop": "api/agent_loop.md",
+ "aea.launcher": "api/launcher.md",
+ "aea.multiplexer": "api/multiplexer.md",
+ "aea.runner": "api/runner.md",
+ "aea.runtime": "api/runtime.md",
+ "aea.components.base": "api/components/base.md",
+ "aea.components.loader": "api/components/loader.md",
+ "aea.configurations.base": "api/configurations/base.md",
+ "aea.configurations.constants": "api/configurations/constants.md",
+ "aea.configurations.loader": "api/configurations/loader.md",
+ "aea.connections.base": "api/connections/base.md",
+ "aea.connections.stub.connection": "api/connections/stub/connection.md",
+ "aea.context.base": "api/context/base.md",
+ "aea.contracts.base": "api/contracts/base.md",
+ "aea.crypto.base": "api/crypto/base.md",
+ "aea.crypto.cosmos": "api/crypto/cosmos.md",
+ "aea.crypto.ethereum": "api/crypto/ethereum.md",
+ "aea.crypto.fetchai": "api/crypto/fetchai.md",
+ "aea.crypto.helpers": "api/crypto/helpers.md",
+ "aea.crypto.ledger_apis": "api/crypto/ledger_apis.md",
+ "aea.crypto.wallet": "api/crypto/wallet.md",
+ "aea.crypto.registries.base": "api/crypto/registries/base.md",
+ "aea.decision_maker.base": "api/decision_maker/base.md",
+ "aea.decision_maker.default": "api/decision_maker/default.md",
+ "aea.helpers.ipfs.base": "api/helpers/ipfs/base.md",
+ "aea.helpers.preference_representations.base": "api/helpers/preference_representations/base.md",
+ "aea.helpers.search.generic": "api/helpers/search/generic.md",
+ "aea.helpers.search.models": "api/helpers/search/models.md",
+ "aea.helpers.transaction.base": "api/helpers/transaction/base.md",
+ "aea.helpers.async_friendly_queue": "api/helpers/async_friendly_queue.md",
+ "aea.helpers.async_utils": "api/helpers/async_utils.md",
+ "aea.helpers.base": "api/helpers/base.md",
+ "aea.helpers.exception_policy": "api/helpers/exception_policy.md",
+ "aea.helpers.exec_timeout": "api/helpers/exec_timeout.md",
+ "aea.helpers.file_lock": "api/helpers/file_lock.md",
+ "aea.helpers.logging": "api/helpers/logging.md",
+ "aea.helpers.multiple_executor": "api/helpers/multiple_executor.md",
+ "aea.helpers.pipe": "api/helpers/pipe.md",
+ "aea.helpers.pypi": "api/helpers/pypi.md",
+ "aea.helpers.win32": "api/helpers/win32.md",
+ "aea.identity.base": "api/identity/base.md",
+ "aea.mail.base": "api/mail/base.md",
+ "aea.protocols.base": "api/protocols/base.md",
+ "aea.protocols.dialogue.base": "api/helpers/dialogue/base.md",
+ "aea.protocols.generator.base": "api/protocols/generator/base.md",
+ "aea.protocols.generator.common": "api/protocols/generator/common.md",
+ "aea.protocols.generator.extract_specification": "api/protocols/generator/extract_specification.md",
+ "aea.protocols.generator.validate": "api/protocols/generator/validate.md",
+ "aea.protocols.default.custom_types": "api/protocols/default/custom_types.md",
+ "aea.protocols.default.dialogues": "api/protocols/default/dialogues.md",
+ "aea.protocols.default.message": "api/protocols/default/message.md",
+ "aea.protocols.default.serialization": "api/protocols/default/serialization.md",
+ "aea.protocols.signing.custom_types": "api/protocols/signing/custom_types.md",
+ "aea.protocols.signing.dialogues": "api/protocols/signing/dialogues.md",
+ "aea.protocols.signing.message": "api/protocols/signing/message.md",
+ "aea.protocols.signing.serialization": "api/protocols/signing/serialization.md",
+ "aea.protocols.state_update.dialogues": "api/protocols/state_update/dialogues.md",
+ "aea.protocols.state_update.message": "api/protocols/state_update/message.md",
+ "aea.protocols.state_update.serialization": "api/protocols/state_update/serialization.md",
+ "aea.registries.base": "api/registries/base.md",
+ "aea.registries.filter": "api/registries/filter.md",
+ "aea.registries.resources": "api/registries/resources.md",
+ "aea.skills.base": "api/skills/base.md",
+ "aea.skills.behaviours": "api/skills/behaviours.md",
+ "aea.skills.tasks": "api/skills/tasks.md",
+ "aea.skills.error.handlers": "api/skills/error/handlers.md",
+ "aea.test_tools.generic": "api/test_tools/generic.md",
+ "aea.test_tools.test_cases": "api/helpers/test_cases.md",
+}
+
+
+def create_subdir(path) -> None:
+ """
+ Create a subdirectory.
+
+ :param path: the directory path
+ """
+ directory = "/".join(path.split("/")[:-1])
+ Path(directory).mkdir(parents=True, exist_ok=True)
+
+
+def replace_underscores(text: str) -> str:
+ """
+ Replace escaped underscores in a text.
+
+ :return: the processed text
+ """
+ text_a = text.replace("\\_\\_", "`__`")
+ text_b = text_a.replace("\\_", "`_`")
+ return text_b
+
+
+def save_to_file(path: str, text: str) -> None:
+ """
+ Save to a file path.
+
+ :param path: the path
+ :param text: the text
+ :return: None
+ """
+ with open(path, "w") as f:
+ f.write(text)
+
+
+def generate_api_docs():
+ """Generate the api docs."""
+ for module, rel_path in MODULES_TO_PATH.items():
+ path = DOCS_DIR + rel_path
+ create_subdir(path)
+ pydoc = subprocess.Popen( # nosec
+ ["pydoc-markdown", "-m", module, "-I", "."], stdout=subprocess.PIPE
+ )
+ stdout, _ = pydoc.communicate()
+ pydoc.wait()
+ stdout_text = stdout.decode("utf-8")
+ text = replace_underscores(stdout_text)
+ save_to_file(path, text)
+
+
+def install(package: str) -> int:
+ """
+ Install a PyPI package by calling pip.
+
+ :param package: the package name and version specifier.
+ :return: the return code.
+ """
+ return subprocess.check_call( # nosec
+ [sys.executable, "-m", "pip", "install", package]
+ )
+
+
+if __name__ == "__main__":
+ res = shutil.which("pydoc-markdown")
+ if res is None:
+ install("pydoc-markdown==3.3.0")
+ sys.exit(1)
+ generate_api_docs()
From c5abeadab0b6caf2cfbe605aad00a40a93bc4257 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Tue, 1 Sep 2020 18:51:40 +0200
Subject: [PATCH 010/155] update IPFS hashes for default protocol
---
aea/protocols/default/protocol.yaml | 4 ++--
packages/hashes.csv | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/aea/protocols/default/protocol.yaml b/aea/protocols/default/protocol.yaml
index 420adfb7b5..9b90088ed4 100644
--- a/aea/protocols/default/protocol.yaml
+++ b/aea/protocols/default/protocol.yaml
@@ -9,8 +9,8 @@ fingerprint:
README.md: QmcoWaezoTDWvV749RJBNB7WmXCrNuqZpmGKSiUPPNBsGi
__init__.py: QmPMtKUrzVJp594VqNuapJzCesWLQ6Awjqv2ufG3wKNRmH
custom_types.py: QmRcgwDdTxkSHyfF9eoMtsb5P5GJDm4oyLq5W6ZBko1MFU
- default.proto: QmP9QG2c2nTWYxEMDeSS2JHUJ4b3KMEeoov1fWHZtcJ9wv
- default_pb2.py: QmbfLCqPe7XyJLpoeT87bG1KTBTRbmaNrPgU39DHQWgpgW
+ default.proto: QmUgEHG3L7M6ar7E4BDdTpUV8UWhbTbW2etFAk1FtDWuk1
+ default_pb2.py: QmWZGRz16egJBqQVNJ5sN5VEeTSoCq85eJEUqTPqn4caFQ
dialogues.py: Qmc991snbS7DwFxo1cKcq1rQ2uj7y8ukp14kfe2zve387C
message.py: QmeaadvKib9QqpjZgd7NiDUqGRpC2eZPVpgq1dY3PYacht
serialization.py: QmZVLCas8LRuE6SkzGGtb3TB5oSc1J2f7X4bJuxi8qyQ9i
diff --git a/packages/hashes.csv b/packages/hashes.csv
index 405d4425e6..52992c39b4 100644
--- a/packages/hashes.csv
+++ b/packages/hashes.csv
@@ -35,7 +35,7 @@ fetchai/connections/webhook,QmQJHzHQBF3USzHNiZ35thj5RNXYuFcQ78yxr3TS9gkQJo
fetchai/contracts/erc1155,QmRPpD2RSxgZfhtuiv4vRp6oP1uZ4nsECKrCkwmyUgzUpq
fetchai/contracts/scaffold,QmVfDLFc2Ly1iDe8Bd6D4SL28wjXZ4zMkuFA3gYWxbubXG
fetchai/protocols/contract_api,QmYxGJTnAEAApBNXqdxAd6hPPkgTvnwJAqCfoi1PWTfbF2
-fetchai/protocols/default,QmT6pQCt5nKCMVjmY7W9SShtSS5QBN2LfUdvX1ZdQBap5L
+fetchai/protocols/default,QmRnAnx686zf2LJG3GhHNQV1xTTf2fxxpHTULvKY9A9fDJ
fetchai/protocols/fipa,QmbxnVbH9AdsgU1Ye3SvSCjPxxwAH1kAGjeVBF9SFnjrb5
fetchai/protocols/gym,QmcoRdy2RTsXw5o7ASWVX5P34XuNMegCzGm9BjxAUXptBm
fetchai/protocols/http,QmPF2HHxGt6XGQ4SjhhefGR5VaQxZiGTFz6RK6Uay9f9xN
From ca534b0197b5ee87955fb55406d6e5e0c5d567cf Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Tue, 1 Sep 2020 23:59:21 +0200
Subject: [PATCH 011/155] avoid using google.protobuf.Any
it results in too much overhead with no relevant benefits;
Instead, we decided to use the type bytes for DialogueMessage.content field.
The result is that the dialogue fields act as message header,
whereas the actual performative content is serialized as bytes, in a
format specified by the protocol serialization layer.
This will give more flexibility for protocol implementations.
---
aea/mail/base.proto | 3 +-
aea/mail/base_pb2.py | 29 +-
aea/protocols/base.py | 6 +-
aea/protocols/default/protocol.yaml | 2 +-
aea/protocols/default/serialization.py | 4 +-
aea/protocols/generator/base.py | 9 +-
docs/agent-vs-aea.md | 4 +-
docs/build-aea-programmatically.md | 4 +-
packages/hashes.csv | 2 +-
scripts/generate_all_protocols.py | 153 +-----
tests/data/generator/t_protocol/protocol.yaml | 6 +-
.../generator/t_protocol/serialization.py | 4 +-
.../generator/t_protocol/t_protocol.proto | 2 +-
.../generator/t_protocol/t_protocol_pb2.py | 478 +++++++++---------
.../generator/t_protocol_no_ct/protocol.yaml | 6 +-
.../t_protocol_no_ct/serialization.py | 4 +-
.../t_protocol_no_ct/t_protocol_no_ct.proto | 2 +-
.../t_protocol_no_ct/t_protocol_no_ct_pb2.py | 424 ++++++++--------
.../test_agent_vs_aea/agent_code_block.py | 2 +-
.../test_agent_vs_aea/test_agent_vs_aea.py | 2 +-
.../programmatic_aea.py | 2 +-
.../test_programmatic_aea.py | 2 +-
.../test_generator/test_generator.py | 2 +-
23 files changed, 520 insertions(+), 632 deletions(-)
diff --git a/aea/mail/base.proto b/aea/mail/base.proto
index d9dc52dfec..ccc5153af9 100644
--- a/aea/mail/base.proto
+++ b/aea/mail/base.proto
@@ -2,7 +2,6 @@ syntax = "proto3";
package fetch.aea;
-import "google/protobuf/any.proto";
import "google/protobuf/struct.proto";
@@ -11,7 +10,7 @@ message DialogueMessage {
string dialogue_starter_reference = 2;
string dialogue_responder_reference = 3;
int32 target = 4;
- google.protobuf.Any content = 5;
+ bytes content = 5;
}
message Message {
diff --git a/aea/mail/base_pb2.py b/aea/mail/base_pb2.py
index 3017f52e4d..261ffb4f2d 100644
--- a/aea/mail/base_pb2.py
+++ b/aea/mail/base_pb2.py
@@ -14,7 +14,6 @@
_sym_db = _symbol_database.Default()
-from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
@@ -24,12 +23,9 @@
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\nbase.proto\x12\tfetch.aea\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto"\xa6\x01\n\x0f\x44ialogueMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12%\n\x07\x63ontent\x18\x05 \x01(\x0b\x32\x14.google.protobuf.Any"u\n\x07Message\x12\'\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12\x36\n\x10\x64ialogue_message\x18\x02 \x01(\x0b\x32\x1a.fetch.aea.DialogueMessageH\x00\x42\t\n\x07message"Y\n\x08\x45nvelope\x12\n\n\x02to\x18\x01 \x01(\t\x12\x0e\n\x06sender\x18\x02 \x01(\t\x12\x13\n\x0bprotocol_id\x18\x03 \x01(\t\x12\x0f\n\x07message\x18\x04 \x01(\x0c\x12\x0b\n\x03uri\x18\x05 \x01(\tb\x06proto3'
+ '\n\nbase.proto\x12\tfetch.aea\x1a\x1cgoogle/protobuf/struct.proto"\x90\x01\n\x0f\x44ialogueMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12\x0f\n\x07\x63ontent\x18\x05 \x01(\x0c"u\n\x07Message\x12\'\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12\x36\n\x10\x64ialogue_message\x18\x02 \x01(\x0b\x32\x1a.fetch.aea.DialogueMessageH\x00\x42\t\n\x07message"Y\n\x08\x45nvelope\x12\n\n\x02to\x18\x01 \x01(\t\x12\x0e\n\x06sender\x18\x02 \x01(\t\x12\x13\n\x0bprotocol_id\x18\x03 \x01(\t\x12\x0f\n\x07message\x18\x04 \x01(\x0c\x12\x0b\n\x03uri\x18\x05 \x01(\tb\x06proto3'
),
- dependencies=[
- google_dot_protobuf_dot_any__pb2.DESCRIPTOR,
- google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,
- ],
+ dependencies=[google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,],
)
@@ -117,11 +113,11 @@
full_name="fetch.aea.DialogueMessage.content",
index=4,
number=5,
- type=11,
- cpp_type=10,
+ type=12,
+ cpp_type=9,
label=1,
has_default_value=False,
- default_value=None,
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -139,8 +135,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=83,
- serialized_end=249,
+ serialized_start=56,
+ serialized_end=200,
)
@@ -204,8 +200,8 @@
fields=[],
),
],
- serialized_start=251,
- serialized_end=368,
+ serialized_start=202,
+ serialized_end=319,
)
@@ -315,13 +311,10 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=370,
- serialized_end=459,
+ serialized_start=321,
+ serialized_end=410,
)
-_DIALOGUEMESSAGE.fields_by_name[
- "content"
-].message_type = google_dot_protobuf_dot_any__pb2._ANY
_MESSAGE.fields_by_name[
"body"
].message_type = google_dot_protobuf_dot_struct__pb2._STRUCT
diff --git a/aea/protocols/base.py b/aea/protocols/base.py
index 64dbe41925..1c205ceb3a 100644
--- a/aea/protocols/base.py
+++ b/aea/protocols/base.py
@@ -295,7 +295,9 @@ def encode(msg: Message) -> bytes:
body_json = Struct()
body_json.update(new_body) # pylint: disable=no-member
- dialogue_message_pb.content.Pack(body_json) # pylint: disable=no-member
+ dialogue_message_pb.content = ( # pylint: disable=no-member
+ body_json.SerializeToString()
+ )
message_pb.dialogue_message.CopyFrom( # pylint: disable=no-member
dialogue_message_pb
)
@@ -332,7 +334,7 @@ def decode(obj: bytes) -> Message:
dialogue_message_pb.dialogue_responder_reference
)
body_json = Struct()
- dialogue_message_pb.content.Unpack(body_json)
+ body_json.ParseFromString(dialogue_message_pb.content)
body = dict(body_json)
body["message_id"] = message_id
body["target"] = target
diff --git a/aea/protocols/default/protocol.yaml b/aea/protocols/default/protocol.yaml
index 9b90088ed4..c3afbaf605 100644
--- a/aea/protocols/default/protocol.yaml
+++ b/aea/protocols/default/protocol.yaml
@@ -13,7 +13,7 @@ fingerprint:
default_pb2.py: QmWZGRz16egJBqQVNJ5sN5VEeTSoCq85eJEUqTPqn4caFQ
dialogues.py: Qmc991snbS7DwFxo1cKcq1rQ2uj7y8ukp14kfe2zve387C
message.py: QmeaadvKib9QqpjZgd7NiDUqGRpC2eZPVpgq1dY3PYacht
- serialization.py: QmZVLCas8LRuE6SkzGGtb3TB5oSc1J2f7X4bJuxi8qyQ9i
+ serialization.py: QmSXncJHmAzU957A4VSa72yz8H41xBiTLTFSr31NNhBkjQ
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/aea/protocols/default/serialization.py b/aea/protocols/default/serialization.py
index cf9a35a8bd..f91b875e99 100644
--- a/aea/protocols/default/serialization.py
+++ b/aea/protocols/default/serialization.py
@@ -69,7 +69,7 @@ def encode(msg: Message) -> bytes:
else:
raise ValueError("Performative not valid: {}".format(performative_id))
- dialogue_message_pb.content.Pack(default_msg)
+ dialogue_message_pb.content = default_msg.SerializeToString()
message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
message_bytes = message_pb.SerializeToString()
@@ -93,7 +93,7 @@ def decode(obj: bytes) -> Message:
)
target = message_pb.dialogue_message.target
- message_pb.dialogue_message.content.Unpack(default_pb)
+ default_pb.ParseFromString(message_pb.dialogue_message.content)
performative = default_pb.WhichOneof("performative")
performative_id = DefaultMessage.Performative(str(performative))
performative_content = dict() # type: Dict[str, Any]
diff --git a/aea/protocols/generator/base.py b/aea/protocols/generator/base.py
index d8175c40e4..e04094b8bf 100644
--- a/aea/protocols/generator/base.py
+++ b/aea/protocols/generator/base.py
@@ -1590,8 +1590,11 @@ def _serialization_class_str(self) -> str:
)
self._change_indent(-1)
- cls_str += self.indent + "dialogue_message_pb.content.Pack({}_msg)\n\n".format(
- self.protocol_specification.name,
+ cls_str += (
+ self.indent
+ + "dialogue_message_pb.content = {}_msg.SerializeToString()\n\n".format(
+ self.protocol_specification.name,
+ )
)
cls_str += (
self.indent + "message_pb.dialogue_message.CopyFrom(dialogue_message_pb)\n"
@@ -1628,7 +1631,7 @@ def _serialization_class_str(self) -> str:
cls_str += self.indent + "target = message_pb.dialogue_message.target\n\n"
cls_str += (
self.indent
- + "message_pb.dialogue_message.content.Unpack({}_pb)\n".format(
+ + "{}_pb.ParseFromString(message_pb.dialogue_message.content)\n".format(
self.protocol_specification.name
)
)
diff --git a/docs/agent-vs-aea.md b/docs/agent-vs-aea.md
index 8ccb2f760b..dc71f17e19 100644
--- a/docs/agent-vs-aea.md
+++ b/docs/agent-vs-aea.md
@@ -117,7 +117,7 @@ We run the agent from a different thread so that we can still use the main threa
We use the input and output text files to send an envelope to our agent and receive a response
``` python
# Create a message inside an envelope and get the stub connection to pass it into the agent
- message_text = b"my_agent,other_agent,fetchai/default:0.5.0,\x12H\x08\x01\x12\x011*A\n4type.googleapis.com/fetch.aea.Default.DefaultMessage\x12\t*\x07\n\x05hello,"
+ message_text = b"my_agent,other_agent,fetchai/default:0.5.0,\x12\x10\x08\x01\x12\x011*\t*\x07\n\x05hello,"
with open(INPUT_FILE, "wb") as f:
write_with_lock(f, message_text)
@@ -231,7 +231,7 @@ def run():
time.sleep(3)
# Create a message inside an envelope and get the stub connection to pass it into the agent
- message_text = b"my_agent,other_agent,fetchai/default:0.5.0,\x12H\x08\x01\x12\x011*A\n4type.googleapis.com/fetch.aea.Default.DefaultMessage\x12\t*\x07\n\x05hello,"
+ message_text = b"my_agent,other_agent,fetchai/default:0.5.0,\x12\x10\x08\x01\x12\x011*\t*\x07\n\x05hello,"
with open(INPUT_FILE, "wb") as f:
write_with_lock(f, message_text)
diff --git a/docs/build-aea-programmatically.md b/docs/build-aea-programmatically.md
index 2a75b6bebf..3515e188dc 100644
--- a/docs/build-aea-programmatically.md
+++ b/docs/build-aea-programmatically.md
@@ -121,7 +121,7 @@ We run the AEA from a different thread so that we can still use the main thread
We use the input and output text files to send an envelope to our AEA and receive a response (from the echo skill)
``` python
# Create a message inside an envelope and get the stub connection to pass it on to the echo skill
- message_text = b"my_aea,other_agent,fetchai/default:0.5.0,\x12H\x08\x01\x12\x011*A\n4type.googleapis.com/fetch.aea.Default.DefaultMessage\x12\t*\x07\n\x05hello,"
+ message_text = b"my_aea,other_agent,fetchai/default:0.5.0,\x12\x10\x08\x01\x12\x011*\t*\x07\n\x05hello,"
with open(INPUT_FILE, "wb") as f:
write_with_lock(f, message_text)
print(b"input message: " + message_text)
@@ -236,7 +236,7 @@ def run():
time.sleep(4)
# Create a message inside an envelope and get the stub connection to pass it on to the echo skill
- message_text = b"my_aea,other_agent,fetchai/default:0.5.0,\x12H\x08\x01\x12\x011*A\n4type.googleapis.com/fetch.aea.Default.DefaultMessage\x12\t*\x07\n\x05hello,"
+ message_text = b"my_aea,other_agent,fetchai/default:0.5.0,\x12\x10\x08\x01\x12\x011*\t*\x07\n\x05hello,"
with open(INPUT_FILE, "wb") as f:
write_with_lock(f, message_text)
print(b"input message: " + message_text)
diff --git a/packages/hashes.csv b/packages/hashes.csv
index 52992c39b4..1b0ab58f7f 100644
--- a/packages/hashes.csv
+++ b/packages/hashes.csv
@@ -35,7 +35,7 @@ fetchai/connections/webhook,QmQJHzHQBF3USzHNiZ35thj5RNXYuFcQ78yxr3TS9gkQJo
fetchai/contracts/erc1155,QmRPpD2RSxgZfhtuiv4vRp6oP1uZ4nsECKrCkwmyUgzUpq
fetchai/contracts/scaffold,QmVfDLFc2Ly1iDe8Bd6D4SL28wjXZ4zMkuFA3gYWxbubXG
fetchai/protocols/contract_api,QmYxGJTnAEAApBNXqdxAd6hPPkgTvnwJAqCfoi1PWTfbF2
-fetchai/protocols/default,QmRnAnx686zf2LJG3GhHNQV1xTTf2fxxpHTULvKY9A9fDJ
+fetchai/protocols/default,QmUEMSpVd4VVqUP2kFKZ2cSaF7REYEVj6TAFw3JsshdUZP
fetchai/protocols/fipa,QmbxnVbH9AdsgU1Ye3SvSCjPxxwAH1kAGjeVBF9SFnjrb5
fetchai/protocols/gym,QmcoRdy2RTsXw5o7ASWVX5P34XuNMegCzGm9BjxAUXptBm
fetchai/protocols/http,QmPF2HHxGt6XGQ4SjhhefGR5VaQxZiGTFz6RK6Uay9f9xN
diff --git a/scripts/generate_all_protocols.py b/scripts/generate_all_protocols.py
index 2b459da0fb..03efff5be7 100755
--- a/scripts/generate_all_protocols.py
+++ b/scripts/generate_all_protocols.py
@@ -19,136 +19,27 @@
# ------------------------------------------------------------------------------
"""
-This tool generates the API docs.
+This script takes all the protocol specification (scraped from the protocol README)
+and calls the `aea generate protocol` command.
"""
-
-import shutil
-import subprocess # nosec
+import subprocess
import sys
from pathlib import Path
-DOCS_DIR = "docs/"
-MODULES_TO_PATH = {
- "aea.aea": "api/aea.md",
- "aea.aea_builder": "api/aea_builder.md",
- "aea.agent": "api/agent.md",
- "aea.agent_loop": "api/agent_loop.md",
- "aea.launcher": "api/launcher.md",
- "aea.multiplexer": "api/multiplexer.md",
- "aea.runner": "api/runner.md",
- "aea.runtime": "api/runtime.md",
- "aea.components.base": "api/components/base.md",
- "aea.components.loader": "api/components/loader.md",
- "aea.configurations.base": "api/configurations/base.md",
- "aea.configurations.constants": "api/configurations/constants.md",
- "aea.configurations.loader": "api/configurations/loader.md",
- "aea.connections.base": "api/connections/base.md",
- "aea.connections.stub.connection": "api/connections/stub/connection.md",
- "aea.context.base": "api/context/base.md",
- "aea.contracts.base": "api/contracts/base.md",
- "aea.crypto.base": "api/crypto/base.md",
- "aea.crypto.cosmos": "api/crypto/cosmos.md",
- "aea.crypto.ethereum": "api/crypto/ethereum.md",
- "aea.crypto.fetchai": "api/crypto/fetchai.md",
- "aea.crypto.helpers": "api/crypto/helpers.md",
- "aea.crypto.ledger_apis": "api/crypto/ledger_apis.md",
- "aea.crypto.wallet": "api/crypto/wallet.md",
- "aea.crypto.registries.base": "api/crypto/registries/base.md",
- "aea.decision_maker.base": "api/decision_maker/base.md",
- "aea.decision_maker.default": "api/decision_maker/default.md",
- "aea.helpers.ipfs.base": "api/helpers/ipfs/base.md",
- "aea.helpers.preference_representations.base": "api/helpers/preference_representations/base.md",
- "aea.helpers.search.generic": "api/helpers/search/generic.md",
- "aea.helpers.search.models": "api/helpers/search/models.md",
- "aea.helpers.transaction.base": "api/helpers/transaction/base.md",
- "aea.helpers.async_friendly_queue": "api/helpers/async_friendly_queue.md",
- "aea.helpers.async_utils": "api/helpers/async_utils.md",
- "aea.helpers.base": "api/helpers/base.md",
- "aea.helpers.exception_policy": "api/helpers/exception_policy.md",
- "aea.helpers.exec_timeout": "api/helpers/exec_timeout.md",
- "aea.helpers.file_lock": "api/helpers/file_lock.md",
- "aea.helpers.logging": "api/helpers/logging.md",
- "aea.helpers.multiple_executor": "api/helpers/multiple_executor.md",
- "aea.helpers.pipe": "api/helpers/pipe.md",
- "aea.helpers.pypi": "api/helpers/pypi.md",
- "aea.helpers.win32": "api/helpers/win32.md",
- "aea.identity.base": "api/identity/base.md",
- "aea.mail.base": "api/mail/base.md",
- "aea.protocols.base": "api/protocols/base.md",
- "aea.protocols.dialogue.base": "api/helpers/dialogue/base.md",
- "aea.protocols.generator.base": "api/protocols/generator/base.md",
- "aea.protocols.generator.common": "api/protocols/generator/common.md",
- "aea.protocols.generator.extract_specification": "api/protocols/generator/extract_specification.md",
- "aea.protocols.generator.validate": "api/protocols/generator/validate.md",
- "aea.protocols.default.custom_types": "api/protocols/default/custom_types.md",
- "aea.protocols.default.dialogues": "api/protocols/default/dialogues.md",
- "aea.protocols.default.message": "api/protocols/default/message.md",
- "aea.protocols.default.serialization": "api/protocols/default/serialization.md",
- "aea.protocols.signing.custom_types": "api/protocols/signing/custom_types.md",
- "aea.protocols.signing.dialogues": "api/protocols/signing/dialogues.md",
- "aea.protocols.signing.message": "api/protocols/signing/message.md",
- "aea.protocols.signing.serialization": "api/protocols/signing/serialization.md",
- "aea.protocols.state_update.dialogues": "api/protocols/state_update/dialogues.md",
- "aea.protocols.state_update.message": "api/protocols/state_update/message.md",
- "aea.protocols.state_update.serialization": "api/protocols/state_update/serialization.md",
- "aea.registries.base": "api/registries/base.md",
- "aea.registries.filter": "api/registries/filter.md",
- "aea.registries.resources": "api/registries/resources.md",
- "aea.skills.base": "api/skills/base.md",
- "aea.skills.behaviours": "api/skills/behaviours.md",
- "aea.skills.tasks": "api/skills/tasks.md",
- "aea.skills.error.handlers": "api/skills/error/handlers.md",
- "aea.test_tools.generic": "api/test_tools/generic.md",
- "aea.test_tools.test_cases": "api/helpers/test_cases.md",
-}
-
-
-def create_subdir(path) -> None:
- """
- Create a subdirectory.
-
- :param path: the directory path
- """
- directory = "/".join(path.split("/")[:-1])
- Path(directory).mkdir(parents=True, exist_ok=True)
-
-def replace_underscores(text: str) -> str:
- """
- Replace escaped underscores in a text.
-
- :return: the processed text
- """
- text_a = text.replace("\\_\\_", "`__`")
- text_b = text_a.replace("\\_", "`_`")
- return text_b
-
-
-def save_to_file(path: str, text: str) -> None:
- """
- Save to a file path.
-
- :param path: the path
- :param text: the text
- :return: None
- """
- with open(path, "w") as f:
- f.write(text)
-
-
-def generate_api_docs():
- """Generate the api docs."""
- for module, rel_path in MODULES_TO_PATH.items():
- path = DOCS_DIR + rel_path
- create_subdir(path)
- pydoc = subprocess.Popen( # nosec
- ["pydoc-markdown", "-m", module, "-I", "."], stdout=subprocess.PIPE
- )
- stdout, _ = pydoc.communicate()
- pydoc.wait()
- stdout_text = stdout.decode("utf-8")
- text = replace_underscores(stdout_text)
- save_to_file(path, text)
+PROTOCOL_PACKAGES_PATH = [
+ Path("aea", "protocols", "default"),
+ Path("aea", "protocols", "signing"),
+ Path("aea", "protocols", "state_update"),
+ Path("packages", "fetchai", "protocols", "contract_api"),
+ Path("packages", "fetchai", "protocols", "fipa"),
+ Path("packages", "fetchai", "protocols", "gym"),
+ Path("packages", "fetchai", "protocols", "http"),
+ Path("packages", "fetchai", "protocols", "ledger_api"),
+ Path("packages", "fetchai", "protocols", "ml_trade"),
+ Path("packages", "fetchai", "protocols", "oef_search"),
+ Path("packages", "fetchai", "protocols", "tac"),
+]
def install(package: str) -> int:
@@ -159,13 +50,13 @@ def install(package: str) -> int:
:return: the return code.
"""
return subprocess.check_call( # nosec
- [sys.executable, "-m", "pip", "install", package]
+ [sys.executable, "-m", "aea", "generate", "protocol", package]
)
+def main():
+ """Run the script."""
+
+
if __name__ == "__main__":
- res = shutil.which("pydoc-markdown")
- if res is None:
- install("pydoc-markdown==3.3.0")
- sys.exit(1)
- generate_api_docs()
+ main()
diff --git a/tests/data/generator/t_protocol/protocol.yaml b/tests/data/generator/t_protocol/protocol.yaml
index a38e8c0214..ada18ae4d7 100644
--- a/tests/data/generator/t_protocol/protocol.yaml
+++ b/tests/data/generator/t_protocol/protocol.yaml
@@ -10,9 +10,9 @@ fingerprint:
custom_types.py: QmVboXL98TzRtreCRMrCF3U9xjRGRkGJjNgDBTAm5GXyLq
dialogues.py: QmVUoaW4CNgjZNy6PzmQrSYTCdeWQERsQR5maXhD9cd6HF
message.py: QmS3NcTMgbDx1ZkXkzwfiML26LU9FPfgjg2XznpL8wueQR
- serialization.py: QmZEWNPf4xV45vgNYMoEpuybyVAg7dkTo2jDjUqN6VVvS7
- t_protocol.proto: Qmc1JYbXiPNGQGL2Sj5FJm4VEZho87Nor3aa4Q29ymj5fs
- t_protocol_pb2.py: QmcEHyEAQPacC8YzAWv93p5mhEdyHUGaN93rifBmo8GqL9
+ serialization.py: QmXHxombhGXKfMNhpvs2SKmXVbRac1gvn4m2hxsiGyRJKs
+ t_protocol.proto: QmXpZUUnMQ2JJtg3ZEFfec86HtpTyD85qN8xCnJWgrVq5J
+ t_protocol_pb2.py: QmR6ZXkZ2yiYLWWPnS1CdT3Tv59MXdpy6fg8GsKDAmqZFK
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/tests/data/generator/t_protocol/serialization.py b/tests/data/generator/t_protocol/serialization.py
index 5d4574dfe4..0b2281fb52 100644
--- a/tests/data/generator/t_protocol/serialization.py
+++ b/tests/data/generator/t_protocol/serialization.py
@@ -278,7 +278,7 @@ def encode(msg: Message) -> bytes:
else:
raise ValueError("Performative not valid: {}".format(performative_id))
- dialogue_message_pb.content.Pack(t_protocol_msg)
+ dialogue_message_pb.content = t_protocol_msg.SerializeToString()
message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
message_bytes = message_pb.SerializeToString()
@@ -302,7 +302,7 @@ def decode(obj: bytes) -> Message:
)
target = message_pb.dialogue_message.target
- message_pb.dialogue_message.content.Unpack(t_protocol_pb)
+ t_protocol_pb.ParseFromString(message_pb.dialogue_message.content)
performative = t_protocol_pb.WhichOneof("performative")
performative_id = TProtocolMessage.Performative(str(performative))
performative_content = dict() # type: Dict[str, Any]
diff --git a/tests/data/generator/t_protocol/t_protocol.proto b/tests/data/generator/t_protocol/t_protocol.proto
index f977c2fb72..50dd27992d 100644
--- a/tests/data/generator/t_protocol/t_protocol.proto
+++ b/tests/data/generator/t_protocol/t_protocol.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetch.aea.TProtocol;
+package fetchai.aea.fetchai.t_protocol;
message TProtocolMessage{
diff --git a/tests/data/generator/t_protocol/t_protocol_pb2.py b/tests/data/generator/t_protocol/t_protocol_pb2.py
index 9b4f4e62b4..5e0ece150b 100644
--- a/tests/data/generator/t_protocol/t_protocol_pb2.py
+++ b/tests/data/generator/t_protocol/t_protocol_pb2.py
@@ -16,25 +16,25 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="t_protocol.proto",
- package="fetch.aea.TProtocol",
+ package="fetchai.aea.fetchai.t_protocol",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\x10t_protocol.proto\x12\x13\x66\x65tch.aea.TProtocol"\xbd\x32\n\x10TProtocolMessage\x12]\n\x0fperformative_ct\x18\x05 \x01(\x0b\x32\x42.fetch.aea.TProtocol.TProtocolMessage.Performative_Ct_PerformativeH\x00\x12u\n\x1bperformative_empty_contents\x18\x06 \x01(\x0b\x32N.fetch.aea.TProtocol.TProtocolMessage.Performative_Empty_Contents_PerformativeH\x00\x12]\n\x0fperformative_mt\x18\x07 \x01(\x0b\x32\x42.fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_PerformativeH\x00\x12[\n\x0eperformative_o\x18\x08 \x01(\x0b\x32\x41.fetch.aea.TProtocol.TProtocolMessage.Performative_O_PerformativeH\x00\x12_\n\x10performative_pct\x18\t \x01(\x0b\x32\x43.fetch.aea.TProtocol.TProtocolMessage.Performative_Pct_PerformativeH\x00\x12_\n\x10performative_pmt\x18\n \x01(\x0b\x32\x43.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_PerformativeH\x00\x12]\n\x0fperformative_pt\x18\x0b \x01(\x0b\x32\x42.fetch.aea.TProtocol.TProtocolMessage.Performative_Pt_PerformativeH\x00\x1a\x9c\x02\n\tDataModel\x12\x13\n\x0b\x62ytes_field\x18\x01 \x01(\x0c\x12\x11\n\tint_field\x18\x02 \x01(\x05\x12\x13\n\x0b\x66loat_field\x18\x03 \x01(\x02\x12\x12\n\nbool_field\x18\x04 \x01(\x08\x12\x11\n\tstr_field\x18\x05 \x01(\t\x12\x11\n\tset_field\x18\x06 \x03(\x05\x12\x12\n\nlist_field\x18\x07 \x03(\t\x12R\n\ndict_field\x18\x08 \x03(\x0b\x32>.fetch.aea.TProtocol.TProtocolMessage.DataModel.DictFieldEntry\x1a\x30\n\x0e\x44ictFieldEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x63\n\x1cPerformative_Ct_Performative\x12\x43\n\ncontent_ct\x18\x01 \x01(\x0b\x32/.fetch.aea.TProtocol.TProtocolMessage.DataModel\x1a\x8c\x01\n\x1cPerformative_Pt_Performative\x12\x15\n\rcontent_bytes\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ontent_int\x18\x02 \x01(\x05\x12\x15\n\rcontent_float\x18\x03 \x01(\x02\x12\x14\n\x0c\x63ontent_bool\x18\x04 \x01(\x08\x12\x13\n\x0b\x63ontent_str\x18\x05 \x01(\t\x1a\xa8\x02\n\x1dPerformative_Pct_Performative\x12\x19\n\x11\x63ontent_set_bytes\x18\x01 \x03(\x0c\x12\x17\n\x0f\x63ontent_set_int\x18\x02 \x03(\x05\x12\x19\n\x11\x63ontent_set_float\x18\x03 \x03(\x02\x12\x18\n\x10\x63ontent_set_bool\x18\x04 \x03(\x08\x12\x17\n\x0f\x63ontent_set_str\x18\x05 \x03(\t\x12\x1a\n\x12\x63ontent_list_bytes\x18\x06 \x03(\x0c\x12\x18\n\x10\x63ontent_list_int\x18\x07 \x03(\x05\x12\x1a\n\x12\x63ontent_list_float\x18\x08 \x03(\x02\x12\x19\n\x11\x63ontent_list_bool\x18\t \x03(\x08\x12\x18\n\x10\x63ontent_list_str\x18\n \x03(\t\x1a\xe7\x15\n\x1dPerformative_Pmt_Performative\x12|\n\x16\x63ontent_dict_int_bytes\x18\x01 \x03(\x0b\x32\\.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry\x12x\n\x14\x63ontent_dict_int_int\x18\x02 \x03(\x0b\x32Z.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry\x12|\n\x16\x63ontent_dict_int_float\x18\x03 \x03(\x0b\x32\\.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry\x12z\n\x15\x63ontent_dict_int_bool\x18\x04 \x03(\x0b\x32[.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry\x12x\n\x14\x63ontent_dict_int_str\x18\x05 \x03(\x0b\x32Z.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry\x12~\n\x17\x63ontent_dict_bool_bytes\x18\x06 \x03(\x0b\x32].fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry\x12z\n\x15\x63ontent_dict_bool_int\x18\x07 \x03(\x0b\x32[.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry\x12~\n\x17\x63ontent_dict_bool_float\x18\x08 \x03(\x0b\x32].fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry\x12|\n\x16\x63ontent_dict_bool_bool\x18\t \x03(\x0b\x32\\.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry\x12z\n\x15\x63ontent_dict_bool_str\x18\n \x03(\x0b\x32[.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry\x12|\n\x16\x63ontent_dict_str_bytes\x18\x0b \x03(\x0b\x32\\.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry\x12x\n\x14\x63ontent_dict_str_int\x18\x0c \x03(\x0b\x32Z.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry\x12|\n\x16\x63ontent_dict_str_float\x18\r \x03(\x0b\x32\\.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry\x12z\n\x15\x63ontent_dict_str_bool\x18\x0e \x03(\x0b\x32[.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry\x12x\n\x14\x63ontent_dict_str_str\x18\x0f \x03(\x0b\x32Z.fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry\x1a:\n\x18\x43ontentDictIntBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictIntBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a:\n\x18\x43ontentDictBoolBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictStrBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xf9\x0b\n\x1cPerformative_Mt_Performative\x12W\n\x1e\x63ontent_union_1_type_DataModel\x18\x01 \x01(\x0b\x32/.fetch.aea.TProtocol.TProtocolMessage.DataModel\x12"\n\x1a\x63ontent_union_1_type_bytes\x18\x02 \x01(\x0c\x12 \n\x18\x63ontent_union_1_type_int\x18\x03 \x01(\x05\x12"\n\x1a\x63ontent_union_1_type_float\x18\x04 \x01(\x02\x12!\n\x19\x63ontent_union_1_type_bool\x18\x05 \x01(\x08\x12 \n\x18\x63ontent_union_1_type_str\x18\x06 \x01(\t\x12\'\n\x1f\x63ontent_union_1_type_set_of_int\x18\x07 \x03(\x05\x12)\n!content_union_1_type_list_of_bool\x18\x08 \x03(\x08\x12\x93\x01\n$content_union_1_type_dict_of_str_int\x18\t \x03(\x0b\x32\x65.fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry\x12)\n!content_union_2_type_set_of_bytes\x18\n \x03(\x0c\x12\'\n\x1f\x63ontent_union_2_type_set_of_int\x18\x0b \x03(\x05\x12\'\n\x1f\x63ontent_union_2_type_set_of_str\x18\x0c \x03(\t\x12*\n"content_union_2_type_list_of_float\x18\r \x03(\x02\x12)\n!content_union_2_type_list_of_bool\x18\x0e \x03(\x08\x12*\n"content_union_2_type_list_of_bytes\x18\x0f \x03(\x0c\x12\x93\x01\n$content_union_2_type_dict_of_str_int\x18\x10 \x03(\x0b\x32\x65.fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry\x12\x97\x01\n&content_union_2_type_dict_of_int_float\x18\x11 \x03(\x0b\x32g.fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry\x12\x99\x01\n\'content_union_2_type_dict_of_bool_bytes\x18\x12 \x03(\x0b\x32h.fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry\x1a\x44\n"ContentUnion1TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x44\n"ContentUnion2TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x46\n$ContentUnion2TypeDictOfIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1aG\n%ContentUnion2TypeDictOfBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x95\x04\n\x1bPerformative_O_Performative\x12\x45\n\x0c\x63ontent_o_ct\x18\x01 \x01(\x0b\x32/.fetch.aea.TProtocol.TProtocolMessage.DataModel\x12\x1b\n\x13\x63ontent_o_ct_is_set\x18\x02 \x01(\x08\x12\x16\n\x0e\x63ontent_o_bool\x18\x03 \x01(\x08\x12\x1d\n\x15\x63ontent_o_bool_is_set\x18\x04 \x01(\x08\x12\x19\n\x11\x63ontent_o_set_int\x18\x05 \x03(\x05\x12 \n\x18\x63ontent_o_set_int_is_set\x18\x06 \x01(\x08\x12\x1c\n\x14\x63ontent_o_list_bytes\x18\x07 \x03(\x0c\x12#\n\x1b\x63ontent_o_list_bytes_is_set\x18\x08 \x01(\x08\x12y\n\x16\x63ontent_o_dict_str_int\x18\t \x03(\x0b\x32Y.fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry\x12%\n\x1d\x63ontent_o_dict_str_int_is_set\x18\n \x01(\x08\x1a\x39\n\x17\x43ontentODictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a*\n(Performative_Empty_Contents_PerformativeB\x0e\n\x0cperformativeb\x06proto3'
+ '\n\x10t_protocol.proto\x12\x1e\x66\x65tchai.aea.fetchai.t_protocol"\xa3\x35\n\x10TProtocolMessage\x12h\n\x0fperformative_ct\x18\x05 \x01(\x0b\x32M.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Ct_PerformativeH\x00\x12\x80\x01\n\x1bperformative_empty_contents\x18\x06 \x01(\x0b\x32Y.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Empty_Contents_PerformativeH\x00\x12h\n\x0fperformative_mt\x18\x07 \x01(\x0b\x32M.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_PerformativeH\x00\x12\x66\n\x0eperformative_o\x18\x08 \x01(\x0b\x32L.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_PerformativeH\x00\x12j\n\x10performative_pct\x18\t \x01(\x0b\x32N.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_PerformativeH\x00\x12j\n\x10performative_pmt\x18\n \x01(\x0b\x32N.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_PerformativeH\x00\x12h\n\x0fperformative_pt\x18\x0b \x01(\x0b\x32M.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_PerformativeH\x00\x1a\xa7\x02\n\tDataModel\x12\x13\n\x0b\x62ytes_field\x18\x01 \x01(\x0c\x12\x11\n\tint_field\x18\x02 \x01(\x05\x12\x13\n\x0b\x66loat_field\x18\x03 \x01(\x02\x12\x12\n\nbool_field\x18\x04 \x01(\x08\x12\x11\n\tstr_field\x18\x05 \x01(\t\x12\x11\n\tset_field\x18\x06 \x03(\x05\x12\x12\n\nlist_field\x18\x07 \x03(\t\x12]\n\ndict_field\x18\x08 \x03(\x0b\x32I.fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.DictFieldEntry\x1a\x30\n\x0e\x44ictFieldEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1an\n\x1cPerformative_Ct_Performative\x12N\n\ncontent_ct\x18\x01 \x01(\x0b\x32:.fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel\x1a\x8c\x01\n\x1cPerformative_Pt_Performative\x12\x15\n\rcontent_bytes\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ontent_int\x18\x02 \x01(\x05\x12\x15\n\rcontent_float\x18\x03 \x01(\x02\x12\x14\n\x0c\x63ontent_bool\x18\x04 \x01(\x08\x12\x13\n\x0b\x63ontent_str\x18\x05 \x01(\t\x1a\xa8\x02\n\x1dPerformative_Pct_Performative\x12\x19\n\x11\x63ontent_set_bytes\x18\x01 \x03(\x0c\x12\x17\n\x0f\x63ontent_set_int\x18\x02 \x03(\x05\x12\x19\n\x11\x63ontent_set_float\x18\x03 \x03(\x02\x12\x18\n\x10\x63ontent_set_bool\x18\x04 \x03(\x08\x12\x17\n\x0f\x63ontent_set_str\x18\x05 \x03(\t\x12\x1a\n\x12\x63ontent_list_bytes\x18\x06 \x03(\x0c\x12\x18\n\x10\x63ontent_list_int\x18\x07 \x03(\x05\x12\x1a\n\x12\x63ontent_list_float\x18\x08 \x03(\x02\x12\x19\n\x11\x63ontent_list_bool\x18\t \x03(\x08\x12\x18\n\x10\x63ontent_list_str\x18\n \x03(\t\x1a\x9b\x17\n\x1dPerformative_Pmt_Performative\x12\x87\x01\n\x16\x63ontent_dict_int_bytes\x18\x01 \x03(\x0b\x32g.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry\x12\x83\x01\n\x14\x63ontent_dict_int_int\x18\x02 \x03(\x0b\x32\x65.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry\x12\x87\x01\n\x16\x63ontent_dict_int_float\x18\x03 \x03(\x0b\x32g.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry\x12\x85\x01\n\x15\x63ontent_dict_int_bool\x18\x04 \x03(\x0b\x32\x66.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry\x12\x83\x01\n\x14\x63ontent_dict_int_str\x18\x05 \x03(\x0b\x32\x65.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry\x12\x89\x01\n\x17\x63ontent_dict_bool_bytes\x18\x06 \x03(\x0b\x32h.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry\x12\x85\x01\n\x15\x63ontent_dict_bool_int\x18\x07 \x03(\x0b\x32\x66.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry\x12\x89\x01\n\x17\x63ontent_dict_bool_float\x18\x08 \x03(\x0b\x32h.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry\x12\x87\x01\n\x16\x63ontent_dict_bool_bool\x18\t \x03(\x0b\x32g.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry\x12\x85\x01\n\x15\x63ontent_dict_bool_str\x18\n \x03(\x0b\x32\x66.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry\x12\x87\x01\n\x16\x63ontent_dict_str_bytes\x18\x0b \x03(\x0b\x32g.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry\x12\x83\x01\n\x14\x63ontent_dict_str_int\x18\x0c \x03(\x0b\x32\x65.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry\x12\x87\x01\n\x16\x63ontent_dict_str_float\x18\r \x03(\x0b\x32g.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry\x12\x85\x01\n\x15\x63ontent_dict_str_bool\x18\x0e \x03(\x0b\x32\x66.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry\x12\x83\x01\n\x14\x63ontent_dict_str_str\x18\x0f \x03(\x0b\x32\x65.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry\x1a:\n\x18\x43ontentDictIntBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictIntBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a:\n\x18\x43ontentDictBoolBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictStrBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xb0\x0c\n\x1cPerformative_Mt_Performative\x12\x62\n\x1e\x63ontent_union_1_type_DataModel\x18\x01 \x01(\x0b\x32:.fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel\x12"\n\x1a\x63ontent_union_1_type_bytes\x18\x02 \x01(\x0c\x12 \n\x18\x63ontent_union_1_type_int\x18\x03 \x01(\x05\x12"\n\x1a\x63ontent_union_1_type_float\x18\x04 \x01(\x02\x12!\n\x19\x63ontent_union_1_type_bool\x18\x05 \x01(\x08\x12 \n\x18\x63ontent_union_1_type_str\x18\x06 \x01(\t\x12\'\n\x1f\x63ontent_union_1_type_set_of_int\x18\x07 \x03(\x05\x12)\n!content_union_1_type_list_of_bool\x18\x08 \x03(\x08\x12\x9e\x01\n$content_union_1_type_dict_of_str_int\x18\t \x03(\x0b\x32p.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry\x12)\n!content_union_2_type_set_of_bytes\x18\n \x03(\x0c\x12\'\n\x1f\x63ontent_union_2_type_set_of_int\x18\x0b \x03(\x05\x12\'\n\x1f\x63ontent_union_2_type_set_of_str\x18\x0c \x03(\t\x12*\n"content_union_2_type_list_of_float\x18\r \x03(\x02\x12)\n!content_union_2_type_list_of_bool\x18\x0e \x03(\x08\x12*\n"content_union_2_type_list_of_bytes\x18\x0f \x03(\x0c\x12\x9e\x01\n$content_union_2_type_dict_of_str_int\x18\x10 \x03(\x0b\x32p.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry\x12\xa2\x01\n&content_union_2_type_dict_of_int_float\x18\x11 \x03(\x0b\x32r.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry\x12\xa4\x01\n\'content_union_2_type_dict_of_bool_bytes\x18\x12 \x03(\x0b\x32s.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry\x1a\x44\n"ContentUnion1TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x44\n"ContentUnion2TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x46\n$ContentUnion2TypeDictOfIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1aG\n%ContentUnion2TypeDictOfBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\xac\x04\n\x1bPerformative_O_Performative\x12P\n\x0c\x63ontent_o_ct\x18\x01 \x01(\x0b\x32:.fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel\x12\x1b\n\x13\x63ontent_o_ct_is_set\x18\x02 \x01(\x08\x12\x16\n\x0e\x63ontent_o_bool\x18\x03 \x01(\x08\x12\x1d\n\x15\x63ontent_o_bool_is_set\x18\x04 \x01(\x08\x12\x19\n\x11\x63ontent_o_set_int\x18\x05 \x03(\x05\x12 \n\x18\x63ontent_o_set_int_is_set\x18\x06 \x01(\x08\x12\x1c\n\x14\x63ontent_o_list_bytes\x18\x07 \x03(\x0c\x12#\n\x1b\x63ontent_o_list_bytes_is_set\x18\x08 \x01(\x08\x12\x84\x01\n\x16\x63ontent_o_dict_str_int\x18\t \x03(\x0b\x32\x64.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry\x12%\n\x1d\x63ontent_o_dict_str_int_is_set\x18\n \x01(\x08\x1a\x39\n\x17\x43ontentODictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a*\n(Performative_Empty_Contents_PerformativeB\x0e\n\x0cperformativeb\x06proto3'
),
)
_TPROTOCOLMESSAGE_DATAMODEL_DICTFIELDENTRY = _descriptor.Descriptor(
name="DictFieldEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.DataModel.DictFieldEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.DictFieldEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.DataModel.DictFieldEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.DictFieldEntry.key",
index=0,
number=1,
type=5,
@@ -52,7 +52,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.DataModel.DictFieldEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.DictFieldEntry.value",
index=1,
number=2,
type=8,
@@ -77,20 +77,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=990,
- serialized_end=1038,
+ serialized_start=1090,
+ serialized_end=1138,
)
_TPROTOCOLMESSAGE_DATAMODEL = _descriptor.Descriptor(
name="DataModel",
- full_name="fetch.aea.TProtocol.TProtocolMessage.DataModel",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="bytes_field",
- full_name="fetch.aea.TProtocol.TProtocolMessage.DataModel.bytes_field",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.bytes_field",
index=0,
number=1,
type=12,
@@ -108,7 +108,7 @@
),
_descriptor.FieldDescriptor(
name="int_field",
- full_name="fetch.aea.TProtocol.TProtocolMessage.DataModel.int_field",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.int_field",
index=1,
number=2,
type=5,
@@ -126,7 +126,7 @@
),
_descriptor.FieldDescriptor(
name="float_field",
- full_name="fetch.aea.TProtocol.TProtocolMessage.DataModel.float_field",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.float_field",
index=2,
number=3,
type=2,
@@ -144,7 +144,7 @@
),
_descriptor.FieldDescriptor(
name="bool_field",
- full_name="fetch.aea.TProtocol.TProtocolMessage.DataModel.bool_field",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.bool_field",
index=3,
number=4,
type=8,
@@ -162,7 +162,7 @@
),
_descriptor.FieldDescriptor(
name="str_field",
- full_name="fetch.aea.TProtocol.TProtocolMessage.DataModel.str_field",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.str_field",
index=4,
number=5,
type=9,
@@ -180,7 +180,7 @@
),
_descriptor.FieldDescriptor(
name="set_field",
- full_name="fetch.aea.TProtocol.TProtocolMessage.DataModel.set_field",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.set_field",
index=5,
number=6,
type=5,
@@ -198,7 +198,7 @@
),
_descriptor.FieldDescriptor(
name="list_field",
- full_name="fetch.aea.TProtocol.TProtocolMessage.DataModel.list_field",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.list_field",
index=6,
number=7,
type=9,
@@ -216,7 +216,7 @@
),
_descriptor.FieldDescriptor(
name="dict_field",
- full_name="fetch.aea.TProtocol.TProtocolMessage.DataModel.dict_field",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.dict_field",
index=7,
number=8,
type=11,
@@ -241,20 +241,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=754,
- serialized_end=1038,
+ serialized_start=843,
+ serialized_end=1138,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_CT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Ct_Performative",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Ct_Performative",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Ct_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_ct",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Ct_Performative.content_ct",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Ct_Performative.content_ct",
index=0,
number=1,
type=11,
@@ -279,20 +279,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1040,
- serialized_end=1139,
+ serialized_start=1140,
+ serialized_end=1250,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Pt_Performative",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pt_Performative",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_bytes",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pt_Performative.content_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative.content_bytes",
index=0,
number=1,
type=12,
@@ -310,7 +310,7 @@
),
_descriptor.FieldDescriptor(
name="content_int",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pt_Performative.content_int",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative.content_int",
index=1,
number=2,
type=5,
@@ -328,7 +328,7 @@
),
_descriptor.FieldDescriptor(
name="content_float",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pt_Performative.content_float",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative.content_float",
index=2,
number=3,
type=2,
@@ -346,7 +346,7 @@
),
_descriptor.FieldDescriptor(
name="content_bool",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pt_Performative.content_bool",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative.content_bool",
index=3,
number=4,
type=8,
@@ -364,7 +364,7 @@
),
_descriptor.FieldDescriptor(
name="content_str",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pt_Performative.content_str",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative.content_str",
index=4,
number=5,
type=9,
@@ -389,20 +389,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1142,
- serialized_end=1282,
+ serialized_start=1253,
+ serialized_end=1393,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PCT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Pct_Performative",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pct_Performative",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_set_bytes",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pct_Performative.content_set_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_set_bytes",
index=0,
number=1,
type=12,
@@ -420,7 +420,7 @@
),
_descriptor.FieldDescriptor(
name="content_set_int",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pct_Performative.content_set_int",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_set_int",
index=1,
number=2,
type=5,
@@ -438,7 +438,7 @@
),
_descriptor.FieldDescriptor(
name="content_set_float",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pct_Performative.content_set_float",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_set_float",
index=2,
number=3,
type=2,
@@ -456,7 +456,7 @@
),
_descriptor.FieldDescriptor(
name="content_set_bool",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pct_Performative.content_set_bool",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_set_bool",
index=3,
number=4,
type=8,
@@ -474,7 +474,7 @@
),
_descriptor.FieldDescriptor(
name="content_set_str",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pct_Performative.content_set_str",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_set_str",
index=4,
number=5,
type=9,
@@ -492,7 +492,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_bytes",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pct_Performative.content_list_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_list_bytes",
index=5,
number=6,
type=12,
@@ -510,7 +510,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_int",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pct_Performative.content_list_int",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_list_int",
index=6,
number=7,
type=5,
@@ -528,7 +528,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_float",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pct_Performative.content_list_float",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_list_float",
index=7,
number=8,
type=2,
@@ -546,7 +546,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_bool",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pct_Performative.content_list_bool",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_list_bool",
index=8,
number=9,
type=8,
@@ -564,7 +564,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_str",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pct_Performative.content_list_str",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_list_str",
index=9,
number=10,
type=9,
@@ -589,20 +589,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1285,
- serialized_end=1581,
+ serialized_start=1396,
+ serialized_end=1692,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBYTESENTRY = _descriptor.Descriptor(
name="ContentDictIntBytesEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry.key",
index=0,
number=1,
type=5,
@@ -620,7 +620,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry.value",
index=1,
number=2,
type=12,
@@ -645,20 +645,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3487,
- serialized_end=3545,
+ serialized_start=3778,
+ serialized_end=3836,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTINTENTRY = _descriptor.Descriptor(
name="ContentDictIntIntEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry.key",
index=0,
number=1,
type=5,
@@ -676,7 +676,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry.value",
index=1,
number=2,
type=5,
@@ -701,20 +701,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3547,
- serialized_end=3603,
+ serialized_start=3838,
+ serialized_end=3894,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTFLOATENTRY = _descriptor.Descriptor(
name="ContentDictIntFloatEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry.key",
index=0,
number=1,
type=5,
@@ -732,7 +732,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry.value",
index=1,
number=2,
type=2,
@@ -757,20 +757,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3605,
- serialized_end=3663,
+ serialized_start=3896,
+ serialized_end=3954,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBOOLENTRY = _descriptor.Descriptor(
name="ContentDictIntBoolEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry.key",
index=0,
number=1,
type=5,
@@ -788,7 +788,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry.value",
index=1,
number=2,
type=8,
@@ -813,20 +813,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3665,
- serialized_end=3722,
+ serialized_start=3956,
+ serialized_end=4013,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTSTRENTRY = _descriptor.Descriptor(
name="ContentDictIntStrEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry.key",
index=0,
number=1,
type=5,
@@ -844,7 +844,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry.value",
index=1,
number=2,
type=9,
@@ -869,20 +869,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3724,
- serialized_end=3780,
+ serialized_start=4015,
+ serialized_end=4071,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBYTESENTRY = _descriptor.Descriptor(
name="ContentDictBoolBytesEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry.key",
index=0,
number=1,
type=8,
@@ -900,7 +900,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry.value",
index=1,
number=2,
type=12,
@@ -925,20 +925,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3782,
- serialized_end=3841,
+ serialized_start=4073,
+ serialized_end=4132,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLINTENTRY = _descriptor.Descriptor(
name="ContentDictBoolIntEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry.key",
index=0,
number=1,
type=8,
@@ -956,7 +956,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry.value",
index=1,
number=2,
type=5,
@@ -981,20 +981,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3843,
- serialized_end=3900,
+ serialized_start=4134,
+ serialized_end=4191,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLFLOATENTRY = _descriptor.Descriptor(
name="ContentDictBoolFloatEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry.key",
index=0,
number=1,
type=8,
@@ -1012,7 +1012,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry.value",
index=1,
number=2,
type=2,
@@ -1037,20 +1037,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3902,
- serialized_end=3961,
+ serialized_start=4193,
+ serialized_end=4252,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBOOLENTRY = _descriptor.Descriptor(
name="ContentDictBoolBoolEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry.key",
index=0,
number=1,
type=8,
@@ -1068,7 +1068,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry.value",
index=1,
number=2,
type=8,
@@ -1093,20 +1093,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3963,
- serialized_end=4021,
+ serialized_start=4254,
+ serialized_end=4312,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLSTRENTRY = _descriptor.Descriptor(
name="ContentDictBoolStrEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry.key",
index=0,
number=1,
type=8,
@@ -1124,7 +1124,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry.value",
index=1,
number=2,
type=9,
@@ -1149,20 +1149,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4023,
- serialized_end=4080,
+ serialized_start=4314,
+ serialized_end=4371,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBYTESENTRY = _descriptor.Descriptor(
name="ContentDictStrBytesEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry.key",
index=0,
number=1,
type=9,
@@ -1180,7 +1180,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry.value",
index=1,
number=2,
type=12,
@@ -1205,20 +1205,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4082,
- serialized_end=4140,
+ serialized_start=4373,
+ serialized_end=4431,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRINTENTRY = _descriptor.Descriptor(
name="ContentDictStrIntEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry.key",
index=0,
number=1,
type=9,
@@ -1236,7 +1236,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry.value",
index=1,
number=2,
type=5,
@@ -1261,20 +1261,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4142,
- serialized_end=4198,
+ serialized_start=4433,
+ serialized_end=4489,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRFLOATENTRY = _descriptor.Descriptor(
name="ContentDictStrFloatEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry.key",
index=0,
number=1,
type=9,
@@ -1292,7 +1292,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry.value",
index=1,
number=2,
type=2,
@@ -1317,20 +1317,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4200,
- serialized_end=4258,
+ serialized_start=4491,
+ serialized_end=4549,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBOOLENTRY = _descriptor.Descriptor(
name="ContentDictStrBoolEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry.key",
index=0,
number=1,
type=9,
@@ -1348,7 +1348,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry.value",
index=1,
number=2,
type=8,
@@ -1373,20 +1373,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4260,
- serialized_end=4317,
+ serialized_start=4551,
+ serialized_end=4608,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRSTRENTRY = _descriptor.Descriptor(
name="ContentDictStrStrEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry.key",
index=0,
number=1,
type=9,
@@ -1404,7 +1404,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry.value",
index=1,
number=2,
type=9,
@@ -1429,20 +1429,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4319,
- serialized_end=4375,
+ serialized_start=4610,
+ serialized_end=4666,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Pmt_Performative",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_dict_int_bytes",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_bytes",
index=0,
number=1,
type=11,
@@ -1460,7 +1460,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_int_int",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_int",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_int",
index=1,
number=2,
type=11,
@@ -1478,7 +1478,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_int_float",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_float",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_float",
index=2,
number=3,
type=11,
@@ -1496,7 +1496,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_int_bool",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_bool",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_bool",
index=3,
number=4,
type=11,
@@ -1514,7 +1514,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_int_str",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_str",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_str",
index=4,
number=5,
type=11,
@@ -1532,7 +1532,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_bytes",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_bytes",
index=5,
number=6,
type=11,
@@ -1550,7 +1550,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_int",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_int",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_int",
index=6,
number=7,
type=11,
@@ -1568,7 +1568,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_float",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_float",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_float",
index=7,
number=8,
type=11,
@@ -1586,7 +1586,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_bool",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_bool",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_bool",
index=8,
number=9,
type=11,
@@ -1604,7 +1604,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_str",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_str",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_str",
index=9,
number=10,
type=11,
@@ -1622,7 +1622,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_bytes",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_bytes",
index=10,
number=11,
type=11,
@@ -1640,7 +1640,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_int",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_int",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_int",
index=11,
number=12,
type=11,
@@ -1658,7 +1658,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_float",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_float",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_float",
index=12,
number=13,
type=11,
@@ -1676,7 +1676,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_bool",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_bool",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_bool",
index=13,
number=14,
type=11,
@@ -1694,7 +1694,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_str",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_str",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_str",
index=14,
number=15,
type=11,
@@ -1735,20 +1735,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1584,
- serialized_end=4375,
+ serialized_start=1695,
+ serialized_end=4666,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION1TYPEDICTOFSTRINTENTRY = _descriptor.Descriptor(
name="ContentUnion1TypeDictOfStrIntEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry.key",
index=0,
number=1,
type=9,
@@ -1766,7 +1766,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry.value",
index=1,
number=2,
type=5,
@@ -1791,20 +1791,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5624,
- serialized_end=5692,
+ serialized_start=5970,
+ serialized_end=6038,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFSTRINTENTRY = _descriptor.Descriptor(
name="ContentUnion2TypeDictOfStrIntEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry.key",
index=0,
number=1,
type=9,
@@ -1822,7 +1822,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry.value",
index=1,
number=2,
type=5,
@@ -1847,20 +1847,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5694,
- serialized_end=5762,
+ serialized_start=6040,
+ serialized_end=6108,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFINTFLOATENTRY = _descriptor.Descriptor(
name="ContentUnion2TypeDictOfIntFloatEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry.key",
index=0,
number=1,
type=5,
@@ -1878,7 +1878,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry.value",
index=1,
number=2,
type=2,
@@ -1903,20 +1903,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5764,
- serialized_end=5834,
+ serialized_start=6110,
+ serialized_end=6180,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFBOOLBYTESENTRY = _descriptor.Descriptor(
name="ContentUnion2TypeDictOfBoolBytesEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry.key",
index=0,
number=1,
type=8,
@@ -1934,7 +1934,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry.value",
index=1,
number=2,
type=12,
@@ -1959,20 +1959,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5836,
- serialized_end=5907,
+ serialized_start=6182,
+ serialized_end=6253,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Mt_Performative",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_union_1_type_DataModel",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_DataModel",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_DataModel",
index=0,
number=1,
type=11,
@@ -1990,7 +1990,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_bytes",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_bytes",
index=1,
number=2,
type=12,
@@ -2008,7 +2008,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_int",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_int",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_int",
index=2,
number=3,
type=5,
@@ -2026,7 +2026,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_float",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_float",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_float",
index=3,
number=4,
type=2,
@@ -2044,7 +2044,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_bool",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_bool",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_bool",
index=4,
number=5,
type=8,
@@ -2062,7 +2062,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_str",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_str",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_str",
index=5,
number=6,
type=9,
@@ -2080,7 +2080,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_set_of_int",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_set_of_int",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_set_of_int",
index=6,
number=7,
type=5,
@@ -2098,7 +2098,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_list_of_bool",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_list_of_bool",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_list_of_bool",
index=7,
number=8,
type=8,
@@ -2116,7 +2116,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_dict_of_str_int",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_dict_of_str_int",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_dict_of_str_int",
index=8,
number=9,
type=11,
@@ -2134,7 +2134,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_set_of_bytes",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_set_of_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_set_of_bytes",
index=9,
number=10,
type=12,
@@ -2152,7 +2152,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_set_of_int",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_set_of_int",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_set_of_int",
index=10,
number=11,
type=5,
@@ -2170,7 +2170,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_set_of_str",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_set_of_str",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_set_of_str",
index=11,
number=12,
type=9,
@@ -2188,7 +2188,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_list_of_float",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_list_of_float",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_list_of_float",
index=12,
number=13,
type=2,
@@ -2206,7 +2206,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_list_of_bool",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_list_of_bool",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_list_of_bool",
index=13,
number=14,
type=8,
@@ -2224,7 +2224,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_list_of_bytes",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_list_of_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_list_of_bytes",
index=14,
number=15,
type=12,
@@ -2242,7 +2242,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_dict_of_str_int",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_dict_of_str_int",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_dict_of_str_int",
index=15,
number=16,
type=11,
@@ -2260,7 +2260,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_dict_of_int_float",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_dict_of_int_float",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_dict_of_int_float",
index=16,
number=17,
type=11,
@@ -2278,7 +2278,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_dict_of_bool_bytes",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_dict_of_bool_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_dict_of_bool_bytes",
index=17,
number=18,
type=11,
@@ -2308,20 +2308,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4378,
- serialized_end=5907,
+ serialized_start=4669,
+ serialized_end=6253,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_O_PERFORMATIVE_CONTENTODICTSTRINTENTRY = _descriptor.Descriptor(
name="ContentODictStrIntEntry",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry.key",
index=0,
number=1,
type=9,
@@ -2339,7 +2339,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry.value",
index=1,
number=2,
type=5,
@@ -2364,20 +2364,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6386,
- serialized_end=6443,
+ serialized_start=6755,
+ serialized_end=6812,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_O_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_O_Performative",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_o_ct",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.content_o_ct",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_ct",
index=0,
number=1,
type=11,
@@ -2395,7 +2395,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_ct_is_set",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.content_o_ct_is_set",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_ct_is_set",
index=1,
number=2,
type=8,
@@ -2413,7 +2413,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_bool",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.content_o_bool",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_bool",
index=2,
number=3,
type=8,
@@ -2431,7 +2431,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_bool_is_set",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.content_o_bool_is_set",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_bool_is_set",
index=3,
number=4,
type=8,
@@ -2449,7 +2449,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_set_int",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.content_o_set_int",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_set_int",
index=4,
number=5,
type=5,
@@ -2467,7 +2467,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_set_int_is_set",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.content_o_set_int_is_set",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_set_int_is_set",
index=5,
number=6,
type=8,
@@ -2485,7 +2485,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_list_bytes",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.content_o_list_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_list_bytes",
index=6,
number=7,
type=12,
@@ -2503,7 +2503,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_list_bytes_is_set",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.content_o_list_bytes_is_set",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_list_bytes_is_set",
index=7,
number=8,
type=8,
@@ -2521,7 +2521,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_dict_str_int",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.content_o_dict_str_int",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_dict_str_int",
index=8,
number=9,
type=11,
@@ -2539,7 +2539,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_dict_str_int_is_set",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.content_o_dict_str_int_is_set",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_dict_str_int_is_set",
index=9,
number=10,
type=8,
@@ -2566,13 +2566,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5910,
- serialized_end=6443,
+ serialized_start=6256,
+ serialized_end=6812,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_EMPTY_CONTENTS_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Empty_Contents_Performative",
- full_name="fetch.aea.TProtocol.TProtocolMessage.Performative_Empty_Contents_Performative",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Empty_Contents_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -2585,20 +2585,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6445,
- serialized_end=6487,
+ serialized_start=6814,
+ serialized_end=6856,
)
_TPROTOCOLMESSAGE = _descriptor.Descriptor(
name="TProtocolMessage",
- full_name="fetch.aea.TProtocol.TProtocolMessage",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="performative_ct",
- full_name="fetch.aea.TProtocol.TProtocolMessage.performative_ct",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.performative_ct",
index=0,
number=5,
type=11,
@@ -2616,7 +2616,7 @@
),
_descriptor.FieldDescriptor(
name="performative_empty_contents",
- full_name="fetch.aea.TProtocol.TProtocolMessage.performative_empty_contents",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.performative_empty_contents",
index=1,
number=6,
type=11,
@@ -2634,7 +2634,7 @@
),
_descriptor.FieldDescriptor(
name="performative_mt",
- full_name="fetch.aea.TProtocol.TProtocolMessage.performative_mt",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.performative_mt",
index=2,
number=7,
type=11,
@@ -2652,7 +2652,7 @@
),
_descriptor.FieldDescriptor(
name="performative_o",
- full_name="fetch.aea.TProtocol.TProtocolMessage.performative_o",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.performative_o",
index=3,
number=8,
type=11,
@@ -2670,7 +2670,7 @@
),
_descriptor.FieldDescriptor(
name="performative_pct",
- full_name="fetch.aea.TProtocol.TProtocolMessage.performative_pct",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.performative_pct",
index=4,
number=9,
type=11,
@@ -2688,7 +2688,7 @@
),
_descriptor.FieldDescriptor(
name="performative_pmt",
- full_name="fetch.aea.TProtocol.TProtocolMessage.performative_pmt",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.performative_pmt",
index=5,
number=10,
type=11,
@@ -2706,7 +2706,7 @@
),
_descriptor.FieldDescriptor(
name="performative_pt",
- full_name="fetch.aea.TProtocol.TProtocolMessage.performative_pt",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.performative_pt",
index=6,
number=11,
type=11,
@@ -2742,14 +2742,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetch.aea.TProtocol.TProtocolMessage.performative",
+ full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=42,
- serialized_end=6503,
+ serialized_start=53,
+ serialized_end=6872,
)
_TPROTOCOLMESSAGE_DATAMODEL_DICTFIELDENTRY.containing_type = _TPROTOCOLMESSAGE_DATAMODEL
@@ -2997,12 +2997,12 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_DATAMODEL_DICTFIELDENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.DataModel.DictFieldEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.DictFieldEntry)
),
),
DESCRIPTOR=_TPROTOCOLMESSAGE_DATAMODEL,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.DataModel)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel)
),
),
Performative_Ct_Performative=_reflection.GeneratedProtocolMessageType(
@@ -3011,7 +3011,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_CT_PERFORMATIVE,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Ct_Performative)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Ct_Performative)
),
),
Performative_Pt_Performative=_reflection.GeneratedProtocolMessageType(
@@ -3020,7 +3020,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PT_PERFORMATIVE,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pt_Performative)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative)
),
),
Performative_Pct_Performative=_reflection.GeneratedProtocolMessageType(
@@ -3029,7 +3029,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PCT_PERFORMATIVE,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pct_Performative)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative)
),
),
Performative_Pmt_Performative=_reflection.GeneratedProtocolMessageType(
@@ -3042,7 +3042,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBYTESENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry)
),
),
ContentDictIntIntEntry=_reflection.GeneratedProtocolMessageType(
@@ -3051,7 +3051,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTINTENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry)
),
),
ContentDictIntFloatEntry=_reflection.GeneratedProtocolMessageType(
@@ -3060,7 +3060,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTFLOATENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry)
),
),
ContentDictIntBoolEntry=_reflection.GeneratedProtocolMessageType(
@@ -3069,7 +3069,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBOOLENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry)
),
),
ContentDictIntStrEntry=_reflection.GeneratedProtocolMessageType(
@@ -3078,7 +3078,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTSTRENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry)
),
),
ContentDictBoolBytesEntry=_reflection.GeneratedProtocolMessageType(
@@ -3087,7 +3087,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBYTESENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry)
),
),
ContentDictBoolIntEntry=_reflection.GeneratedProtocolMessageType(
@@ -3096,7 +3096,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLINTENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry)
),
),
ContentDictBoolFloatEntry=_reflection.GeneratedProtocolMessageType(
@@ -3105,7 +3105,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLFLOATENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry)
),
),
ContentDictBoolBoolEntry=_reflection.GeneratedProtocolMessageType(
@@ -3114,7 +3114,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBOOLENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry)
),
),
ContentDictBoolStrEntry=_reflection.GeneratedProtocolMessageType(
@@ -3123,7 +3123,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLSTRENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry)
),
),
ContentDictStrBytesEntry=_reflection.GeneratedProtocolMessageType(
@@ -3132,7 +3132,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBYTESENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry)
),
),
ContentDictStrIntEntry=_reflection.GeneratedProtocolMessageType(
@@ -3141,7 +3141,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRINTENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry)
),
),
ContentDictStrFloatEntry=_reflection.GeneratedProtocolMessageType(
@@ -3150,7 +3150,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRFLOATENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry)
),
),
ContentDictStrBoolEntry=_reflection.GeneratedProtocolMessageType(
@@ -3159,7 +3159,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBOOLENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry)
),
),
ContentDictStrStrEntry=_reflection.GeneratedProtocolMessageType(
@@ -3168,12 +3168,12 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRSTRENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry)
),
),
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Pmt_Performative)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative)
),
),
Performative_Mt_Performative=_reflection.GeneratedProtocolMessageType(
@@ -3186,7 +3186,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION1TYPEDICTOFSTRINTENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry)
),
),
ContentUnion2TypeDictOfStrIntEntry=_reflection.GeneratedProtocolMessageType(
@@ -3195,7 +3195,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFSTRINTENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry)
),
),
ContentUnion2TypeDictOfIntFloatEntry=_reflection.GeneratedProtocolMessageType(
@@ -3204,7 +3204,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFINTFLOATENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry)
),
),
ContentUnion2TypeDictOfBoolBytesEntry=_reflection.GeneratedProtocolMessageType(
@@ -3213,12 +3213,12 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFBOOLBYTESENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry)
),
),
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Mt_Performative)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative)
),
),
Performative_O_Performative=_reflection.GeneratedProtocolMessageType(
@@ -3231,12 +3231,12 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_O_PERFORMATIVE_CONTENTODICTSTRINTENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry)
),
),
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_O_PERFORMATIVE,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_O_Performative)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative)
),
),
Performative_Empty_Contents_Performative=_reflection.GeneratedProtocolMessageType(
@@ -3245,12 +3245,12 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_EMPTY_CONTENTS_PERFORMATIVE,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage.Performative_Empty_Contents_Performative)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Empty_Contents_Performative)
),
),
DESCRIPTOR=_TPROTOCOLMESSAGE,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocol.TProtocolMessage)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage)
),
)
_sym_db.RegisterMessage(TProtocolMessage)
diff --git a/tests/data/generator/t_protocol_no_ct/protocol.yaml b/tests/data/generator/t_protocol_no_ct/protocol.yaml
index b00452fdca..cc03962623 100644
--- a/tests/data/generator/t_protocol_no_ct/protocol.yaml
+++ b/tests/data/generator/t_protocol_no_ct/protocol.yaml
@@ -9,9 +9,9 @@ fingerprint:
__init__.py: QmRGHGRoZHGCXQ29v3q93Nt6J5TuhggYvUvZoQfrM6c3yp
dialogues.py: QmUjFTMYk2C69dcYfsKorTQWJbaUGEz8orCQnkZtFbR6Je
message.py: Qma11dAGwWr3oYSWAmRrwLJj9mLvyLVD66svTyHwU3HVNB
- serialization.py: QmdxfZeYT1zo1oUgomEJwuZ6ttFodRXdYhaWBfzFhMrgBN
- t_protocol_no_ct.proto: QmcQtSHEVK25h5s1MN5RkCrRGhHqbRmMvTjhgZNMk9tdUe
- t_protocol_no_ct_pb2.py: QmfU5AaVARTUi8gmhShNZk23LcA6Qp2AY2ysy39LM32eLq
+ serialization.py: QmUvPmEbmg34A4XKCba3H2QFSdviUzEWMsBUNdJg4pysKD
+ t_protocol_no_ct.proto: QmUsW7bFZ3Ru3p6VSkAQekEhdYKcH2cxiSez291YxZ2kQ9
+ t_protocol_no_ct_pb2.py: Qmb8Z6BoyZabtBkwdwKxCf9F5igPcp3faEirorkHDeis2g
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/tests/data/generator/t_protocol_no_ct/serialization.py b/tests/data/generator/t_protocol_no_ct/serialization.py
index b2c5289df3..1008802eba 100644
--- a/tests/data/generator/t_protocol_no_ct/serialization.py
+++ b/tests/data/generator/t_protocol_no_ct/serialization.py
@@ -262,7 +262,7 @@ def encode(msg: Message) -> bytes:
else:
raise ValueError("Performative not valid: {}".format(performative_id))
- dialogue_message_pb.content.Pack(t_protocol_no_ct_msg)
+ dialogue_message_pb.content = t_protocol_no_ct_msg.SerializeToString()
message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
message_bytes = message_pb.SerializeToString()
@@ -286,7 +286,7 @@ def decode(obj: bytes) -> Message:
)
target = message_pb.dialogue_message.target
- message_pb.dialogue_message.content.Unpack(t_protocol_no_ct_pb)
+ t_protocol_no_ct_pb.ParseFromString(message_pb.dialogue_message.content)
performative = t_protocol_no_ct_pb.WhichOneof("performative")
performative_id = TProtocolNoCtMessage.Performative(str(performative))
performative_content = dict() # type: Dict[str, Any]
diff --git a/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct.proto b/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct.proto
index a0e83c267f..f393c099bf 100644
--- a/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct.proto
+++ b/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetch.aea.TProtocolNoCt;
+package fetchai.aea.fetchai.t_protocol_no_ct;
message TProtocolNoCtMessage{
diff --git a/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct_pb2.py b/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct_pb2.py
index 7f229bd662..2cb124f14f 100644
--- a/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct_pb2.py
+++ b/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct_pb2.py
@@ -16,25 +16,25 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="t_protocol_no_ct.proto",
- package="fetch.aea.TProtocolNoCt",
+ package="fetchai.aea.fetchai.t_protocol_no_ct",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\x16t_protocol_no_ct.proto\x12\x17\x66\x65tch.aea.TProtocolNoCt"\x81/\n\x14TProtocolNoCtMessage\x12}\n\x1bperformative_empty_contents\x18\x05 \x01(\x0b\x32V.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Empty_Contents_PerformativeH\x00\x12\x65\n\x0fperformative_mt\x18\x06 \x01(\x0b\x32J.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_PerformativeH\x00\x12\x63\n\x0eperformative_o\x18\x07 \x01(\x0b\x32I.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_PerformativeH\x00\x12g\n\x10performative_pct\x18\x08 \x01(\x0b\x32K.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pct_PerformativeH\x00\x12g\n\x10performative_pmt\x18\t \x01(\x0b\x32K.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_PerformativeH\x00\x12\x65\n\x0fperformative_pt\x18\n \x01(\x0b\x32J.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pt_PerformativeH\x00\x1a\x8c\x01\n\x1cPerformative_Pt_Performative\x12\x15\n\rcontent_bytes\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ontent_int\x18\x02 \x01(\x05\x12\x15\n\rcontent_float\x18\x03 \x01(\x02\x12\x14\n\x0c\x63ontent_bool\x18\x04 \x01(\x08\x12\x13\n\x0b\x63ontent_str\x18\x05 \x01(\t\x1a\xa8\x02\n\x1dPerformative_Pct_Performative\x12\x19\n\x11\x63ontent_set_bytes\x18\x01 \x03(\x0c\x12\x17\n\x0f\x63ontent_set_int\x18\x02 \x03(\x05\x12\x19\n\x11\x63ontent_set_float\x18\x03 \x03(\x02\x12\x18\n\x10\x63ontent_set_bool\x18\x04 \x03(\x08\x12\x17\n\x0f\x63ontent_set_str\x18\x05 \x03(\t\x12\x1a\n\x12\x63ontent_list_bytes\x18\x06 \x03(\x0c\x12\x18\n\x10\x63ontent_list_int\x18\x07 \x03(\x05\x12\x1a\n\x12\x63ontent_list_float\x18\x08 \x03(\x02\x12\x19\n\x11\x63ontent_list_bool\x18\t \x03(\x08\x12\x18\n\x10\x63ontent_list_str\x18\n \x03(\t\x1a\xee\x16\n\x1dPerformative_Pmt_Performative\x12\x84\x01\n\x16\x63ontent_dict_int_bytes\x18\x01 \x03(\x0b\x32\x64.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry\x12\x80\x01\n\x14\x63ontent_dict_int_int\x18\x02 \x03(\x0b\x32\x62.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry\x12\x84\x01\n\x16\x63ontent_dict_int_float\x18\x03 \x03(\x0b\x32\x64.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry\x12\x82\x01\n\x15\x63ontent_dict_int_bool\x18\x04 \x03(\x0b\x32\x63.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry\x12\x80\x01\n\x14\x63ontent_dict_int_str\x18\x05 \x03(\x0b\x32\x62.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry\x12\x86\x01\n\x17\x63ontent_dict_bool_bytes\x18\x06 \x03(\x0b\x32\x65.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry\x12\x82\x01\n\x15\x63ontent_dict_bool_int\x18\x07 \x03(\x0b\x32\x63.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry\x12\x86\x01\n\x17\x63ontent_dict_bool_float\x18\x08 \x03(\x0b\x32\x65.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry\x12\x84\x01\n\x16\x63ontent_dict_bool_bool\x18\t \x03(\x0b\x32\x64.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry\x12\x82\x01\n\x15\x63ontent_dict_bool_str\x18\n \x03(\x0b\x32\x63.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry\x12\x84\x01\n\x16\x63ontent_dict_str_bytes\x18\x0b \x03(\x0b\x32\x64.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry\x12\x80\x01\n\x14\x63ontent_dict_str_int\x18\x0c \x03(\x0b\x32\x62.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry\x12\x84\x01\n\x16\x63ontent_dict_str_float\x18\r \x03(\x0b\x32\x64.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry\x12\x82\x01\n\x15\x63ontent_dict_str_bool\x18\x0e \x03(\x0b\x32\x63.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry\x12\x80\x01\n\x14\x63ontent_dict_str_str\x18\x0f \x03(\x0b\x32\x62.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry\x1a:\n\x18\x43ontentDictIntBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictIntBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a:\n\x18\x43ontentDictBoolBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictStrBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xc0\x0b\n\x1cPerformative_Mt_Performative\x12"\n\x1a\x63ontent_union_1_type_bytes\x18\x01 \x01(\x0c\x12 \n\x18\x63ontent_union_1_type_int\x18\x02 \x01(\x05\x12"\n\x1a\x63ontent_union_1_type_float\x18\x03 \x01(\x02\x12!\n\x19\x63ontent_union_1_type_bool\x18\x04 \x01(\x08\x12 \n\x18\x63ontent_union_1_type_str\x18\x05 \x01(\t\x12\'\n\x1f\x63ontent_union_1_type_set_of_int\x18\x06 \x03(\x05\x12)\n!content_union_1_type_list_of_bool\x18\x07 \x03(\x08\x12\x9b\x01\n$content_union_1_type_dict_of_str_int\x18\x08 \x03(\x0b\x32m.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry\x12)\n!content_union_2_type_set_of_bytes\x18\t \x03(\x0c\x12\'\n\x1f\x63ontent_union_2_type_set_of_int\x18\n \x03(\x05\x12\'\n\x1f\x63ontent_union_2_type_set_of_str\x18\x0b \x03(\t\x12*\n"content_union_2_type_list_of_float\x18\x0c \x03(\x02\x12)\n!content_union_2_type_list_of_bool\x18\r \x03(\x08\x12*\n"content_union_2_type_list_of_bytes\x18\x0e \x03(\x0c\x12\x9b\x01\n$content_union_2_type_dict_of_str_int\x18\x0f \x03(\x0b\x32m.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry\x12\x9f\x01\n&content_union_2_type_dict_of_int_float\x18\x10 \x03(\x0b\x32o.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry\x12\xa1\x01\n\'content_union_2_type_dict_of_bool_bytes\x18\x11 \x03(\x0b\x32p.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry\x1a\x44\n"ContentUnion1TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x44\n"ContentUnion2TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x46\n$ContentUnion2TypeDictOfIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1aG\n%ContentUnion2TypeDictOfBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\xba\x03\n\x1bPerformative_O_Performative\x12\x16\n\x0e\x63ontent_o_bool\x18\x01 \x01(\x08\x12\x1d\n\x15\x63ontent_o_bool_is_set\x18\x02 \x01(\x08\x12\x19\n\x11\x63ontent_o_set_int\x18\x03 \x03(\x05\x12 \n\x18\x63ontent_o_set_int_is_set\x18\x04 \x01(\x08\x12\x1c\n\x14\x63ontent_o_list_bytes\x18\x05 \x03(\x0c\x12#\n\x1b\x63ontent_o_list_bytes_is_set\x18\x06 \x01(\x08\x12\x81\x01\n\x16\x63ontent_o_dict_str_int\x18\x07 \x03(\x0b\x32\x61.fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry\x12%\n\x1d\x63ontent_o_dict_str_int_is_set\x18\x08 \x01(\x08\x1a\x39\n\x17\x43ontentODictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a*\n(Performative_Empty_Contents_PerformativeB\x0e\n\x0cperformativeb\x06proto3'
+ '\n\x16t_protocol_no_ct.proto\x12$fetchai.aea.fetchai.t_protocol_no_ct"\xd4\x31\n\x14TProtocolNoCtMessage\x12\x8a\x01\n\x1bperformative_empty_contents\x18\x05 \x01(\x0b\x32\x63.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Empty_Contents_PerformativeH\x00\x12r\n\x0fperformative_mt\x18\x06 \x01(\x0b\x32W.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_PerformativeH\x00\x12p\n\x0eperformative_o\x18\x07 \x01(\x0b\x32V.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_PerformativeH\x00\x12t\n\x10performative_pct\x18\x08 \x01(\x0b\x32X.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_PerformativeH\x00\x12t\n\x10performative_pmt\x18\t \x01(\x0b\x32X.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_PerformativeH\x00\x12r\n\x0fperformative_pt\x18\n \x01(\x0b\x32W.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_PerformativeH\x00\x1a\x8c\x01\n\x1cPerformative_Pt_Performative\x12\x15\n\rcontent_bytes\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ontent_int\x18\x02 \x01(\x05\x12\x15\n\rcontent_float\x18\x03 \x01(\x02\x12\x14\n\x0c\x63ontent_bool\x18\x04 \x01(\x08\x12\x13\n\x0b\x63ontent_str\x18\x05 \x01(\t\x1a\xa8\x02\n\x1dPerformative_Pct_Performative\x12\x19\n\x11\x63ontent_set_bytes\x18\x01 \x03(\x0c\x12\x17\n\x0f\x63ontent_set_int\x18\x02 \x03(\x05\x12\x19\n\x11\x63ontent_set_float\x18\x03 \x03(\x02\x12\x18\n\x10\x63ontent_set_bool\x18\x04 \x03(\x08\x12\x17\n\x0f\x63ontent_set_str\x18\x05 \x03(\t\x12\x1a\n\x12\x63ontent_list_bytes\x18\x06 \x03(\x0c\x12\x18\n\x10\x63ontent_list_int\x18\x07 \x03(\x05\x12\x1a\n\x12\x63ontent_list_float\x18\x08 \x03(\x02\x12\x19\n\x11\x63ontent_list_bool\x18\t \x03(\x08\x12\x18\n\x10\x63ontent_list_str\x18\n \x03(\t\x1a\xb1\x18\n\x1dPerformative_Pmt_Performative\x12\x91\x01\n\x16\x63ontent_dict_int_bytes\x18\x01 \x03(\x0b\x32q.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry\x12\x8d\x01\n\x14\x63ontent_dict_int_int\x18\x02 \x03(\x0b\x32o.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry\x12\x91\x01\n\x16\x63ontent_dict_int_float\x18\x03 \x03(\x0b\x32q.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry\x12\x8f\x01\n\x15\x63ontent_dict_int_bool\x18\x04 \x03(\x0b\x32p.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry\x12\x8d\x01\n\x14\x63ontent_dict_int_str\x18\x05 \x03(\x0b\x32o.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry\x12\x93\x01\n\x17\x63ontent_dict_bool_bytes\x18\x06 \x03(\x0b\x32r.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry\x12\x8f\x01\n\x15\x63ontent_dict_bool_int\x18\x07 \x03(\x0b\x32p.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry\x12\x93\x01\n\x17\x63ontent_dict_bool_float\x18\x08 \x03(\x0b\x32r.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry\x12\x91\x01\n\x16\x63ontent_dict_bool_bool\x18\t \x03(\x0b\x32q.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry\x12\x8f\x01\n\x15\x63ontent_dict_bool_str\x18\n \x03(\x0b\x32p.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry\x12\x91\x01\n\x16\x63ontent_dict_str_bytes\x18\x0b \x03(\x0b\x32q.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry\x12\x8d\x01\n\x14\x63ontent_dict_str_int\x18\x0c \x03(\x0b\x32o.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry\x12\x91\x01\n\x16\x63ontent_dict_str_float\x18\r \x03(\x0b\x32q.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry\x12\x8f\x01\n\x15\x63ontent_dict_str_bool\x18\x0e \x03(\x0b\x32p.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry\x12\x8d\x01\n\x14\x63ontent_dict_str_str\x18\x0f \x03(\x0b\x32o.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry\x1a:\n\x18\x43ontentDictIntBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictIntBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a:\n\x18\x43ontentDictBoolBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictStrBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xf4\x0b\n\x1cPerformative_Mt_Performative\x12"\n\x1a\x63ontent_union_1_type_bytes\x18\x01 \x01(\x0c\x12 \n\x18\x63ontent_union_1_type_int\x18\x02 \x01(\x05\x12"\n\x1a\x63ontent_union_1_type_float\x18\x03 \x01(\x02\x12!\n\x19\x63ontent_union_1_type_bool\x18\x04 \x01(\x08\x12 \n\x18\x63ontent_union_1_type_str\x18\x05 \x01(\t\x12\'\n\x1f\x63ontent_union_1_type_set_of_int\x18\x06 \x03(\x05\x12)\n!content_union_1_type_list_of_bool\x18\x07 \x03(\x08\x12\xa8\x01\n$content_union_1_type_dict_of_str_int\x18\x08 \x03(\x0b\x32z.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry\x12)\n!content_union_2_type_set_of_bytes\x18\t \x03(\x0c\x12\'\n\x1f\x63ontent_union_2_type_set_of_int\x18\n \x03(\x05\x12\'\n\x1f\x63ontent_union_2_type_set_of_str\x18\x0b \x03(\t\x12*\n"content_union_2_type_list_of_float\x18\x0c \x03(\x02\x12)\n!content_union_2_type_list_of_bool\x18\r \x03(\x08\x12*\n"content_union_2_type_list_of_bytes\x18\x0e \x03(\x0c\x12\xa8\x01\n$content_union_2_type_dict_of_str_int\x18\x0f \x03(\x0b\x32z.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry\x12\xac\x01\n&content_union_2_type_dict_of_int_float\x18\x10 \x03(\x0b\x32|.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry\x12\xae\x01\n\'content_union_2_type_dict_of_bool_bytes\x18\x11 \x03(\x0b\x32}.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry\x1a\x44\n"ContentUnion1TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x44\n"ContentUnion2TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x46\n$ContentUnion2TypeDictOfIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1aG\n%ContentUnion2TypeDictOfBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\xc7\x03\n\x1bPerformative_O_Performative\x12\x16\n\x0e\x63ontent_o_bool\x18\x01 \x01(\x08\x12\x1d\n\x15\x63ontent_o_bool_is_set\x18\x02 \x01(\x08\x12\x19\n\x11\x63ontent_o_set_int\x18\x03 \x03(\x05\x12 \n\x18\x63ontent_o_set_int_is_set\x18\x04 \x01(\x08\x12\x1c\n\x14\x63ontent_o_list_bytes\x18\x05 \x03(\x0c\x12#\n\x1b\x63ontent_o_list_bytes_is_set\x18\x06 \x01(\x08\x12\x8e\x01\n\x16\x63ontent_o_dict_str_int\x18\x07 \x03(\x0b\x32n.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry\x12%\n\x1d\x63ontent_o_dict_str_int_is_set\x18\x08 \x01(\x08\x1a\x39\n\x17\x43ontentODictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a*\n(Performative_Empty_Contents_PerformativeB\x0e\n\x0cperformativeb\x06proto3'
),
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Pt_Performative",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pt_Performative",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_bytes",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pt_Performative.content_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative.content_bytes",
index=0,
number=1,
type=12,
@@ -52,7 +52,7 @@
),
_descriptor.FieldDescriptor(
name="content_int",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pt_Performative.content_int",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative.content_int",
index=1,
number=2,
type=5,
@@ -70,7 +70,7 @@
),
_descriptor.FieldDescriptor(
name="content_float",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pt_Performative.content_float",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative.content_float",
index=2,
number=3,
type=2,
@@ -88,7 +88,7 @@
),
_descriptor.FieldDescriptor(
name="content_bool",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pt_Performative.content_bool",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative.content_bool",
index=3,
number=4,
type=8,
@@ -106,7 +106,7 @@
),
_descriptor.FieldDescriptor(
name="content_str",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pt_Performative.content_str",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative.content_str",
index=4,
number=5,
type=9,
@@ -131,20 +131,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=721,
- serialized_end=861,
+ serialized_start=813,
+ serialized_end=953,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PCT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Pct_Performative",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pct_Performative",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_set_bytes",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_bytes",
index=0,
number=1,
type=12,
@@ -162,7 +162,7 @@
),
_descriptor.FieldDescriptor(
name="content_set_int",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_int",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_int",
index=1,
number=2,
type=5,
@@ -180,7 +180,7 @@
),
_descriptor.FieldDescriptor(
name="content_set_float",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_float",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_float",
index=2,
number=3,
type=2,
@@ -198,7 +198,7 @@
),
_descriptor.FieldDescriptor(
name="content_set_bool",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_bool",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_bool",
index=3,
number=4,
type=8,
@@ -216,7 +216,7 @@
),
_descriptor.FieldDescriptor(
name="content_set_str",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_str",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_str",
index=4,
number=5,
type=9,
@@ -234,7 +234,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_bytes",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_bytes",
index=5,
number=6,
type=12,
@@ -252,7 +252,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_int",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_int",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_int",
index=6,
number=7,
type=5,
@@ -270,7 +270,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_float",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_float",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_float",
index=7,
number=8,
type=2,
@@ -288,7 +288,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_bool",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_bool",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_bool",
index=8,
number=9,
type=8,
@@ -306,7 +306,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_str",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_str",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_str",
index=9,
number=10,
type=9,
@@ -331,20 +331,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=864,
- serialized_end=1160,
+ serialized_start=956,
+ serialized_end=1252,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBYTESENTRY = _descriptor.Descriptor(
name="ContentDictIntBytesEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry.key",
index=0,
number=1,
type=5,
@@ -362,7 +362,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry.value",
index=1,
number=2,
type=12,
@@ -387,20 +387,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3201,
- serialized_end=3259,
+ serialized_start=3488,
+ serialized_end=3546,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTINTENTRY = _descriptor.Descriptor(
name="ContentDictIntIntEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry.key",
index=0,
number=1,
type=5,
@@ -418,7 +418,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry.value",
index=1,
number=2,
type=5,
@@ -443,20 +443,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3261,
- serialized_end=3317,
+ serialized_start=3548,
+ serialized_end=3604,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTFLOATENTRY = _descriptor.Descriptor(
name="ContentDictIntFloatEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry.key",
index=0,
number=1,
type=5,
@@ -474,7 +474,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry.value",
index=1,
number=2,
type=2,
@@ -499,20 +499,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3319,
- serialized_end=3377,
+ serialized_start=3606,
+ serialized_end=3664,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBOOLENTRY = _descriptor.Descriptor(
name="ContentDictIntBoolEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry.key",
index=0,
number=1,
type=5,
@@ -530,7 +530,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry.value",
index=1,
number=2,
type=8,
@@ -555,20 +555,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3379,
- serialized_end=3436,
+ serialized_start=3666,
+ serialized_end=3723,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTSTRENTRY = _descriptor.Descriptor(
name="ContentDictIntStrEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry.key",
index=0,
number=1,
type=5,
@@ -586,7 +586,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry.value",
index=1,
number=2,
type=9,
@@ -611,20 +611,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3438,
- serialized_end=3494,
+ serialized_start=3725,
+ serialized_end=3781,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBYTESENTRY = _descriptor.Descriptor(
name="ContentDictBoolBytesEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry.key",
index=0,
number=1,
type=8,
@@ -642,7 +642,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry.value",
index=1,
number=2,
type=12,
@@ -667,20 +667,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3496,
- serialized_end=3555,
+ serialized_start=3783,
+ serialized_end=3842,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLINTENTRY = _descriptor.Descriptor(
name="ContentDictBoolIntEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry.key",
index=0,
number=1,
type=8,
@@ -698,7 +698,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry.value",
index=1,
number=2,
type=5,
@@ -723,20 +723,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3557,
- serialized_end=3614,
+ serialized_start=3844,
+ serialized_end=3901,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLFLOATENTRY = _descriptor.Descriptor(
name="ContentDictBoolFloatEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry.key",
index=0,
number=1,
type=8,
@@ -754,7 +754,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry.value",
index=1,
number=2,
type=2,
@@ -779,20 +779,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3616,
- serialized_end=3675,
+ serialized_start=3903,
+ serialized_end=3962,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBOOLENTRY = _descriptor.Descriptor(
name="ContentDictBoolBoolEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry.key",
index=0,
number=1,
type=8,
@@ -810,7 +810,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry.value",
index=1,
number=2,
type=8,
@@ -835,20 +835,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3677,
- serialized_end=3735,
+ serialized_start=3964,
+ serialized_end=4022,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLSTRENTRY = _descriptor.Descriptor(
name="ContentDictBoolStrEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry.key",
index=0,
number=1,
type=8,
@@ -866,7 +866,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry.value",
index=1,
number=2,
type=9,
@@ -891,20 +891,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3737,
- serialized_end=3794,
+ serialized_start=4024,
+ serialized_end=4081,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBYTESENTRY = _descriptor.Descriptor(
name="ContentDictStrBytesEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry.key",
index=0,
number=1,
type=9,
@@ -922,7 +922,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry.value",
index=1,
number=2,
type=12,
@@ -947,20 +947,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3796,
- serialized_end=3854,
+ serialized_start=4083,
+ serialized_end=4141,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRINTENTRY = _descriptor.Descriptor(
name="ContentDictStrIntEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry.key",
index=0,
number=1,
type=9,
@@ -978,7 +978,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry.value",
index=1,
number=2,
type=5,
@@ -1003,20 +1003,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3856,
- serialized_end=3912,
+ serialized_start=4143,
+ serialized_end=4199,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRFLOATENTRY = _descriptor.Descriptor(
name="ContentDictStrFloatEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry.key",
index=0,
number=1,
type=9,
@@ -1034,7 +1034,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry.value",
index=1,
number=2,
type=2,
@@ -1059,20 +1059,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3914,
- serialized_end=3972,
+ serialized_start=4201,
+ serialized_end=4259,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBOOLENTRY = _descriptor.Descriptor(
name="ContentDictStrBoolEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry.key",
index=0,
number=1,
type=9,
@@ -1090,7 +1090,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry.value",
index=1,
number=2,
type=8,
@@ -1115,20 +1115,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3974,
- serialized_end=4031,
+ serialized_start=4261,
+ serialized_end=4318,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRSTRENTRY = _descriptor.Descriptor(
name="ContentDictStrStrEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry.key",
index=0,
number=1,
type=9,
@@ -1146,7 +1146,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry.value",
index=1,
number=2,
type=9,
@@ -1171,20 +1171,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4033,
- serialized_end=4089,
+ serialized_start=4320,
+ serialized_end=4376,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Pmt_Performative",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_dict_int_bytes",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_bytes",
index=0,
number=1,
type=11,
@@ -1202,7 +1202,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_int_int",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_int",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_int",
index=1,
number=2,
type=11,
@@ -1220,7 +1220,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_int_float",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_float",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_float",
index=2,
number=3,
type=11,
@@ -1238,7 +1238,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_int_bool",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_bool",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_bool",
index=3,
number=4,
type=11,
@@ -1256,7 +1256,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_int_str",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_str",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_str",
index=4,
number=5,
type=11,
@@ -1274,7 +1274,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_bytes",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_bytes",
index=5,
number=6,
type=11,
@@ -1292,7 +1292,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_int",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_int",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_int",
index=6,
number=7,
type=11,
@@ -1310,7 +1310,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_float",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_float",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_float",
index=7,
number=8,
type=11,
@@ -1328,7 +1328,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_bool",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_bool",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_bool",
index=8,
number=9,
type=11,
@@ -1346,7 +1346,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_str",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_str",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_str",
index=9,
number=10,
type=11,
@@ -1364,7 +1364,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_bytes",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_bytes",
index=10,
number=11,
type=11,
@@ -1382,7 +1382,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_int",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_int",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_int",
index=11,
number=12,
type=11,
@@ -1400,7 +1400,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_float",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_float",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_float",
index=12,
number=13,
type=11,
@@ -1418,7 +1418,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_bool",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_bool",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_bool",
index=13,
number=14,
type=11,
@@ -1436,7 +1436,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_str",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_str",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_str",
index=14,
number=15,
type=11,
@@ -1477,20 +1477,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1163,
- serialized_end=4089,
+ serialized_start=1255,
+ serialized_end=4376,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION1TYPEDICTOFSTRINTENTRY = _descriptor.Descriptor(
name="ContentUnion1TypeDictOfStrIntEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry.key",
index=0,
number=1,
type=9,
@@ -1508,7 +1508,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry.value",
index=1,
number=2,
type=5,
@@ -1533,20 +1533,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5281,
- serialized_end=5349,
+ serialized_start=5620,
+ serialized_end=5688,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFSTRINTENTRY = _descriptor.Descriptor(
name="ContentUnion2TypeDictOfStrIntEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry.key",
index=0,
number=1,
type=9,
@@ -1564,7 +1564,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry.value",
index=1,
number=2,
type=5,
@@ -1589,20 +1589,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5351,
- serialized_end=5419,
+ serialized_start=5690,
+ serialized_end=5758,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFINTFLOATENTRY = _descriptor.Descriptor(
name="ContentUnion2TypeDictOfIntFloatEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry.key",
index=0,
number=1,
type=5,
@@ -1620,7 +1620,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry.value",
index=1,
number=2,
type=2,
@@ -1645,20 +1645,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5421,
- serialized_end=5491,
+ serialized_start=5760,
+ serialized_end=5830,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFBOOLBYTESENTRY = _descriptor.Descriptor(
name="ContentUnion2TypeDictOfBoolBytesEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry.key",
index=0,
number=1,
type=8,
@@ -1676,7 +1676,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry.value",
index=1,
number=2,
type=12,
@@ -1701,20 +1701,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5493,
- serialized_end=5564,
+ serialized_start=5832,
+ serialized_end=5903,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Mt_Performative",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_union_1_type_bytes",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_bytes",
index=0,
number=1,
type=12,
@@ -1732,7 +1732,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_int",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_int",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_int",
index=1,
number=2,
type=5,
@@ -1750,7 +1750,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_float",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_float",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_float",
index=2,
number=3,
type=2,
@@ -1768,7 +1768,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_bool",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_bool",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_bool",
index=3,
number=4,
type=8,
@@ -1786,7 +1786,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_str",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_str",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_str",
index=4,
number=5,
type=9,
@@ -1804,7 +1804,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_set_of_int",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_set_of_int",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_set_of_int",
index=5,
number=6,
type=5,
@@ -1822,7 +1822,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_list_of_bool",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_list_of_bool",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_list_of_bool",
index=6,
number=7,
type=8,
@@ -1840,7 +1840,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_dict_of_str_int",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_dict_of_str_int",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_dict_of_str_int",
index=7,
number=8,
type=11,
@@ -1858,7 +1858,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_set_of_bytes",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_set_of_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_set_of_bytes",
index=8,
number=9,
type=12,
@@ -1876,7 +1876,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_set_of_int",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_set_of_int",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_set_of_int",
index=9,
number=10,
type=5,
@@ -1894,7 +1894,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_set_of_str",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_set_of_str",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_set_of_str",
index=10,
number=11,
type=9,
@@ -1912,7 +1912,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_list_of_float",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_list_of_float",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_list_of_float",
index=11,
number=12,
type=2,
@@ -1930,7 +1930,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_list_of_bool",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_list_of_bool",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_list_of_bool",
index=12,
number=13,
type=8,
@@ -1948,7 +1948,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_list_of_bytes",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_list_of_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_list_of_bytes",
index=13,
number=14,
type=12,
@@ -1966,7 +1966,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_dict_of_str_int",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_dict_of_str_int",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_dict_of_str_int",
index=14,
number=15,
type=11,
@@ -1984,7 +1984,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_dict_of_int_float",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_dict_of_int_float",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_dict_of_int_float",
index=15,
number=16,
type=11,
@@ -2002,7 +2002,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_dict_of_bool_bytes",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_dict_of_bool_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_dict_of_bool_bytes",
index=16,
number=17,
type=11,
@@ -2032,20 +2032,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4092,
- serialized_end=5564,
+ serialized_start=4379,
+ serialized_end=5903,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_O_PERFORMATIVE_CONTENTODICTSTRINTENTRY = _descriptor.Descriptor(
name="ContentODictStrIntEntry",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry.key",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry.key",
index=0,
number=1,
type=9,
@@ -2063,7 +2063,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry.value",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry.value",
index=1,
number=2,
type=5,
@@ -2088,20 +2088,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5952,
- serialized_end=6009,
+ serialized_start=6304,
+ serialized_end=6361,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_O_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_O_Performative",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_o_bool",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative.content_o_bool",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_bool",
index=0,
number=1,
type=8,
@@ -2119,7 +2119,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_bool_is_set",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative.content_o_bool_is_set",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_bool_is_set",
index=1,
number=2,
type=8,
@@ -2137,7 +2137,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_set_int",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative.content_o_set_int",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_set_int",
index=2,
number=3,
type=5,
@@ -2155,7 +2155,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_set_int_is_set",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative.content_o_set_int_is_set",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_set_int_is_set",
index=3,
number=4,
type=8,
@@ -2173,7 +2173,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_list_bytes",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative.content_o_list_bytes",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_list_bytes",
index=4,
number=5,
type=12,
@@ -2191,7 +2191,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_list_bytes_is_set",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative.content_o_list_bytes_is_set",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_list_bytes_is_set",
index=5,
number=6,
type=8,
@@ -2209,7 +2209,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_dict_str_int",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative.content_o_dict_str_int",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_dict_str_int",
index=6,
number=7,
type=11,
@@ -2227,7 +2227,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_dict_str_int_is_set",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative.content_o_dict_str_int_is_set",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_dict_str_int_is_set",
index=7,
number=8,
type=8,
@@ -2254,13 +2254,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5567,
- serialized_end=6009,
+ serialized_start=5906,
+ serialized_end=6361,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_EMPTY_CONTENTS_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Empty_Contents_Performative",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Empty_Contents_Performative",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Empty_Contents_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -2273,20 +2273,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6011,
- serialized_end=6053,
+ serialized_start=6363,
+ serialized_end=6405,
)
_TPROTOCOLNOCTMESSAGE = _descriptor.Descriptor(
name="TProtocolNoCtMessage",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="performative_empty_contents",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.performative_empty_contents",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_empty_contents",
index=0,
number=5,
type=11,
@@ -2304,7 +2304,7 @@
),
_descriptor.FieldDescriptor(
name="performative_mt",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.performative_mt",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_mt",
index=1,
number=6,
type=11,
@@ -2322,7 +2322,7 @@
),
_descriptor.FieldDescriptor(
name="performative_o",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.performative_o",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_o",
index=2,
number=7,
type=11,
@@ -2340,7 +2340,7 @@
),
_descriptor.FieldDescriptor(
name="performative_pct",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.performative_pct",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_pct",
index=3,
number=8,
type=11,
@@ -2358,7 +2358,7 @@
),
_descriptor.FieldDescriptor(
name="performative_pmt",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.performative_pmt",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_pmt",
index=4,
number=9,
type=11,
@@ -2376,7 +2376,7 @@
),
_descriptor.FieldDescriptor(
name="performative_pt",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.performative_pt",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_pt",
index=5,
number=10,
type=11,
@@ -2410,14 +2410,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.performative",
+ full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=52,
- serialized_end=6069,
+ serialized_start=65,
+ serialized_end=6421,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PT_PERFORMATIVE.containing_type = (
@@ -2657,7 +2657,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PT_PERFORMATIVE,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pt_Performative)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative)
),
),
Performative_Pct_Performative=_reflection.GeneratedProtocolMessageType(
@@ -2666,7 +2666,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PCT_PERFORMATIVE,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pct_Performative)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative)
),
),
Performative_Pmt_Performative=_reflection.GeneratedProtocolMessageType(
@@ -2679,7 +2679,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBYTESENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry)
),
),
ContentDictIntIntEntry=_reflection.GeneratedProtocolMessageType(
@@ -2688,7 +2688,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTINTENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry)
),
),
ContentDictIntFloatEntry=_reflection.GeneratedProtocolMessageType(
@@ -2697,7 +2697,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTFLOATENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry)
),
),
ContentDictIntBoolEntry=_reflection.GeneratedProtocolMessageType(
@@ -2706,7 +2706,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBOOLENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry)
),
),
ContentDictIntStrEntry=_reflection.GeneratedProtocolMessageType(
@@ -2715,7 +2715,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTSTRENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry)
),
),
ContentDictBoolBytesEntry=_reflection.GeneratedProtocolMessageType(
@@ -2724,7 +2724,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBYTESENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry)
),
),
ContentDictBoolIntEntry=_reflection.GeneratedProtocolMessageType(
@@ -2733,7 +2733,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLINTENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry)
),
),
ContentDictBoolFloatEntry=_reflection.GeneratedProtocolMessageType(
@@ -2742,7 +2742,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLFLOATENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry)
),
),
ContentDictBoolBoolEntry=_reflection.GeneratedProtocolMessageType(
@@ -2751,7 +2751,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBOOLENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry)
),
),
ContentDictBoolStrEntry=_reflection.GeneratedProtocolMessageType(
@@ -2760,7 +2760,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLSTRENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry)
),
),
ContentDictStrBytesEntry=_reflection.GeneratedProtocolMessageType(
@@ -2769,7 +2769,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBYTESENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry)
),
),
ContentDictStrIntEntry=_reflection.GeneratedProtocolMessageType(
@@ -2778,7 +2778,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRINTENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry)
),
),
ContentDictStrFloatEntry=_reflection.GeneratedProtocolMessageType(
@@ -2787,7 +2787,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRFLOATENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry)
),
),
ContentDictStrBoolEntry=_reflection.GeneratedProtocolMessageType(
@@ -2796,7 +2796,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBOOLENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry)
),
),
ContentDictStrStrEntry=_reflection.GeneratedProtocolMessageType(
@@ -2805,12 +2805,12 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRSTRENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry)
),
),
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Pmt_Performative)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative)
),
),
Performative_Mt_Performative=_reflection.GeneratedProtocolMessageType(
@@ -2823,7 +2823,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION1TYPEDICTOFSTRINTENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry)
),
),
ContentUnion2TypeDictOfStrIntEntry=_reflection.GeneratedProtocolMessageType(
@@ -2832,7 +2832,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFSTRINTENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry)
),
),
ContentUnion2TypeDictOfIntFloatEntry=_reflection.GeneratedProtocolMessageType(
@@ -2841,7 +2841,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFINTFLOATENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry)
),
),
ContentUnion2TypeDictOfBoolBytesEntry=_reflection.GeneratedProtocolMessageType(
@@ -2850,12 +2850,12 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFBOOLBYTESENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry)
),
),
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Mt_Performative)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative)
),
),
Performative_O_Performative=_reflection.GeneratedProtocolMessageType(
@@ -2868,12 +2868,12 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_O_PERFORMATIVE_CONTENTODICTSTRINTENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry)
),
),
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_O_PERFORMATIVE,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_O_Performative)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative)
),
),
Performative_Empty_Contents_Performative=_reflection.GeneratedProtocolMessageType(
@@ -2882,12 +2882,12 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_EMPTY_CONTENTS_PERFORMATIVE,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage.Performative_Empty_Contents_Performative)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Empty_Contents_Performative)
),
),
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.TProtocolNoCt.TProtocolNoCtMessage)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage)
),
)
_sym_db.RegisterMessage(TProtocolNoCtMessage)
diff --git a/tests/test_docs/test_agent_vs_aea/agent_code_block.py b/tests/test_docs/test_agent_vs_aea/agent_code_block.py
index 6a466c72a1..b8e7492ab5 100644
--- a/tests/test_docs/test_agent_vs_aea/agent_code_block.py
+++ b/tests/test_docs/test_agent_vs_aea/agent_code_block.py
@@ -101,7 +101,7 @@ def run():
time.sleep(3)
# Create a message inside an envelope and get the stub connection to pass it into the agent
- message_text = b"my_agent,other_agent,fetchai/default:0.5.0,\x12H\x08\x01\x12\x011*A\n4type.googleapis.com/fetch.aea.Default.DefaultMessage\x12\t*\x07\n\x05hello,"
+ message_text = b"my_agent,other_agent,fetchai/default:0.5.0,\x12\x10\x08\x01\x12\x011*\t*\x07\n\x05hello,"
with open(INPUT_FILE, "wb") as f:
write_with_lock(f, message_text)
diff --git a/tests/test_docs/test_agent_vs_aea/test_agent_vs_aea.py b/tests/test_docs/test_agent_vs_aea/test_agent_vs_aea.py
index ca8dcbd075..fb3fd004a7 100644
--- a/tests/test_docs/test_agent_vs_aea/test_agent_vs_aea.py
+++ b/tests/test_docs/test_agent_vs_aea/test_agent_vs_aea.py
@@ -59,7 +59,7 @@ def test_run_agent(self):
run()
assert os.path.exists(Path(self.t, "input_file"))
- message_text = b"other_agent,my_agent,fetchai/default:0.5.0,\x12H\x08\x01\x12\x011*A\n4type.googleapis.com/fetch.aea.Default.DefaultMessage\x12\t*\x07\n\x05hello,"
+ message_text = b"other_agent,my_agent,fetchai/default:0.5.0,\x12\x10\x08\x01\x12\x011*\t*\x07\n\x05hello,"
path = os.path.join(self.t, "output_file")
with open(path, "rb") as file:
msg = file.read()
diff --git a/tests/test_docs/test_build_aea_programmatically/programmatic_aea.py b/tests/test_docs/test_build_aea_programmatically/programmatic_aea.py
index 85688cd93b..e542e2d4e3 100644
--- a/tests/test_docs/test_build_aea_programmatically/programmatic_aea.py
+++ b/tests/test_docs/test_build_aea_programmatically/programmatic_aea.py
@@ -97,7 +97,7 @@ def handle(self, message: Message) -> None:
time.sleep(4)
# Create a message inside an envelope and get the stub connection to pass it on to the echo skill
- message_text = b"my_aea,other_agent,fetchai/default:0.5.0,\x12H\x08\x01\x12\x011*A\n4type.googleapis.com/fetch.aea.Default.DefaultMessage\x12\t*\x07\n\x05hello,"
+ message_text = b"my_aea,other_agent,fetchai/default:0.5.0,\x12\x10\x08\x01\x12\x011*\t*\x07\n\x05hello,"
with open(INPUT_FILE, "wb") as f:
write_with_lock(f, message_text)
print(b"input message: " + message_text)
diff --git a/tests/test_docs/test_build_aea_programmatically/test_programmatic_aea.py b/tests/test_docs/test_build_aea_programmatically/test_programmatic_aea.py
index 2a09bc65fd..a1f8510479 100644
--- a/tests/test_docs/test_build_aea_programmatically/test_programmatic_aea.py
+++ b/tests/test_docs/test_build_aea_programmatically/test_programmatic_aea.py
@@ -60,7 +60,7 @@ def test_run_agent(self):
assert os.path.exists(Path(self.t, DEFAULT_PRIVATE_KEY_FILE))
message_text_1 = b"other_agent,my_aea,fetchai/default:0.5.0,"
- message_text_2 = b"type.googleapis.com/fetch.aea.Default.DefaultMessage\x12\t*\x07\n\x05hello"
+ message_text_2 = b"\x12\x10\x08\x01\x12\x011*\t*\x07\n\x05hello"
path = os.path.join(self.t, "output_file")
with open(path, "rb") as file:
diff --git a/tests/test_protocols/test_generator/test_generator.py b/tests/test_protocols/test_generator/test_generator.py
index c154f0f6d0..94f5b75b2e 100644
--- a/tests/test_protocols/test_generator/test_generator.py
+++ b/tests/test_protocols/test_generator/test_generator.py
@@ -1204,7 +1204,7 @@ def test_protocol_buffer_schema_str(self):
print(proto_buff_schema_str)
expected = (
'syntax = "proto3";\n\n'
- "package fetch.aea.SomeName;\n\n"
+ "package fetchai.aea.some_author.some_name;\n\n"
"message SomeNameMessage{\n\n"
" // Custom Types\n"
" message SomeCustomType{\n"
From 011b7c6567ac966b7980bc769cdfc16db67c1e98 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Wed, 2 Sep 2020 00:22:12 +0200
Subject: [PATCH 012/155] update proto namespace to 'fetchai.aea'
---
aea/mail/base.proto | 2 +-
aea/mail/base_pb2.py | 54 ++++++++++++++++++++++----------------------
2 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/aea/mail/base.proto b/aea/mail/base.proto
index ccc5153af9..668c7a6f89 100644
--- a/aea/mail/base.proto
+++ b/aea/mail/base.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetch.aea;
+package fetchai.aea;
import "google/protobuf/struct.proto";
diff --git a/aea/mail/base_pb2.py b/aea/mail/base_pb2.py
index 261ffb4f2d..d0599691c6 100644
--- a/aea/mail/base_pb2.py
+++ b/aea/mail/base_pb2.py
@@ -19,11 +19,11 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="base.proto",
- package="fetch.aea",
+ package="fetchai.aea",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\nbase.proto\x12\tfetch.aea\x1a\x1cgoogle/protobuf/struct.proto"\x90\x01\n\x0f\x44ialogueMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12\x0f\n\x07\x63ontent\x18\x05 \x01(\x0c"u\n\x07Message\x12\'\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12\x36\n\x10\x64ialogue_message\x18\x02 \x01(\x0b\x32\x1a.fetch.aea.DialogueMessageH\x00\x42\t\n\x07message"Y\n\x08\x45nvelope\x12\n\n\x02to\x18\x01 \x01(\t\x12\x0e\n\x06sender\x18\x02 \x01(\t\x12\x13\n\x0bprotocol_id\x18\x03 \x01(\t\x12\x0f\n\x07message\x18\x04 \x01(\x0c\x12\x0b\n\x03uri\x18\x05 \x01(\tb\x06proto3'
+ '\n\nbase.proto\x12\x0b\x66\x65tchai.aea\x1a\x1cgoogle/protobuf/struct.proto"\x90\x01\n\x0f\x44ialogueMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12\x0f\n\x07\x63ontent\x18\x05 \x01(\x0c"w\n\x07Message\x12\'\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12\x38\n\x10\x64ialogue_message\x18\x02 \x01(\x0b\x32\x1c.fetchai.aea.DialogueMessageH\x00\x42\t\n\x07message"Y\n\x08\x45nvelope\x12\n\n\x02to\x18\x01 \x01(\t\x12\x0e\n\x06sender\x18\x02 \x01(\t\x12\x13\n\x0bprotocol_id\x18\x03 \x01(\t\x12\x0f\n\x07message\x18\x04 \x01(\x0c\x12\x0b\n\x03uri\x18\x05 \x01(\tb\x06proto3'
),
dependencies=[google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,],
)
@@ -31,14 +31,14 @@
_DIALOGUEMESSAGE = _descriptor.Descriptor(
name="DialogueMessage",
- full_name="fetch.aea.DialogueMessage",
+ full_name="fetchai.aea.DialogueMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="message_id",
- full_name="fetch.aea.DialogueMessage.message_id",
+ full_name="fetchai.aea.DialogueMessage.message_id",
index=0,
number=1,
type=5,
@@ -56,7 +56,7 @@
),
_descriptor.FieldDescriptor(
name="dialogue_starter_reference",
- full_name="fetch.aea.DialogueMessage.dialogue_starter_reference",
+ full_name="fetchai.aea.DialogueMessage.dialogue_starter_reference",
index=1,
number=2,
type=9,
@@ -74,7 +74,7 @@
),
_descriptor.FieldDescriptor(
name="dialogue_responder_reference",
- full_name="fetch.aea.DialogueMessage.dialogue_responder_reference",
+ full_name="fetchai.aea.DialogueMessage.dialogue_responder_reference",
index=2,
number=3,
type=9,
@@ -92,7 +92,7 @@
),
_descriptor.FieldDescriptor(
name="target",
- full_name="fetch.aea.DialogueMessage.target",
+ full_name="fetchai.aea.DialogueMessage.target",
index=3,
number=4,
type=5,
@@ -110,7 +110,7 @@
),
_descriptor.FieldDescriptor(
name="content",
- full_name="fetch.aea.DialogueMessage.content",
+ full_name="fetchai.aea.DialogueMessage.content",
index=4,
number=5,
type=12,
@@ -135,21 +135,21 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=56,
- serialized_end=200,
+ serialized_start=58,
+ serialized_end=202,
)
_MESSAGE = _descriptor.Descriptor(
name="Message",
- full_name="fetch.aea.Message",
+ full_name="fetchai.aea.Message",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="body",
- full_name="fetch.aea.Message.body",
+ full_name="fetchai.aea.Message.body",
index=0,
number=1,
type=11,
@@ -167,7 +167,7 @@
),
_descriptor.FieldDescriptor(
name="dialogue_message",
- full_name="fetch.aea.Message.dialogue_message",
+ full_name="fetchai.aea.Message.dialogue_message",
index=1,
number=2,
type=11,
@@ -194,27 +194,27 @@
oneofs=[
_descriptor.OneofDescriptor(
name="message",
- full_name="fetch.aea.Message.message",
+ full_name="fetchai.aea.Message.message",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=202,
- serialized_end=319,
+ serialized_start=204,
+ serialized_end=323,
)
_ENVELOPE = _descriptor.Descriptor(
name="Envelope",
- full_name="fetch.aea.Envelope",
+ full_name="fetchai.aea.Envelope",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="to",
- full_name="fetch.aea.Envelope.to",
+ full_name="fetchai.aea.Envelope.to",
index=0,
number=1,
type=9,
@@ -232,7 +232,7 @@
),
_descriptor.FieldDescriptor(
name="sender",
- full_name="fetch.aea.Envelope.sender",
+ full_name="fetchai.aea.Envelope.sender",
index=1,
number=2,
type=9,
@@ -250,7 +250,7 @@
),
_descriptor.FieldDescriptor(
name="protocol_id",
- full_name="fetch.aea.Envelope.protocol_id",
+ full_name="fetchai.aea.Envelope.protocol_id",
index=2,
number=3,
type=9,
@@ -268,7 +268,7 @@
),
_descriptor.FieldDescriptor(
name="message",
- full_name="fetch.aea.Envelope.message",
+ full_name="fetchai.aea.Envelope.message",
index=3,
number=4,
type=12,
@@ -286,7 +286,7 @@
),
_descriptor.FieldDescriptor(
name="uri",
- full_name="fetch.aea.Envelope.uri",
+ full_name="fetchai.aea.Envelope.uri",
index=4,
number=5,
type=9,
@@ -311,8 +311,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=321,
- serialized_end=410,
+ serialized_start=325,
+ serialized_end=414,
)
_MESSAGE.fields_by_name[
@@ -338,7 +338,7 @@
dict(
DESCRIPTOR=_DIALOGUEMESSAGE,
__module__="base_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.DialogueMessage)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.DialogueMessage)
),
)
_sym_db.RegisterMessage(DialogueMessage)
@@ -349,7 +349,7 @@
dict(
DESCRIPTOR=_MESSAGE,
__module__="base_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Message)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.Message)
),
)
_sym_db.RegisterMessage(Message)
@@ -360,7 +360,7 @@
dict(
DESCRIPTOR=_ENVELOPE,
__module__="base_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Envelope)
+ # @@protoc_insertion_point(class_scope:fetchai.aea.Envelope)
),
)
_sym_db.RegisterMessage(Envelope)
From 9e95e2cddb1c1704a8eb977a44673dc46017f73b Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Wed, 2 Sep 2020 07:30:05 +0200
Subject: [PATCH 013/155] fix stub connection with new serialization
---
aea/connections/stub/connection.py | 10 +++++-----
aea/connections/stub/connection.yaml | 2 +-
aea/test_tools/generic.py | 4 ++--
packages/hashes.csv | 2 +-
tests/test_connections/test_stub.py | 4 ++--
.../test_programmatic_aea.py | 5 ++---
6 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/aea/connections/stub/connection.py b/aea/connections/stub/connection.py
index 788db20e29..c90e4e8ab5 100644
--- a/aea/connections/stub/connection.py
+++ b/aea/connections/stub/connection.py
@@ -218,7 +218,7 @@ async def read_envelopes(self) -> None:
if self.in_queue is None: # pragma: nocover
raise ValueError("Input queue not initialized.")
- logger.debug("Read messages!")
+ self.logger.debug("Read messages!")
async for data in self._file_read_and_trunc(delay=self.read_delay):
lines = self._split_messages(data)
for line in lines:
@@ -227,7 +227,7 @@ async def read_envelopes(self) -> None:
if envelope is None:
continue
- logger.debug(f"Add envelope {envelope}")
+ self.logger.debug(f"Add envelope {envelope}")
await self.in_queue.put(envelope)
@classmethod
@@ -245,13 +245,13 @@ async def receive(self, *args, **kwargs) -> Optional["Envelope"]:
"""Receive an envelope."""
self._ensure_connected()
if self.in_queue is None: # pragma: nocover
- logger.error("Input queue not initialized.")
+ self.logger.error("Input queue not initialized.")
return None
try:
return await self.in_queue.get()
except Exception: # pylint: disable=broad-except
- logger.exception("Stub connection receive error:")
+ self.logger.exception("Stub connection receive error:")
return None
async def connect(self) -> None:
@@ -280,7 +280,7 @@ async def _stop_read_envelopes(self) -> None:
except CancelledError:
pass # task was cancelled, that was expected
except BaseException: # pragma: nocover # pylint: disable=broad-except
- logger.exception(
+ self.logger.exception(
"during envelop read"
) # do not raise exception cause it's on task stop
diff --git a/aea/connections/stub/connection.yaml b/aea/connections/stub/connection.yaml
index d6c548ea12..3f359850f7 100644
--- a/aea/connections/stub/connection.yaml
+++ b/aea/connections/stub/connection.yaml
@@ -8,7 +8,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
__init__.py: QmWwepN9Fy9gHAp39vUGFSLdnB9JZjdyE3STnbowSUhJkC
- connection.py: QmSZTPuYsQk3bfCspG4JBPGMSBuwroDjbe7jLPsgBrDWP7
+ connection.py: QmeWnyf1Xn3PxDedNimJaykHv9V5eo7HK1HXefPbygR1cj
readme.md: QmXSAtxSY7C2YkvUxeVnpqCJY9uJYZxZBmuUcE4zjFXcXz
fingerprint_ignore_patterns: []
protocols: []
diff --git a/aea/test_tools/generic.py b/aea/test_tools/generic.py
index 33f741a3ee..74743bdd15 100644
--- a/aea/test_tools/generic.py
+++ b/aea/test_tools/generic.py
@@ -55,8 +55,8 @@ def read_envelope_from_file(file_path: str):
with open(Path(file_path), "rb+") as f:
lines.extend(f.readlines())
- enforce(len(lines) == 3, "Did not find three lines.")
- line = lines[0] + lines[1] + lines[2]
+ enforce(len(lines) == 2, "Did not find two lines.")
+ line = lines[0] + lines[1]
to_b, sender_b, protocol_id_b, message, end = line.strip().split(b",", maxsplit=4)
to = to_b.decode("utf-8")
sender = sender_b.decode("utf-8")
diff --git a/packages/hashes.csv b/packages/hashes.csv
index b83ae487f2..26c68c8807 100644
--- a/packages/hashes.csv
+++ b/packages/hashes.csv
@@ -29,7 +29,7 @@ fetchai/connections/p2p_libp2p_client,QmUoz37dNdoUh5EKbCWpciVgRTvReF9dbqNe4FgGY5
fetchai/connections/p2p_stub,QmX8EWvFok3UAdqXGgir4TrhfDj2kLhfjuXRg82b6G6XtW
fetchai/connections/scaffold,QmNUta43nLexAHaXLgmLQYEjntLXSV6MLNvc6Q2CTx7eBS
fetchai/connections/soef,QmNq1DsbEtkWqM7EUAQfcdis79PaBhRE2Wn2DriQXc1ykV
-fetchai/connections/stub,QmRKtjxXdJoTzYCYitmrdu7kCrjjLbg55Ny7STYp8rvxbD
+fetchai/connections/stub,QmPDTnY93sAz5kmWBF1CAsS353opsRG4koMqRoB3bhuStK
fetchai/connections/tcp,QmU93B7yajCHwXsgDXXhv1uSuXi7VmFBhdahcFosbrr6nA
fetchai/connections/webhook,QmaJunWQT1ypkqGnzrj5gYjjQBywjTHJmyktCZXZsa8hv8
fetchai/contracts/erc1155,QmTSpeW7JJZaBFwyHUbycPg87nUGW3CkkGchFxn6NtshpQ
diff --git a/tests/test_connections/test_stub.py b/tests/test_connections/test_stub.py
index 52e27758c8..20a7c2339d 100644
--- a/tests/test_connections/test_stub.py
+++ b/tests/test_connections/test_stub.py
@@ -248,8 +248,8 @@ def test_send_message(self):
with open(self.output_file_path, "rb+") as f:
lines = f.readlines()
- assert len(lines) == 3
- line = lines[0] + lines[1] + lines[2]
+ assert len(lines) == 2
+ line = lines[0] + lines[1]
to, sender, protocol_id, message, end = line.strip().split(
"{}".format(SEPARATOR).encode("utf-8"), maxsplit=4
)
diff --git a/tests/test_docs/test_build_aea_programmatically/test_programmatic_aea.py b/tests/test_docs/test_build_aea_programmatically/test_programmatic_aea.py
index a1f8510479..acde842251 100644
--- a/tests/test_docs/test_build_aea_programmatically/test_programmatic_aea.py
+++ b/tests/test_docs/test_build_aea_programmatically/test_programmatic_aea.py
@@ -60,11 +60,10 @@ def test_run_agent(self):
assert os.path.exists(Path(self.t, DEFAULT_PRIVATE_KEY_FILE))
message_text_1 = b"other_agent,my_aea,fetchai/default:0.5.0,"
- message_text_2 = b"\x12\x10\x08\x01\x12\x011*\t*\x07\n\x05hello"
+ message_text_2 = b"\t*\x07\n\x05hello"
path = os.path.join(self.t, "output_file")
- with open(path, "rb") as file:
- msg = file.read()
+ msg = Path(path).read_bytes()
assert message_text_1 in msg
assert message_text_2 in msg
From 08d9bd5509a9d59e63bf57f66f9b4d4d00356fe4 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Wed, 2 Sep 2020 12:12:17 +0200
Subject: [PATCH 014/155] first prototype of 'generate_all_protocols.py' script
---
scripts/generate_all_protocols.py | 270 +++++++++++++++++++++++++++---
1 file changed, 251 insertions(+), 19 deletions(-)
diff --git a/scripts/generate_all_protocols.py b/scripts/generate_all_protocols.py
index fbcd33a7c9..59e78adebb 100755
--- a/scripts/generate_all_protocols.py
+++ b/scripts/generate_all_protocols.py
@@ -21,41 +21,273 @@
"""
This script takes all the protocol specification (scraped from the protocol README)
and calls the `aea generate protocol` command.
+
+Currently, it does a lot of assumptions, and might not be useful for
+all use cases. However, with not much work, can be customized to achieve
+the desired outcomes.
+
+It requires the `aea` package, `black` and `isort` tools.
"""
+import operator
+import os
+import pprint
+import re
+import shutil
import subprocess # nosec
import sys
+import tempfile
+from io import StringIO
from pathlib import Path
+from typing import Optional
+
+from aea.configurations.base import ComponentType, ProtocolSpecification
+from aea.configurations.loader import ConfigLoader, load_component_configuration
+
+SPECIFICATION_REGEX = re.compile(r"(---\nname.*\.\.\.)", re.DOTALL)
+CUSTOM_TYPE_MODULE_NAME = "custom_types.py"
+README_FILENAME = "README.md"
+
+PROTOCOL_PATHS = list(
+ map(
+ operator.methodcaller("absolute"),
+ [
+ Path("aea", "protocols", "default"),
+ Path("aea", "protocols", "signing"),
+ Path("aea", "protocols", "state_update"),
+ Path("packages", "fetchai", "protocols", "contract_api"),
+ Path("packages", "fetchai", "protocols", "fipa"),
+ Path("packages", "fetchai", "protocols", "gym"),
+ Path("packages", "fetchai", "protocols", "http"),
+ Path("packages", "fetchai", "protocols", "ledger_api"),
+ Path("packages", "fetchai", "protocols", "ml_trade"),
+ Path("packages", "fetchai", "protocols", "oef_search"),
+ Path("packages", "fetchai", "protocols", "tac"),
+ ],
+ )
+)
+
+
+def assert_(condition, message=""):
+ """Custom assertion."""
+ if not condition:
+ raise AssertionError(message)
+
+
+def run_cli(*args, **kwargs):
+ """Run a CLI command."""
+ return_code = subprocess.check_call(args, **kwargs) # nosec
+ assert_(
+ return_code == 0,
+ f"Return code of {pprint.pformat(args)} is {return_code} != 0.",
+ )
+
+
+def run_aea(*args, **kwargs) -> None:
+ """
+ Run an AEA command.
+
+ :param args: the AEA command
+ :param kwargs: keyword arguments to subprocess function
+ :return: None
+ """
+ run_cli(sys.executable, "-m", "aea.cli", *args, **kwargs)
+
+
+class AEAProject(object):
+ """A context manager class to create and delete an AEA project."""
+
+ def __init__(self, name: str = "my_aea", parent_dir: Optional[str] = None):
+ """
+ Initialize an AEA project.
+
+ :param name: the name of the AEA project.
+ """
+ self.name = name
+ self.parent_dir = parent_dir
+
+ def __enter__(self):
+ """Create and enter into the project."""
+ self.old_cwd = os.getcwd()
+ self.temp_dir = tempfile.mkdtemp(dir=self.parent_dir)
+ os.chdir(self.temp_dir)
+
+ run_aea("create", self.name)
+ os.chdir(self.name)
+
+ def __exit__(self, exc_type, exc_val, exc_tb):
+ """Exit the context manager."""
+ os.chdir(self.old_cwd)
+ shutil.rmtree(self.temp_dir)
+
+
+def _load_protocol_specification_from_string(
+ specification_content: str,
+) -> ProtocolSpecification:
+ """Load a protocol specification from string."""
+ file = StringIO(initial_value=specification_content)
+ config_loader = ConfigLoader(
+ "protocol-specification_schema.json", ProtocolSpecification
+ )
+ protocol_spec = config_loader.load_protocol_specification(file)
+ return protocol_spec
+
+
+def _get_protocol_specification_from_readme(package_path: Path) -> str:
+ """Get the protocol specification from the package README."""
+ readme = package_path / "README.md"
+ readme_content = readme.read_text()
+ assert_(
+ "## Specification" in readme_content,
+ f"Cannot find specification section in {package_path}",
+ )
+
+ search_result = SPECIFICATION_REGEX.search(readme_content)
+ assert_(
+ search_result is not None,
+ f"Cannot find specification section in README of {package_path}",
+ )
+ specification_content = search_result.group(0)
+ # just for validation of the parsed string
+ _load_protocol_specification_from_string(specification_content)
+ return specification_content
+
+def _save_specification_in_temporary_file(name: str, specification_content: str):
+ """
+ Save the specification in a temporary file.
+
+ :param name: the name of the package.
+ :param specification_content: the specification content.
+ :return: None
+ """
+ # here, the cwd is the temporary AEA project
+ # hence, we are writing in a temporary directory
+ Path("..", name + ".yaml").write_text(specification_content)
+
+
+def _generate_protocol(package_path: Path) -> None:
+ """
+ Generate the protocol.
+
+ :param package_path: package to the path.
+ :return: None
+ """
+ run_aea("generate", "protocol", os.path.join("..", package_path.name) + ".yaml")
+
+
+def replace_in_directory(name: str):
+ """
+ Replace text in directory.
+
+ :param name: the protocol name.
+ :return: None
+ """
+ replace_replacement_pairs = [
+ (f"from packages.fetchai.protocols.{name}", f"from aea.protocols.{name}"),
+ (f"aea.packages.fetchai.protocols.{name}", f"aea.protocols.{name}"),
+ ]
+ for submodule in Path("protocols", name).rglob("*.py"):
+ for to_replace, replacement in replace_replacement_pairs:
+ if to_replace not in submodule.read_text():
+ continue
+ submodule.write_text(submodule.read_text().replace(to_replace, replacement))
+ run_cli("isort", str(submodule))
+
+
+def _fix_generated_protocol(package_path: Path) -> None:
+ """
+ Fix the generated protocol.
-PROTOCOL_PACKAGES_PATH = [
- Path("aea", "protocols", "default"),
- Path("aea", "protocols", "signing"),
- Path("aea", "protocols", "state_update"),
- Path("packages", "fetchai", "protocols", "contract_api"),
- Path("packages", "fetchai", "protocols", "fipa"),
- Path("packages", "fetchai", "protocols", "gym"),
- Path("packages", "fetchai", "protocols", "http"),
- Path("packages", "fetchai", "protocols", "ledger_api"),
- Path("packages", "fetchai", "protocols", "ml_trade"),
- Path("packages", "fetchai", "protocols", "oef_search"),
- Path("packages", "fetchai", "protocols", "tac"),
-]
+ That means:
+ - replacing the prefix of import statements for default protocols;
+ - restore the original custom types, if any.
+ - copy the README, if any.
+
+ :param package_path: path to the protocol package.
+ Used also to recover the protocol name.
+ :return: None
+ """
+ # restore original custom types.
+ custom_types_module = package_path / CUSTOM_TYPE_MODULE_NAME
+ if custom_types_module.exists():
+ file_to_replace = Path("protocols", package_path.name, CUSTOM_TYPE_MODULE_NAME)
+ file_to_replace.write_text(custom_types_module.read_text())
+
+ # if it is a library protocol, replace import prefixes.
+ if package_path.parents[1].name == "aea":
+ replace_in_directory(package_path.name)
+
+ # copy the README
+ package_readme_file = package_path / README_FILENAME
+ if package_readme_file.exists():
+ shutil.copyfile(
+ package_readme_file, Path("protocols", package_path.name, README_FILENAME)
+ )
-def install(package: str) -> int:
+def _update_original_protocol(package_path: Path) -> None:
"""
- Install a PyPI package by calling pip.
+ Update the original protocol.
- :param package: the package name and version specifier.
- :return: the return code.
+ :param package_path: the path to the original package.
+ Used to recover the protocol name.
+ :return: None
"""
- return subprocess.check_call( # nosec
- [sys.executable, "-m", "aea", "generate", "protocol", package]
+ shutil.rmtree(package_path)
+ shutil.copytree(Path("protocols", package_path.name), package_path)
+
+
+def _fingerprint_protocol(name: str):
+ """Fingerprint the generated (and modified) protocol."""
+ # recover public id.
+ protocol_config = load_component_configuration(
+ ComponentType.PROTOCOL, Path("protocols", name), skip_consistency_check=True
)
+ run_aea("fingerprint", "protocol", str(protocol_config.public_id))
+
+
+def _process_protocol(package_path: Path) -> None:
+ """
+ Process a protocol package.
+
+ It means:
+ - extract protocol specification from the README
+ - generate the protocol in the current AEA project
+ - fix the generated protocol (e.g. import prefixed, custom types, ...)
+ - update the original protocol with the newly generated one.
+
+ It assumes the working directory is an AEA project.
+
+ :param package_path: path to the package.
+ :return: None
+ """
+ specification_content = _get_protocol_specification_from_readme(package_path)
+ _save_specification_in_temporary_file(package_path.name, specification_content)
+ _generate_protocol(package_path)
+ _fix_generated_protocol(package_path)
+ _fingerprint_protocol(package_path.name)
+ _update_original_protocol(package_path)
+
+
+def _check_preliminaries():
+ """Check that the required software is in place."""
+ try:
+ import aea
+ except ModuleNotFoundError:
+ assert_(False, "'aea' package not installed.")
+ assert_(shutil.which("black") is not None, "black command line tool not found.")
+ assert_(shutil.which("isort") is not None, "isort command line tool not found.")
def main():
"""Run the script."""
+ _check_preliminaries()
+ with AEAProject():
+ # remove default protocol, since we are going to regenerate it
+ run_aea("remove", "protocol", "fetchai/default:0.5.0")
+
+ for package_path in PROTOCOL_PATHS:
+ _process_protocol(package_path)
if __name__ == "__main__":
From 417c4e74a65520db01e0388177189c55c663eea1 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Wed, 2 Sep 2020 12:12:17 +0200
Subject: [PATCH 015/155] first prototype of 'generate_all_protocols.py' script
---
scripts/generate_all_protocols.py | 273 +++++++++++++++++++++++++++---
1 file changed, 254 insertions(+), 19 deletions(-)
diff --git a/scripts/generate_all_protocols.py b/scripts/generate_all_protocols.py
index fbcd33a7c9..82de9b6ff9 100755
--- a/scripts/generate_all_protocols.py
+++ b/scripts/generate_all_protocols.py
@@ -21,41 +21,276 @@
"""
This script takes all the protocol specification (scraped from the protocol README)
and calls the `aea generate protocol` command.
+
+Currently, it does a lot of assumptions, and might not be useful for
+all use cases. However, with not much work, can be customized to achieve
+the desired outcomes.
+
+It requires the `aea` package, `black` and `isort` tools.
"""
+import operator
+import os
+import pprint
+import re
+import shutil
import subprocess # nosec
import sys
+import tempfile
+from io import StringIO
from pathlib import Path
+from typing import Match, Optional, cast
+
+from aea.configurations.base import ComponentType, ProtocolSpecification
+from aea.configurations.loader import ConfigLoader, load_component_configuration
+SPECIFICATION_REGEX = re.compile(r"(---\nname.*\.\.\.)", re.DOTALL)
+CUSTOM_TYPE_MODULE_NAME = "custom_types.py"
+README_FILENAME = "README.md"
+
+PROTOCOL_PATHS = list(
+ map(
+ operator.methodcaller("absolute"),
+ [
+ Path("aea", "protocols", "default"),
+ Path("aea", "protocols", "signing"),
+ Path("aea", "protocols", "state_update"),
+ Path("packages", "fetchai", "protocols", "contract_api"),
+ Path("packages", "fetchai", "protocols", "fipa"),
+ Path("packages", "fetchai", "protocols", "gym"),
+ Path("packages", "fetchai", "protocols", "http"),
+ Path("packages", "fetchai", "protocols", "ledger_api"),
+ Path("packages", "fetchai", "protocols", "ml_trade"),
+ Path("packages", "fetchai", "protocols", "oef_search"),
+ Path("packages", "fetchai", "protocols", "tac"),
+ ],
+ )
+)
-PROTOCOL_PACKAGES_PATH = [
- Path("aea", "protocols", "default"),
- Path("aea", "protocols", "signing"),
- Path("aea", "protocols", "state_update"),
- Path("packages", "fetchai", "protocols", "contract_api"),
- Path("packages", "fetchai", "protocols", "fipa"),
- Path("packages", "fetchai", "protocols", "gym"),
- Path("packages", "fetchai", "protocols", "http"),
- Path("packages", "fetchai", "protocols", "ledger_api"),
- Path("packages", "fetchai", "protocols", "ml_trade"),
- Path("packages", "fetchai", "protocols", "oef_search"),
- Path("packages", "fetchai", "protocols", "tac"),
-]
+
+def enforce(condition, message=""):
+ """Custom assertion."""
+ if not condition:
+ raise AssertionError(message)
+
+
+def run_cli(*args, **kwargs):
+ """Run a CLI command."""
+ return_code = subprocess.check_call(args, **kwargs) # nosec
+ enforce(
+ return_code == 0,
+ f"Return code of {pprint.pformat(args)} is {return_code} != 0.",
+ )
-def install(package: str) -> int:
+def run_aea(*args, **kwargs) -> None:
"""
- Install a PyPI package by calling pip.
+ Run an AEA command.
- :param package: the package name and version specifier.
- :return: the return code.
+ :param args: the AEA command
+ :param kwargs: keyword arguments to subprocess function
+ :return: None
"""
- return subprocess.check_call( # nosec
- [sys.executable, "-m", "aea", "generate", "protocol", package]
+ run_cli(sys.executable, "-m", "aea.cli", *args, **kwargs)
+
+
+class AEAProject:
+ """A context manager class to create and delete an AEA project."""
+
+ old_cwd: str
+ temp_dir: str
+
+ def __init__(self, name: str = "my_aea", parent_dir: Optional[str] = None):
+ """
+ Initialize an AEA project.
+
+ :param name: the name of the AEA project.
+ """
+ self.name = name
+ self.parent_dir = parent_dir
+
+ def __enter__(self):
+ """Create and enter into the project."""
+ self.old_cwd = os.getcwd()
+ self.temp_dir = tempfile.mkdtemp(dir=self.parent_dir)
+ os.chdir(self.temp_dir)
+
+ run_aea("create", self.name)
+ os.chdir(self.name)
+
+ def __exit__(self, exc_type, exc_val, exc_tb):
+ """Exit the context manager."""
+ os.chdir(self.old_cwd)
+ shutil.rmtree(self.temp_dir)
+
+
+def _load_protocol_specification_from_string(
+ specification_content: str,
+) -> ProtocolSpecification:
+ """Load a protocol specification from string."""
+ file = StringIO(initial_value=specification_content)
+ config_loader = ConfigLoader(
+ "protocol-specification_schema.json", ProtocolSpecification
+ )
+ protocol_spec = config_loader.load_protocol_specification(file)
+ return protocol_spec
+
+
+def _get_protocol_specification_from_readme(package_path: Path) -> str:
+ """Get the protocol specification from the package README."""
+ readme = package_path / "README.md"
+ readme_content = readme.read_text()
+ enforce(
+ "## Specification" in readme_content,
+ f"Cannot find specification section in {package_path}",
+ )
+
+ search_result = SPECIFICATION_REGEX.search(readme_content)
+ enforce(
+ search_result is not None,
+ f"Cannot find specification section in README of {package_path}",
)
+ specification_content = cast(Match, search_result).group(0)
+ # just for validation of the parsed string
+ _load_protocol_specification_from_string(specification_content)
+ return specification_content
+
+
+def _save_specification_in_temporary_file(name: str, specification_content: str):
+ """
+ Save the specification in a temporary file.
+
+ :param name: the name of the package.
+ :param specification_content: the specification content.
+ :return: None
+ """
+ # here, the cwd is the temporary AEA project
+ # hence, we are writing in a temporary directory
+ Path("..", name + ".yaml").write_text(specification_content)
+
+
+def _generate_protocol(package_path: Path) -> None:
+ """
+ Generate the protocol.
+
+ :param package_path: package to the path.
+ :return: None
+ """
+ run_aea("generate", "protocol", os.path.join("..", package_path.name) + ".yaml")
+
+
+def replace_in_directory(name: str):
+ """
+ Replace text in directory.
+
+ :param name: the protocol name.
+ :return: None
+ """
+ replace_replacement_pairs = [
+ (f"from packages.fetchai.protocols.{name}", f"from aea.protocols.{name}"),
+ (f"aea.packages.fetchai.protocols.{name}", f"aea.protocols.{name}"),
+ ]
+ for submodule in Path("protocols", name).rglob("*.py"):
+ for to_replace, replacement in replace_replacement_pairs:
+ if to_replace not in submodule.read_text():
+ continue
+ submodule.write_text(submodule.read_text().replace(to_replace, replacement))
+ run_cli("isort", str(submodule))
+
+
+def _fix_generated_protocol(package_path: Path) -> None:
+ """
+ Fix the generated protocol.
+
+ That means:
+ - replacing the prefix of import statements for default protocols;
+ - restore the original custom types, if any.
+ - copy the README, if any.
+
+ :param package_path: path to the protocol package.
+ Used also to recover the protocol name.
+ :return: None
+ """
+ # restore original custom types.
+ custom_types_module = package_path / CUSTOM_TYPE_MODULE_NAME
+ if custom_types_module.exists():
+ file_to_replace = Path("protocols", package_path.name, CUSTOM_TYPE_MODULE_NAME)
+ file_to_replace.write_text(custom_types_module.read_text())
+
+ # if it is a library protocol, replace import prefixes.
+ if package_path.parents[1].name == "aea":
+ replace_in_directory(package_path.name)
+
+ # copy the README
+ package_readme_file = package_path / README_FILENAME
+ if package_readme_file.exists():
+ shutil.copyfile(
+ package_readme_file, Path("protocols", package_path.name, README_FILENAME)
+ )
+
+
+def _update_original_protocol(package_path: Path) -> None:
+ """
+ Update the original protocol.
+
+ :param package_path: the path to the original package.
+ Used to recover the protocol name.
+ :return: None
+ """
+ shutil.rmtree(package_path)
+ shutil.copytree(Path("protocols", package_path.name), package_path)
+
+
+def _fingerprint_protocol(name: str):
+ """Fingerprint the generated (and modified) protocol."""
+ # recover public id.
+ protocol_config = load_component_configuration(
+ ComponentType.PROTOCOL, Path("protocols", name), skip_consistency_check=True
+ )
+ run_aea("fingerprint", "protocol", str(protocol_config.public_id))
+
+
+def _process_protocol(package_path: Path) -> None:
+ """
+ Process a protocol package.
+
+ It means:
+ - extract protocol specification from the README
+ - generate the protocol in the current AEA project
+ - fix the generated protocol (e.g. import prefixed, custom types, ...)
+ - update the original protocol with the newly generated one.
+
+ It assumes the working directory is an AEA project.
+
+ :param package_path: path to the package.
+ :return: None
+ """
+ specification_content = _get_protocol_specification_from_readme(package_path)
+ _save_specification_in_temporary_file(package_path.name, specification_content)
+ _generate_protocol(package_path)
+ _fix_generated_protocol(package_path)
+ _fingerprint_protocol(package_path.name)
+ _update_original_protocol(package_path)
+
+
+def _check_preliminaries():
+ """Check that the required software is in place."""
+ try:
+ import aea # noqa: F401 # pylint: disable=import-outside-toplevel,unused-import
+ except ModuleNotFoundError:
+ enforce(False, "'aea' package not installed.")
+ enforce(shutil.which("black") is not None, "black command line tool not found.")
+ enforce(shutil.which("isort") is not None, "isort command line tool not found.")
def main():
"""Run the script."""
+ _check_preliminaries()
+ with AEAProject():
+ # remove default protocol, since we are going to regenerate it
+ run_aea("remove", "protocol", "fetchai/default:0.5.0")
+
+ for package_path in PROTOCOL_PATHS:
+ _process_protocol(package_path)
if __name__ == "__main__":
From 4cd1cff16e3eb25d87d65e27a3d7ed3acda30af1 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Wed, 2 Sep 2020 14:20:38 +0200
Subject: [PATCH 016/155] call black after fixing the protocol
---
scripts/generate_all_protocols.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/generate_all_protocols.py b/scripts/generate_all_protocols.py
index 82de9b6ff9..f9fd01d099 100755
--- a/scripts/generate_all_protocols.py
+++ b/scripts/generate_all_protocols.py
@@ -195,6 +195,7 @@ def replace_in_directory(name: str):
continue
submodule.write_text(submodule.read_text().replace(to_replace, replacement))
run_cli("isort", str(submodule))
+ run_cli("black", str(submodule))
def _fix_generated_protocol(package_path: Path) -> None:
From 167f4d736e9f17391e283fd9444ee1920f4012e9 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Wed, 2 Sep 2020 14:23:08 +0200
Subject: [PATCH 017/155] update all protocols
---
aea/protocols/default/protocol.yaml | 2 +-
aea/protocols/default/serialization.py | 6 +-
aea/protocols/signing/message.py | 2 +-
aea/protocols/signing/protocol.yaml | 8 +-
aea/protocols/signing/serialization.py | 49 +-
aea/protocols/signing/signing.proto | 7 +-
aea/protocols/signing/signing_pb2.py | 358 ++++-----
aea/protocols/state_update/message.py | 2 +-
aea/protocols/state_update/protocol.yaml | 8 +-
aea/protocols/state_update/serialization.py | 35 +-
aea/protocols/state_update/state_update.proto | 7 +-
.../state_update/state_update_pb2.py | 312 +++----
.../protocols/contract_api/contract_api.proto | 7 +-
.../contract_api/contract_api_pb2.py | 448 +++++------
.../protocols/contract_api/protocol.yaml | 6 +-
.../protocols/contract_api/serialization.py | 31 +-
packages/fetchai/protocols/fipa/fipa.proto | 7 +-
packages/fetchai/protocols/fipa/fipa_pb2.py | 436 +++++-----
packages/fetchai/protocols/fipa/protocol.yaml | 6 +-
.../fetchai/protocols/fipa/serialization.py | 31 +-
packages/fetchai/protocols/gym/gym.proto | 7 +-
packages/fetchai/protocols/gym/gym_pb2.py | 276 +++----
packages/fetchai/protocols/gym/protocol.yaml | 6 +-
.../fetchai/protocols/gym/serialization.py | 31 +-
packages/fetchai/protocols/http/http.proto | 7 +-
packages/fetchai/protocols/http/http_pb2.py | 182 ++---
packages/fetchai/protocols/http/protocol.yaml | 6 +-
.../fetchai/protocols/http/serialization.py | 31 +-
.../protocols/ledger_api/ledger_api.proto | 7 +-
.../protocols/ledger_api/ledger_api_pb2.py | 422 ++++------
.../protocols/ledger_api/protocol.yaml | 6 +-
.../protocols/ledger_api/serialization.py | 31 +-
.../fetchai/protocols/ml_trade/ml_trade.proto | 7 +-
.../protocols/ml_trade/ml_trade_pb2.py | 270 +++----
.../fetchai/protocols/ml_trade/protocol.yaml | 6 +-
.../protocols/ml_trade/serialization.py | 31 +-
.../protocols/oef_search/oef_search.proto | 7 +-
.../protocols/oef_search/oef_search_pb2.py | 314 +++-----
.../protocols/oef_search/protocol.yaml | 6 +-
.../protocols/oef_search/serialization.py | 31 +-
packages/fetchai/protocols/tac/protocol.yaml | 6 +-
.../fetchai/protocols/tac/serialization.py | 31 +-
packages/fetchai/protocols/tac/tac.proto | 7 +-
packages/fetchai/protocols/tac/tac_pb2.py | 758 ++++++++----------
packages/hashes.csv | 22 +-
45 files changed, 1819 insertions(+), 2457 deletions(-)
diff --git a/aea/protocols/default/protocol.yaml b/aea/protocols/default/protocol.yaml
index 1878535efc..8d23821b81 100644
--- a/aea/protocols/default/protocol.yaml
+++ b/aea/protocols/default/protocol.yaml
@@ -13,7 +13,7 @@ fingerprint:
default_pb2.py: QmWZGRz16egJBqQVNJ5sN5VEeTSoCq85eJEUqTPqn4caFQ
dialogues.py: Qmc991snbS7DwFxo1cKcq1rQ2uj7y8ukp14kfe2zve387C
message.py: QmeaadvKib9QqpjZgd7NiDUqGRpC2eZPVpgq1dY3PYacht
- serialization.py: QmSXncJHmAzU957A4VSa72yz8H41xBiTLTFSr31NNhBkjQ
+ serialization.py: QmcRk22hZ49s2HLUNPXBYWTnUkFjuNnVwVWp3yfxfbaQDd
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/aea/protocols/default/serialization.py b/aea/protocols/default/serialization.py
index f91b875e99..c5e0ae43a5 100644
--- a/aea/protocols/default/serialization.py
+++ b/aea/protocols/default/serialization.py
@@ -21,9 +21,9 @@
from typing import Any, Dict, cast
-from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
-from aea.protocols.base import Message
-from aea.protocols.base import Serializer
+from aea.mail.base_pb2 import DialogueMessage
+from aea.mail.base_pb2 import Message as ProtobufMessage
+from aea.protocols.base import Message, Serializer
from aea.protocols.default import default_pb2
from aea.protocols.default.custom_types import ErrorCode
from aea.protocols.default.message import DefaultMessage
diff --git a/aea/protocols/signing/message.py b/aea/protocols/signing/message.py
index 68a46db489..ea9ef07339 100644
--- a/aea/protocols/signing/message.py
+++ b/aea/protocols/signing/message.py
@@ -34,7 +34,7 @@
)
from aea.protocols.signing.custom_types import Terms as CustomTerms
-logger = logging.getLogger("aea.packages.fetchai.protocols.signing.message")
+logger = logging.getLogger("aea.protocols.signing.message")
DEFAULT_BODY_SIZE = 4
diff --git a/aea/protocols/signing/protocol.yaml b/aea/protocols/signing/protocol.yaml
index 15bf3690d9..8f1d1d4d15 100644
--- a/aea/protocols/signing/protocol.yaml
+++ b/aea/protocols/signing/protocol.yaml
@@ -10,10 +10,10 @@ fingerprint:
__init__.py: QmcCL3TTdvd8wxYKzf2d3cgKEtY9RzLjPCn4hex4wmb6h6
custom_types.py: Qmc7sAyCQbAaVs5dZf9hFkTrB2BG8VAioWzbyKBAybrQ1J
dialogues.py: QmQ1WKs3Dn15oDSwpc4N8hdADLxrn76U4X5SiLAmyGiPPY
- message.py: QmRLWAYfjCQmdg2hH8R5R63DKYaDrzuX4dVTFqNHuyjawq
- serialization.py: QmZrztNBaWA6B5wJHQWfM2g6opPtvsEXtqytzmxjKWm7Sb
- signing.proto: QmcxyLzqhTE9xstAEzCVH17osbLxmSdALx9njmuPjhjrvZ
- signing_pb2.py: QmY3Ak5ih5zGvKjeZ5EnzrGX4tMYn5dWpjPArQwFeJpVKu
+ message.py: QmWMUnBpZxBq1PDZ6JsR9vwaKdywBHvL5hghekWeph8j9B
+ serialization.py: QmT4wm2vP8QUFYCCaCCNNe4kMGgPCsFqkBTvKJFUYDJC4S
+ signing.proto: QmZEfnzAacy2rtbqZrPUqPBECRDbJPg5GDcZUyiSAah8Kt
+ signing_pb2.py: QmbZvzqyJWpqttSFwK6wx3gHrrTFiajs2hmFZVsSKFtVZR
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/aea/protocols/signing/serialization.py b/aea/protocols/signing/serialization.py
index 88acd2f7a4..f27693b4a5 100644
--- a/aea/protocols/signing/serialization.py
+++ b/aea/protocols/signing/serialization.py
@@ -21,15 +21,18 @@
from typing import Any, Dict, cast
-from aea.protocols.base import Message
-from aea.protocols.base import Serializer
+from aea.mail.base_pb2 import DialogueMessage
+from aea.mail.base_pb2 import Message as ProtobufMessage
+from aea.protocols.base import Message, Serializer
from aea.protocols.signing import signing_pb2
-from aea.protocols.signing.custom_types import ErrorCode
-from aea.protocols.signing.custom_types import RawMessage
-from aea.protocols.signing.custom_types import RawTransaction
-from aea.protocols.signing.custom_types import SignedMessage
-from aea.protocols.signing.custom_types import SignedTransaction
-from aea.protocols.signing.custom_types import Terms
+from aea.protocols.signing.custom_types import (
+ ErrorCode,
+ RawMessage,
+ RawTransaction,
+ SignedMessage,
+ SignedTransaction,
+ Terms,
+)
from aea.protocols.signing.message import SigningMessage
@@ -45,12 +48,15 @@ def encode(msg: Message) -> bytes:
:return: the bytes.
"""
msg = cast(SigningMessage, msg)
+ message_pb = ProtobufMessage()
+ dialogue_message_pb = DialogueMessage()
signing_msg = signing_pb2.SigningMessage()
- signing_msg.message_id = msg.message_id
+
+ dialogue_message_pb.message_id = msg.message_id
dialogue_reference = msg.dialogue_reference
- signing_msg.dialogue_starter_reference = dialogue_reference[0]
- signing_msg.dialogue_responder_reference = dialogue_reference[1]
- signing_msg.target = msg.target
+ dialogue_message_pb.dialogue_starter_reference = dialogue_reference[0]
+ dialogue_message_pb.dialogue_responder_reference = dialogue_reference[1]
+ dialogue_message_pb.target = msg.target
performative_id = msg.performative
if performative_id == SigningMessage.Performative.SIGN_TRANSACTION:
@@ -87,8 +93,11 @@ def encode(msg: Message) -> bytes:
else:
raise ValueError("Performative not valid: {}".format(performative_id))
- signing_bytes = signing_msg.SerializeToString()
- return signing_bytes
+ dialogue_message_pb.content = signing_msg.SerializeToString()
+
+ message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
+ message_bytes = message_pb.SerializeToString()
+ return message_bytes
@staticmethod
def decode(obj: bytes) -> Message:
@@ -98,15 +107,17 @@ def decode(obj: bytes) -> Message:
:param obj: the bytes object.
:return: the 'Signing' message.
"""
+ message_pb = ProtobufMessage()
signing_pb = signing_pb2.SigningMessage()
- signing_pb.ParseFromString(obj)
- message_id = signing_pb.message_id
+ message_pb.ParseFromString(obj)
+ message_id = message_pb.dialogue_message.message_id
dialogue_reference = (
- signing_pb.dialogue_starter_reference,
- signing_pb.dialogue_responder_reference,
+ message_pb.dialogue_message.dialogue_starter_reference,
+ message_pb.dialogue_message.dialogue_responder_reference,
)
- target = signing_pb.target
+ target = message_pb.dialogue_message.target
+ signing_pb.ParseFromString(message_pb.dialogue_message.content)
performative = signing_pb.WhichOneof("performative")
performative_id = SigningMessage.Performative(str(performative))
performative_content = dict() # type: Dict[str, Any]
diff --git a/aea/protocols/signing/signing.proto b/aea/protocols/signing/signing.proto
index 1d773613b0..730093bc93 100644
--- a/aea/protocols/signing/signing.proto
+++ b/aea/protocols/signing/signing.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetch.aea.Signing;
+package fetchai.aea.fetchai.signing;
message SigningMessage{
@@ -58,11 +58,6 @@ message SigningMessage{
}
- // Standard SigningMessage fields
- int32 message_id = 1;
- string dialogue_starter_reference = 2;
- string dialogue_responder_reference = 3;
- int32 target = 4;
oneof performative{
Error_Performative error = 5;
Sign_Message_Performative sign_message = 6;
diff --git a/aea/protocols/signing/signing_pb2.py b/aea/protocols/signing/signing_pb2.py
index f88113b01e..8f83d28cc2 100644
--- a/aea/protocols/signing/signing_pb2.py
+++ b/aea/protocols/signing/signing_pb2.py
@@ -1,7 +1,9 @@
-# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: signing.proto
+import sys
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@@ -14,16 +16,18 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="signing.proto",
- package="fetch.aea.Signing",
+ package="fetchai.aea.fetchai.signing",
syntax="proto3",
serialized_options=None,
- serialized_pb=b"\n\rsigning.proto\x12\x11\x66\x65tch.aea.Signing\"\xa8\x0c\n\x0eSigningMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12\"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12\x45\n\x05\x65rror\x18\x05 \x01(\x0b\x32\x34.fetch.aea.Signing.SigningMessage.Error_PerformativeH\x00\x12S\n\x0csign_message\x18\x06 \x01(\x0b\x32;.fetch.aea.Signing.SigningMessage.Sign_Message_PerformativeH\x00\x12[\n\x10sign_transaction\x18\x07 \x01(\x0b\x32?.fetch.aea.Signing.SigningMessage.Sign_Transaction_PerformativeH\x00\x12W\n\x0esigned_message\x18\x08 \x01(\x0b\x32=.fetch.aea.Signing.SigningMessage.Signed_Message_PerformativeH\x00\x12_\n\x12signed_transaction\x18\t \x01(\x0b\x32\x41.fetch.aea.Signing.SigningMessage.Signed_Transaction_PerformativeH\x00\x1a\xb3\x01\n\tErrorCode\x12M\n\nerror_code\x18\x01 \x01(\x0e\x32\x39.fetch.aea.Signing.SigningMessage.ErrorCode.ErrorCodeEnum\"W\n\rErrorCodeEnum\x12 \n\x1cUNSUCCESSFUL_MESSAGE_SIGNING\x10\x00\x12$\n UNSUCCESSFUL_TRANSACTION_SIGNING\x10\x01\x1a!\n\nRawMessage\x12\x13\n\x0braw_message\x18\x01 \x01(\x0c\x1a)\n\x0eRawTransaction\x12\x17\n\x0fraw_transaction\x18\x01 \x01(\x0c\x1a'\n\rSignedMessage\x12\x16\n\x0esigned_message\x18\x01 \x01(\x0c\x1a/\n\x11SignedTransaction\x12\x1a\n\x12signed_transaction\x18\x01 \x01(\x0c\x1a\x16\n\x05Terms\x12\r\n\x05terms\x18\x01 \x01(\x0c\x1a\xa2\x01\n\x1dSign_Transaction_Performative\x12\x36\n\x05terms\x18\x01 \x01(\x0b\x32'.fetch.aea.Signing.SigningMessage.Terms\x12I\n\x0fraw_transaction\x18\x02 \x01(\x0b\x32\x30.fetch.aea.Signing.SigningMessage.RawTransaction\x1a\x96\x01\n\x19Sign_Message_Performative\x12\x36\n\x05terms\x18\x01 \x01(\x0b\x32'.fetch.aea.Signing.SigningMessage.Terms\x12\x41\n\x0braw_message\x18\x02 \x01(\x0b\x32,.fetch.aea.Signing.SigningMessage.RawMessage\x1ar\n\x1fSigned_Transaction_Performative\x12O\n\x12signed_transaction\x18\x01 \x01(\x0b\x32\x33.fetch.aea.Signing.SigningMessage.SignedTransaction\x1a\x66\n\x1bSigned_Message_Performative\x12G\n\x0esigned_message\x18\x01 \x01(\x0b\x32/.fetch.aea.Signing.SigningMessage.SignedMessage\x1aU\n\x12\x45rror_Performative\x12?\n\nerror_code\x18\x01 \x01(\x0b\x32+.fetch.aea.Signing.SigningMessage.ErrorCodeB\x0e\n\x0cperformativeb\x06proto3",
+ serialized_pb=_b(
+ '\n\rsigning.proto\x12\x1b\x66\x65tchai.aea.fetchai.signing"\xbc\x0c\n\x0eSigningMessage\x12O\n\x05\x65rror\x18\x05 \x01(\x0b\x32>.fetchai.aea.fetchai.signing.SigningMessage.Error_PerformativeH\x00\x12]\n\x0csign_message\x18\x06 \x01(\x0b\x32\x45.fetchai.aea.fetchai.signing.SigningMessage.Sign_Message_PerformativeH\x00\x12\x65\n\x10sign_transaction\x18\x07 \x01(\x0b\x32I.fetchai.aea.fetchai.signing.SigningMessage.Sign_Transaction_PerformativeH\x00\x12\x61\n\x0esigned_message\x18\x08 \x01(\x0b\x32G.fetchai.aea.fetchai.signing.SigningMessage.Signed_Message_PerformativeH\x00\x12i\n\x12signed_transaction\x18\t \x01(\x0b\x32K.fetchai.aea.fetchai.signing.SigningMessage.Signed_Transaction_PerformativeH\x00\x1a\xbd\x01\n\tErrorCode\x12W\n\nerror_code\x18\x01 \x01(\x0e\x32\x43.fetchai.aea.fetchai.signing.SigningMessage.ErrorCode.ErrorCodeEnum"W\n\rErrorCodeEnum\x12 \n\x1cUNSUCCESSFUL_MESSAGE_SIGNING\x10\x00\x12$\n UNSUCCESSFUL_TRANSACTION_SIGNING\x10\x01\x1a!\n\nRawMessage\x12\x13\n\x0braw_message\x18\x01 \x01(\x0c\x1a)\n\x0eRawTransaction\x12\x17\n\x0fraw_transaction\x18\x01 \x01(\x0c\x1a\'\n\rSignedMessage\x12\x16\n\x0esigned_message\x18\x01 \x01(\x0c\x1a/\n\x11SignedTransaction\x12\x1a\n\x12signed_transaction\x18\x01 \x01(\x0c\x1a\x16\n\x05Terms\x12\r\n\x05terms\x18\x01 \x01(\x0c\x1a\xb6\x01\n\x1dSign_Transaction_Performative\x12@\n\x05terms\x18\x01 \x01(\x0b\x32\x31.fetchai.aea.fetchai.signing.SigningMessage.Terms\x12S\n\x0fraw_transaction\x18\x02 \x01(\x0b\x32:.fetchai.aea.fetchai.signing.SigningMessage.RawTransaction\x1a\xaa\x01\n\x19Sign_Message_Performative\x12@\n\x05terms\x18\x01 \x01(\x0b\x32\x31.fetchai.aea.fetchai.signing.SigningMessage.Terms\x12K\n\x0braw_message\x18\x02 \x01(\x0b\x32\x36.fetchai.aea.fetchai.signing.SigningMessage.RawMessage\x1a|\n\x1fSigned_Transaction_Performative\x12Y\n\x12signed_transaction\x18\x01 \x01(\x0b\x32=.fetchai.aea.fetchai.signing.SigningMessage.SignedTransaction\x1ap\n\x1bSigned_Message_Performative\x12Q\n\x0esigned_message\x18\x01 \x01(\x0b\x32\x39.fetchai.aea.fetchai.signing.SigningMessage.SignedMessage\x1a_\n\x12\x45rror_Performative\x12I\n\nerror_code\x18\x01 \x01(\x0b\x32\x35.fetchai.aea.fetchai.signing.SigningMessage.ErrorCodeB\x0e\n\x0cperformativeb\x06proto3'
+ ),
)
_SIGNINGMESSAGE_ERRORCODE_ERRORCODEENUM = _descriptor.EnumDescriptor(
name="ErrorCodeEnum",
- full_name="fetch.aea.Signing.SigningMessage.ErrorCode.ErrorCodeEnum",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.ErrorCode.ErrorCodeEnum",
filename=None,
file=DESCRIPTOR,
values=[
@@ -44,22 +48,22 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=693,
- serialized_end=780,
+ serialized_start=653,
+ serialized_end=740,
)
_sym_db.RegisterEnumDescriptor(_SIGNINGMESSAGE_ERRORCODE_ERRORCODEENUM)
_SIGNINGMESSAGE_ERRORCODE = _descriptor.Descriptor(
name="ErrorCode",
- full_name="fetch.aea.Signing.SigningMessage.ErrorCode",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.ErrorCode",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="error_code",
- full_name="fetch.aea.Signing.SigningMessage.ErrorCode.error_code",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.ErrorCode.error_code",
index=0,
number=1,
type=14,
@@ -84,27 +88,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=601,
- serialized_end=780,
+ serialized_start=551,
+ serialized_end=740,
)
_SIGNINGMESSAGE_RAWMESSAGE = _descriptor.Descriptor(
name="RawMessage",
- full_name="fetch.aea.Signing.SigningMessage.RawMessage",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.RawMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="raw_message",
- full_name="fetch.aea.Signing.SigningMessage.RawMessage.raw_message",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.RawMessage.raw_message",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -122,27 +126,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=782,
- serialized_end=815,
+ serialized_start=742,
+ serialized_end=775,
)
_SIGNINGMESSAGE_RAWTRANSACTION = _descriptor.Descriptor(
name="RawTransaction",
- full_name="fetch.aea.Signing.SigningMessage.RawTransaction",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.RawTransaction",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="raw_transaction",
- full_name="fetch.aea.Signing.SigningMessage.RawTransaction.raw_transaction",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.RawTransaction.raw_transaction",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -160,27 +164,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=817,
- serialized_end=858,
+ serialized_start=777,
+ serialized_end=818,
)
_SIGNINGMESSAGE_SIGNEDMESSAGE = _descriptor.Descriptor(
name="SignedMessage",
- full_name="fetch.aea.Signing.SigningMessage.SignedMessage",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.SignedMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="signed_message",
- full_name="fetch.aea.Signing.SigningMessage.SignedMessage.signed_message",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.SignedMessage.signed_message",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -198,27 +202,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=860,
- serialized_end=899,
+ serialized_start=820,
+ serialized_end=859,
)
_SIGNINGMESSAGE_SIGNEDTRANSACTION = _descriptor.Descriptor(
name="SignedTransaction",
- full_name="fetch.aea.Signing.SigningMessage.SignedTransaction",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.SignedTransaction",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="signed_transaction",
- full_name="fetch.aea.Signing.SigningMessage.SignedTransaction.signed_transaction",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.SignedTransaction.signed_transaction",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -236,27 +240,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=901,
- serialized_end=948,
+ serialized_start=861,
+ serialized_end=908,
)
_SIGNINGMESSAGE_TERMS = _descriptor.Descriptor(
name="Terms",
- full_name="fetch.aea.Signing.SigningMessage.Terms",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.Terms",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetch.aea.Signing.SigningMessage.Terms.terms",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.Terms.terms",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -274,20 +278,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=950,
- serialized_end=972,
+ serialized_start=910,
+ serialized_end=932,
)
_SIGNINGMESSAGE_SIGN_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Sign_Transaction_Performative",
- full_name="fetch.aea.Signing.SigningMessage.Sign_Transaction_Performative",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.Sign_Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetch.aea.Signing.SigningMessage.Sign_Transaction_Performative.terms",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.Sign_Transaction_Performative.terms",
index=0,
number=1,
type=11,
@@ -305,7 +309,7 @@
),
_descriptor.FieldDescriptor(
name="raw_transaction",
- full_name="fetch.aea.Signing.SigningMessage.Sign_Transaction_Performative.raw_transaction",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.Sign_Transaction_Performative.raw_transaction",
index=1,
number=2,
type=11,
@@ -330,20 +334,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=975,
- serialized_end=1137,
+ serialized_start=935,
+ serialized_end=1117,
)
_SIGNINGMESSAGE_SIGN_MESSAGE_PERFORMATIVE = _descriptor.Descriptor(
name="Sign_Message_Performative",
- full_name="fetch.aea.Signing.SigningMessage.Sign_Message_Performative",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.Sign_Message_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetch.aea.Signing.SigningMessage.Sign_Message_Performative.terms",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.Sign_Message_Performative.terms",
index=0,
number=1,
type=11,
@@ -361,7 +365,7 @@
),
_descriptor.FieldDescriptor(
name="raw_message",
- full_name="fetch.aea.Signing.SigningMessage.Sign_Message_Performative.raw_message",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.Sign_Message_Performative.raw_message",
index=1,
number=2,
type=11,
@@ -386,20 +390,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1140,
+ serialized_start=1120,
serialized_end=1290,
)
_SIGNINGMESSAGE_SIGNED_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Signed_Transaction_Performative",
- full_name="fetch.aea.Signing.SigningMessage.Signed_Transaction_Performative",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.Signed_Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="signed_transaction",
- full_name="fetch.aea.Signing.SigningMessage.Signed_Transaction_Performative.signed_transaction",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.Signed_Transaction_Performative.signed_transaction",
index=0,
number=1,
type=11,
@@ -425,19 +429,19 @@
extension_ranges=[],
oneofs=[],
serialized_start=1292,
- serialized_end=1406,
+ serialized_end=1416,
)
_SIGNINGMESSAGE_SIGNED_MESSAGE_PERFORMATIVE = _descriptor.Descriptor(
name="Signed_Message_Performative",
- full_name="fetch.aea.Signing.SigningMessage.Signed_Message_Performative",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.Signed_Message_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="signed_message",
- full_name="fetch.aea.Signing.SigningMessage.Signed_Message_Performative.signed_message",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.Signed_Message_Performative.signed_message",
index=0,
number=1,
type=11,
@@ -462,20 +466,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1408,
- serialized_end=1510,
+ serialized_start=1418,
+ serialized_end=1530,
)
_SIGNINGMESSAGE_ERROR_PERFORMATIVE = _descriptor.Descriptor(
name="Error_Performative",
- full_name="fetch.aea.Signing.SigningMessage.Error_Performative",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.Error_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="error_code",
- full_name="fetch.aea.Signing.SigningMessage.Error_Performative.error_code",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.Error_Performative.error_code",
index=0,
number=1,
type=11,
@@ -500,93 +504,21 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1512,
- serialized_end=1597,
+ serialized_start=1532,
+ serialized_end=1627,
)
_SIGNINGMESSAGE = _descriptor.Descriptor(
name="SigningMessage",
- full_name="fetch.aea.Signing.SigningMessage",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
- _descriptor.FieldDescriptor(
- name="message_id",
- full_name="fetch.aea.Signing.SigningMessage.message_id",
- index=0,
- number=1,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_starter_reference",
- full_name="fetch.aea.Signing.SigningMessage.dialogue_starter_reference",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_responder_reference",
- full_name="fetch.aea.Signing.SigningMessage.dialogue_responder_reference",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="target",
- full_name="fetch.aea.Signing.SigningMessage.target",
- index=3,
- number=4,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
_descriptor.FieldDescriptor(
name="error",
- full_name="fetch.aea.Signing.SigningMessage.error",
- index=4,
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.error",
+ index=0,
number=5,
type=11,
cpp_type=10,
@@ -603,8 +535,8 @@
),
_descriptor.FieldDescriptor(
name="sign_message",
- full_name="fetch.aea.Signing.SigningMessage.sign_message",
- index=5,
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.sign_message",
+ index=1,
number=6,
type=11,
cpp_type=10,
@@ -621,8 +553,8 @@
),
_descriptor.FieldDescriptor(
name="sign_transaction",
- full_name="fetch.aea.Signing.SigningMessage.sign_transaction",
- index=6,
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.sign_transaction",
+ index=2,
number=7,
type=11,
cpp_type=10,
@@ -639,8 +571,8 @@
),
_descriptor.FieldDescriptor(
name="signed_message",
- full_name="fetch.aea.Signing.SigningMessage.signed_message",
- index=7,
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.signed_message",
+ index=3,
number=8,
type=11,
cpp_type=10,
@@ -657,8 +589,8 @@
),
_descriptor.FieldDescriptor(
name="signed_transaction",
- full_name="fetch.aea.Signing.SigningMessage.signed_transaction",
- index=8,
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.signed_transaction",
+ index=4,
number=9,
type=11,
cpp_type=10,
@@ -696,14 +628,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetch.aea.Signing.SigningMessage.performative",
+ full_name="fetchai.aea.fetchai.signing.SigningMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=37,
- serialized_end=1613,
+ serialized_start=47,
+ serialized_end=1643,
)
_SIGNINGMESSAGE_ERRORCODE.fields_by_name[
@@ -793,110 +725,110 @@
SigningMessage = _reflection.GeneratedProtocolMessageType(
"SigningMessage",
(_message.Message,),
- {
- "ErrorCode": _reflection.GeneratedProtocolMessageType(
+ dict(
+ ErrorCode=_reflection.GeneratedProtocolMessageType(
"ErrorCode",
(_message.Message,),
- {
- "DESCRIPTOR": _SIGNINGMESSAGE_ERRORCODE,
- "__module__": "signing_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Signing.SigningMessage.ErrorCode)
- },
+ dict(
+ DESCRIPTOR=_SIGNINGMESSAGE_ERRORCODE,
+ __module__="signing_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.ErrorCode)
+ ),
),
- "RawMessage": _reflection.GeneratedProtocolMessageType(
+ RawMessage=_reflection.GeneratedProtocolMessageType(
"RawMessage",
(_message.Message,),
- {
- "DESCRIPTOR": _SIGNINGMESSAGE_RAWMESSAGE,
- "__module__": "signing_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Signing.SigningMessage.RawMessage)
- },
+ dict(
+ DESCRIPTOR=_SIGNINGMESSAGE_RAWMESSAGE,
+ __module__="signing_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.RawMessage)
+ ),
),
- "RawTransaction": _reflection.GeneratedProtocolMessageType(
+ RawTransaction=_reflection.GeneratedProtocolMessageType(
"RawTransaction",
(_message.Message,),
- {
- "DESCRIPTOR": _SIGNINGMESSAGE_RAWTRANSACTION,
- "__module__": "signing_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Signing.SigningMessage.RawTransaction)
- },
+ dict(
+ DESCRIPTOR=_SIGNINGMESSAGE_RAWTRANSACTION,
+ __module__="signing_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.RawTransaction)
+ ),
),
- "SignedMessage": _reflection.GeneratedProtocolMessageType(
+ SignedMessage=_reflection.GeneratedProtocolMessageType(
"SignedMessage",
(_message.Message,),
- {
- "DESCRIPTOR": _SIGNINGMESSAGE_SIGNEDMESSAGE,
- "__module__": "signing_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Signing.SigningMessage.SignedMessage)
- },
+ dict(
+ DESCRIPTOR=_SIGNINGMESSAGE_SIGNEDMESSAGE,
+ __module__="signing_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.SignedMessage)
+ ),
),
- "SignedTransaction": _reflection.GeneratedProtocolMessageType(
+ SignedTransaction=_reflection.GeneratedProtocolMessageType(
"SignedTransaction",
(_message.Message,),
- {
- "DESCRIPTOR": _SIGNINGMESSAGE_SIGNEDTRANSACTION,
- "__module__": "signing_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Signing.SigningMessage.SignedTransaction)
- },
+ dict(
+ DESCRIPTOR=_SIGNINGMESSAGE_SIGNEDTRANSACTION,
+ __module__="signing_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.SignedTransaction)
+ ),
),
- "Terms": _reflection.GeneratedProtocolMessageType(
+ Terms=_reflection.GeneratedProtocolMessageType(
"Terms",
(_message.Message,),
- {
- "DESCRIPTOR": _SIGNINGMESSAGE_TERMS,
- "__module__": "signing_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Signing.SigningMessage.Terms)
- },
+ dict(
+ DESCRIPTOR=_SIGNINGMESSAGE_TERMS,
+ __module__="signing_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.Terms)
+ ),
),
- "Sign_Transaction_Performative": _reflection.GeneratedProtocolMessageType(
+ Sign_Transaction_Performative=_reflection.GeneratedProtocolMessageType(
"Sign_Transaction_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _SIGNINGMESSAGE_SIGN_TRANSACTION_PERFORMATIVE,
- "__module__": "signing_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Signing.SigningMessage.Sign_Transaction_Performative)
- },
+ dict(
+ DESCRIPTOR=_SIGNINGMESSAGE_SIGN_TRANSACTION_PERFORMATIVE,
+ __module__="signing_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.Sign_Transaction_Performative)
+ ),
),
- "Sign_Message_Performative": _reflection.GeneratedProtocolMessageType(
+ Sign_Message_Performative=_reflection.GeneratedProtocolMessageType(
"Sign_Message_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _SIGNINGMESSAGE_SIGN_MESSAGE_PERFORMATIVE,
- "__module__": "signing_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Signing.SigningMessage.Sign_Message_Performative)
- },
+ dict(
+ DESCRIPTOR=_SIGNINGMESSAGE_SIGN_MESSAGE_PERFORMATIVE,
+ __module__="signing_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.Sign_Message_Performative)
+ ),
),
- "Signed_Transaction_Performative": _reflection.GeneratedProtocolMessageType(
+ Signed_Transaction_Performative=_reflection.GeneratedProtocolMessageType(
"Signed_Transaction_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _SIGNINGMESSAGE_SIGNED_TRANSACTION_PERFORMATIVE,
- "__module__": "signing_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Signing.SigningMessage.Signed_Transaction_Performative)
- },
+ dict(
+ DESCRIPTOR=_SIGNINGMESSAGE_SIGNED_TRANSACTION_PERFORMATIVE,
+ __module__="signing_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.Signed_Transaction_Performative)
+ ),
),
- "Signed_Message_Performative": _reflection.GeneratedProtocolMessageType(
+ Signed_Message_Performative=_reflection.GeneratedProtocolMessageType(
"Signed_Message_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _SIGNINGMESSAGE_SIGNED_MESSAGE_PERFORMATIVE,
- "__module__": "signing_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Signing.SigningMessage.Signed_Message_Performative)
- },
+ dict(
+ DESCRIPTOR=_SIGNINGMESSAGE_SIGNED_MESSAGE_PERFORMATIVE,
+ __module__="signing_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.Signed_Message_Performative)
+ ),
),
- "Error_Performative": _reflection.GeneratedProtocolMessageType(
+ Error_Performative=_reflection.GeneratedProtocolMessageType(
"Error_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _SIGNINGMESSAGE_ERROR_PERFORMATIVE,
- "__module__": "signing_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Signing.SigningMessage.Error_Performative)
- },
- ),
- "DESCRIPTOR": _SIGNINGMESSAGE,
- "__module__": "signing_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Signing.SigningMessage)
- },
+ dict(
+ DESCRIPTOR=_SIGNINGMESSAGE_ERROR_PERFORMATIVE,
+ __module__="signing_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.Error_Performative)
+ ),
+ ),
+ DESCRIPTOR=_SIGNINGMESSAGE,
+ __module__="signing_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage)
+ ),
)
_sym_db.RegisterMessage(SigningMessage)
_sym_db.RegisterMessage(SigningMessage.ErrorCode)
diff --git a/aea/protocols/state_update/message.py b/aea/protocols/state_update/message.py
index 2444c40c0f..fbec5d3797 100644
--- a/aea/protocols/state_update/message.py
+++ b/aea/protocols/state_update/message.py
@@ -26,7 +26,7 @@
from aea.exceptions import AEAEnforceError, enforce
from aea.protocols.base import Message
-logger = logging.getLogger("aea.packages.fetchai.protocols.state_update.message")
+logger = logging.getLogger("aea.protocols.state_update.message")
DEFAULT_BODY_SIZE = 4
diff --git a/aea/protocols/state_update/protocol.yaml b/aea/protocols/state_update/protocol.yaml
index 99162fad2e..7da5c8f6e2 100644
--- a/aea/protocols/state_update/protocol.yaml
+++ b/aea/protocols/state_update/protocol.yaml
@@ -9,10 +9,10 @@ fingerprint:
README.md: Qmc12hnCshAE3TL9ba4vo6L8ZZhynyfhEUoStJggRrbimc
__init__.py: Qma2opyN54gwTpkVV1E14jjeMmMfoqgE6XMM9LsvGuTdkm
dialogues.py: Qmd59WgpFccLn1zhpLdwm3zDCmCsjSoQXVn6M7PgFwwkgR
- message.py: QmbXbxXbu1vzrCjzDy6qDtEvssmiHKFLWGgCEenrE4TPZW
- serialization.py: QmQDdbN4pgfdL1LUhV4J7xMUhdqUJ2Tamz7Nheca3yGw2G
- state_update.proto: QmdmEUSa7PDxJ98ZmGE7bLFPmUJv8refgbkHPejw6uDdwD
- state_update_pb2.py: QmQr5KXhapRv9AnfQe7Xbr5bBqYWp9DEMLjxX8UWmK75Z4
+ message.py: Qmc8mnCC1K7yb1CTY3t1RXbktmg54bZ3nXVqq1KQES8jJf
+ serialization.py: QmS3Tesi18wvwoxjgC4iiqkdJUMAsYSiz8Vq6oHNzr3kxh
+ state_update.proto: QmWZmuScKgykqijC58nrGrHfd2vDUk1mroEpqGt6UPLjDa
+ state_update_pb2.py: QmfAy4RWUa3GwsCyEsXK6xJ2jJ2JhbTGRg4wCfrcvviBxS
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/aea/protocols/state_update/serialization.py b/aea/protocols/state_update/serialization.py
index b5af452a72..6706ffd26f 100644
--- a/aea/protocols/state_update/serialization.py
+++ b/aea/protocols/state_update/serialization.py
@@ -21,8 +21,9 @@
from typing import Any, Dict, cast
-from aea.protocols.base import Message
-from aea.protocols.base import Serializer
+from aea.mail.base_pb2 import DialogueMessage
+from aea.mail.base_pb2 import Message as ProtobufMessage
+from aea.protocols.base import Message, Serializer
from aea.protocols.state_update import state_update_pb2
from aea.protocols.state_update.message import StateUpdateMessage
@@ -39,12 +40,15 @@ def encode(msg: Message) -> bytes:
:return: the bytes.
"""
msg = cast(StateUpdateMessage, msg)
+ message_pb = ProtobufMessage()
+ dialogue_message_pb = DialogueMessage()
state_update_msg = state_update_pb2.StateUpdateMessage()
- state_update_msg.message_id = msg.message_id
+
+ dialogue_message_pb.message_id = msg.message_id
dialogue_reference = msg.dialogue_reference
- state_update_msg.dialogue_starter_reference = dialogue_reference[0]
- state_update_msg.dialogue_responder_reference = dialogue_reference[1]
- state_update_msg.target = msg.target
+ dialogue_message_pb.dialogue_starter_reference = dialogue_reference[0]
+ dialogue_message_pb.dialogue_responder_reference = dialogue_reference[1]
+ dialogue_message_pb.target = msg.target
performative_id = msg.performative
if performative_id == StateUpdateMessage.Performative.INITIALIZE:
@@ -70,8 +74,11 @@ def encode(msg: Message) -> bytes:
else:
raise ValueError("Performative not valid: {}".format(performative_id))
- state_update_bytes = state_update_msg.SerializeToString()
- return state_update_bytes
+ dialogue_message_pb.content = state_update_msg.SerializeToString()
+
+ message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
+ message_bytes = message_pb.SerializeToString()
+ return message_bytes
@staticmethod
def decode(obj: bytes) -> Message:
@@ -81,15 +88,17 @@ def decode(obj: bytes) -> Message:
:param obj: the bytes object.
:return: the 'StateUpdate' message.
"""
+ message_pb = ProtobufMessage()
state_update_pb = state_update_pb2.StateUpdateMessage()
- state_update_pb.ParseFromString(obj)
- message_id = state_update_pb.message_id
+ message_pb.ParseFromString(obj)
+ message_id = message_pb.dialogue_message.message_id
dialogue_reference = (
- state_update_pb.dialogue_starter_reference,
- state_update_pb.dialogue_responder_reference,
+ message_pb.dialogue_message.dialogue_starter_reference,
+ message_pb.dialogue_message.dialogue_responder_reference,
)
- target = state_update_pb.target
+ target = message_pb.dialogue_message.target
+ state_update_pb.ParseFromString(message_pb.dialogue_message.content)
performative = state_update_pb.WhichOneof("performative")
performative_id = StateUpdateMessage.Performative(str(performative))
performative_content = dict() # type: Dict[str, Any]
diff --git a/aea/protocols/state_update/state_update.proto b/aea/protocols/state_update/state_update.proto
index f6540e5c95..272d3f22b1 100644
--- a/aea/protocols/state_update/state_update.proto
+++ b/aea/protocols/state_update/state_update.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetch.aea.StateUpdate;
+package fetchai.aea.fetchai.state_update;
message StateUpdateMessage{
@@ -18,11 +18,6 @@ message StateUpdateMessage{
}
- // Standard StateUpdateMessage fields
- int32 message_id = 1;
- string dialogue_starter_reference = 2;
- string dialogue_responder_reference = 3;
- int32 target = 4;
oneof performative{
Apply_Performative apply = 5;
Initialize_Performative initialize = 6;
diff --git a/aea/protocols/state_update/state_update_pb2.py b/aea/protocols/state_update/state_update_pb2.py
index df4c7a4d68..ff4e0e426d 100644
--- a/aea/protocols/state_update/state_update_pb2.py
+++ b/aea/protocols/state_update/state_update_pb2.py
@@ -1,7 +1,9 @@
-# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: state_update.proto
+import sys
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@@ -14,30 +16,32 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="state_update.proto",
- package="fetch.aea.StateUpdate",
+ package="fetchai.aea.fetchai.state_update",
syntax="proto3",
serialized_options=None,
- serialized_pb=b'\n\x12state_update.proto\x12\x15\x66\x65tch.aea.StateUpdate"\xc5\x0b\n\x12StateUpdateMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12M\n\x05\x61pply\x18\x05 \x01(\x0b\x32<.fetch.aea.StateUpdate.StateUpdateMessage.Apply_PerformativeH\x00\x12W\n\ninitialize\x18\x06 \x01(\x0b\x32\x41.fetch.aea.StateUpdate.StateUpdateMessage.Initialize_PerformativeH\x00\x1a\x91\x06\n\x17Initialize_Performative\x12\x89\x01\n\x1e\x65xchange_params_by_currency_id\x18\x01 \x03(\x0b\x32\x61.fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry\x12\x7f\n\x19utility_params_by_good_id\x18\x02 \x03(\x0b\x32\\.fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry\x12x\n\x15\x61mount_by_currency_id\x18\x03 \x03(\x0b\x32Y.fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry\x12x\n\x15quantities_by_good_id\x18\x04 \x03(\x0b\x32Y.fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry\x1a\x41\n\x1f\x45xchangeParamsByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a<\n\x1aUtilityParamsByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\xf4\x02\n\x12\x41pply_Performative\x12s\n\x15\x61mount_by_currency_id\x18\x01 \x03(\x0b\x32T.fetch.aea.StateUpdate.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry\x12s\n\x15quantities_by_good_id\x18\x02 \x03(\x0b\x32T.fetch.aea.StateUpdate.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x42\x0e\n\x0cperformativeb\x06proto3',
+ serialized_pb=_b(
+ '\n\x12state_update.proto\x12 fetchai.aea.fetchai.state_update"\xb2\x0b\n\x12StateUpdateMessage\x12X\n\x05\x61pply\x18\x05 \x01(\x0b\x32G.fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_PerformativeH\x00\x12\x62\n\ninitialize\x18\x06 \x01(\x0b\x32L.fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_PerformativeH\x00\x1a\xc0\x06\n\x17Initialize_Performative\x12\x94\x01\n\x1e\x65xchange_params_by_currency_id\x18\x01 \x03(\x0b\x32l.fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry\x12\x8a\x01\n\x19utility_params_by_good_id\x18\x02 \x03(\x0b\x32g.fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry\x12\x83\x01\n\x15\x61mount_by_currency_id\x18\x03 \x03(\x0b\x32\x64.fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry\x12\x83\x01\n\x15quantities_by_good_id\x18\x04 \x03(\x0b\x32\x64.fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry\x1a\x41\n\x1f\x45xchangeParamsByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a<\n\x1aUtilityParamsByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x8a\x03\n\x12\x41pply_Performative\x12~\n\x15\x61mount_by_currency_id\x18\x01 \x03(\x0b\x32_.fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry\x12~\n\x15quantities_by_good_id\x18\x02 \x03(\x0b\x32_.fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x42\x0e\n\x0cperformativeb\x06proto3'
+ ),
)
_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_EXCHANGEPARAMSBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="ExchangeParamsByCurrencyIdEntry",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry.key",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -48,7 +52,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry.value",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry.value",
index=1,
number=2,
type=2,
@@ -68,32 +72,32 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=887,
- serialized_end=952,
+ serialized_start=857,
+ serialized_end=922,
)
_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_UTILITYPARAMSBYGOODIDENTRY = _descriptor.Descriptor(
name="UtilityParamsByGoodIdEntry",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry.key",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -104,7 +108,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry.value",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry.value",
index=1,
number=2,
type=2,
@@ -124,32 +128,32 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=954,
- serialized_end=1014,
+ serialized_start=924,
+ serialized_end=984,
)
_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="AmountByCurrencyIdEntry",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry.key",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -160,7 +164,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry.value",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry.value",
index=1,
number=2,
type=5,
@@ -180,32 +184,32 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1016,
- serialized_end=1073,
+ serialized_start=986,
+ serialized_end=1043,
)
_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_QUANTITIESBYGOODIDENTRY = _descriptor.Descriptor(
name="QuantitiesByGoodIdEntry",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry.key",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -216,7 +220,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry.value",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry.value",
index=1,
number=2,
type=5,
@@ -236,25 +240,25 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1075,
- serialized_end=1132,
+ serialized_start=1045,
+ serialized_end=1102,
)
_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE = _descriptor.Descriptor(
name="Initialize_Performative",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="exchange_params_by_currency_id",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.exchange_params_by_currency_id",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.exchange_params_by_currency_id",
index=0,
number=1,
type=11,
@@ -272,7 +276,7 @@
),
_descriptor.FieldDescriptor(
name="utility_params_by_good_id",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.utility_params_by_good_id",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.utility_params_by_good_id",
index=1,
number=2,
type=11,
@@ -290,7 +294,7 @@
),
_descriptor.FieldDescriptor(
name="amount_by_currency_id",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.amount_by_currency_id",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.amount_by_currency_id",
index=2,
number=3,
type=11,
@@ -308,7 +312,7 @@
),
_descriptor.FieldDescriptor(
name="quantities_by_good_id",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.quantities_by_good_id",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.quantities_by_good_id",
index=3,
number=4,
type=11,
@@ -338,27 +342,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=347,
- serialized_end=1132,
+ serialized_start=270,
+ serialized_end=1102,
)
_STATEUPDATEMESSAGE_APPLY_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="AmountByCurrencyIdEntry",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry.key",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -369,7 +373,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry.value",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry.value",
index=1,
number=2,
type=5,
@@ -389,32 +393,32 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1016,
- serialized_end=1073,
+ serialized_start=986,
+ serialized_end=1043,
)
_STATEUPDATEMESSAGE_APPLY_PERFORMATIVE_QUANTITIESBYGOODIDENTRY = _descriptor.Descriptor(
name="QuantitiesByGoodIdEntry",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry.key",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -425,7 +429,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry.value",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry.value",
index=1,
number=2,
type=5,
@@ -445,25 +449,25 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1075,
- serialized_end=1132,
+ serialized_start=1045,
+ serialized_end=1102,
)
_STATEUPDATEMESSAGE_APPLY_PERFORMATIVE = _descriptor.Descriptor(
name="Apply_Performative",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Apply_Performative",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="amount_by_currency_id",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Apply_Performative.amount_by_currency_id",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.amount_by_currency_id",
index=0,
number=1,
type=11,
@@ -481,7 +485,7 @@
),
_descriptor.FieldDescriptor(
name="quantities_by_good_id",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.Apply_Performative.quantities_by_good_id",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.quantities_by_good_id",
index=1,
number=2,
type=11,
@@ -509,93 +513,21 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1135,
- serialized_end=1507,
+ serialized_start=1105,
+ serialized_end=1499,
)
_STATEUPDATEMESSAGE = _descriptor.Descriptor(
name="StateUpdateMessage",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
- _descriptor.FieldDescriptor(
- name="message_id",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.message_id",
- index=0,
- number=1,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_starter_reference",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.dialogue_starter_reference",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_responder_reference",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.dialogue_responder_reference",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="target",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.target",
- index=3,
- number=4,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
_descriptor.FieldDescriptor(
name="apply",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.apply",
- index=4,
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.apply",
+ index=0,
number=5,
type=11,
cpp_type=10,
@@ -612,8 +544,8 @@
),
_descriptor.FieldDescriptor(
name="initialize",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.initialize",
- index=5,
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.initialize",
+ index=1,
number=6,
type=11,
cpp_type=10,
@@ -642,14 +574,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetch.aea.StateUpdate.StateUpdateMessage.performative",
+ full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=46,
- serialized_end=1523,
+ serialized_start=57,
+ serialized_end=1515,
)
_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_EXCHANGEPARAMSBYCURRENCYIDENTRY.containing_type = (
@@ -716,83 +648,83 @@
StateUpdateMessage = _reflection.GeneratedProtocolMessageType(
"StateUpdateMessage",
(_message.Message,),
- {
- "Initialize_Performative": _reflection.GeneratedProtocolMessageType(
+ dict(
+ Initialize_Performative=_reflection.GeneratedProtocolMessageType(
"Initialize_Performative",
(_message.Message,),
- {
- "ExchangeParamsByCurrencyIdEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ ExchangeParamsByCurrencyIdEntry=_reflection.GeneratedProtocolMessageType(
"ExchangeParamsByCurrencyIdEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_EXCHANGEPARAMSBYCURRENCYIDENTRY,
- "__module__": "state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry)
- },
+ dict(
+ DESCRIPTOR=_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_EXCHANGEPARAMSBYCURRENCYIDENTRY,
+ __module__="state_update_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry)
+ ),
),
- "UtilityParamsByGoodIdEntry": _reflection.GeneratedProtocolMessageType(
+ UtilityParamsByGoodIdEntry=_reflection.GeneratedProtocolMessageType(
"UtilityParamsByGoodIdEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_UTILITYPARAMSBYGOODIDENTRY,
- "__module__": "state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry)
- },
+ dict(
+ DESCRIPTOR=_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_UTILITYPARAMSBYGOODIDENTRY,
+ __module__="state_update_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry)
+ ),
),
- "AmountByCurrencyIdEntry": _reflection.GeneratedProtocolMessageType(
+ AmountByCurrencyIdEntry=_reflection.GeneratedProtocolMessageType(
"AmountByCurrencyIdEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY,
- "__module__": "state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry)
- },
+ dict(
+ DESCRIPTOR=_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY,
+ __module__="state_update_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry)
+ ),
),
- "QuantitiesByGoodIdEntry": _reflection.GeneratedProtocolMessageType(
+ QuantitiesByGoodIdEntry=_reflection.GeneratedProtocolMessageType(
"QuantitiesByGoodIdEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_QUANTITIESBYGOODIDENTRY,
- "__module__": "state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry)
- },
+ dict(
+ DESCRIPTOR=_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_QUANTITIESBYGOODIDENTRY,
+ __module__="state_update_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry)
+ ),
),
- "DESCRIPTOR": _STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE,
- "__module__": "state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.StateUpdate.StateUpdateMessage.Initialize_Performative)
- },
+ DESCRIPTOR=_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE,
+ __module__="state_update_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative)
+ ),
),
- "Apply_Performative": _reflection.GeneratedProtocolMessageType(
+ Apply_Performative=_reflection.GeneratedProtocolMessageType(
"Apply_Performative",
(_message.Message,),
- {
- "AmountByCurrencyIdEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ AmountByCurrencyIdEntry=_reflection.GeneratedProtocolMessageType(
"AmountByCurrencyIdEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _STATEUPDATEMESSAGE_APPLY_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY,
- "__module__": "state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.StateUpdate.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry)
- },
+ dict(
+ DESCRIPTOR=_STATEUPDATEMESSAGE_APPLY_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY,
+ __module__="state_update_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry)
+ ),
),
- "QuantitiesByGoodIdEntry": _reflection.GeneratedProtocolMessageType(
+ QuantitiesByGoodIdEntry=_reflection.GeneratedProtocolMessageType(
"QuantitiesByGoodIdEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _STATEUPDATEMESSAGE_APPLY_PERFORMATIVE_QUANTITIESBYGOODIDENTRY,
- "__module__": "state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.StateUpdate.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry)
- },
+ dict(
+ DESCRIPTOR=_STATEUPDATEMESSAGE_APPLY_PERFORMATIVE_QUANTITIESBYGOODIDENTRY,
+ __module__="state_update_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry)
+ ),
),
- "DESCRIPTOR": _STATEUPDATEMESSAGE_APPLY_PERFORMATIVE,
- "__module__": "state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.StateUpdate.StateUpdateMessage.Apply_Performative)
- },
+ DESCRIPTOR=_STATEUPDATEMESSAGE_APPLY_PERFORMATIVE,
+ __module__="state_update_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative)
+ ),
),
- "DESCRIPTOR": _STATEUPDATEMESSAGE,
- "__module__": "state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.StateUpdate.StateUpdateMessage)
- },
+ DESCRIPTOR=_STATEUPDATEMESSAGE,
+ __module__="state_update_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage)
+ ),
)
_sym_db.RegisterMessage(StateUpdateMessage)
_sym_db.RegisterMessage(StateUpdateMessage.Initialize_Performative)
diff --git a/packages/fetchai/protocols/contract_api/contract_api.proto b/packages/fetchai/protocols/contract_api/contract_api.proto
index 5310d3e98e..f9047445ce 100644
--- a/packages/fetchai/protocols/contract_api/contract_api.proto
+++ b/packages/fetchai/protocols/contract_api/contract_api.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetch.aea.ContractApi;
+package fetchai.aea.fetchai.contract_api;
message ContractApiMessage{
@@ -71,11 +71,6 @@ message ContractApiMessage{
}
- // Standard ContractApiMessage fields
- int32 message_id = 1;
- string dialogue_starter_reference = 2;
- string dialogue_responder_reference = 3;
- int32 target = 4;
oneof performative{
Error_Performative error = 5;
Get_Deploy_Transaction_Performative get_deploy_transaction = 6;
diff --git a/packages/fetchai/protocols/contract_api/contract_api_pb2.py b/packages/fetchai/protocols/contract_api/contract_api_pb2.py
index 9e7bd92266..429dcc3ed7 100644
--- a/packages/fetchai/protocols/contract_api/contract_api_pb2.py
+++ b/packages/fetchai/protocols/contract_api/contract_api_pb2.py
@@ -1,7 +1,9 @@
-# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: contract_api.proto
+import sys
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@@ -14,30 +16,32 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="contract_api.proto",
- package="fetch.aea.ContractApi",
+ package="fetchai.aea.fetchai.contract_api",
syntax="proto3",
serialized_options=None,
- serialized_pb=b'\n\x12\x63ontract_api.proto\x12\x15\x66\x65tch.aea.ContractApi"\xeb\x10\n\x12\x43ontractApiMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12M\n\x05\x65rror\x18\x05 \x01(\x0b\x32<.fetch.aea.ContractApi.ContractApiMessage.Error_PerformativeH\x00\x12o\n\x16get_deploy_transaction\x18\x06 \x01(\x0b\x32M.fetch.aea.ContractApi.ContractApiMessage.Get_Deploy_Transaction_PerformativeH\x00\x12\x61\n\x0fget_raw_message\x18\x07 \x01(\x0b\x32\x46.fetch.aea.ContractApi.ContractApiMessage.Get_Raw_Message_PerformativeH\x00\x12i\n\x13get_raw_transaction\x18\x08 \x01(\x0b\x32J.fetch.aea.ContractApi.ContractApiMessage.Get_Raw_Transaction_PerformativeH\x00\x12U\n\tget_state\x18\t \x01(\x0b\x32@.fetch.aea.ContractApi.ContractApiMessage.Get_State_PerformativeH\x00\x12Y\n\x0braw_message\x18\n \x01(\x0b\x32\x42.fetch.aea.ContractApi.ContractApiMessage.Raw_Message_PerformativeH\x00\x12\x61\n\x0fraw_transaction\x18\x0b \x01(\x0b\x32\x46.fetch.aea.ContractApi.ContractApiMessage.Raw_Transaction_PerformativeH\x00\x12M\n\x05state\x18\x0c \x01(\x0b\x32<.fetch.aea.ContractApi.ContractApiMessage.State_PerformativeH\x00\x1a\x18\n\x06Kwargs\x12\x0e\n\x06kwargs\x18\x01 \x01(\x0c\x1a!\n\nRawMessage\x12\x13\n\x0braw_message\x18\x01 \x01(\x0c\x1a)\n\x0eRawTransaction\x12\x17\n\x0fraw_transaction\x18\x01 \x01(\x0c\x1a\x16\n\x05State\x12\r\n\x05state\x18\x01 \x01(\x0c\x1a\xa1\x01\n#Get_Deploy_Transaction_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\t\x12\x10\n\x08\x63\x61llable\x18\x03 \x01(\t\x12@\n\x06kwargs\x18\x04 \x01(\x0b\x32\x30.fetch.aea.ContractApi.ContractApiMessage.Kwargs\x1a\xb8\x01\n Get_Raw_Transaction_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llable\x18\x04 \x01(\t\x12@\n\x06kwargs\x18\x05 \x01(\x0b\x32\x30.fetch.aea.ContractApi.ContractApiMessage.Kwargs\x1a\xb4\x01\n\x1cGet_Raw_Message_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llable\x18\x04 \x01(\t\x12@\n\x06kwargs\x18\x05 \x01(\x0b\x32\x30.fetch.aea.ContractApi.ContractApiMessage.Kwargs\x1a\xae\x01\n\x16Get_State_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llable\x18\x04 \x01(\t\x12@\n\x06kwargs\x18\x05 \x01(\x0b\x32\x30.fetch.aea.ContractApi.ContractApiMessage.Kwargs\x1aT\n\x12State_Performative\x12>\n\x05state\x18\x01 \x01(\x0b\x32/.fetch.aea.ContractApi.ContractApiMessage.State\x1aq\n\x1cRaw_Transaction_Performative\x12Q\n\x0fraw_transaction\x18\x01 \x01(\x0b\x32\x38.fetch.aea.ContractApi.ContractApiMessage.RawTransaction\x1a\x65\n\x18Raw_Message_Performative\x12I\n\x0braw_message\x18\x01 \x01(\x0b\x32\x34.fetch.aea.ContractApi.ContractApiMessage.RawMessage\x1an\n\x12\x45rror_Performative\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x13\n\x0b\x63ode_is_set\x18\x02 \x01(\x08\x12\x0f\n\x07message\x18\x03 \x01(\t\x12\x16\n\x0emessage_is_set\x18\x04 \x01(\x08\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c\x42\x0e\n\x0cperformativeb\x06proto3',
+ serialized_pb=_b(
+ '\n\x12\x63ontract_api.proto\x12 fetchai.aea.fetchai.contract_api"\xa2\x11\n\x12\x43ontractApiMessage\x12X\n\x05\x65rror\x18\x05 \x01(\x0b\x32G.fetchai.aea.fetchai.contract_api.ContractApiMessage.Error_PerformativeH\x00\x12z\n\x16get_deploy_transaction\x18\x06 \x01(\x0b\x32X.fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_PerformativeH\x00\x12l\n\x0fget_raw_message\x18\x07 \x01(\x0b\x32Q.fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_PerformativeH\x00\x12t\n\x13get_raw_transaction\x18\x08 \x01(\x0b\x32U.fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_PerformativeH\x00\x12`\n\tget_state\x18\t \x01(\x0b\x32K.fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_State_PerformativeH\x00\x12\x64\n\x0braw_message\x18\n \x01(\x0b\x32M.fetchai.aea.fetchai.contract_api.ContractApiMessage.Raw_Message_PerformativeH\x00\x12l\n\x0fraw_transaction\x18\x0b \x01(\x0b\x32Q.fetchai.aea.fetchai.contract_api.ContractApiMessage.Raw_Transaction_PerformativeH\x00\x12X\n\x05state\x18\x0c \x01(\x0b\x32G.fetchai.aea.fetchai.contract_api.ContractApiMessage.State_PerformativeH\x00\x1a\x18\n\x06Kwargs\x12\x0e\n\x06kwargs\x18\x01 \x01(\x0c\x1a!\n\nRawMessage\x12\x13\n\x0braw_message\x18\x01 \x01(\x0c\x1a)\n\x0eRawTransaction\x12\x17\n\x0fraw_transaction\x18\x01 \x01(\x0c\x1a\x16\n\x05State\x12\r\n\x05state\x18\x01 \x01(\x0c\x1a\xac\x01\n#Get_Deploy_Transaction_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\t\x12\x10\n\x08\x63\x61llable\x18\x03 \x01(\t\x12K\n\x06kwargs\x18\x04 \x01(\x0b\x32;.fetchai.aea.fetchai.contract_api.ContractApiMessage.Kwargs\x1a\xc3\x01\n Get_Raw_Transaction_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llable\x18\x04 \x01(\t\x12K\n\x06kwargs\x18\x05 \x01(\x0b\x32;.fetchai.aea.fetchai.contract_api.ContractApiMessage.Kwargs\x1a\xbf\x01\n\x1cGet_Raw_Message_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llable\x18\x04 \x01(\t\x12K\n\x06kwargs\x18\x05 \x01(\x0b\x32;.fetchai.aea.fetchai.contract_api.ContractApiMessage.Kwargs\x1a\xb9\x01\n\x16Get_State_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llable\x18\x04 \x01(\t\x12K\n\x06kwargs\x18\x05 \x01(\x0b\x32;.fetchai.aea.fetchai.contract_api.ContractApiMessage.Kwargs\x1a_\n\x12State_Performative\x12I\n\x05state\x18\x01 \x01(\x0b\x32:.fetchai.aea.fetchai.contract_api.ContractApiMessage.State\x1a|\n\x1cRaw_Transaction_Performative\x12\\\n\x0fraw_transaction\x18\x01 \x01(\x0b\x32\x43.fetchai.aea.fetchai.contract_api.ContractApiMessage.RawTransaction\x1ap\n\x18Raw_Message_Performative\x12T\n\x0braw_message\x18\x01 \x01(\x0b\x32?.fetchai.aea.fetchai.contract_api.ContractApiMessage.RawMessage\x1an\n\x12\x45rror_Performative\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x13\n\x0b\x63ode_is_set\x18\x02 \x01(\x08\x12\x0f\n\x07message\x18\x03 \x01(\t\x12\x16\n\x0emessage_is_set\x18\x04 \x01(\x08\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c\x42\x0e\n\x0cperformativeb\x06proto3'
+ ),
)
_CONTRACTAPIMESSAGE_KWARGS = _descriptor.Descriptor(
name="Kwargs",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Kwargs",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Kwargs",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="kwargs",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Kwargs.kwargs",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Kwargs.kwargs",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -55,27 +59,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=932,
- serialized_end=956,
+ serialized_start=921,
+ serialized_end=945,
)
_CONTRACTAPIMESSAGE_RAWMESSAGE = _descriptor.Descriptor(
name="RawMessage",
- full_name="fetch.aea.ContractApi.ContractApiMessage.RawMessage",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.RawMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="raw_message",
- full_name="fetch.aea.ContractApi.ContractApiMessage.RawMessage.raw_message",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.RawMessage.raw_message",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -93,27 +97,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=958,
- serialized_end=991,
+ serialized_start=947,
+ serialized_end=980,
)
_CONTRACTAPIMESSAGE_RAWTRANSACTION = _descriptor.Descriptor(
name="RawTransaction",
- full_name="fetch.aea.ContractApi.ContractApiMessage.RawTransaction",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.RawTransaction",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="raw_transaction",
- full_name="fetch.aea.ContractApi.ContractApiMessage.RawTransaction.raw_transaction",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.RawTransaction.raw_transaction",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -131,27 +135,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=993,
- serialized_end=1034,
+ serialized_start=982,
+ serialized_end=1023,
)
_CONTRACTAPIMESSAGE_STATE = _descriptor.Descriptor(
name="State",
- full_name="fetch.aea.ContractApi.ContractApiMessage.State",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.State",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="state",
- full_name="fetch.aea.ContractApi.ContractApiMessage.State.state",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.State.state",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -169,27 +173,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1036,
- serialized_end=1058,
+ serialized_start=1025,
+ serialized_end=1047,
)
_CONTRACTAPIMESSAGE_GET_DEPLOY_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Get_Deploy_Transaction_Performative",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_Deploy_Transaction_Performative",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="ledger_id",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_Deploy_Transaction_Performative.ledger_id",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative.ledger_id",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -200,14 +204,14 @@
),
_descriptor.FieldDescriptor(
name="contract_id",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_Deploy_Transaction_Performative.contract_id",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative.contract_id",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -218,14 +222,14 @@
),
_descriptor.FieldDescriptor(
name="callable",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_Deploy_Transaction_Performative.callable",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative.callable",
index=2,
number=3,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -236,7 +240,7 @@
),
_descriptor.FieldDescriptor(
name="kwargs",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_Deploy_Transaction_Performative.kwargs",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative.kwargs",
index=3,
number=4,
type=11,
@@ -261,27 +265,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1061,
+ serialized_start=1050,
serialized_end=1222,
)
_CONTRACTAPIMESSAGE_GET_RAW_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Get_Raw_Transaction_Performative",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_Raw_Transaction_Performative",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="ledger_id",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_Raw_Transaction_Performative.ledger_id",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative.ledger_id",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -292,14 +296,14 @@
),
_descriptor.FieldDescriptor(
name="contract_id",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_Raw_Transaction_Performative.contract_id",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative.contract_id",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -310,14 +314,14 @@
),
_descriptor.FieldDescriptor(
name="contract_address",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_Raw_Transaction_Performative.contract_address",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative.contract_address",
index=2,
number=3,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -328,14 +332,14 @@
),
_descriptor.FieldDescriptor(
name="callable",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_Raw_Transaction_Performative.callable",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative.callable",
index=3,
number=4,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -346,7 +350,7 @@
),
_descriptor.FieldDescriptor(
name="kwargs",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_Raw_Transaction_Performative.kwargs",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative.kwargs",
index=4,
number=5,
type=11,
@@ -372,26 +376,26 @@
extension_ranges=[],
oneofs=[],
serialized_start=1225,
- serialized_end=1409,
+ serialized_end=1420,
)
_CONTRACTAPIMESSAGE_GET_RAW_MESSAGE_PERFORMATIVE = _descriptor.Descriptor(
name="Get_Raw_Message_Performative",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_Raw_Message_Performative",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="ledger_id",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_Raw_Message_Performative.ledger_id",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative.ledger_id",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -402,14 +406,14 @@
),
_descriptor.FieldDescriptor(
name="contract_id",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_Raw_Message_Performative.contract_id",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative.contract_id",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -420,14 +424,14 @@
),
_descriptor.FieldDescriptor(
name="contract_address",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_Raw_Message_Performative.contract_address",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative.contract_address",
index=2,
number=3,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -438,14 +442,14 @@
),
_descriptor.FieldDescriptor(
name="callable",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_Raw_Message_Performative.callable",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative.callable",
index=3,
number=4,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -456,7 +460,7 @@
),
_descriptor.FieldDescriptor(
name="kwargs",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_Raw_Message_Performative.kwargs",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative.kwargs",
index=4,
number=5,
type=11,
@@ -481,27 +485,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1412,
- serialized_end=1592,
+ serialized_start=1423,
+ serialized_end=1614,
)
_CONTRACTAPIMESSAGE_GET_STATE_PERFORMATIVE = _descriptor.Descriptor(
name="Get_State_Performative",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_State_Performative",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="ledger_id",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_State_Performative.ledger_id",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative.ledger_id",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -512,14 +516,14 @@
),
_descriptor.FieldDescriptor(
name="contract_id",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_State_Performative.contract_id",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative.contract_id",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -530,14 +534,14 @@
),
_descriptor.FieldDescriptor(
name="contract_address",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_State_Performative.contract_address",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative.contract_address",
index=2,
number=3,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -548,14 +552,14 @@
),
_descriptor.FieldDescriptor(
name="callable",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_State_Performative.callable",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative.callable",
index=3,
number=4,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -566,7 +570,7 @@
),
_descriptor.FieldDescriptor(
name="kwargs",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Get_State_Performative.kwargs",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative.kwargs",
index=4,
number=5,
type=11,
@@ -591,20 +595,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1595,
- serialized_end=1769,
+ serialized_start=1617,
+ serialized_end=1802,
)
_CONTRACTAPIMESSAGE_STATE_PERFORMATIVE = _descriptor.Descriptor(
name="State_Performative",
- full_name="fetch.aea.ContractApi.ContractApiMessage.State_Performative",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.State_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="state",
- full_name="fetch.aea.ContractApi.ContractApiMessage.State_Performative.state",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.State_Performative.state",
index=0,
number=1,
type=11,
@@ -629,20 +633,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1771,
- serialized_end=1855,
+ serialized_start=1804,
+ serialized_end=1899,
)
_CONTRACTAPIMESSAGE_RAW_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Raw_Transaction_Performative",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Raw_Transaction_Performative",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Raw_Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="raw_transaction",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Raw_Transaction_Performative.raw_transaction",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Raw_Transaction_Performative.raw_transaction",
index=0,
number=1,
type=11,
@@ -667,20 +671,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1857,
- serialized_end=1970,
+ serialized_start=1901,
+ serialized_end=2025,
)
_CONTRACTAPIMESSAGE_RAW_MESSAGE_PERFORMATIVE = _descriptor.Descriptor(
name="Raw_Message_Performative",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Raw_Message_Performative",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Raw_Message_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="raw_message",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Raw_Message_Performative.raw_message",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Raw_Message_Performative.raw_message",
index=0,
number=1,
type=11,
@@ -705,20 +709,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1972,
- serialized_end=2073,
+ serialized_start=2027,
+ serialized_end=2139,
)
_CONTRACTAPIMESSAGE_ERROR_PERFORMATIVE = _descriptor.Descriptor(
name="Error_Performative",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Error_Performative",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Error_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="code",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Error_Performative.code",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Error_Performative.code",
index=0,
number=1,
type=5,
@@ -736,7 +740,7 @@
),
_descriptor.FieldDescriptor(
name="code_is_set",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Error_Performative.code_is_set",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Error_Performative.code_is_set",
index=1,
number=2,
type=8,
@@ -754,14 +758,14 @@
),
_descriptor.FieldDescriptor(
name="message",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Error_Performative.message",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Error_Performative.message",
index=2,
number=3,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -772,7 +776,7 @@
),
_descriptor.FieldDescriptor(
name="message_is_set",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Error_Performative.message_is_set",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Error_Performative.message_is_set",
index=3,
number=4,
type=8,
@@ -790,14 +794,14 @@
),
_descriptor.FieldDescriptor(
name="data",
- full_name="fetch.aea.ContractApi.ContractApiMessage.Error_Performative.data",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Error_Performative.data",
index=4,
number=5,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -815,93 +819,21 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=2075,
- serialized_end=2185,
+ serialized_start=2141,
+ serialized_end=2251,
)
_CONTRACTAPIMESSAGE = _descriptor.Descriptor(
name="ContractApiMessage",
- full_name="fetch.aea.ContractApi.ContractApiMessage",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
- _descriptor.FieldDescriptor(
- name="message_id",
- full_name="fetch.aea.ContractApi.ContractApiMessage.message_id",
- index=0,
- number=1,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_starter_reference",
- full_name="fetch.aea.ContractApi.ContractApiMessage.dialogue_starter_reference",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_responder_reference",
- full_name="fetch.aea.ContractApi.ContractApiMessage.dialogue_responder_reference",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="target",
- full_name="fetch.aea.ContractApi.ContractApiMessage.target",
- index=3,
- number=4,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
_descriptor.FieldDescriptor(
name="error",
- full_name="fetch.aea.ContractApi.ContractApiMessage.error",
- index=4,
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.error",
+ index=0,
number=5,
type=11,
cpp_type=10,
@@ -918,8 +850,8 @@
),
_descriptor.FieldDescriptor(
name="get_deploy_transaction",
- full_name="fetch.aea.ContractApi.ContractApiMessage.get_deploy_transaction",
- index=5,
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.get_deploy_transaction",
+ index=1,
number=6,
type=11,
cpp_type=10,
@@ -936,8 +868,8 @@
),
_descriptor.FieldDescriptor(
name="get_raw_message",
- full_name="fetch.aea.ContractApi.ContractApiMessage.get_raw_message",
- index=6,
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.get_raw_message",
+ index=2,
number=7,
type=11,
cpp_type=10,
@@ -954,8 +886,8 @@
),
_descriptor.FieldDescriptor(
name="get_raw_transaction",
- full_name="fetch.aea.ContractApi.ContractApiMessage.get_raw_transaction",
- index=7,
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.get_raw_transaction",
+ index=3,
number=8,
type=11,
cpp_type=10,
@@ -972,8 +904,8 @@
),
_descriptor.FieldDescriptor(
name="get_state",
- full_name="fetch.aea.ContractApi.ContractApiMessage.get_state",
- index=8,
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.get_state",
+ index=4,
number=9,
type=11,
cpp_type=10,
@@ -990,8 +922,8 @@
),
_descriptor.FieldDescriptor(
name="raw_message",
- full_name="fetch.aea.ContractApi.ContractApiMessage.raw_message",
- index=9,
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.raw_message",
+ index=5,
number=10,
type=11,
cpp_type=10,
@@ -1008,8 +940,8 @@
),
_descriptor.FieldDescriptor(
name="raw_transaction",
- full_name="fetch.aea.ContractApi.ContractApiMessage.raw_transaction",
- index=10,
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.raw_transaction",
+ index=6,
number=11,
type=11,
cpp_type=10,
@@ -1026,8 +958,8 @@
),
_descriptor.FieldDescriptor(
name="state",
- full_name="fetch.aea.ContractApi.ContractApiMessage.state",
- index=11,
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.state",
+ index=7,
number=12,
type=11,
cpp_type=10,
@@ -1066,14 +998,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetch.aea.ContractApi.ContractApiMessage.performative",
+ full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=46,
- serialized_end=2201,
+ serialized_start=57,
+ serialized_end=2267,
)
_CONTRACTAPIMESSAGE_KWARGS.containing_type = _CONTRACTAPIMESSAGE
@@ -1191,119 +1123,119 @@
ContractApiMessage = _reflection.GeneratedProtocolMessageType(
"ContractApiMessage",
(_message.Message,),
- {
- "Kwargs": _reflection.GeneratedProtocolMessageType(
+ dict(
+ Kwargs=_reflection.GeneratedProtocolMessageType(
"Kwargs",
(_message.Message,),
- {
- "DESCRIPTOR": _CONTRACTAPIMESSAGE_KWARGS,
- "__module__": "contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.ContractApi.ContractApiMessage.Kwargs)
- },
+ dict(
+ DESCRIPTOR=_CONTRACTAPIMESSAGE_KWARGS,
+ __module__="contract_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.Kwargs)
+ ),
),
- "RawMessage": _reflection.GeneratedProtocolMessageType(
+ RawMessage=_reflection.GeneratedProtocolMessageType(
"RawMessage",
(_message.Message,),
- {
- "DESCRIPTOR": _CONTRACTAPIMESSAGE_RAWMESSAGE,
- "__module__": "contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.ContractApi.ContractApiMessage.RawMessage)
- },
+ dict(
+ DESCRIPTOR=_CONTRACTAPIMESSAGE_RAWMESSAGE,
+ __module__="contract_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.RawMessage)
+ ),
),
- "RawTransaction": _reflection.GeneratedProtocolMessageType(
+ RawTransaction=_reflection.GeneratedProtocolMessageType(
"RawTransaction",
(_message.Message,),
- {
- "DESCRIPTOR": _CONTRACTAPIMESSAGE_RAWTRANSACTION,
- "__module__": "contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.ContractApi.ContractApiMessage.RawTransaction)
- },
+ dict(
+ DESCRIPTOR=_CONTRACTAPIMESSAGE_RAWTRANSACTION,
+ __module__="contract_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.RawTransaction)
+ ),
),
- "State": _reflection.GeneratedProtocolMessageType(
+ State=_reflection.GeneratedProtocolMessageType(
"State",
(_message.Message,),
- {
- "DESCRIPTOR": _CONTRACTAPIMESSAGE_STATE,
- "__module__": "contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.ContractApi.ContractApiMessage.State)
- },
+ dict(
+ DESCRIPTOR=_CONTRACTAPIMESSAGE_STATE,
+ __module__="contract_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.State)
+ ),
),
- "Get_Deploy_Transaction_Performative": _reflection.GeneratedProtocolMessageType(
+ Get_Deploy_Transaction_Performative=_reflection.GeneratedProtocolMessageType(
"Get_Deploy_Transaction_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _CONTRACTAPIMESSAGE_GET_DEPLOY_TRANSACTION_PERFORMATIVE,
- "__module__": "contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.ContractApi.ContractApiMessage.Get_Deploy_Transaction_Performative)
- },
+ dict(
+ DESCRIPTOR=_CONTRACTAPIMESSAGE_GET_DEPLOY_TRANSACTION_PERFORMATIVE,
+ __module__="contract_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative)
+ ),
),
- "Get_Raw_Transaction_Performative": _reflection.GeneratedProtocolMessageType(
+ Get_Raw_Transaction_Performative=_reflection.GeneratedProtocolMessageType(
"Get_Raw_Transaction_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _CONTRACTAPIMESSAGE_GET_RAW_TRANSACTION_PERFORMATIVE,
- "__module__": "contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.ContractApi.ContractApiMessage.Get_Raw_Transaction_Performative)
- },
+ dict(
+ DESCRIPTOR=_CONTRACTAPIMESSAGE_GET_RAW_TRANSACTION_PERFORMATIVE,
+ __module__="contract_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative)
+ ),
),
- "Get_Raw_Message_Performative": _reflection.GeneratedProtocolMessageType(
+ Get_Raw_Message_Performative=_reflection.GeneratedProtocolMessageType(
"Get_Raw_Message_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _CONTRACTAPIMESSAGE_GET_RAW_MESSAGE_PERFORMATIVE,
- "__module__": "contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.ContractApi.ContractApiMessage.Get_Raw_Message_Performative)
- },
+ dict(
+ DESCRIPTOR=_CONTRACTAPIMESSAGE_GET_RAW_MESSAGE_PERFORMATIVE,
+ __module__="contract_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative)
+ ),
),
- "Get_State_Performative": _reflection.GeneratedProtocolMessageType(
+ Get_State_Performative=_reflection.GeneratedProtocolMessageType(
"Get_State_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _CONTRACTAPIMESSAGE_GET_STATE_PERFORMATIVE,
- "__module__": "contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.ContractApi.ContractApiMessage.Get_State_Performative)
- },
+ dict(
+ DESCRIPTOR=_CONTRACTAPIMESSAGE_GET_STATE_PERFORMATIVE,
+ __module__="contract_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative)
+ ),
),
- "State_Performative": _reflection.GeneratedProtocolMessageType(
+ State_Performative=_reflection.GeneratedProtocolMessageType(
"State_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _CONTRACTAPIMESSAGE_STATE_PERFORMATIVE,
- "__module__": "contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.ContractApi.ContractApiMessage.State_Performative)
- },
+ dict(
+ DESCRIPTOR=_CONTRACTAPIMESSAGE_STATE_PERFORMATIVE,
+ __module__="contract_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.State_Performative)
+ ),
),
- "Raw_Transaction_Performative": _reflection.GeneratedProtocolMessageType(
+ Raw_Transaction_Performative=_reflection.GeneratedProtocolMessageType(
"Raw_Transaction_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _CONTRACTAPIMESSAGE_RAW_TRANSACTION_PERFORMATIVE,
- "__module__": "contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.ContractApi.ContractApiMessage.Raw_Transaction_Performative)
- },
+ dict(
+ DESCRIPTOR=_CONTRACTAPIMESSAGE_RAW_TRANSACTION_PERFORMATIVE,
+ __module__="contract_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.Raw_Transaction_Performative)
+ ),
),
- "Raw_Message_Performative": _reflection.GeneratedProtocolMessageType(
+ Raw_Message_Performative=_reflection.GeneratedProtocolMessageType(
"Raw_Message_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _CONTRACTAPIMESSAGE_RAW_MESSAGE_PERFORMATIVE,
- "__module__": "contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.ContractApi.ContractApiMessage.Raw_Message_Performative)
- },
+ dict(
+ DESCRIPTOR=_CONTRACTAPIMESSAGE_RAW_MESSAGE_PERFORMATIVE,
+ __module__="contract_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.Raw_Message_Performative)
+ ),
),
- "Error_Performative": _reflection.GeneratedProtocolMessageType(
+ Error_Performative=_reflection.GeneratedProtocolMessageType(
"Error_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _CONTRACTAPIMESSAGE_ERROR_PERFORMATIVE,
- "__module__": "contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.ContractApi.ContractApiMessage.Error_Performative)
- },
+ dict(
+ DESCRIPTOR=_CONTRACTAPIMESSAGE_ERROR_PERFORMATIVE,
+ __module__="contract_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.Error_Performative)
+ ),
),
- "DESCRIPTOR": _CONTRACTAPIMESSAGE,
- "__module__": "contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.ContractApi.ContractApiMessage)
- },
+ DESCRIPTOR=_CONTRACTAPIMESSAGE,
+ __module__="contract_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage)
+ ),
)
_sym_db.RegisterMessage(ContractApiMessage)
_sym_db.RegisterMessage(ContractApiMessage.Kwargs)
diff --git a/packages/fetchai/protocols/contract_api/protocol.yaml b/packages/fetchai/protocols/contract_api/protocol.yaml
index d7e4b38e56..dfb9fb6ccd 100644
--- a/packages/fetchai/protocols/contract_api/protocol.yaml
+++ b/packages/fetchai/protocols/contract_api/protocol.yaml
@@ -8,12 +8,12 @@ aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmZv8BvQ1EqbbsF2QjgwSuAv1EDra5bAZzpSWrztm5Gn1s
__init__.py: QmZodYjNqoMgGAGKfkCU4zU9t1Cx9MAownqSy4wyVdwaHF
- contract_api.proto: QmNwngtcYFSuqL8yeTGVXmrHjfebCybdUa9BnTDKXn8odk
- contract_api_pb2.py: QmVT6Fv53KyFhshNFEo38seHypd7Y62psBaF8NszV8iRHK
+ contract_api.proto: QmNMLYVPSUYhA8Aao92Rytk7Ftfc3JVXHCx1b28jXnJUds
+ contract_api_pb2.py: QmYUwtxum9CTZheibHguakuGYJCcZcu9Cphy9EwWXQBN2x
custom_types.py: Qmd86SMkJeASh8xvpNV9GTq1rGKs7Qjbj97UfbENEbd5AM
dialogues.py: QmTjXH8JUtziUFDawKsSTYE5dxn1n1FmMPeWexyxiPYd6k
message.py: QmfVtxSae81BNSmhcd5qTH6o8BMaRjtYAqfG6sCAH7m1Cu
- serialization.py: QmdJZ6GBrURgzJCfYSZzLhWirfm5bDJxumz7ieAELC9juw
+ serialization.py: QmUKAwH9Jw66JnbZLwm5HZ4gvV8hmtFg8s2tfPkiKSnLir
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/packages/fetchai/protocols/contract_api/serialization.py b/packages/fetchai/protocols/contract_api/serialization.py
index fa94eb9382..12ff18ffb6 100644
--- a/packages/fetchai/protocols/contract_api/serialization.py
+++ b/packages/fetchai/protocols/contract_api/serialization.py
@@ -21,6 +21,7 @@
from typing import Any, Dict, cast
+from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
from aea.protocols.base import Message
from aea.protocols.base import Serializer
@@ -44,12 +45,15 @@ def encode(msg: Message) -> bytes:
:return: the bytes.
"""
msg = cast(ContractApiMessage, msg)
+ message_pb = ProtobufMessage()
+ dialogue_message_pb = DialogueMessage()
contract_api_msg = contract_api_pb2.ContractApiMessage()
- contract_api_msg.message_id = msg.message_id
+
+ dialogue_message_pb.message_id = msg.message_id
dialogue_reference = msg.dialogue_reference
- contract_api_msg.dialogue_starter_reference = dialogue_reference[0]
- contract_api_msg.dialogue_responder_reference = dialogue_reference[1]
- contract_api_msg.target = msg.target
+ dialogue_message_pb.dialogue_starter_reference = dialogue_reference[0]
+ dialogue_message_pb.dialogue_responder_reference = dialogue_reference[1]
+ dialogue_message_pb.target = msg.target
performative_id = msg.performative
if performative_id == ContractApiMessage.Performative.GET_DEPLOY_TRANSACTION:
@@ -133,8 +137,11 @@ def encode(msg: Message) -> bytes:
else:
raise ValueError("Performative not valid: {}".format(performative_id))
- contract_api_bytes = contract_api_msg.SerializeToString()
- return contract_api_bytes
+ dialogue_message_pb.content = contract_api_msg.SerializeToString()
+
+ message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
+ message_bytes = message_pb.SerializeToString()
+ return message_bytes
@staticmethod
def decode(obj: bytes) -> Message:
@@ -144,15 +151,17 @@ def decode(obj: bytes) -> Message:
:param obj: the bytes object.
:return: the 'ContractApi' message.
"""
+ message_pb = ProtobufMessage()
contract_api_pb = contract_api_pb2.ContractApiMessage()
- contract_api_pb.ParseFromString(obj)
- message_id = contract_api_pb.message_id
+ message_pb.ParseFromString(obj)
+ message_id = message_pb.dialogue_message.message_id
dialogue_reference = (
- contract_api_pb.dialogue_starter_reference,
- contract_api_pb.dialogue_responder_reference,
+ message_pb.dialogue_message.dialogue_starter_reference,
+ message_pb.dialogue_message.dialogue_responder_reference,
)
- target = contract_api_pb.target
+ target = message_pb.dialogue_message.target
+ contract_api_pb.ParseFromString(message_pb.dialogue_message.content)
performative = contract_api_pb.WhichOneof("performative")
performative_id = ContractApiMessage.Performative(str(performative))
performative_content = dict() # type: Dict[str, Any]
diff --git a/packages/fetchai/protocols/fipa/fipa.proto b/packages/fetchai/protocols/fipa/fipa.proto
index ac28045bd8..e5c7d985d3 100644
--- a/packages/fetchai/protocols/fipa/fipa.proto
+++ b/packages/fetchai/protocols/fipa/fipa.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetch.aea.Fipa;
+package fetchai.aea.fetchai.fipa;
message FipaMessage{
@@ -48,11 +48,6 @@ message FipaMessage{
message Match_Accept_Performative{}
- // Standard FipaMessage fields
- int32 message_id = 1;
- string dialogue_starter_reference = 2;
- string dialogue_responder_reference = 3;
- int32 target = 4;
oneof performative{
Accept_Performative accept = 5;
Accept_W_Inform_Performative accept_w_inform = 6;
diff --git a/packages/fetchai/protocols/fipa/fipa_pb2.py b/packages/fetchai/protocols/fipa/fipa_pb2.py
index 6d966115f3..ba5ed0d17c 100644
--- a/packages/fetchai/protocols/fipa/fipa_pb2.py
+++ b/packages/fetchai/protocols/fipa/fipa_pb2.py
@@ -1,7 +1,9 @@
-# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: fipa.proto
+import sys
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@@ -14,30 +16,32 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="fipa.proto",
- package="fetch.aea.Fipa",
+ package="fetchai.aea.fetchai.fipa",
syntax="proto3",
serialized_options=None,
- serialized_pb=b'\n\nfipa.proto\x12\x0e\x66\x65tch.aea.Fipa"\xc4\x0c\n\x0b\x46ipaMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12\x41\n\x06\x61\x63\x63\x65pt\x18\x05 \x01(\x0b\x32/.fetch.aea.Fipa.FipaMessage.Accept_PerformativeH\x00\x12S\n\x0f\x61\x63\x63\x65pt_w_inform\x18\x06 \x01(\x0b\x32\x38.fetch.aea.Fipa.FipaMessage.Accept_W_Inform_PerformativeH\x00\x12;\n\x03\x63\x66p\x18\x07 \x01(\x0b\x32,.fetch.aea.Fipa.FipaMessage.Cfp_PerformativeH\x00\x12\x43\n\x07\x64\x65\x63line\x18\x08 \x01(\x0b\x32\x30.fetch.aea.Fipa.FipaMessage.Decline_PerformativeH\x00\x12\x41\n\x06inform\x18\t \x01(\x0b\x32/.fetch.aea.Fipa.FipaMessage.Inform_PerformativeH\x00\x12M\n\x0cmatch_accept\x18\n \x01(\x0b\x32\x35.fetch.aea.Fipa.FipaMessage.Match_Accept_PerformativeH\x00\x12_\n\x15match_accept_w_inform\x18\x0b \x01(\x0b\x32>.fetch.aea.Fipa.FipaMessage.Match_Accept_W_Inform_PerformativeH\x00\x12\x43\n\x07propose\x18\x0c \x01(\x0b\x32\x30.fetch.aea.Fipa.FipaMessage.Propose_PerformativeH\x00\x1a"\n\x0b\x44\x65scription\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\x0c\x1a\x81\x01\n\x05Query\x12\x0f\n\x05\x62ytes\x18\x01 \x01(\x0cH\x00\x12<\n\x07nothing\x18\x02 \x01(\x0b\x32).fetch.aea.Fipa.FipaMessage.Query.NothingH\x00\x12\x15\n\x0bquery_bytes\x18\x03 \x01(\x0cH\x00\x1a\t\n\x07NothingB\x07\n\x05query\x1a\x44\n\x10\x43\x66p_Performative\x12\x30\n\x05query\x18\x01 \x01(\x0b\x32!.fetch.aea.Fipa.FipaMessage.Query\x1aQ\n\x14Propose_Performative\x12\x39\n\x08proposal\x18\x01 \x01(\x0b\x32\'.fetch.aea.Fipa.FipaMessage.Description\x1a\x9d\x01\n\x1c\x41\x63\x63\x65pt_W_Inform_Performative\x12P\n\x04info\x18\x01 \x03(\x0b\x32\x42.fetch.aea.Fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xa9\x01\n"Match_Accept_W_Inform_Performative\x12V\n\x04info\x18\x01 \x03(\x0b\x32H.fetch.aea.Fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x8b\x01\n\x13Inform_Performative\x12G\n\x04info\x18\x01 \x03(\x0b\x32\x39.fetch.aea.Fipa.FipaMessage.Inform_Performative.InfoEntry\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x15\n\x13\x41\x63\x63\x65pt_Performative\x1a\x16\n\x14\x44\x65\x63line_Performative\x1a\x1b\n\x19Match_Accept_PerformativeB\x0e\n\x0cperformativeb\x06proto3',
+ serialized_pb=_b(
+ '\n\nfipa.proto\x12\x18\x66\x65tchai.aea.fetchai.fipa"\xe2\x0c\n\x0b\x46ipaMessage\x12K\n\x06\x61\x63\x63\x65pt\x18\x05 \x01(\x0b\x32\x39.fetchai.aea.fetchai.fipa.FipaMessage.Accept_PerformativeH\x00\x12]\n\x0f\x61\x63\x63\x65pt_w_inform\x18\x06 \x01(\x0b\x32\x42.fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_PerformativeH\x00\x12\x45\n\x03\x63\x66p\x18\x07 \x01(\x0b\x32\x36.fetchai.aea.fetchai.fipa.FipaMessage.Cfp_PerformativeH\x00\x12M\n\x07\x64\x65\x63line\x18\x08 \x01(\x0b\x32:.fetchai.aea.fetchai.fipa.FipaMessage.Decline_PerformativeH\x00\x12K\n\x06inform\x18\t \x01(\x0b\x32\x39.fetchai.aea.fetchai.fipa.FipaMessage.Inform_PerformativeH\x00\x12W\n\x0cmatch_accept\x18\n \x01(\x0b\x32?.fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_PerformativeH\x00\x12i\n\x15match_accept_w_inform\x18\x0b \x01(\x0b\x32H.fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_PerformativeH\x00\x12M\n\x07propose\x18\x0c \x01(\x0b\x32:.fetchai.aea.fetchai.fipa.FipaMessage.Propose_PerformativeH\x00\x1a"\n\x0b\x44\x65scription\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\x0c\x1a\x8b\x01\n\x05Query\x12\x0f\n\x05\x62ytes\x18\x01 \x01(\x0cH\x00\x12\x46\n\x07nothing\x18\x02 \x01(\x0b\x32\x33.fetchai.aea.fetchai.fipa.FipaMessage.Query.NothingH\x00\x12\x15\n\x0bquery_bytes\x18\x03 \x01(\x0cH\x00\x1a\t\n\x07NothingB\x07\n\x05query\x1aN\n\x10\x43\x66p_Performative\x12:\n\x05query\x18\x01 \x01(\x0b\x32+.fetchai.aea.fetchai.fipa.FipaMessage.Query\x1a[\n\x14Propose_Performative\x12\x43\n\x08proposal\x18\x01 \x01(\x0b\x32\x31.fetchai.aea.fetchai.fipa.FipaMessage.Description\x1a\xa7\x01\n\x1c\x41\x63\x63\x65pt_W_Inform_Performative\x12Z\n\x04info\x18\x01 \x03(\x0b\x32L.fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xb3\x01\n"Match_Accept_W_Inform_Performative\x12`\n\x04info\x18\x01 \x03(\x0b\x32R.fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x95\x01\n\x13Inform_Performative\x12Q\n\x04info\x18\x01 \x03(\x0b\x32\x43.fetchai.aea.fetchai.fipa.FipaMessage.Inform_Performative.InfoEntry\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x15\n\x13\x41\x63\x63\x65pt_Performative\x1a\x16\n\x14\x44\x65\x63line_Performative\x1a\x1b\n\x19Match_Accept_PerformativeB\x0e\n\x0cperformativeb\x06proto3'
+ ),
)
_FIPAMESSAGE_DESCRIPTION = _descriptor.Descriptor(
name="Description",
- full_name="fetch.aea.Fipa.FipaMessage.Description",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Description",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="description",
- full_name="fetch.aea.Fipa.FipaMessage.Description.description",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Description.description",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -55,13 +59,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=750,
- serialized_end=784,
+ serialized_start=730,
+ serialized_end=764,
)
_FIPAMESSAGE_QUERY_NOTHING = _descriptor.Descriptor(
name="Nothing",
- full_name="fetch.aea.Fipa.FipaMessage.Query.Nothing",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Query.Nothing",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -74,27 +78,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=898,
- serialized_end=907,
+ serialized_start=888,
+ serialized_end=897,
)
_FIPAMESSAGE_QUERY = _descriptor.Descriptor(
name="Query",
- full_name="fetch.aea.Fipa.FipaMessage.Query",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Query",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="bytes",
- full_name="fetch.aea.Fipa.FipaMessage.Query.bytes",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Query.bytes",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -105,7 +109,7 @@
),
_descriptor.FieldDescriptor(
name="nothing",
- full_name="fetch.aea.Fipa.FipaMessage.Query.nothing",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Query.nothing",
index=1,
number=2,
type=11,
@@ -123,14 +127,14 @@
),
_descriptor.FieldDescriptor(
name="query_bytes",
- full_name="fetch.aea.Fipa.FipaMessage.Query.query_bytes",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Query.query_bytes",
index=2,
number=3,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -150,26 +154,26 @@
oneofs=[
_descriptor.OneofDescriptor(
name="query",
- full_name="fetch.aea.Fipa.FipaMessage.Query.query",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Query.query",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=787,
- serialized_end=916,
+ serialized_start=767,
+ serialized_end=906,
)
_FIPAMESSAGE_CFP_PERFORMATIVE = _descriptor.Descriptor(
name="Cfp_Performative",
- full_name="fetch.aea.Fipa.FipaMessage.Cfp_Performative",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Cfp_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="query",
- full_name="fetch.aea.Fipa.FipaMessage.Cfp_Performative.query",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Cfp_Performative.query",
index=0,
number=1,
type=11,
@@ -194,20 +198,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=918,
+ serialized_start=908,
serialized_end=986,
)
_FIPAMESSAGE_PROPOSE_PERFORMATIVE = _descriptor.Descriptor(
name="Propose_Performative",
- full_name="fetch.aea.Fipa.FipaMessage.Propose_Performative",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Propose_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="proposal",
- full_name="fetch.aea.Fipa.FipaMessage.Propose_Performative.proposal",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Propose_Performative.proposal",
index=0,
number=1,
type=11,
@@ -233,26 +237,26 @@
extension_ranges=[],
oneofs=[],
serialized_start=988,
- serialized_end=1069,
+ serialized_end=1079,
)
_FIPAMESSAGE_ACCEPT_W_INFORM_PERFORMATIVE_INFOENTRY = _descriptor.Descriptor(
name="InfoEntry",
- full_name="fetch.aea.Fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry.key",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -263,14 +267,14 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry.value",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry.value",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -283,25 +287,25 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1186,
- serialized_end=1229,
+ serialized_start=1206,
+ serialized_end=1249,
)
_FIPAMESSAGE_ACCEPT_W_INFORM_PERFORMATIVE = _descriptor.Descriptor(
name="Accept_W_Inform_Performative",
- full_name="fetch.aea.Fipa.FipaMessage.Accept_W_Inform_Performative",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="info",
- full_name="fetch.aea.Fipa.FipaMessage.Accept_W_Inform_Performative.info",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.info",
index=0,
number=1,
type=11,
@@ -326,27 +330,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1072,
- serialized_end=1229,
+ serialized_start=1082,
+ serialized_end=1249,
)
_FIPAMESSAGE_MATCH_ACCEPT_W_INFORM_PERFORMATIVE_INFOENTRY = _descriptor.Descriptor(
name="InfoEntry",
- full_name="fetch.aea.Fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry.key",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -357,14 +361,14 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry.value",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry.value",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -377,25 +381,25 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1186,
- serialized_end=1229,
+ serialized_start=1206,
+ serialized_end=1249,
)
_FIPAMESSAGE_MATCH_ACCEPT_W_INFORM_PERFORMATIVE = _descriptor.Descriptor(
name="Match_Accept_W_Inform_Performative",
- full_name="fetch.aea.Fipa.FipaMessage.Match_Accept_W_Inform_Performative",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="info",
- full_name="fetch.aea.Fipa.FipaMessage.Match_Accept_W_Inform_Performative.info",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.info",
index=0,
number=1,
type=11,
@@ -420,27 +424,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1232,
- serialized_end=1401,
+ serialized_start=1252,
+ serialized_end=1431,
)
_FIPAMESSAGE_INFORM_PERFORMATIVE_INFOENTRY = _descriptor.Descriptor(
name="InfoEntry",
- full_name="fetch.aea.Fipa.FipaMessage.Inform_Performative.InfoEntry",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Inform_Performative.InfoEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Fipa.FipaMessage.Inform_Performative.InfoEntry.key",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Inform_Performative.InfoEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -451,14 +455,14 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Fipa.FipaMessage.Inform_Performative.InfoEntry.value",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Inform_Performative.InfoEntry.value",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -471,25 +475,25 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1186,
- serialized_end=1229,
+ serialized_start=1206,
+ serialized_end=1249,
)
_FIPAMESSAGE_INFORM_PERFORMATIVE = _descriptor.Descriptor(
name="Inform_Performative",
- full_name="fetch.aea.Fipa.FipaMessage.Inform_Performative",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Inform_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="info",
- full_name="fetch.aea.Fipa.FipaMessage.Inform_Performative.info",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Inform_Performative.info",
index=0,
number=1,
type=11,
@@ -514,13 +518,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1404,
- serialized_end=1543,
+ serialized_start=1434,
+ serialized_end=1583,
)
_FIPAMESSAGE_ACCEPT_PERFORMATIVE = _descriptor.Descriptor(
name="Accept_Performative",
- full_name="fetch.aea.Fipa.FipaMessage.Accept_Performative",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Accept_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -533,13 +537,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1545,
- serialized_end=1566,
+ serialized_start=1585,
+ serialized_end=1606,
)
_FIPAMESSAGE_DECLINE_PERFORMATIVE = _descriptor.Descriptor(
name="Decline_Performative",
- full_name="fetch.aea.Fipa.FipaMessage.Decline_Performative",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Decline_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -552,13 +556,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1568,
- serialized_end=1590,
+ serialized_start=1608,
+ serialized_end=1630,
)
_FIPAMESSAGE_MATCH_ACCEPT_PERFORMATIVE = _descriptor.Descriptor(
name="Match_Accept_Performative",
- full_name="fetch.aea.Fipa.FipaMessage.Match_Accept_Performative",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -571,93 +575,21 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1592,
- serialized_end=1619,
+ serialized_start=1632,
+ serialized_end=1659,
)
_FIPAMESSAGE = _descriptor.Descriptor(
name="FipaMessage",
- full_name="fetch.aea.Fipa.FipaMessage",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
- _descriptor.FieldDescriptor(
- name="message_id",
- full_name="fetch.aea.Fipa.FipaMessage.message_id",
- index=0,
- number=1,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_starter_reference",
- full_name="fetch.aea.Fipa.FipaMessage.dialogue_starter_reference",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_responder_reference",
- full_name="fetch.aea.Fipa.FipaMessage.dialogue_responder_reference",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="target",
- full_name="fetch.aea.Fipa.FipaMessage.target",
- index=3,
- number=4,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
_descriptor.FieldDescriptor(
name="accept",
- full_name="fetch.aea.Fipa.FipaMessage.accept",
- index=4,
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.accept",
+ index=0,
number=5,
type=11,
cpp_type=10,
@@ -674,8 +606,8 @@
),
_descriptor.FieldDescriptor(
name="accept_w_inform",
- full_name="fetch.aea.Fipa.FipaMessage.accept_w_inform",
- index=5,
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.accept_w_inform",
+ index=1,
number=6,
type=11,
cpp_type=10,
@@ -692,8 +624,8 @@
),
_descriptor.FieldDescriptor(
name="cfp",
- full_name="fetch.aea.Fipa.FipaMessage.cfp",
- index=6,
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.cfp",
+ index=2,
number=7,
type=11,
cpp_type=10,
@@ -710,8 +642,8 @@
),
_descriptor.FieldDescriptor(
name="decline",
- full_name="fetch.aea.Fipa.FipaMessage.decline",
- index=7,
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.decline",
+ index=3,
number=8,
type=11,
cpp_type=10,
@@ -728,8 +660,8 @@
),
_descriptor.FieldDescriptor(
name="inform",
- full_name="fetch.aea.Fipa.FipaMessage.inform",
- index=8,
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.inform",
+ index=4,
number=9,
type=11,
cpp_type=10,
@@ -746,8 +678,8 @@
),
_descriptor.FieldDescriptor(
name="match_accept",
- full_name="fetch.aea.Fipa.FipaMessage.match_accept",
- index=9,
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.match_accept",
+ index=5,
number=10,
type=11,
cpp_type=10,
@@ -764,8 +696,8 @@
),
_descriptor.FieldDescriptor(
name="match_accept_w_inform",
- full_name="fetch.aea.Fipa.FipaMessage.match_accept_w_inform",
- index=10,
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.match_accept_w_inform",
+ index=6,
number=11,
type=11,
cpp_type=10,
@@ -782,8 +714,8 @@
),
_descriptor.FieldDescriptor(
name="propose",
- full_name="fetch.aea.Fipa.FipaMessage.propose",
- index=11,
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.propose",
+ index=7,
number=12,
type=11,
cpp_type=10,
@@ -820,14 +752,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetch.aea.Fipa.FipaMessage.performative",
+ full_name="fetchai.aea.fetchai.fipa.FipaMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=31,
- serialized_end=1635,
+ serialized_start=41,
+ serialized_end=1675,
)
_FIPAMESSAGE_DESCRIPTION.containing_type = _FIPAMESSAGE
@@ -950,137 +882,137 @@
FipaMessage = _reflection.GeneratedProtocolMessageType(
"FipaMessage",
(_message.Message,),
- {
- "Description": _reflection.GeneratedProtocolMessageType(
+ dict(
+ Description=_reflection.GeneratedProtocolMessageType(
"Description",
(_message.Message,),
- {
- "DESCRIPTOR": _FIPAMESSAGE_DESCRIPTION,
- "__module__": "fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Fipa.FipaMessage.Description)
- },
+ dict(
+ DESCRIPTOR=_FIPAMESSAGE_DESCRIPTION,
+ __module__="fipa_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Description)
+ ),
),
- "Query": _reflection.GeneratedProtocolMessageType(
+ Query=_reflection.GeneratedProtocolMessageType(
"Query",
(_message.Message,),
- {
- "Nothing": _reflection.GeneratedProtocolMessageType(
+ dict(
+ Nothing=_reflection.GeneratedProtocolMessageType(
"Nothing",
(_message.Message,),
- {
- "DESCRIPTOR": _FIPAMESSAGE_QUERY_NOTHING,
- "__module__": "fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Fipa.FipaMessage.Query.Nothing)
- },
+ dict(
+ DESCRIPTOR=_FIPAMESSAGE_QUERY_NOTHING,
+ __module__="fipa_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Query.Nothing)
+ ),
),
- "DESCRIPTOR": _FIPAMESSAGE_QUERY,
- "__module__": "fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Fipa.FipaMessage.Query)
- },
+ DESCRIPTOR=_FIPAMESSAGE_QUERY,
+ __module__="fipa_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Query)
+ ),
),
- "Cfp_Performative": _reflection.GeneratedProtocolMessageType(
+ Cfp_Performative=_reflection.GeneratedProtocolMessageType(
"Cfp_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _FIPAMESSAGE_CFP_PERFORMATIVE,
- "__module__": "fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Fipa.FipaMessage.Cfp_Performative)
- },
+ dict(
+ DESCRIPTOR=_FIPAMESSAGE_CFP_PERFORMATIVE,
+ __module__="fipa_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Cfp_Performative)
+ ),
),
- "Propose_Performative": _reflection.GeneratedProtocolMessageType(
+ Propose_Performative=_reflection.GeneratedProtocolMessageType(
"Propose_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _FIPAMESSAGE_PROPOSE_PERFORMATIVE,
- "__module__": "fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Fipa.FipaMessage.Propose_Performative)
- },
+ dict(
+ DESCRIPTOR=_FIPAMESSAGE_PROPOSE_PERFORMATIVE,
+ __module__="fipa_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Propose_Performative)
+ ),
),
- "Accept_W_Inform_Performative": _reflection.GeneratedProtocolMessageType(
+ Accept_W_Inform_Performative=_reflection.GeneratedProtocolMessageType(
"Accept_W_Inform_Performative",
(_message.Message,),
- {
- "InfoEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ InfoEntry=_reflection.GeneratedProtocolMessageType(
"InfoEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _FIPAMESSAGE_ACCEPT_W_INFORM_PERFORMATIVE_INFOENTRY,
- "__module__": "fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry)
- },
+ dict(
+ DESCRIPTOR=_FIPAMESSAGE_ACCEPT_W_INFORM_PERFORMATIVE_INFOENTRY,
+ __module__="fipa_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry)
+ ),
),
- "DESCRIPTOR": _FIPAMESSAGE_ACCEPT_W_INFORM_PERFORMATIVE,
- "__module__": "fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Fipa.FipaMessage.Accept_W_Inform_Performative)
- },
+ DESCRIPTOR=_FIPAMESSAGE_ACCEPT_W_INFORM_PERFORMATIVE,
+ __module__="fipa_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative)
+ ),
),
- "Match_Accept_W_Inform_Performative": _reflection.GeneratedProtocolMessageType(
+ Match_Accept_W_Inform_Performative=_reflection.GeneratedProtocolMessageType(
"Match_Accept_W_Inform_Performative",
(_message.Message,),
- {
- "InfoEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ InfoEntry=_reflection.GeneratedProtocolMessageType(
"InfoEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _FIPAMESSAGE_MATCH_ACCEPT_W_INFORM_PERFORMATIVE_INFOENTRY,
- "__module__": "fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry)
- },
+ dict(
+ DESCRIPTOR=_FIPAMESSAGE_MATCH_ACCEPT_W_INFORM_PERFORMATIVE_INFOENTRY,
+ __module__="fipa_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry)
+ ),
),
- "DESCRIPTOR": _FIPAMESSAGE_MATCH_ACCEPT_W_INFORM_PERFORMATIVE,
- "__module__": "fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Fipa.FipaMessage.Match_Accept_W_Inform_Performative)
- },
+ DESCRIPTOR=_FIPAMESSAGE_MATCH_ACCEPT_W_INFORM_PERFORMATIVE,
+ __module__="fipa_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative)
+ ),
),
- "Inform_Performative": _reflection.GeneratedProtocolMessageType(
+ Inform_Performative=_reflection.GeneratedProtocolMessageType(
"Inform_Performative",
(_message.Message,),
- {
- "InfoEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ InfoEntry=_reflection.GeneratedProtocolMessageType(
"InfoEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _FIPAMESSAGE_INFORM_PERFORMATIVE_INFOENTRY,
- "__module__": "fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Fipa.FipaMessage.Inform_Performative.InfoEntry)
- },
+ dict(
+ DESCRIPTOR=_FIPAMESSAGE_INFORM_PERFORMATIVE_INFOENTRY,
+ __module__="fipa_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Inform_Performative.InfoEntry)
+ ),
),
- "DESCRIPTOR": _FIPAMESSAGE_INFORM_PERFORMATIVE,
- "__module__": "fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Fipa.FipaMessage.Inform_Performative)
- },
+ DESCRIPTOR=_FIPAMESSAGE_INFORM_PERFORMATIVE,
+ __module__="fipa_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Inform_Performative)
+ ),
),
- "Accept_Performative": _reflection.GeneratedProtocolMessageType(
+ Accept_Performative=_reflection.GeneratedProtocolMessageType(
"Accept_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _FIPAMESSAGE_ACCEPT_PERFORMATIVE,
- "__module__": "fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Fipa.FipaMessage.Accept_Performative)
- },
+ dict(
+ DESCRIPTOR=_FIPAMESSAGE_ACCEPT_PERFORMATIVE,
+ __module__="fipa_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Accept_Performative)
+ ),
),
- "Decline_Performative": _reflection.GeneratedProtocolMessageType(
+ Decline_Performative=_reflection.GeneratedProtocolMessageType(
"Decline_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _FIPAMESSAGE_DECLINE_PERFORMATIVE,
- "__module__": "fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Fipa.FipaMessage.Decline_Performative)
- },
+ dict(
+ DESCRIPTOR=_FIPAMESSAGE_DECLINE_PERFORMATIVE,
+ __module__="fipa_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Decline_Performative)
+ ),
),
- "Match_Accept_Performative": _reflection.GeneratedProtocolMessageType(
+ Match_Accept_Performative=_reflection.GeneratedProtocolMessageType(
"Match_Accept_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _FIPAMESSAGE_MATCH_ACCEPT_PERFORMATIVE,
- "__module__": "fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Fipa.FipaMessage.Match_Accept_Performative)
- },
+ dict(
+ DESCRIPTOR=_FIPAMESSAGE_MATCH_ACCEPT_PERFORMATIVE,
+ __module__="fipa_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_Performative)
+ ),
),
- "DESCRIPTOR": _FIPAMESSAGE,
- "__module__": "fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Fipa.FipaMessage)
- },
+ DESCRIPTOR=_FIPAMESSAGE,
+ __module__="fipa_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage)
+ ),
)
_sym_db.RegisterMessage(FipaMessage)
_sym_db.RegisterMessage(FipaMessage.Description)
diff --git a/packages/fetchai/protocols/fipa/protocol.yaml b/packages/fetchai/protocols/fipa/protocol.yaml
index 56acab1c84..2615c78643 100644
--- a/packages/fetchai/protocols/fipa/protocol.yaml
+++ b/packages/fetchai/protocols/fipa/protocol.yaml
@@ -10,10 +10,10 @@ fingerprint:
__init__.py: QmZuv8RGegxunYaJ7sHLwj2oLLCFCAGF139b8DxEY68MRT
custom_types.py: Qmb7bzEUAW74ZeSFqL7sTccNCjudStV63K4CFNZtibKUHB
dialogues.py: QmWaciW35ZTVeTeLWeyp3hjehKkWB5ZY7Di8N8cDH8Mjwb
- fipa.proto: QmP7JqnuQSQ9BDcKkscrTydKEX4wFBoyFaY1bkzGkamcit
- fipa_pb2.py: QmZMkefJLrb3zJKoimb6a9tdpxDBhc8rR2ghimqg7gZ471
+ fipa.proto: QmR1zwvMyS9D45aHkvqzhZ8TdKTzH5EjTfRbfr48pyqCmC
+ fipa_pb2.py: QmQoAM6ax2c9z6Dt6m4dDvEoW5p2B1CpJ45prTDjjYzttM
message.py: QmbFtigdnmqqmKZMTxjmk6JQJtcyhVY9a4mpEEcHmFJd24
- serialization.py: QmU6Xj55eaRxCYAeyR1difC769NHLB8kciorajvkLZCwDR
+ serialization.py: QmccPH6KqD3DhZr778GW1iGaFXJgDacCjMPuqostvkqEaG
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/packages/fetchai/protocols/fipa/serialization.py b/packages/fetchai/protocols/fipa/serialization.py
index d317c4c4ee..1beccf58c1 100644
--- a/packages/fetchai/protocols/fipa/serialization.py
+++ b/packages/fetchai/protocols/fipa/serialization.py
@@ -21,6 +21,7 @@
from typing import Any, Dict, cast
+from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
from aea.protocols.base import Message
from aea.protocols.base import Serializer
@@ -42,12 +43,15 @@ def encode(msg: Message) -> bytes:
:return: the bytes.
"""
msg = cast(FipaMessage, msg)
+ message_pb = ProtobufMessage()
+ dialogue_message_pb = DialogueMessage()
fipa_msg = fipa_pb2.FipaMessage()
- fipa_msg.message_id = msg.message_id
+
+ dialogue_message_pb.message_id = msg.message_id
dialogue_reference = msg.dialogue_reference
- fipa_msg.dialogue_starter_reference = dialogue_reference[0]
- fipa_msg.dialogue_responder_reference = dialogue_reference[1]
- fipa_msg.target = msg.target
+ dialogue_message_pb.dialogue_starter_reference = dialogue_reference[0]
+ dialogue_message_pb.dialogue_responder_reference = dialogue_reference[1]
+ dialogue_message_pb.target = msg.target
performative_id = msg.performative
if performative_id == FipaMessage.Performative.CFP:
@@ -87,8 +91,11 @@ def encode(msg: Message) -> bytes:
else:
raise ValueError("Performative not valid: {}".format(performative_id))
- fipa_bytes = fipa_msg.SerializeToString()
- return fipa_bytes
+ dialogue_message_pb.content = fipa_msg.SerializeToString()
+
+ message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
+ message_bytes = message_pb.SerializeToString()
+ return message_bytes
@staticmethod
def decode(obj: bytes) -> Message:
@@ -98,15 +105,17 @@ def decode(obj: bytes) -> Message:
:param obj: the bytes object.
:return: the 'Fipa' message.
"""
+ message_pb = ProtobufMessage()
fipa_pb = fipa_pb2.FipaMessage()
- fipa_pb.ParseFromString(obj)
- message_id = fipa_pb.message_id
+ message_pb.ParseFromString(obj)
+ message_id = message_pb.dialogue_message.message_id
dialogue_reference = (
- fipa_pb.dialogue_starter_reference,
- fipa_pb.dialogue_responder_reference,
+ message_pb.dialogue_message.dialogue_starter_reference,
+ message_pb.dialogue_message.dialogue_responder_reference,
)
- target = fipa_pb.target
+ target = message_pb.dialogue_message.target
+ fipa_pb.ParseFromString(message_pb.dialogue_message.content)
performative = fipa_pb.WhichOneof("performative")
performative_id = FipaMessage.Performative(str(performative))
performative_content = dict() # type: Dict[str, Any]
diff --git a/packages/fetchai/protocols/gym/gym.proto b/packages/fetchai/protocols/gym/gym.proto
index 4007132c2a..d42a70171f 100644
--- a/packages/fetchai/protocols/gym/gym.proto
+++ b/packages/fetchai/protocols/gym/gym.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetch.aea.Gym;
+package fetchai.aea.fetchai.gym;
message GymMessage{
@@ -33,11 +33,6 @@ message GymMessage{
message Close_Performative{}
- // Standard GymMessage fields
- int32 message_id = 1;
- string dialogue_starter_reference = 2;
- string dialogue_responder_reference = 3;
- int32 target = 4;
oneof performative{
Act_Performative act = 5;
Close_Performative close = 6;
diff --git a/packages/fetchai/protocols/gym/gym_pb2.py b/packages/fetchai/protocols/gym/gym_pb2.py
index d189342c1e..b7a30fdc66 100644
--- a/packages/fetchai/protocols/gym/gym_pb2.py
+++ b/packages/fetchai/protocols/gym/gym_pb2.py
@@ -1,7 +1,9 @@
-# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: gym.proto
+import sys
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@@ -14,30 +16,32 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="gym.proto",
- package="fetch.aea.Gym",
+ package="fetchai.aea.fetchai.gym",
syntax="proto3",
serialized_options=None,
- serialized_pb=b'\n\tgym.proto\x12\rfetch.aea.Gym"\xb1\x07\n\nGymMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12\x39\n\x03\x61\x63t\x18\x05 \x01(\x0b\x32*.fetch.aea.Gym.GymMessage.Act_PerformativeH\x00\x12=\n\x05\x63lose\x18\x06 \x01(\x0b\x32,.fetch.aea.Gym.GymMessage.Close_PerformativeH\x00\x12\x41\n\x07percept\x18\x07 \x01(\x0b\x32..fetch.aea.Gym.GymMessage.Percept_PerformativeH\x00\x12=\n\x05reset\x18\x08 \x01(\x0b\x32,.fetch.aea.Gym.GymMessage.Reset_PerformativeH\x00\x12?\n\x06status\x18\t \x01(\x0b\x32-.fetch.aea.Gym.GymMessage.Status_PerformativeH\x00\x1a\x18\n\tAnyObject\x12\x0b\n\x03\x61ny\x18\x01 \x01(\x0c\x1aX\n\x10\x41\x63t_Performative\x12\x33\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32#.fetch.aea.Gym.GymMessage.AnyObject\x12\x0f\n\x07step_id\x18\x02 \x01(\x05\x1a\xb2\x01\n\x14Percept_Performative\x12\x0f\n\x07step_id\x18\x01 \x01(\x05\x12\x38\n\x0bobservation\x18\x02 \x01(\x0b\x32#.fetch.aea.Gym.GymMessage.AnyObject\x12\x0e\n\x06reward\x18\x03 \x01(\x02\x12\x0c\n\x04\x64one\x18\x04 \x01(\x08\x12\x31\n\x04info\x18\x05 \x01(\x0b\x32#.fetch.aea.Gym.GymMessage.AnyObject\x1a\x92\x01\n\x13Status_Performative\x12K\n\x07\x63ontent\x18\x01 \x03(\x0b\x32:.fetch.aea.Gym.GymMessage.Status_Performative.ContentEntry\x1a.\n\x0c\x43ontentEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x14\n\x12Reset_Performative\x1a\x14\n\x12\x43lose_PerformativeB\x0e\n\x0cperformativeb\x06proto3',
+ serialized_pb=_b(
+ '\n\tgym.proto\x12\x17\x66\x65tchai.aea.fetchai.gym"\x9d\x07\n\nGymMessage\x12\x43\n\x03\x61\x63t\x18\x05 \x01(\x0b\x32\x34.fetchai.aea.fetchai.gym.GymMessage.Act_PerformativeH\x00\x12G\n\x05\x63lose\x18\x06 \x01(\x0b\x32\x36.fetchai.aea.fetchai.gym.GymMessage.Close_PerformativeH\x00\x12K\n\x07percept\x18\x07 \x01(\x0b\x32\x38.fetchai.aea.fetchai.gym.GymMessage.Percept_PerformativeH\x00\x12G\n\x05reset\x18\x08 \x01(\x0b\x32\x36.fetchai.aea.fetchai.gym.GymMessage.Reset_PerformativeH\x00\x12I\n\x06status\x18\t \x01(\x0b\x32\x37.fetchai.aea.fetchai.gym.GymMessage.Status_PerformativeH\x00\x1a\x18\n\tAnyObject\x12\x0b\n\x03\x61ny\x18\x01 \x01(\x0c\x1a\x62\n\x10\x41\x63t_Performative\x12=\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32-.fetchai.aea.fetchai.gym.GymMessage.AnyObject\x12\x0f\n\x07step_id\x18\x02 \x01(\x05\x1a\xc6\x01\n\x14Percept_Performative\x12\x0f\n\x07step_id\x18\x01 \x01(\x05\x12\x42\n\x0bobservation\x18\x02 \x01(\x0b\x32-.fetchai.aea.fetchai.gym.GymMessage.AnyObject\x12\x0e\n\x06reward\x18\x03 \x01(\x02\x12\x0c\n\x04\x64one\x18\x04 \x01(\x08\x12;\n\x04info\x18\x05 \x01(\x0b\x32-.fetchai.aea.fetchai.gym.GymMessage.AnyObject\x1a\x9c\x01\n\x13Status_Performative\x12U\n\x07\x63ontent\x18\x01 \x03(\x0b\x32\x44.fetchai.aea.fetchai.gym.GymMessage.Status_Performative.ContentEntry\x1a.\n\x0c\x43ontentEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x14\n\x12Reset_Performative\x1a\x14\n\x12\x43lose_PerformativeB\x0e\n\x0cperformativeb\x06proto3'
+ ),
)
_GYMMESSAGE_ANYOBJECT = _descriptor.Descriptor(
name="AnyObject",
- full_name="fetch.aea.Gym.GymMessage.AnyObject",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.AnyObject",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="any",
- full_name="fetch.aea.Gym.GymMessage.AnyObject.any",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.AnyObject.any",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -55,20 +59,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=470,
- serialized_end=494,
+ serialized_start=420,
+ serialized_end=444,
)
_GYMMESSAGE_ACT_PERFORMATIVE = _descriptor.Descriptor(
name="Act_Performative",
- full_name="fetch.aea.Gym.GymMessage.Act_Performative",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.Act_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="action",
- full_name="fetch.aea.Gym.GymMessage.Act_Performative.action",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.Act_Performative.action",
index=0,
number=1,
type=11,
@@ -86,7 +90,7 @@
),
_descriptor.FieldDescriptor(
name="step_id",
- full_name="fetch.aea.Gym.GymMessage.Act_Performative.step_id",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.Act_Performative.step_id",
index=1,
number=2,
type=5,
@@ -111,20 +115,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=496,
- serialized_end=584,
+ serialized_start=446,
+ serialized_end=544,
)
_GYMMESSAGE_PERCEPT_PERFORMATIVE = _descriptor.Descriptor(
name="Percept_Performative",
- full_name="fetch.aea.Gym.GymMessage.Percept_Performative",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.Percept_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="step_id",
- full_name="fetch.aea.Gym.GymMessage.Percept_Performative.step_id",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.Percept_Performative.step_id",
index=0,
number=1,
type=5,
@@ -142,7 +146,7 @@
),
_descriptor.FieldDescriptor(
name="observation",
- full_name="fetch.aea.Gym.GymMessage.Percept_Performative.observation",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.Percept_Performative.observation",
index=1,
number=2,
type=11,
@@ -160,7 +164,7 @@
),
_descriptor.FieldDescriptor(
name="reward",
- full_name="fetch.aea.Gym.GymMessage.Percept_Performative.reward",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.Percept_Performative.reward",
index=2,
number=3,
type=2,
@@ -178,7 +182,7 @@
),
_descriptor.FieldDescriptor(
name="done",
- full_name="fetch.aea.Gym.GymMessage.Percept_Performative.done",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.Percept_Performative.done",
index=3,
number=4,
type=8,
@@ -196,7 +200,7 @@
),
_descriptor.FieldDescriptor(
name="info",
- full_name="fetch.aea.Gym.GymMessage.Percept_Performative.info",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.Percept_Performative.info",
index=4,
number=5,
type=11,
@@ -221,27 +225,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=587,
- serialized_end=765,
+ serialized_start=547,
+ serialized_end=745,
)
_GYMMESSAGE_STATUS_PERFORMATIVE_CONTENTENTRY = _descriptor.Descriptor(
name="ContentEntry",
- full_name="fetch.aea.Gym.GymMessage.Status_Performative.ContentEntry",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.Status_Performative.ContentEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Gym.GymMessage.Status_Performative.ContentEntry.key",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.Status_Performative.ContentEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -252,14 +256,14 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Gym.GymMessage.Status_Performative.ContentEntry.value",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.Status_Performative.ContentEntry.value",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -272,25 +276,25 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=868,
- serialized_end=914,
+ serialized_start=858,
+ serialized_end=904,
)
_GYMMESSAGE_STATUS_PERFORMATIVE = _descriptor.Descriptor(
name="Status_Performative",
- full_name="fetch.aea.Gym.GymMessage.Status_Performative",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.Status_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content",
- full_name="fetch.aea.Gym.GymMessage.Status_Performative.content",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.Status_Performative.content",
index=0,
number=1,
type=11,
@@ -315,13 +319,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=768,
- serialized_end=914,
+ serialized_start=748,
+ serialized_end=904,
)
_GYMMESSAGE_RESET_PERFORMATIVE = _descriptor.Descriptor(
name="Reset_Performative",
- full_name="fetch.aea.Gym.GymMessage.Reset_Performative",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.Reset_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -334,13 +338,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=916,
- serialized_end=936,
+ serialized_start=906,
+ serialized_end=926,
)
_GYMMESSAGE_CLOSE_PERFORMATIVE = _descriptor.Descriptor(
name="Close_Performative",
- full_name="fetch.aea.Gym.GymMessage.Close_Performative",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.Close_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -353,93 +357,21 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=938,
- serialized_end=958,
+ serialized_start=928,
+ serialized_end=948,
)
_GYMMESSAGE = _descriptor.Descriptor(
name="GymMessage",
- full_name="fetch.aea.Gym.GymMessage",
+ full_name="fetchai.aea.fetchai.gym.GymMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
- _descriptor.FieldDescriptor(
- name="message_id",
- full_name="fetch.aea.Gym.GymMessage.message_id",
- index=0,
- number=1,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_starter_reference",
- full_name="fetch.aea.Gym.GymMessage.dialogue_starter_reference",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_responder_reference",
- full_name="fetch.aea.Gym.GymMessage.dialogue_responder_reference",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="target",
- full_name="fetch.aea.Gym.GymMessage.target",
- index=3,
- number=4,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
_descriptor.FieldDescriptor(
name="act",
- full_name="fetch.aea.Gym.GymMessage.act",
- index=4,
+ full_name="fetchai.aea.fetchai.gym.GymMessage.act",
+ index=0,
number=5,
type=11,
cpp_type=10,
@@ -456,8 +388,8 @@
),
_descriptor.FieldDescriptor(
name="close",
- full_name="fetch.aea.Gym.GymMessage.close",
- index=5,
+ full_name="fetchai.aea.fetchai.gym.GymMessage.close",
+ index=1,
number=6,
type=11,
cpp_type=10,
@@ -474,8 +406,8 @@
),
_descriptor.FieldDescriptor(
name="percept",
- full_name="fetch.aea.Gym.GymMessage.percept",
- index=6,
+ full_name="fetchai.aea.fetchai.gym.GymMessage.percept",
+ index=2,
number=7,
type=11,
cpp_type=10,
@@ -492,8 +424,8 @@
),
_descriptor.FieldDescriptor(
name="reset",
- full_name="fetch.aea.Gym.GymMessage.reset",
- index=7,
+ full_name="fetchai.aea.fetchai.gym.GymMessage.reset",
+ index=3,
number=8,
type=11,
cpp_type=10,
@@ -510,8 +442,8 @@
),
_descriptor.FieldDescriptor(
name="status",
- full_name="fetch.aea.Gym.GymMessage.status",
- index=8,
+ full_name="fetchai.aea.fetchai.gym.GymMessage.status",
+ index=4,
number=9,
type=11,
cpp_type=10,
@@ -544,14 +476,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetch.aea.Gym.GymMessage.performative",
+ full_name="fetchai.aea.fetchai.gym.GymMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=29,
- serialized_end=974,
+ serialized_start=39,
+ serialized_end=964,
)
_GYMMESSAGE_ANYOBJECT.containing_type = _GYMMESSAGE
@@ -616,74 +548,74 @@
GymMessage = _reflection.GeneratedProtocolMessageType(
"GymMessage",
(_message.Message,),
- {
- "AnyObject": _reflection.GeneratedProtocolMessageType(
+ dict(
+ AnyObject=_reflection.GeneratedProtocolMessageType(
"AnyObject",
(_message.Message,),
- {
- "DESCRIPTOR": _GYMMESSAGE_ANYOBJECT,
- "__module__": "gym_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Gym.GymMessage.AnyObject)
- },
+ dict(
+ DESCRIPTOR=_GYMMESSAGE_ANYOBJECT,
+ __module__="gym_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.gym.GymMessage.AnyObject)
+ ),
),
- "Act_Performative": _reflection.GeneratedProtocolMessageType(
+ Act_Performative=_reflection.GeneratedProtocolMessageType(
"Act_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _GYMMESSAGE_ACT_PERFORMATIVE,
- "__module__": "gym_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Gym.GymMessage.Act_Performative)
- },
+ dict(
+ DESCRIPTOR=_GYMMESSAGE_ACT_PERFORMATIVE,
+ __module__="gym_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.gym.GymMessage.Act_Performative)
+ ),
),
- "Percept_Performative": _reflection.GeneratedProtocolMessageType(
+ Percept_Performative=_reflection.GeneratedProtocolMessageType(
"Percept_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _GYMMESSAGE_PERCEPT_PERFORMATIVE,
- "__module__": "gym_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Gym.GymMessage.Percept_Performative)
- },
+ dict(
+ DESCRIPTOR=_GYMMESSAGE_PERCEPT_PERFORMATIVE,
+ __module__="gym_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.gym.GymMessage.Percept_Performative)
+ ),
),
- "Status_Performative": _reflection.GeneratedProtocolMessageType(
+ Status_Performative=_reflection.GeneratedProtocolMessageType(
"Status_Performative",
(_message.Message,),
- {
- "ContentEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ ContentEntry=_reflection.GeneratedProtocolMessageType(
"ContentEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _GYMMESSAGE_STATUS_PERFORMATIVE_CONTENTENTRY,
- "__module__": "gym_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Gym.GymMessage.Status_Performative.ContentEntry)
- },
+ dict(
+ DESCRIPTOR=_GYMMESSAGE_STATUS_PERFORMATIVE_CONTENTENTRY,
+ __module__="gym_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.gym.GymMessage.Status_Performative.ContentEntry)
+ ),
),
- "DESCRIPTOR": _GYMMESSAGE_STATUS_PERFORMATIVE,
- "__module__": "gym_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Gym.GymMessage.Status_Performative)
- },
+ DESCRIPTOR=_GYMMESSAGE_STATUS_PERFORMATIVE,
+ __module__="gym_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.gym.GymMessage.Status_Performative)
+ ),
),
- "Reset_Performative": _reflection.GeneratedProtocolMessageType(
+ Reset_Performative=_reflection.GeneratedProtocolMessageType(
"Reset_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _GYMMESSAGE_RESET_PERFORMATIVE,
- "__module__": "gym_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Gym.GymMessage.Reset_Performative)
- },
+ dict(
+ DESCRIPTOR=_GYMMESSAGE_RESET_PERFORMATIVE,
+ __module__="gym_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.gym.GymMessage.Reset_Performative)
+ ),
),
- "Close_Performative": _reflection.GeneratedProtocolMessageType(
+ Close_Performative=_reflection.GeneratedProtocolMessageType(
"Close_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _GYMMESSAGE_CLOSE_PERFORMATIVE,
- "__module__": "gym_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Gym.GymMessage.Close_Performative)
- },
+ dict(
+ DESCRIPTOR=_GYMMESSAGE_CLOSE_PERFORMATIVE,
+ __module__="gym_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.gym.GymMessage.Close_Performative)
+ ),
),
- "DESCRIPTOR": _GYMMESSAGE,
- "__module__": "gym_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Gym.GymMessage)
- },
+ DESCRIPTOR=_GYMMESSAGE,
+ __module__="gym_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.gym.GymMessage)
+ ),
)
_sym_db.RegisterMessage(GymMessage)
_sym_db.RegisterMessage(GymMessage.AnyObject)
diff --git a/packages/fetchai/protocols/gym/protocol.yaml b/packages/fetchai/protocols/gym/protocol.yaml
index 7a14814699..067c9b24de 100644
--- a/packages/fetchai/protocols/gym/protocol.yaml
+++ b/packages/fetchai/protocols/gym/protocol.yaml
@@ -10,10 +10,10 @@ fingerprint:
__init__.py: QmWBvruqGuU2BVCq8cuP1S3mgvuC78yrG4TdtSvKhCT8qX
custom_types.py: QmfDaswopanUqsETQXMatKfwwDSSo7q2Edz9MXGimT5jbf
dialogues.py: QmdCzcFfyPF43U2SoxwshG5p4hd6dK49m6GYKduDHbnNPo
- gym.proto: QmQGF9Xz4Z93wmhdKoztzxjo5pS4SsAWe2TQdvZCLuzdGC
- gym_pb2.py: QmSTz7xrL8ryqzR1Sgu1NpR6PmW7GUhBGnN2qYc8m8NCcN
+ gym.proto: QmeYNsnWj9yYLiMyJqTBFPw9o2TUVDBo8WfyaDcY8D87EF
+ gym_pb2.py: QmVW25q9Yhb1SG1HgpLMhWpYXBHkHsGq481gpR3gx8xcZG
message.py: Qmc4wx56DVaSpLe6h7KSUBmxEWoHVFFAQQB4mpympggcTG
- serialization.py: QmaZd7YMHrHZvbeMMb1JfnkUZRHk7zKy45M7kDvG5wbY9C
+ serialization.py: QmSxsJYMNbowsrCeY5s14FbT8J1XJf2LkPDaGv7ZP5ea4e
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/packages/fetchai/protocols/gym/serialization.py b/packages/fetchai/protocols/gym/serialization.py
index 8b058f15b5..5322b19546 100644
--- a/packages/fetchai/protocols/gym/serialization.py
+++ b/packages/fetchai/protocols/gym/serialization.py
@@ -21,6 +21,7 @@
from typing import Any, Dict, cast
+from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
from aea.protocols.base import Message
from aea.protocols.base import Serializer
@@ -41,12 +42,15 @@ def encode(msg: Message) -> bytes:
:return: the bytes.
"""
msg = cast(GymMessage, msg)
+ message_pb = ProtobufMessage()
+ dialogue_message_pb = DialogueMessage()
gym_msg = gym_pb2.GymMessage()
- gym_msg.message_id = msg.message_id
+
+ dialogue_message_pb.message_id = msg.message_id
dialogue_reference = msg.dialogue_reference
- gym_msg.dialogue_starter_reference = dialogue_reference[0]
- gym_msg.dialogue_responder_reference = dialogue_reference[1]
- gym_msg.target = msg.target
+ dialogue_message_pb.dialogue_starter_reference = dialogue_reference[0]
+ dialogue_message_pb.dialogue_responder_reference = dialogue_reference[1]
+ dialogue_message_pb.target = msg.target
performative_id = msg.performative
if performative_id == GymMessage.Performative.ACT:
@@ -83,8 +87,11 @@ def encode(msg: Message) -> bytes:
else:
raise ValueError("Performative not valid: {}".format(performative_id))
- gym_bytes = gym_msg.SerializeToString()
- return gym_bytes
+ dialogue_message_pb.content = gym_msg.SerializeToString()
+
+ message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
+ message_bytes = message_pb.SerializeToString()
+ return message_bytes
@staticmethod
def decode(obj: bytes) -> Message:
@@ -94,15 +101,17 @@ def decode(obj: bytes) -> Message:
:param obj: the bytes object.
:return: the 'Gym' message.
"""
+ message_pb = ProtobufMessage()
gym_pb = gym_pb2.GymMessage()
- gym_pb.ParseFromString(obj)
- message_id = gym_pb.message_id
+ message_pb.ParseFromString(obj)
+ message_id = message_pb.dialogue_message.message_id
dialogue_reference = (
- gym_pb.dialogue_starter_reference,
- gym_pb.dialogue_responder_reference,
+ message_pb.dialogue_message.dialogue_starter_reference,
+ message_pb.dialogue_message.dialogue_responder_reference,
)
- target = gym_pb.target
+ target = message_pb.dialogue_message.target
+ gym_pb.ParseFromString(message_pb.dialogue_message.content)
performative = gym_pb.WhichOneof("performative")
performative_id = GymMessage.Performative(str(performative))
performative_content = dict() # type: Dict[str, Any]
diff --git a/packages/fetchai/protocols/http/http.proto b/packages/fetchai/protocols/http/http.proto
index 0b259bc3b9..e8f34e6267 100644
--- a/packages/fetchai/protocols/http/http.proto
+++ b/packages/fetchai/protocols/http/http.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetch.aea.Http;
+package fetchai.aea.fetchai.http;
message HttpMessage{
@@ -22,11 +22,6 @@ message HttpMessage{
}
- // Standard HttpMessage fields
- int32 message_id = 1;
- string dialogue_starter_reference = 2;
- string dialogue_responder_reference = 3;
- int32 target = 4;
oneof performative{
Request_Performative request = 5;
Response_Performative response = 6;
diff --git a/packages/fetchai/protocols/http/http_pb2.py b/packages/fetchai/protocols/http/http_pb2.py
index 98a98aa43e..da8ac345d1 100644
--- a/packages/fetchai/protocols/http/http_pb2.py
+++ b/packages/fetchai/protocols/http/http_pb2.py
@@ -1,7 +1,9 @@
-# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: http.proto
+import sys
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@@ -14,30 +16,32 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="http.proto",
- package="fetch.aea.Http",
+ package="fetchai.aea.fetchai.http",
syntax="proto3",
serialized_options=None,
- serialized_pb=b'\n\nhttp.proto\x12\x0e\x66\x65tch.aea.Http"\xf1\x03\n\x0bHttpMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12\x43\n\x07request\x18\x05 \x01(\x0b\x32\x30.fetch.aea.Http.HttpMessage.Request_PerformativeH\x00\x12\x45\n\x08response\x18\x06 \x01(\x0b\x32\x31.fetch.aea.Http.HttpMessage.Response_PerformativeH\x00\x1a\x64\n\x14Request_Performative\x12\x0e\n\x06method\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x0f\n\x07headers\x18\x04 \x01(\t\x12\r\n\x05\x62odyy\x18\x05 \x01(\x0c\x1ar\n\x15Response_Performative\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x13\n\x0bstatus_code\x18\x02 \x01(\x05\x12\x13\n\x0bstatus_text\x18\x03 \x01(\t\x12\x0f\n\x07headers\x18\x04 \x01(\t\x12\r\n\x05\x62odyy\x18\x05 \x01(\x0c\x42\x0e\n\x0cperformativeb\x06proto3',
+ serialized_pb=_b(
+ '\n\nhttp.proto\x12\x18\x66\x65tchai.aea.fetchai.http"\x97\x03\n\x0bHttpMessage\x12M\n\x07request\x18\x05 \x01(\x0b\x32:.fetchai.aea.fetchai.http.HttpMessage.Request_PerformativeH\x00\x12O\n\x08response\x18\x06 \x01(\x0b\x32;.fetchai.aea.fetchai.http.HttpMessage.Response_PerformativeH\x00\x1a\x64\n\x14Request_Performative\x12\x0e\n\x06method\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x0f\n\x07headers\x18\x04 \x01(\t\x12\r\n\x05\x62odyy\x18\x05 \x01(\x0c\x1ar\n\x15Response_Performative\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x13\n\x0bstatus_code\x18\x02 \x01(\x05\x12\x13\n\x0bstatus_text\x18\x03 \x01(\t\x12\x0f\n\x07headers\x18\x04 \x01(\t\x12\r\n\x05\x62odyy\x18\x05 \x01(\x0c\x42\x0e\n\x0cperformativeb\x06proto3'
+ ),
)
_HTTPMESSAGE_REQUEST_PERFORMATIVE = _descriptor.Descriptor(
name="Request_Performative",
- full_name="fetch.aea.Http.HttpMessage.Request_Performative",
+ full_name="fetchai.aea.fetchai.http.HttpMessage.Request_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="method",
- full_name="fetch.aea.Http.HttpMessage.Request_Performative.method",
+ full_name="fetchai.aea.fetchai.http.HttpMessage.Request_Performative.method",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -48,14 +52,14 @@
),
_descriptor.FieldDescriptor(
name="url",
- full_name="fetch.aea.Http.HttpMessage.Request_Performative.url",
+ full_name="fetchai.aea.fetchai.http.HttpMessage.Request_Performative.url",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -66,14 +70,14 @@
),
_descriptor.FieldDescriptor(
name="version",
- full_name="fetch.aea.Http.HttpMessage.Request_Performative.version",
+ full_name="fetchai.aea.fetchai.http.HttpMessage.Request_Performative.version",
index=2,
number=3,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -84,14 +88,14 @@
),
_descriptor.FieldDescriptor(
name="headers",
- full_name="fetch.aea.Http.HttpMessage.Request_Performative.headers",
+ full_name="fetchai.aea.fetchai.http.HttpMessage.Request_Performative.headers",
index=3,
number=4,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -102,14 +106,14 @@
),
_descriptor.FieldDescriptor(
name="bodyy",
- full_name="fetch.aea.Http.HttpMessage.Request_Performative.bodyy",
+ full_name="fetchai.aea.fetchai.http.HttpMessage.Request_Performative.bodyy",
index=4,
number=5,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -127,27 +131,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=296,
- serialized_end=396,
+ serialized_start=216,
+ serialized_end=316,
)
_HTTPMESSAGE_RESPONSE_PERFORMATIVE = _descriptor.Descriptor(
name="Response_Performative",
- full_name="fetch.aea.Http.HttpMessage.Response_Performative",
+ full_name="fetchai.aea.fetchai.http.HttpMessage.Response_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="version",
- full_name="fetch.aea.Http.HttpMessage.Response_Performative.version",
+ full_name="fetchai.aea.fetchai.http.HttpMessage.Response_Performative.version",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -158,7 +162,7 @@
),
_descriptor.FieldDescriptor(
name="status_code",
- full_name="fetch.aea.Http.HttpMessage.Response_Performative.status_code",
+ full_name="fetchai.aea.fetchai.http.HttpMessage.Response_Performative.status_code",
index=1,
number=2,
type=5,
@@ -176,14 +180,14 @@
),
_descriptor.FieldDescriptor(
name="status_text",
- full_name="fetch.aea.Http.HttpMessage.Response_Performative.status_text",
+ full_name="fetchai.aea.fetchai.http.HttpMessage.Response_Performative.status_text",
index=2,
number=3,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -194,14 +198,14 @@
),
_descriptor.FieldDescriptor(
name="headers",
- full_name="fetch.aea.Http.HttpMessage.Response_Performative.headers",
+ full_name="fetchai.aea.fetchai.http.HttpMessage.Response_Performative.headers",
index=3,
number=4,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -212,14 +216,14 @@
),
_descriptor.FieldDescriptor(
name="bodyy",
- full_name="fetch.aea.Http.HttpMessage.Response_Performative.bodyy",
+ full_name="fetchai.aea.fetchai.http.HttpMessage.Response_Performative.bodyy",
index=4,
number=5,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -237,93 +241,21 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=398,
- serialized_end=512,
+ serialized_start=318,
+ serialized_end=432,
)
_HTTPMESSAGE = _descriptor.Descriptor(
name="HttpMessage",
- full_name="fetch.aea.Http.HttpMessage",
+ full_name="fetchai.aea.fetchai.http.HttpMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
- _descriptor.FieldDescriptor(
- name="message_id",
- full_name="fetch.aea.Http.HttpMessage.message_id",
- index=0,
- number=1,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_starter_reference",
- full_name="fetch.aea.Http.HttpMessage.dialogue_starter_reference",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_responder_reference",
- full_name="fetch.aea.Http.HttpMessage.dialogue_responder_reference",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="target",
- full_name="fetch.aea.Http.HttpMessage.target",
- index=3,
- number=4,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
_descriptor.FieldDescriptor(
name="request",
- full_name="fetch.aea.Http.HttpMessage.request",
- index=4,
+ full_name="fetchai.aea.fetchai.http.HttpMessage.request",
+ index=0,
number=5,
type=11,
cpp_type=10,
@@ -340,8 +272,8 @@
),
_descriptor.FieldDescriptor(
name="response",
- full_name="fetch.aea.Http.HttpMessage.response",
- index=5,
+ full_name="fetchai.aea.fetchai.http.HttpMessage.response",
+ index=1,
number=6,
type=11,
cpp_type=10,
@@ -370,14 +302,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetch.aea.Http.HttpMessage.performative",
+ full_name="fetchai.aea.fetchai.http.HttpMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=31,
- serialized_end=528,
+ serialized_start=41,
+ serialized_end=448,
)
_HTTPMESSAGE_REQUEST_PERFORMATIVE.containing_type = _HTTPMESSAGE
@@ -404,29 +336,29 @@
HttpMessage = _reflection.GeneratedProtocolMessageType(
"HttpMessage",
(_message.Message,),
- {
- "Request_Performative": _reflection.GeneratedProtocolMessageType(
+ dict(
+ Request_Performative=_reflection.GeneratedProtocolMessageType(
"Request_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _HTTPMESSAGE_REQUEST_PERFORMATIVE,
- "__module__": "http_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Http.HttpMessage.Request_Performative)
- },
+ dict(
+ DESCRIPTOR=_HTTPMESSAGE_REQUEST_PERFORMATIVE,
+ __module__="http_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.http.HttpMessage.Request_Performative)
+ ),
),
- "Response_Performative": _reflection.GeneratedProtocolMessageType(
+ Response_Performative=_reflection.GeneratedProtocolMessageType(
"Response_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _HTTPMESSAGE_RESPONSE_PERFORMATIVE,
- "__module__": "http_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Http.HttpMessage.Response_Performative)
- },
+ dict(
+ DESCRIPTOR=_HTTPMESSAGE_RESPONSE_PERFORMATIVE,
+ __module__="http_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.http.HttpMessage.Response_Performative)
+ ),
),
- "DESCRIPTOR": _HTTPMESSAGE,
- "__module__": "http_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Http.HttpMessage)
- },
+ DESCRIPTOR=_HTTPMESSAGE,
+ __module__="http_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.http.HttpMessage)
+ ),
)
_sym_db.RegisterMessage(HttpMessage)
_sym_db.RegisterMessage(HttpMessage.Request_Performative)
diff --git a/packages/fetchai/protocols/http/protocol.yaml b/packages/fetchai/protocols/http/protocol.yaml
index bfe9679b93..cf2b6b3798 100644
--- a/packages/fetchai/protocols/http/protocol.yaml
+++ b/packages/fetchai/protocols/http/protocol.yaml
@@ -9,10 +9,10 @@ fingerprint:
README.md: QmY7fxhyNBgwU7uc6LKtCN4aSQ4bym5BwqtwRAfwPokULN
__init__.py: QmRWie4QPiFJE8nK4fFJ6prqoG3u36cPo7st5JUZAGpVWv
dialogues.py: QmdwTehjCppcxyDid8m6zuHY5YwprUhato88R9Zdm9aXaM
- http.proto: QmdTUTvvxGxMxSTB67AXjMUSDLdsxBYiSuJNVxHuLKB1jS
- http_pb2.py: QmYYKqdwiueq54EveL9WXn216FXLSQ6XGJJHoiJxwJjzHC
+ http.proto: Qmc69XzEVztUJGpJJoUwoZnq2Pi3K4sKzFeMookVC2QuxN
+ http_pb2.py: QmeGUMT6ALDWQyMgYAy481RqvZxjeTG4aq3E8msdRtmmbX
message.py: QmYSmd2xLU8TsLLorxxNnaHj1cVLztgrKtQnaqJ1USFkPY
- serialization.py: QmUgo5BtLYDyy7syHBd6brd8zAXivNR2UEiBckryCwg6hk
+ serialization.py: QmWHtnfKcgDyE3CBuP4LRVRToj8MBS4EoaoETDcV1Jdoe5
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/packages/fetchai/protocols/http/serialization.py b/packages/fetchai/protocols/http/serialization.py
index 749ddba29d..0bfb33d5a8 100644
--- a/packages/fetchai/protocols/http/serialization.py
+++ b/packages/fetchai/protocols/http/serialization.py
@@ -21,6 +21,7 @@
from typing import Any, Dict, cast
+from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
from aea.protocols.base import Message
from aea.protocols.base import Serializer
@@ -40,12 +41,15 @@ def encode(msg: Message) -> bytes:
:return: the bytes.
"""
msg = cast(HttpMessage, msg)
+ message_pb = ProtobufMessage()
+ dialogue_message_pb = DialogueMessage()
http_msg = http_pb2.HttpMessage()
- http_msg.message_id = msg.message_id
+
+ dialogue_message_pb.message_id = msg.message_id
dialogue_reference = msg.dialogue_reference
- http_msg.dialogue_starter_reference = dialogue_reference[0]
- http_msg.dialogue_responder_reference = dialogue_reference[1]
- http_msg.target = msg.target
+ dialogue_message_pb.dialogue_starter_reference = dialogue_reference[0]
+ dialogue_message_pb.dialogue_responder_reference = dialogue_reference[1]
+ dialogue_message_pb.target = msg.target
performative_id = msg.performative
if performative_id == HttpMessage.Performative.REQUEST:
@@ -77,8 +81,11 @@ def encode(msg: Message) -> bytes:
else:
raise ValueError("Performative not valid: {}".format(performative_id))
- http_bytes = http_msg.SerializeToString()
- return http_bytes
+ dialogue_message_pb.content = http_msg.SerializeToString()
+
+ message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
+ message_bytes = message_pb.SerializeToString()
+ return message_bytes
@staticmethod
def decode(obj: bytes) -> Message:
@@ -88,15 +95,17 @@ def decode(obj: bytes) -> Message:
:param obj: the bytes object.
:return: the 'Http' message.
"""
+ message_pb = ProtobufMessage()
http_pb = http_pb2.HttpMessage()
- http_pb.ParseFromString(obj)
- message_id = http_pb.message_id
+ message_pb.ParseFromString(obj)
+ message_id = message_pb.dialogue_message.message_id
dialogue_reference = (
- http_pb.dialogue_starter_reference,
- http_pb.dialogue_responder_reference,
+ message_pb.dialogue_message.dialogue_starter_reference,
+ message_pb.dialogue_message.dialogue_responder_reference,
)
- target = http_pb.target
+ target = message_pb.dialogue_message.target
+ http_pb.ParseFromString(message_pb.dialogue_message.content)
performative = http_pb.WhichOneof("performative")
performative_id = HttpMessage.Performative(str(performative))
performative_content = dict() # type: Dict[str, Any]
diff --git a/packages/fetchai/protocols/ledger_api/ledger_api.proto b/packages/fetchai/protocols/ledger_api/ledger_api.proto
index 27f94bfc60..76d9490701 100644
--- a/packages/fetchai/protocols/ledger_api/ledger_api.proto
+++ b/packages/fetchai/protocols/ledger_api/ledger_api.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetch.aea.LedgerApi;
+package fetchai.aea.fetchai.ledger_api;
message LedgerApiMessage{
@@ -70,11 +70,6 @@ message LedgerApiMessage{
}
- // Standard LedgerApiMessage fields
- int32 message_id = 1;
- string dialogue_starter_reference = 2;
- string dialogue_responder_reference = 3;
- int32 target = 4;
oneof performative{
Balance_Performative balance = 5;
Error_Performative error = 6;
diff --git a/packages/fetchai/protocols/ledger_api/ledger_api_pb2.py b/packages/fetchai/protocols/ledger_api/ledger_api_pb2.py
index 9d99afb36b..0c689a9e70 100644
--- a/packages/fetchai/protocols/ledger_api/ledger_api_pb2.py
+++ b/packages/fetchai/protocols/ledger_api/ledger_api_pb2.py
@@ -1,7 +1,9 @@
-# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: ledger_api.proto
+import sys
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@@ -14,30 +16,32 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="ledger_api.proto",
- package="fetch.aea.LedgerApi",
+ package="fetchai.aea.fetchai.ledger_api",
syntax="proto3",
serialized_options=None,
- serialized_pb=b'\n\x10ledger_api.proto\x12\x13\x66\x65tch.aea.LedgerApi"\xf1\x10\n\x10LedgerApiMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12M\n\x07\x62\x61lance\x18\x05 \x01(\x0b\x32:.fetch.aea.LedgerApi.LedgerApiMessage.Balance_PerformativeH\x00\x12I\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x38.fetch.aea.LedgerApi.LedgerApiMessage.Error_PerformativeH\x00\x12U\n\x0bget_balance\x18\x07 \x01(\x0b\x32>.fetch.aea.LedgerApi.LedgerApiMessage.Get_Balance_PerformativeH\x00\x12\x65\n\x13get_raw_transaction\x18\x08 \x01(\x0b\x32\x46.fetch.aea.LedgerApi.LedgerApiMessage.Get_Raw_Transaction_PerformativeH\x00\x12m\n\x17get_transaction_receipt\x18\t \x01(\x0b\x32J.fetch.aea.LedgerApi.LedgerApiMessage.Get_Transaction_Receipt_PerformativeH\x00\x12]\n\x0fraw_transaction\x18\n \x01(\x0b\x32\x42.fetch.aea.LedgerApi.LedgerApiMessage.Raw_Transaction_PerformativeH\x00\x12m\n\x17send_signed_transaction\x18\x0b \x01(\x0b\x32J.fetch.aea.LedgerApi.LedgerApiMessage.Send_Signed_Transaction_PerformativeH\x00\x12\x63\n\x12transaction_digest\x18\x0c \x01(\x0b\x32\x45.fetch.aea.LedgerApi.LedgerApiMessage.Transaction_Digest_PerformativeH\x00\x12\x65\n\x13transaction_receipt\x18\r \x01(\x0b\x32\x46.fetch.aea.LedgerApi.LedgerApiMessage.Transaction_Receipt_PerformativeH\x00\x1a)\n\x0eRawTransaction\x12\x17\n\x0fraw_transaction\x18\x01 \x01(\x0c\x1a/\n\x11SignedTransaction\x12\x1a\n\x12signed_transaction\x18\x01 \x01(\x0c\x1a\x16\n\x05Terms\x12\r\n\x05terms\x18\x01 \x01(\x0c\x1a/\n\x11TransactionDigest\x12\x1a\n\x12transaction_digest\x18\x01 \x01(\x0c\x1a\x31\n\x12TransactionReceipt\x12\x1b\n\x13transaction_receipt\x18\x01 \x01(\x0c\x1a>\n\x18Get_Balance_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x1a^\n Get_Raw_Transaction_Performative\x12:\n\x05terms\x18\x01 \x01(\x0b\x32+.fetch.aea.LedgerApi.LedgerApiMessage.Terms\x1a{\n$Send_Signed_Transaction_Performative\x12S\n\x12signed_transaction\x18\x01 \x01(\x0b\x32\x37.fetch.aea.LedgerApi.LedgerApiMessage.SignedTransaction\x1a{\n$Get_Transaction_Receipt_Performative\x12S\n\x12transaction_digest\x18\x01 \x01(\x0b\x32\x37.fetch.aea.LedgerApi.LedgerApiMessage.TransactionDigest\x1a:\n\x14\x42\x61lance_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x0f\n\x07\x62\x61lance\x18\x02 \x01(\x05\x1am\n\x1cRaw_Transaction_Performative\x12M\n\x0fraw_transaction\x18\x01 \x01(\x0b\x32\x34.fetch.aea.LedgerApi.LedgerApiMessage.RawTransaction\x1av\n\x1fTransaction_Digest_Performative\x12S\n\x12transaction_digest\x18\x01 \x01(\x0b\x32\x37.fetch.aea.LedgerApi.LedgerApiMessage.TransactionDigest\x1ay\n Transaction_Receipt_Performative\x12U\n\x13transaction_receipt\x18\x01 \x01(\x0b\x32\x38.fetch.aea.LedgerApi.LedgerApiMessage.TransactionReceipt\x1an\n\x12\x45rror_Performative\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x16\n\x0emessage_is_set\x18\x03 \x01(\x08\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x12\x13\n\x0b\x64\x61ta_is_set\x18\x05 \x01(\x08\x42\x0e\n\x0cperformativeb\x06proto3',
+ serialized_pb=_b(
+ '\n\x10ledger_api.proto\x12\x1e\x66\x65tchai.aea.fetchai.ledger_api"\xac\x11\n\x10LedgerApiMessage\x12X\n\x07\x62\x61lance\x18\x05 \x01(\x0b\x32\x45.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Balance_PerformativeH\x00\x12T\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x43.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Error_PerformativeH\x00\x12`\n\x0bget_balance\x18\x07 \x01(\x0b\x32I.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Balance_PerformativeH\x00\x12p\n\x13get_raw_transaction\x18\x08 \x01(\x0b\x32Q.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Raw_Transaction_PerformativeH\x00\x12x\n\x17get_transaction_receipt\x18\t \x01(\x0b\x32U.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Transaction_Receipt_PerformativeH\x00\x12h\n\x0fraw_transaction\x18\n \x01(\x0b\x32M.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Raw_Transaction_PerformativeH\x00\x12x\n\x17send_signed_transaction\x18\x0b \x01(\x0b\x32U.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Send_Signed_Transaction_PerformativeH\x00\x12n\n\x12transaction_digest\x18\x0c \x01(\x0b\x32P.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Digest_PerformativeH\x00\x12p\n\x13transaction_receipt\x18\r \x01(\x0b\x32Q.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Receipt_PerformativeH\x00\x1a)\n\x0eRawTransaction\x12\x17\n\x0fraw_transaction\x18\x01 \x01(\x0c\x1a/\n\x11SignedTransaction\x12\x1a\n\x12signed_transaction\x18\x01 \x01(\x0c\x1a\x16\n\x05Terms\x12\r\n\x05terms\x18\x01 \x01(\x0c\x1a/\n\x11TransactionDigest\x12\x1a\n\x12transaction_digest\x18\x01 \x01(\x0c\x1a\x31\n\x12TransactionReceipt\x12\x1b\n\x13transaction_receipt\x18\x01 \x01(\x0c\x1a>\n\x18Get_Balance_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x1ai\n Get_Raw_Transaction_Performative\x12\x45\n\x05terms\x18\x01 \x01(\x0b\x32\x36.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Terms\x1a\x86\x01\n$Send_Signed_Transaction_Performative\x12^\n\x12signed_transaction\x18\x01 \x01(\x0b\x32\x42.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.SignedTransaction\x1a\x86\x01\n$Get_Transaction_Receipt_Performative\x12^\n\x12transaction_digest\x18\x01 \x01(\x0b\x32\x42.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionDigest\x1a:\n\x14\x42\x61lance_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x0f\n\x07\x62\x61lance\x18\x02 \x01(\x05\x1ax\n\x1cRaw_Transaction_Performative\x12X\n\x0fraw_transaction\x18\x01 \x01(\x0b\x32?.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.RawTransaction\x1a\x81\x01\n\x1fTransaction_Digest_Performative\x12^\n\x12transaction_digest\x18\x01 \x01(\x0b\x32\x42.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionDigest\x1a\x84\x01\n Transaction_Receipt_Performative\x12`\n\x13transaction_receipt\x18\x01 \x01(\x0b\x32\x43.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionReceipt\x1an\n\x12\x45rror_Performative\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x16\n\x0emessage_is_set\x18\x03 \x01(\x08\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x12\x13\n\x0b\x64\x61ta_is_set\x18\x05 \x01(\x08\x42\x0e\n\x0cperformativeb\x06proto3'
+ ),
)
_LEDGERAPIMESSAGE_RAWTRANSACTION = _descriptor.Descriptor(
name="RawTransaction",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.RawTransaction",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.RawTransaction",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="raw_transaction",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.RawTransaction.raw_transaction",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.RawTransaction.raw_transaction",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -61,21 +65,21 @@
_LEDGERAPIMESSAGE_SIGNEDTRANSACTION = _descriptor.Descriptor(
name="SignedTransaction",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.SignedTransaction",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.SignedTransaction",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="signed_transaction",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.SignedTransaction.signed_transaction",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.SignedTransaction.signed_transaction",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -99,21 +103,21 @@
_LEDGERAPIMESSAGE_TERMS = _descriptor.Descriptor(
name="Terms",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Terms",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Terms",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Terms.terms",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Terms.terms",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -137,21 +141,21 @@
_LEDGERAPIMESSAGE_TRANSACTIONDIGEST = _descriptor.Descriptor(
name="TransactionDigest",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.TransactionDigest",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionDigest",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="transaction_digest",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.TransactionDigest.transaction_digest",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionDigest.transaction_digest",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -175,21 +179,21 @@
_LEDGERAPIMESSAGE_TRANSACTIONRECEIPT = _descriptor.Descriptor(
name="TransactionReceipt",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.TransactionReceipt",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionReceipt",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="transaction_receipt",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.TransactionReceipt.transaction_receipt",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionReceipt.transaction_receipt",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -213,21 +217,21 @@
_LEDGERAPIMESSAGE_GET_BALANCE_PERFORMATIVE = _descriptor.Descriptor(
name="Get_Balance_Performative",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Get_Balance_Performative",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Balance_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="ledger_id",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Get_Balance_Performative.ledger_id",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Balance_Performative.ledger_id",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -238,14 +242,14 @@
),
_descriptor.FieldDescriptor(
name="address",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Get_Balance_Performative.address",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Balance_Performative.address",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -269,14 +273,14 @@
_LEDGERAPIMESSAGE_GET_RAW_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Get_Raw_Transaction_Performative",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Get_Raw_Transaction_Performative",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Raw_Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Get_Raw_Transaction_Performative.terms",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Raw_Transaction_Performative.terms",
index=0,
number=1,
type=11,
@@ -302,19 +306,19 @@
extension_ranges=[],
oneofs=[],
serialized_start=1317,
- serialized_end=1411,
+ serialized_end=1422,
)
_LEDGERAPIMESSAGE_SEND_SIGNED_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Send_Signed_Transaction_Performative",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Send_Signed_Transaction_Performative",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Send_Signed_Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="signed_transaction",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Send_Signed_Transaction_Performative.signed_transaction",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Send_Signed_Transaction_Performative.signed_transaction",
index=0,
number=1,
type=11,
@@ -339,20 +343,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1413,
- serialized_end=1536,
+ serialized_start=1425,
+ serialized_end=1559,
)
_LEDGERAPIMESSAGE_GET_TRANSACTION_RECEIPT_PERFORMATIVE = _descriptor.Descriptor(
name="Get_Transaction_Receipt_Performative",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Get_Transaction_Receipt_Performative",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Transaction_Receipt_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="transaction_digest",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Get_Transaction_Receipt_Performative.transaction_digest",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Transaction_Receipt_Performative.transaction_digest",
index=0,
number=1,
type=11,
@@ -377,27 +381,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1538,
- serialized_end=1661,
+ serialized_start=1562,
+ serialized_end=1696,
)
_LEDGERAPIMESSAGE_BALANCE_PERFORMATIVE = _descriptor.Descriptor(
name="Balance_Performative",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Balance_Performative",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Balance_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="ledger_id",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Balance_Performative.ledger_id",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Balance_Performative.ledger_id",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -408,7 +412,7 @@
),
_descriptor.FieldDescriptor(
name="balance",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Balance_Performative.balance",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Balance_Performative.balance",
index=1,
number=2,
type=5,
@@ -433,20 +437,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1663,
- serialized_end=1721,
+ serialized_start=1698,
+ serialized_end=1756,
)
_LEDGERAPIMESSAGE_RAW_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Raw_Transaction_Performative",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Raw_Transaction_Performative",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Raw_Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="raw_transaction",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Raw_Transaction_Performative.raw_transaction",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Raw_Transaction_Performative.raw_transaction",
index=0,
number=1,
type=11,
@@ -471,20 +475,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1723,
- serialized_end=1832,
+ serialized_start=1758,
+ serialized_end=1878,
)
_LEDGERAPIMESSAGE_TRANSACTION_DIGEST_PERFORMATIVE = _descriptor.Descriptor(
name="Transaction_Digest_Performative",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Transaction_Digest_Performative",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Digest_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="transaction_digest",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Transaction_Digest_Performative.transaction_digest",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Digest_Performative.transaction_digest",
index=0,
number=1,
type=11,
@@ -509,20 +513,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1834,
- serialized_end=1952,
+ serialized_start=1881,
+ serialized_end=2010,
)
_LEDGERAPIMESSAGE_TRANSACTION_RECEIPT_PERFORMATIVE = _descriptor.Descriptor(
name="Transaction_Receipt_Performative",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Transaction_Receipt_Performative",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Receipt_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="transaction_receipt",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Transaction_Receipt_Performative.transaction_receipt",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Receipt_Performative.transaction_receipt",
index=0,
number=1,
type=11,
@@ -547,20 +551,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1954,
- serialized_end=2075,
+ serialized_start=2013,
+ serialized_end=2145,
)
_LEDGERAPIMESSAGE_ERROR_PERFORMATIVE = _descriptor.Descriptor(
name="Error_Performative",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Error_Performative",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="code",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Error_Performative.code",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative.code",
index=0,
number=1,
type=5,
@@ -578,14 +582,14 @@
),
_descriptor.FieldDescriptor(
name="message",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Error_Performative.message",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative.message",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -596,7 +600,7 @@
),
_descriptor.FieldDescriptor(
name="message_is_set",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Error_Performative.message_is_set",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative.message_is_set",
index=2,
number=3,
type=8,
@@ -614,14 +618,14 @@
),
_descriptor.FieldDescriptor(
name="data",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Error_Performative.data",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative.data",
index=3,
number=4,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -632,7 +636,7 @@
),
_descriptor.FieldDescriptor(
name="data_is_set",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.Error_Performative.data_is_set",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative.data_is_set",
index=4,
number=5,
type=8,
@@ -657,93 +661,21 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=2077,
- serialized_end=2187,
+ serialized_start=2147,
+ serialized_end=2257,
)
_LEDGERAPIMESSAGE = _descriptor.Descriptor(
name="LedgerApiMessage",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
- _descriptor.FieldDescriptor(
- name="message_id",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.message_id",
- index=0,
- number=1,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_starter_reference",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.dialogue_starter_reference",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_responder_reference",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.dialogue_responder_reference",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="target",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.target",
- index=3,
- number=4,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
_descriptor.FieldDescriptor(
name="balance",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.balance",
- index=4,
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.balance",
+ index=0,
number=5,
type=11,
cpp_type=10,
@@ -760,8 +692,8 @@
),
_descriptor.FieldDescriptor(
name="error",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.error",
- index=5,
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.error",
+ index=1,
number=6,
type=11,
cpp_type=10,
@@ -778,8 +710,8 @@
),
_descriptor.FieldDescriptor(
name="get_balance",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.get_balance",
- index=6,
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.get_balance",
+ index=2,
number=7,
type=11,
cpp_type=10,
@@ -796,8 +728,8 @@
),
_descriptor.FieldDescriptor(
name="get_raw_transaction",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.get_raw_transaction",
- index=7,
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.get_raw_transaction",
+ index=3,
number=8,
type=11,
cpp_type=10,
@@ -814,8 +746,8 @@
),
_descriptor.FieldDescriptor(
name="get_transaction_receipt",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.get_transaction_receipt",
- index=8,
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.get_transaction_receipt",
+ index=4,
number=9,
type=11,
cpp_type=10,
@@ -832,8 +764,8 @@
),
_descriptor.FieldDescriptor(
name="raw_transaction",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.raw_transaction",
- index=9,
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.raw_transaction",
+ index=5,
number=10,
type=11,
cpp_type=10,
@@ -850,8 +782,8 @@
),
_descriptor.FieldDescriptor(
name="send_signed_transaction",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.send_signed_transaction",
- index=10,
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.send_signed_transaction",
+ index=6,
number=11,
type=11,
cpp_type=10,
@@ -868,8 +800,8 @@
),
_descriptor.FieldDescriptor(
name="transaction_digest",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.transaction_digest",
- index=11,
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.transaction_digest",
+ index=7,
number=12,
type=11,
cpp_type=10,
@@ -886,8 +818,8 @@
),
_descriptor.FieldDescriptor(
name="transaction_receipt",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.transaction_receipt",
- index=12,
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.transaction_receipt",
+ index=8,
number=13,
type=11,
cpp_type=10,
@@ -928,14 +860,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetch.aea.LedgerApi.LedgerApiMessage.performative",
+ full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=42,
- serialized_end=2203,
+ serialized_start=53,
+ serialized_end=2273,
)
_LEDGERAPIMESSAGE_RAWTRANSACTION.containing_type = _LEDGERAPIMESSAGE
@@ -1061,137 +993,137 @@
LedgerApiMessage = _reflection.GeneratedProtocolMessageType(
"LedgerApiMessage",
(_message.Message,),
- {
- "RawTransaction": _reflection.GeneratedProtocolMessageType(
+ dict(
+ RawTransaction=_reflection.GeneratedProtocolMessageType(
"RawTransaction",
(_message.Message,),
- {
- "DESCRIPTOR": _LEDGERAPIMESSAGE_RAWTRANSACTION,
- "__module__": "ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.LedgerApi.LedgerApiMessage.RawTransaction)
- },
+ dict(
+ DESCRIPTOR=_LEDGERAPIMESSAGE_RAWTRANSACTION,
+ __module__="ledger_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.RawTransaction)
+ ),
),
- "SignedTransaction": _reflection.GeneratedProtocolMessageType(
+ SignedTransaction=_reflection.GeneratedProtocolMessageType(
"SignedTransaction",
(_message.Message,),
- {
- "DESCRIPTOR": _LEDGERAPIMESSAGE_SIGNEDTRANSACTION,
- "__module__": "ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.LedgerApi.LedgerApiMessage.SignedTransaction)
- },
+ dict(
+ DESCRIPTOR=_LEDGERAPIMESSAGE_SIGNEDTRANSACTION,
+ __module__="ledger_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.SignedTransaction)
+ ),
),
- "Terms": _reflection.GeneratedProtocolMessageType(
+ Terms=_reflection.GeneratedProtocolMessageType(
"Terms",
(_message.Message,),
- {
- "DESCRIPTOR": _LEDGERAPIMESSAGE_TERMS,
- "__module__": "ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.LedgerApi.LedgerApiMessage.Terms)
- },
+ dict(
+ DESCRIPTOR=_LEDGERAPIMESSAGE_TERMS,
+ __module__="ledger_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Terms)
+ ),
),
- "TransactionDigest": _reflection.GeneratedProtocolMessageType(
+ TransactionDigest=_reflection.GeneratedProtocolMessageType(
"TransactionDigest",
(_message.Message,),
- {
- "DESCRIPTOR": _LEDGERAPIMESSAGE_TRANSACTIONDIGEST,
- "__module__": "ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.LedgerApi.LedgerApiMessage.TransactionDigest)
- },
+ dict(
+ DESCRIPTOR=_LEDGERAPIMESSAGE_TRANSACTIONDIGEST,
+ __module__="ledger_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionDigest)
+ ),
),
- "TransactionReceipt": _reflection.GeneratedProtocolMessageType(
+ TransactionReceipt=_reflection.GeneratedProtocolMessageType(
"TransactionReceipt",
(_message.Message,),
- {
- "DESCRIPTOR": _LEDGERAPIMESSAGE_TRANSACTIONRECEIPT,
- "__module__": "ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.LedgerApi.LedgerApiMessage.TransactionReceipt)
- },
+ dict(
+ DESCRIPTOR=_LEDGERAPIMESSAGE_TRANSACTIONRECEIPT,
+ __module__="ledger_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionReceipt)
+ ),
),
- "Get_Balance_Performative": _reflection.GeneratedProtocolMessageType(
+ Get_Balance_Performative=_reflection.GeneratedProtocolMessageType(
"Get_Balance_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _LEDGERAPIMESSAGE_GET_BALANCE_PERFORMATIVE,
- "__module__": "ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.LedgerApi.LedgerApiMessage.Get_Balance_Performative)
- },
+ dict(
+ DESCRIPTOR=_LEDGERAPIMESSAGE_GET_BALANCE_PERFORMATIVE,
+ __module__="ledger_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Balance_Performative)
+ ),
),
- "Get_Raw_Transaction_Performative": _reflection.GeneratedProtocolMessageType(
+ Get_Raw_Transaction_Performative=_reflection.GeneratedProtocolMessageType(
"Get_Raw_Transaction_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _LEDGERAPIMESSAGE_GET_RAW_TRANSACTION_PERFORMATIVE,
- "__module__": "ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.LedgerApi.LedgerApiMessage.Get_Raw_Transaction_Performative)
- },
+ dict(
+ DESCRIPTOR=_LEDGERAPIMESSAGE_GET_RAW_TRANSACTION_PERFORMATIVE,
+ __module__="ledger_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Raw_Transaction_Performative)
+ ),
),
- "Send_Signed_Transaction_Performative": _reflection.GeneratedProtocolMessageType(
+ Send_Signed_Transaction_Performative=_reflection.GeneratedProtocolMessageType(
"Send_Signed_Transaction_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _LEDGERAPIMESSAGE_SEND_SIGNED_TRANSACTION_PERFORMATIVE,
- "__module__": "ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.LedgerApi.LedgerApiMessage.Send_Signed_Transaction_Performative)
- },
+ dict(
+ DESCRIPTOR=_LEDGERAPIMESSAGE_SEND_SIGNED_TRANSACTION_PERFORMATIVE,
+ __module__="ledger_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Send_Signed_Transaction_Performative)
+ ),
),
- "Get_Transaction_Receipt_Performative": _reflection.GeneratedProtocolMessageType(
+ Get_Transaction_Receipt_Performative=_reflection.GeneratedProtocolMessageType(
"Get_Transaction_Receipt_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _LEDGERAPIMESSAGE_GET_TRANSACTION_RECEIPT_PERFORMATIVE,
- "__module__": "ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.LedgerApi.LedgerApiMessage.Get_Transaction_Receipt_Performative)
- },
+ dict(
+ DESCRIPTOR=_LEDGERAPIMESSAGE_GET_TRANSACTION_RECEIPT_PERFORMATIVE,
+ __module__="ledger_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Transaction_Receipt_Performative)
+ ),
),
- "Balance_Performative": _reflection.GeneratedProtocolMessageType(
+ Balance_Performative=_reflection.GeneratedProtocolMessageType(
"Balance_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _LEDGERAPIMESSAGE_BALANCE_PERFORMATIVE,
- "__module__": "ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.LedgerApi.LedgerApiMessage.Balance_Performative)
- },
+ dict(
+ DESCRIPTOR=_LEDGERAPIMESSAGE_BALANCE_PERFORMATIVE,
+ __module__="ledger_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Balance_Performative)
+ ),
),
- "Raw_Transaction_Performative": _reflection.GeneratedProtocolMessageType(
+ Raw_Transaction_Performative=_reflection.GeneratedProtocolMessageType(
"Raw_Transaction_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _LEDGERAPIMESSAGE_RAW_TRANSACTION_PERFORMATIVE,
- "__module__": "ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.LedgerApi.LedgerApiMessage.Raw_Transaction_Performative)
- },
+ dict(
+ DESCRIPTOR=_LEDGERAPIMESSAGE_RAW_TRANSACTION_PERFORMATIVE,
+ __module__="ledger_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Raw_Transaction_Performative)
+ ),
),
- "Transaction_Digest_Performative": _reflection.GeneratedProtocolMessageType(
+ Transaction_Digest_Performative=_reflection.GeneratedProtocolMessageType(
"Transaction_Digest_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _LEDGERAPIMESSAGE_TRANSACTION_DIGEST_PERFORMATIVE,
- "__module__": "ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.LedgerApi.LedgerApiMessage.Transaction_Digest_Performative)
- },
+ dict(
+ DESCRIPTOR=_LEDGERAPIMESSAGE_TRANSACTION_DIGEST_PERFORMATIVE,
+ __module__="ledger_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Digest_Performative)
+ ),
),
- "Transaction_Receipt_Performative": _reflection.GeneratedProtocolMessageType(
+ Transaction_Receipt_Performative=_reflection.GeneratedProtocolMessageType(
"Transaction_Receipt_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _LEDGERAPIMESSAGE_TRANSACTION_RECEIPT_PERFORMATIVE,
- "__module__": "ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.LedgerApi.LedgerApiMessage.Transaction_Receipt_Performative)
- },
+ dict(
+ DESCRIPTOR=_LEDGERAPIMESSAGE_TRANSACTION_RECEIPT_PERFORMATIVE,
+ __module__="ledger_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Receipt_Performative)
+ ),
),
- "Error_Performative": _reflection.GeneratedProtocolMessageType(
+ Error_Performative=_reflection.GeneratedProtocolMessageType(
"Error_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _LEDGERAPIMESSAGE_ERROR_PERFORMATIVE,
- "__module__": "ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.LedgerApi.LedgerApiMessage.Error_Performative)
- },
+ dict(
+ DESCRIPTOR=_LEDGERAPIMESSAGE_ERROR_PERFORMATIVE,
+ __module__="ledger_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative)
+ ),
),
- "DESCRIPTOR": _LEDGERAPIMESSAGE,
- "__module__": "ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.LedgerApi.LedgerApiMessage)
- },
+ DESCRIPTOR=_LEDGERAPIMESSAGE,
+ __module__="ledger_api_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage)
+ ),
)
_sym_db.RegisterMessage(LedgerApiMessage)
_sym_db.RegisterMessage(LedgerApiMessage.RawTransaction)
diff --git a/packages/fetchai/protocols/ledger_api/protocol.yaml b/packages/fetchai/protocols/ledger_api/protocol.yaml
index a3f92d5551..21e28bccdc 100644
--- a/packages/fetchai/protocols/ledger_api/protocol.yaml
+++ b/packages/fetchai/protocols/ledger_api/protocol.yaml
@@ -10,10 +10,10 @@ fingerprint:
__init__.py: Qmct8jVx6ndWwaa5HXJAJgMraVuZ8kMeyx6rnEeHAYHwDJ
custom_types.py: QmWRrvFStMhVJy8P2WD6qjDgk14ZnxErN7XymxUtof7HQo
dialogues.py: QmRtWkAfR9WTvygMJ36R758RzdY2mGQs2fgtHCfjxmeaHy
- ledger_api.proto: QmfLcv7jJcGJ1gAdCMqsyxJcRud7RaTWteSXHL5NvGuViP
- ledger_api_pb2.py: QmQhM848REJTDKDoiqxkTniChW8bNNm66EtwMRkvVdbMry
+ ledger_api.proto: QmSGwWr8LUz1FHeNXQFsrAKxsyibvzao6WBHvzWF2peg2u
+ ledger_api_pb2.py: QmbtzWSYdAQZjq6rq79Zq7BgRhT4QVEsXwcJwmT6xhGXHf
message.py: QmcLuy4YcL22qs3jHf5KHZ7vZueiTDrEmbWjfRTbyzwc5m
- serialization.py: QmUvysZKkt5xLKLVHAyaZQ3jsRDkPn5bJURdsTDHgkE3HS
+ serialization.py: QmSarPknCq2LiKZx3PHgE9eXhrygPSyiu15WCS46W9BD3E
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/packages/fetchai/protocols/ledger_api/serialization.py b/packages/fetchai/protocols/ledger_api/serialization.py
index ac850b11e3..88c13acd87 100644
--- a/packages/fetchai/protocols/ledger_api/serialization.py
+++ b/packages/fetchai/protocols/ledger_api/serialization.py
@@ -21,6 +21,7 @@
from typing import Any, Dict, cast
+from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
from aea.protocols.base import Message
from aea.protocols.base import Serializer
@@ -45,12 +46,15 @@ def encode(msg: Message) -> bytes:
:return: the bytes.
"""
msg = cast(LedgerApiMessage, msg)
+ message_pb = ProtobufMessage()
+ dialogue_message_pb = DialogueMessage()
ledger_api_msg = ledger_api_pb2.LedgerApiMessage()
- ledger_api_msg.message_id = msg.message_id
+
+ dialogue_message_pb.message_id = msg.message_id
dialogue_reference = msg.dialogue_reference
- ledger_api_msg.dialogue_starter_reference = dialogue_reference[0]
- ledger_api_msg.dialogue_responder_reference = dialogue_reference[1]
- ledger_api_msg.target = msg.target
+ dialogue_message_pb.dialogue_starter_reference = dialogue_reference[0]
+ dialogue_message_pb.dialogue_responder_reference = dialogue_reference[1]
+ dialogue_message_pb.target = msg.target
performative_id = msg.performative
if performative_id == LedgerApiMessage.Performative.GET_BALANCE:
@@ -121,8 +125,11 @@ def encode(msg: Message) -> bytes:
else:
raise ValueError("Performative not valid: {}".format(performative_id))
- ledger_api_bytes = ledger_api_msg.SerializeToString()
- return ledger_api_bytes
+ dialogue_message_pb.content = ledger_api_msg.SerializeToString()
+
+ message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
+ message_bytes = message_pb.SerializeToString()
+ return message_bytes
@staticmethod
def decode(obj: bytes) -> Message:
@@ -132,15 +139,17 @@ def decode(obj: bytes) -> Message:
:param obj: the bytes object.
:return: the 'LedgerApi' message.
"""
+ message_pb = ProtobufMessage()
ledger_api_pb = ledger_api_pb2.LedgerApiMessage()
- ledger_api_pb.ParseFromString(obj)
- message_id = ledger_api_pb.message_id
+ message_pb.ParseFromString(obj)
+ message_id = message_pb.dialogue_message.message_id
dialogue_reference = (
- ledger_api_pb.dialogue_starter_reference,
- ledger_api_pb.dialogue_responder_reference,
+ message_pb.dialogue_message.dialogue_starter_reference,
+ message_pb.dialogue_message.dialogue_responder_reference,
)
- target = ledger_api_pb.target
+ target = message_pb.dialogue_message.target
+ ledger_api_pb.ParseFromString(message_pb.dialogue_message.content)
performative = ledger_api_pb.WhichOneof("performative")
performative_id = LedgerApiMessage.Performative(str(performative))
performative_content = dict() # type: Dict[str, Any]
diff --git a/packages/fetchai/protocols/ml_trade/ml_trade.proto b/packages/fetchai/protocols/ml_trade/ml_trade.proto
index 65ac07b8d6..83578150d1 100644
--- a/packages/fetchai/protocols/ml_trade/ml_trade.proto
+++ b/packages/fetchai/protocols/ml_trade/ml_trade.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetch.aea.MlTrade;
+package fetchai.aea.fetchai.ml_trade;
message MlTradeMessage{
@@ -40,11 +40,6 @@ message MlTradeMessage{
}
- // Standard MlTradeMessage fields
- int32 message_id = 1;
- string dialogue_starter_reference = 2;
- string dialogue_responder_reference = 3;
- int32 target = 4;
oneof performative{
Accept_Performative accept = 5;
Cfp_Performative cfp = 6;
diff --git a/packages/fetchai/protocols/ml_trade/ml_trade_pb2.py b/packages/fetchai/protocols/ml_trade/ml_trade_pb2.py
index d12c7cd681..7eae74b29c 100644
--- a/packages/fetchai/protocols/ml_trade/ml_trade_pb2.py
+++ b/packages/fetchai/protocols/ml_trade/ml_trade_pb2.py
@@ -1,7 +1,9 @@
-# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: ml_trade.proto
+import sys
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@@ -14,30 +16,32 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="ml_trade.proto",
- package="fetch.aea.MlTrade",
+ package="fetchai.aea.fetchai.ml_trade",
syntax="proto3",
serialized_options=None,
- serialized_pb=b'\n\x0eml_trade.proto\x12\x11\x66\x65tch.aea.MlTrade"\xc0\x07\n\x0eMlTradeMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12G\n\x06\x61\x63\x63\x65pt\x18\x05 \x01(\x0b\x32\x35.fetch.aea.MlTrade.MlTradeMessage.Accept_PerformativeH\x00\x12\x41\n\x03\x63\x66p\x18\x06 \x01(\x0b\x32\x32.fetch.aea.MlTrade.MlTradeMessage.Cfp_PerformativeH\x00\x12\x43\n\x04\x64\x61ta\x18\x07 \x01(\x0b\x32\x33.fetch.aea.MlTrade.MlTradeMessage.Data_PerformativeH\x00\x12\x45\n\x05terms\x18\x08 \x01(\x0b\x32\x34.fetch.aea.MlTrade.MlTradeMessage.Terms_PerformativeH\x00\x1a"\n\x0b\x44\x65scription\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\x0c\x1a\x87\x01\n\x05Query\x12\x0f\n\x05\x62ytes\x18\x01 \x01(\x0cH\x00\x12\x42\n\x07nothing\x18\x02 \x01(\x0b\x32/.fetch.aea.MlTrade.MlTradeMessage.Query.NothingH\x00\x12\x15\n\x0bquery_bytes\x18\x03 \x01(\x0cH\x00\x1a\t\n\x07NothingB\x07\n\x05query\x1aJ\n\x10\x43\x66p_Performative\x12\x36\n\x05query\x18\x01 \x01(\x0b\x32\'.fetch.aea.MlTrade.MlTradeMessage.Query\x1aR\n\x12Terms_Performative\x12<\n\x05terms\x18\x01 \x01(\x0b\x32-.fetch.aea.MlTrade.MlTradeMessage.Description\x1a\x66\n\x13\x41\x63\x63\x65pt_Performative\x12<\n\x05terms\x18\x01 \x01(\x0b\x32-.fetch.aea.MlTrade.MlTradeMessage.Description\x12\x11\n\ttx_digest\x18\x02 \x01(\t\x1a\x62\n\x11\x44\x61ta_Performative\x12<\n\x05terms\x18\x01 \x01(\x0b\x32-.fetch.aea.MlTrade.MlTradeMessage.Description\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\x42\x0e\n\x0cperformativeb\x06proto3',
+ serialized_pb=_b(
+ '\n\x0eml_trade.proto\x12\x1c\x66\x65tchai.aea.fetchai.ml_trade"\xb5\x07\n\x0eMlTradeMessage\x12R\n\x06\x61\x63\x63\x65pt\x18\x05 \x01(\x0b\x32@.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Accept_PerformativeH\x00\x12L\n\x03\x63\x66p\x18\x06 \x01(\x0b\x32=.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Cfp_PerformativeH\x00\x12N\n\x04\x64\x61ta\x18\x07 \x01(\x0b\x32>.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Data_PerformativeH\x00\x12P\n\x05terms\x18\x08 \x01(\x0b\x32?.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Terms_PerformativeH\x00\x1a"\n\x0b\x44\x65scription\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\x0c\x1a\x92\x01\n\x05Query\x12\x0f\n\x05\x62ytes\x18\x01 \x01(\x0cH\x00\x12M\n\x07nothing\x18\x02 \x01(\x0b\x32:.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query.NothingH\x00\x12\x15\n\x0bquery_bytes\x18\x03 \x01(\x0cH\x00\x1a\t\n\x07NothingB\x07\n\x05query\x1aU\n\x10\x43\x66p_Performative\x12\x41\n\x05query\x18\x01 \x01(\x0b\x32\x32.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query\x1a]\n\x12Terms_Performative\x12G\n\x05terms\x18\x01 \x01(\x0b\x32\x38.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Description\x1aq\n\x13\x41\x63\x63\x65pt_Performative\x12G\n\x05terms\x18\x01 \x01(\x0b\x32\x38.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Description\x12\x11\n\ttx_digest\x18\x02 \x01(\t\x1am\n\x11\x44\x61ta_Performative\x12G\n\x05terms\x18\x01 \x01(\x0b\x32\x38.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Description\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\x42\x0e\n\x0cperformativeb\x06proto3'
+ ),
)
_MLTRADEMESSAGE_DESCRIPTION = _descriptor.Descriptor(
name="Description",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Description",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Description",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="description",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Description.description",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Description.description",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -55,13 +59,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=446,
- serialized_end=480,
+ serialized_start=391,
+ serialized_end=425,
)
_MLTRADEMESSAGE_QUERY_NOTHING = _descriptor.Descriptor(
name="Nothing",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Query.Nothing",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query.Nothing",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -74,27 +78,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=600,
- serialized_end=609,
+ serialized_start=556,
+ serialized_end=565,
)
_MLTRADEMESSAGE_QUERY = _descriptor.Descriptor(
name="Query",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Query",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="bytes",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Query.bytes",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query.bytes",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -105,7 +109,7 @@
),
_descriptor.FieldDescriptor(
name="nothing",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Query.nothing",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query.nothing",
index=1,
number=2,
type=11,
@@ -123,14 +127,14 @@
),
_descriptor.FieldDescriptor(
name="query_bytes",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Query.query_bytes",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query.query_bytes",
index=2,
number=3,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -150,26 +154,26 @@
oneofs=[
_descriptor.OneofDescriptor(
name="query",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Query.query",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query.query",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=483,
- serialized_end=618,
+ serialized_start=428,
+ serialized_end=574,
)
_MLTRADEMESSAGE_CFP_PERFORMATIVE = _descriptor.Descriptor(
name="Cfp_Performative",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Cfp_Performative",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Cfp_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="query",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Cfp_Performative.query",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Cfp_Performative.query",
index=0,
number=1,
type=11,
@@ -194,20 +198,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=620,
- serialized_end=694,
+ serialized_start=576,
+ serialized_end=661,
)
_MLTRADEMESSAGE_TERMS_PERFORMATIVE = _descriptor.Descriptor(
name="Terms_Performative",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Terms_Performative",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Terms_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Terms_Performative.terms",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Terms_Performative.terms",
index=0,
number=1,
type=11,
@@ -232,20 +236,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=696,
- serialized_end=778,
+ serialized_start=663,
+ serialized_end=756,
)
_MLTRADEMESSAGE_ACCEPT_PERFORMATIVE = _descriptor.Descriptor(
name="Accept_Performative",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Accept_Performative",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Accept_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Accept_Performative.terms",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Accept_Performative.terms",
index=0,
number=1,
type=11,
@@ -263,14 +267,14 @@
),
_descriptor.FieldDescriptor(
name="tx_digest",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Accept_Performative.tx_digest",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Accept_Performative.tx_digest",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -288,20 +292,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=780,
- serialized_end=882,
+ serialized_start=758,
+ serialized_end=871,
)
_MLTRADEMESSAGE_DATA_PERFORMATIVE = _descriptor.Descriptor(
name="Data_Performative",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Data_Performative",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Data_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Data_Performative.terms",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Data_Performative.terms",
index=0,
number=1,
type=11,
@@ -319,14 +323,14 @@
),
_descriptor.FieldDescriptor(
name="payload",
- full_name="fetch.aea.MlTrade.MlTradeMessage.Data_Performative.payload",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Data_Performative.payload",
index=1,
number=2,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -344,93 +348,21 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=884,
+ serialized_start=873,
serialized_end=982,
)
_MLTRADEMESSAGE = _descriptor.Descriptor(
name="MlTradeMessage",
- full_name="fetch.aea.MlTrade.MlTradeMessage",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
- _descriptor.FieldDescriptor(
- name="message_id",
- full_name="fetch.aea.MlTrade.MlTradeMessage.message_id",
- index=0,
- number=1,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_starter_reference",
- full_name="fetch.aea.MlTrade.MlTradeMessage.dialogue_starter_reference",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_responder_reference",
- full_name="fetch.aea.MlTrade.MlTradeMessage.dialogue_responder_reference",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="target",
- full_name="fetch.aea.MlTrade.MlTradeMessage.target",
- index=3,
- number=4,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
_descriptor.FieldDescriptor(
name="accept",
- full_name="fetch.aea.MlTrade.MlTradeMessage.accept",
- index=4,
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.accept",
+ index=0,
number=5,
type=11,
cpp_type=10,
@@ -447,8 +379,8 @@
),
_descriptor.FieldDescriptor(
name="cfp",
- full_name="fetch.aea.MlTrade.MlTradeMessage.cfp",
- index=5,
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.cfp",
+ index=1,
number=6,
type=11,
cpp_type=10,
@@ -465,8 +397,8 @@
),
_descriptor.FieldDescriptor(
name="data",
- full_name="fetch.aea.MlTrade.MlTradeMessage.data",
- index=6,
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.data",
+ index=2,
number=7,
type=11,
cpp_type=10,
@@ -483,8 +415,8 @@
),
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetch.aea.MlTrade.MlTradeMessage.terms",
- index=7,
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.terms",
+ index=3,
number=8,
type=11,
cpp_type=10,
@@ -517,13 +449,13 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetch.aea.MlTrade.MlTradeMessage.performative",
+ full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=38,
+ serialized_start=49,
serialized_end=998,
)
@@ -605,74 +537,74 @@
MlTradeMessage = _reflection.GeneratedProtocolMessageType(
"MlTradeMessage",
(_message.Message,),
- {
- "Description": _reflection.GeneratedProtocolMessageType(
+ dict(
+ Description=_reflection.GeneratedProtocolMessageType(
"Description",
(_message.Message,),
- {
- "DESCRIPTOR": _MLTRADEMESSAGE_DESCRIPTION,
- "__module__": "ml_trade_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.MlTrade.MlTradeMessage.Description)
- },
+ dict(
+ DESCRIPTOR=_MLTRADEMESSAGE_DESCRIPTION,
+ __module__="ml_trade_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ml_trade.MlTradeMessage.Description)
+ ),
),
- "Query": _reflection.GeneratedProtocolMessageType(
+ Query=_reflection.GeneratedProtocolMessageType(
"Query",
(_message.Message,),
- {
- "Nothing": _reflection.GeneratedProtocolMessageType(
+ dict(
+ Nothing=_reflection.GeneratedProtocolMessageType(
"Nothing",
(_message.Message,),
- {
- "DESCRIPTOR": _MLTRADEMESSAGE_QUERY_NOTHING,
- "__module__": "ml_trade_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.MlTrade.MlTradeMessage.Query.Nothing)
- },
+ dict(
+ DESCRIPTOR=_MLTRADEMESSAGE_QUERY_NOTHING,
+ __module__="ml_trade_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query.Nothing)
+ ),
),
- "DESCRIPTOR": _MLTRADEMESSAGE_QUERY,
- "__module__": "ml_trade_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.MlTrade.MlTradeMessage.Query)
- },
+ DESCRIPTOR=_MLTRADEMESSAGE_QUERY,
+ __module__="ml_trade_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query)
+ ),
),
- "Cfp_Performative": _reflection.GeneratedProtocolMessageType(
+ Cfp_Performative=_reflection.GeneratedProtocolMessageType(
"Cfp_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _MLTRADEMESSAGE_CFP_PERFORMATIVE,
- "__module__": "ml_trade_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.MlTrade.MlTradeMessage.Cfp_Performative)
- },
+ dict(
+ DESCRIPTOR=_MLTRADEMESSAGE_CFP_PERFORMATIVE,
+ __module__="ml_trade_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ml_trade.MlTradeMessage.Cfp_Performative)
+ ),
),
- "Terms_Performative": _reflection.GeneratedProtocolMessageType(
+ Terms_Performative=_reflection.GeneratedProtocolMessageType(
"Terms_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _MLTRADEMESSAGE_TERMS_PERFORMATIVE,
- "__module__": "ml_trade_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.MlTrade.MlTradeMessage.Terms_Performative)
- },
+ dict(
+ DESCRIPTOR=_MLTRADEMESSAGE_TERMS_PERFORMATIVE,
+ __module__="ml_trade_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ml_trade.MlTradeMessage.Terms_Performative)
+ ),
),
- "Accept_Performative": _reflection.GeneratedProtocolMessageType(
+ Accept_Performative=_reflection.GeneratedProtocolMessageType(
"Accept_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _MLTRADEMESSAGE_ACCEPT_PERFORMATIVE,
- "__module__": "ml_trade_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.MlTrade.MlTradeMessage.Accept_Performative)
- },
+ dict(
+ DESCRIPTOR=_MLTRADEMESSAGE_ACCEPT_PERFORMATIVE,
+ __module__="ml_trade_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ml_trade.MlTradeMessage.Accept_Performative)
+ ),
),
- "Data_Performative": _reflection.GeneratedProtocolMessageType(
+ Data_Performative=_reflection.GeneratedProtocolMessageType(
"Data_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _MLTRADEMESSAGE_DATA_PERFORMATIVE,
- "__module__": "ml_trade_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.MlTrade.MlTradeMessage.Data_Performative)
- },
+ dict(
+ DESCRIPTOR=_MLTRADEMESSAGE_DATA_PERFORMATIVE,
+ __module__="ml_trade_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ml_trade.MlTradeMessage.Data_Performative)
+ ),
),
- "DESCRIPTOR": _MLTRADEMESSAGE,
- "__module__": "ml_trade_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.MlTrade.MlTradeMessage)
- },
+ DESCRIPTOR=_MLTRADEMESSAGE,
+ __module__="ml_trade_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ml_trade.MlTradeMessage)
+ ),
)
_sym_db.RegisterMessage(MlTradeMessage)
_sym_db.RegisterMessage(MlTradeMessage.Description)
diff --git a/packages/fetchai/protocols/ml_trade/protocol.yaml b/packages/fetchai/protocols/ml_trade/protocol.yaml
index 1863dda440..0593cf1ffe 100644
--- a/packages/fetchai/protocols/ml_trade/protocol.yaml
+++ b/packages/fetchai/protocols/ml_trade/protocol.yaml
@@ -11,9 +11,9 @@ fingerprint:
custom_types.py: QmPa6mxbN8WShsniQxJACfzAPRjGzYLbUFGoVU4N9DewUw
dialogues.py: QmVvP34aKWEtHrKmccNMvEdDnx5B7xpE5aEGzr6GU2u8UK
message.py: QmZdRAScKbmJgKVbRJvDyMUNfRZKWCwWFYjGNDDBAq5fUT
- ml_trade.proto: QmeB21MQduEGQCrtiYZQzPpRqHL4CWEkvvcaKZ9GsfE8f6
- ml_trade_pb2.py: QmZVvugPysR1og6kWCJkvo3af2s9pQRHfuj4BptE7gU1EU
- serialization.py: QmSHywy12uQkzakU1RHnnkaPuTzaFTALsKisyYF8dPc8ns
+ ml_trade.proto: QmWzG9xmAQiuAj7sphQ8BzRUPXs7xagNWMzNw84Pfc7kq9
+ ml_trade_pb2.py: QmNyzB6eJXYPwTptFLHguYW9NJLEMCSFE5rorY1xn9mmPF
+ serialization.py: QmTfLdYfJnA8VTxtat5vgsfms7dJJF4zwuxYGxh9pDRALr
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/packages/fetchai/protocols/ml_trade/serialization.py b/packages/fetchai/protocols/ml_trade/serialization.py
index ab0e4574dc..b67dfb5667 100644
--- a/packages/fetchai/protocols/ml_trade/serialization.py
+++ b/packages/fetchai/protocols/ml_trade/serialization.py
@@ -21,6 +21,7 @@
from typing import Any, Dict, cast
+from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
from aea.protocols.base import Message
from aea.protocols.base import Serializer
@@ -42,12 +43,15 @@ def encode(msg: Message) -> bytes:
:return: the bytes.
"""
msg = cast(MlTradeMessage, msg)
+ message_pb = ProtobufMessage()
+ dialogue_message_pb = DialogueMessage()
ml_trade_msg = ml_trade_pb2.MlTradeMessage()
- ml_trade_msg.message_id = msg.message_id
+
+ dialogue_message_pb.message_id = msg.message_id
dialogue_reference = msg.dialogue_reference
- ml_trade_msg.dialogue_starter_reference = dialogue_reference[0]
- ml_trade_msg.dialogue_responder_reference = dialogue_reference[1]
- ml_trade_msg.target = msg.target
+ dialogue_message_pb.dialogue_starter_reference = dialogue_reference[0]
+ dialogue_message_pb.dialogue_responder_reference = dialogue_reference[1]
+ dialogue_message_pb.target = msg.target
performative_id = msg.performative
if performative_id == MlTradeMessage.Performative.CFP:
@@ -77,8 +81,11 @@ def encode(msg: Message) -> bytes:
else:
raise ValueError("Performative not valid: {}".format(performative_id))
- ml_trade_bytes = ml_trade_msg.SerializeToString()
- return ml_trade_bytes
+ dialogue_message_pb.content = ml_trade_msg.SerializeToString()
+
+ message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
+ message_bytes = message_pb.SerializeToString()
+ return message_bytes
@staticmethod
def decode(obj: bytes) -> Message:
@@ -88,15 +95,17 @@ def decode(obj: bytes) -> Message:
:param obj: the bytes object.
:return: the 'MlTrade' message.
"""
+ message_pb = ProtobufMessage()
ml_trade_pb = ml_trade_pb2.MlTradeMessage()
- ml_trade_pb.ParseFromString(obj)
- message_id = ml_trade_pb.message_id
+ message_pb.ParseFromString(obj)
+ message_id = message_pb.dialogue_message.message_id
dialogue_reference = (
- ml_trade_pb.dialogue_starter_reference,
- ml_trade_pb.dialogue_responder_reference,
+ message_pb.dialogue_message.dialogue_starter_reference,
+ message_pb.dialogue_message.dialogue_responder_reference,
)
- target = ml_trade_pb.target
+ target = message_pb.dialogue_message.target
+ ml_trade_pb.ParseFromString(message_pb.dialogue_message.content)
performative = ml_trade_pb.WhichOneof("performative")
performative_id = MlTradeMessage.Performative(str(performative))
performative_content = dict() # type: Dict[str, Any]
diff --git a/packages/fetchai/protocols/oef_search/oef_search.proto b/packages/fetchai/protocols/oef_search/oef_search.proto
index 5ef2c45e07..475fcb3ca2 100644
--- a/packages/fetchai/protocols/oef_search/oef_search.proto
+++ b/packages/fetchai/protocols/oef_search/oef_search.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetch.aea.OefSearch;
+package fetchai.aea.fetchai.oef_search;
message OefSearchMessage{
@@ -52,11 +52,6 @@ message OefSearchMessage{
}
- // Standard OefSearchMessage fields
- int32 message_id = 1;
- string dialogue_starter_reference = 2;
- string dialogue_responder_reference = 3;
- int32 target = 4;
oneof performative{
Oef_Error_Performative oef_error = 5;
Register_Service_Performative register_service = 6;
diff --git a/packages/fetchai/protocols/oef_search/oef_search_pb2.py b/packages/fetchai/protocols/oef_search/oef_search_pb2.py
index 1510e23e61..5e425840d1 100644
--- a/packages/fetchai/protocols/oef_search/oef_search_pb2.py
+++ b/packages/fetchai/protocols/oef_search/oef_search_pb2.py
@@ -1,7 +1,9 @@
-# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: oef_search.proto
+import sys
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@@ -14,16 +16,18 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="oef_search.proto",
- package="fetch.aea.OefSearch",
+ package="fetchai.aea.fetchai.oef_search",
syntax="proto3",
serialized_options=None,
- serialized_pb=b'\n\x10oef_search.proto\x12\x13\x66\x65tch.aea.OefSearch"\xc7\x0b\n\x10OefSearchMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12Q\n\toef_error\x18\x05 \x01(\x0b\x32<.fetch.aea.OefSearch.OefSearchMessage.Oef_Error_PerformativeH\x00\x12_\n\x10register_service\x18\x06 \x01(\x0b\x32\x43.fetch.aea.OefSearch.OefSearchMessage.Register_Service_PerformativeH\x00\x12Y\n\rsearch_result\x18\x07 \x01(\x0b\x32@.fetch.aea.OefSearch.OefSearchMessage.Search_Result_PerformativeH\x00\x12]\n\x0fsearch_services\x18\x08 \x01(\x0b\x32\x42.fetch.aea.OefSearch.OefSearchMessage.Search_Services_PerformativeH\x00\x12\x63\n\x12unregister_service\x18\t \x01(\x0b\x32\x45.fetch.aea.OefSearch.OefSearchMessage.Unregister_Service_PerformativeH\x00\x1a"\n\x0b\x44\x65scription\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\x0c\x1a\xd1\x01\n\x11OefErrorOperation\x12W\n\toef_error\x18\x01 \x01(\x0e\x32\x44.fetch.aea.OefSearch.OefSearchMessage.OefErrorOperation.OefErrorEnum"c\n\x0cOefErrorEnum\x12\x14\n\x10REGISTER_SERVICE\x10\x00\x12\x16\n\x12UNREGISTER_SERVICE\x10\x01\x12\x13\n\x0fSEARCH_SERVICES\x10\x02\x12\x10\n\x0cSEND_MESSAGE\x10\x03\x1a\x8b\x01\n\x05Query\x12\x0f\n\x05\x62ytes\x18\x01 \x01(\x0cH\x00\x12\x46\n\x07nothing\x18\x02 \x01(\x0b\x32\x33.fetch.aea.OefSearch.OefSearchMessage.Query.NothingH\x00\x12\x15\n\x0bquery_bytes\x18\x03 \x01(\x0cH\x00\x1a\t\n\x07NothingB\x07\n\x05query\x1ao\n\x1dRegister_Service_Performative\x12N\n\x13service_description\x18\x01 \x01(\x0b\x32\x31.fetch.aea.OefSearch.OefSearchMessage.Description\x1aq\n\x1fUnregister_Service_Performative\x12N\n\x13service_description\x18\x01 \x01(\x0b\x32\x31.fetch.aea.OefSearch.OefSearchMessage.Description\x1aZ\n\x1cSearch_Services_Performative\x12:\n\x05query\x18\x01 \x01(\x0b\x32+.fetch.aea.OefSearch.OefSearchMessage.Query\x1a,\n\x1aSearch_Result_Performative\x12\x0e\n\x06\x61gents\x18\x01 \x03(\t\x1an\n\x16Oef_Error_Performative\x12T\n\x13oef_error_operation\x18\x01 \x01(\x0b\x32\x37.fetch.aea.OefSearch.OefSearchMessage.OefErrorOperationB\x0e\n\x0cperformativeb\x06proto3',
+ serialized_pb=_b(
+ '\n\x10oef_search.proto\x12\x1e\x66\x65tchai.aea.fetchai.oef_search"\xd2\x0b\n\x10OefSearchMessage\x12\\\n\toef_error\x18\x05 \x01(\x0b\x32G.fetchai.aea.fetchai.oef_search.OefSearchMessage.Oef_Error_PerformativeH\x00\x12j\n\x10register_service\x18\x06 \x01(\x0b\x32N.fetchai.aea.fetchai.oef_search.OefSearchMessage.Register_Service_PerformativeH\x00\x12\x64\n\rsearch_result\x18\x07 \x01(\x0b\x32K.fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Result_PerformativeH\x00\x12h\n\x0fsearch_services\x18\x08 \x01(\x0b\x32M.fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Services_PerformativeH\x00\x12n\n\x12unregister_service\x18\t \x01(\x0b\x32P.fetchai.aea.fetchai.oef_search.OefSearchMessage.Unregister_Service_PerformativeH\x00\x1a"\n\x0b\x44\x65scription\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\x0c\x1a\xdc\x01\n\x11OefErrorOperation\x12\x62\n\toef_error\x18\x01 \x01(\x0e\x32O.fetchai.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperation.OefErrorEnum"c\n\x0cOefErrorEnum\x12\x14\n\x10REGISTER_SERVICE\x10\x00\x12\x16\n\x12UNREGISTER_SERVICE\x10\x01\x12\x13\n\x0fSEARCH_SERVICES\x10\x02\x12\x10\n\x0cSEND_MESSAGE\x10\x03\x1a\x96\x01\n\x05Query\x12\x0f\n\x05\x62ytes\x18\x01 \x01(\x0cH\x00\x12Q\n\x07nothing\x18\x02 \x01(\x0b\x32>.fetchai.aea.fetchai.oef_search.OefSearchMessage.Query.NothingH\x00\x12\x15\n\x0bquery_bytes\x18\x03 \x01(\x0cH\x00\x1a\t\n\x07NothingB\x07\n\x05query\x1az\n\x1dRegister_Service_Performative\x12Y\n\x13service_description\x18\x01 \x01(\x0b\x32<.fetchai.aea.fetchai.oef_search.OefSearchMessage.Description\x1a|\n\x1fUnregister_Service_Performative\x12Y\n\x13service_description\x18\x01 \x01(\x0b\x32<.fetchai.aea.fetchai.oef_search.OefSearchMessage.Description\x1a\x65\n\x1cSearch_Services_Performative\x12\x45\n\x05query\x18\x01 \x01(\x0b\x32\x36.fetchai.aea.fetchai.oef_search.OefSearchMessage.Query\x1a,\n\x1aSearch_Result_Performative\x12\x0e\n\x06\x61gents\x18\x01 \x03(\t\x1ay\n\x16Oef_Error_Performative\x12_\n\x13oef_error_operation\x18\x01 \x01(\x0b\x32\x42.fetchai.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperationB\x0e\n\x0cperformativeb\x06proto3'
+ ),
)
_OEFSEARCHMESSAGE_OEFERROROPERATION_OEFERRORENUM = _descriptor.EnumDescriptor(
name="OefErrorEnum",
- full_name="fetch.aea.OefSearch.OefSearchMessage.OefErrorOperation.OefErrorEnum",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperation.OefErrorEnum",
filename=None,
file=DESCRIPTOR,
values=[
@@ -54,29 +58,29 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=786,
- serialized_end=885,
+ serialized_start=753,
+ serialized_end=852,
)
_sym_db.RegisterEnumDescriptor(_OEFSEARCHMESSAGE_OEFERROROPERATION_OEFERRORENUM)
_OEFSEARCHMESSAGE_DESCRIPTION = _descriptor.Descriptor(
name="Description",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Description",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Description",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="description",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Description.description",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Description.description",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -94,20 +98,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=639,
- serialized_end=673,
+ serialized_start=595,
+ serialized_end=629,
)
_OEFSEARCHMESSAGE_OEFERROROPERATION = _descriptor.Descriptor(
name="OefErrorOperation",
- full_name="fetch.aea.OefSearch.OefSearchMessage.OefErrorOperation",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperation",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="oef_error",
- full_name="fetch.aea.OefSearch.OefSearchMessage.OefErrorOperation.oef_error",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperation.oef_error",
index=0,
number=1,
type=14,
@@ -132,13 +136,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=676,
- serialized_end=885,
+ serialized_start=632,
+ serialized_end=852,
)
_OEFSEARCHMESSAGE_QUERY_NOTHING = _descriptor.Descriptor(
name="Nothing",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Query.Nothing",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Query.Nothing",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -151,27 +155,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1009,
- serialized_end=1018,
+ serialized_start=987,
+ serialized_end=996,
)
_OEFSEARCHMESSAGE_QUERY = _descriptor.Descriptor(
name="Query",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Query",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Query",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="bytes",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Query.bytes",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Query.bytes",
index=0,
number=1,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -182,7 +186,7 @@
),
_descriptor.FieldDescriptor(
name="nothing",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Query.nothing",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Query.nothing",
index=1,
number=2,
type=11,
@@ -200,14 +204,14 @@
),
_descriptor.FieldDescriptor(
name="query_bytes",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Query.query_bytes",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Query.query_bytes",
index=2,
number=3,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"",
+ default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
@@ -227,26 +231,26 @@
oneofs=[
_descriptor.OneofDescriptor(
name="query",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Query.query",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Query.query",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=888,
- serialized_end=1027,
+ serialized_start=855,
+ serialized_end=1005,
)
_OEFSEARCHMESSAGE_REGISTER_SERVICE_PERFORMATIVE = _descriptor.Descriptor(
name="Register_Service_Performative",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Register_Service_Performative",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Register_Service_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="service_description",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Register_Service_Performative.service_description",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Register_Service_Performative.service_description",
index=0,
number=1,
type=11,
@@ -271,20 +275,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1029,
- serialized_end=1140,
+ serialized_start=1007,
+ serialized_end=1129,
)
_OEFSEARCHMESSAGE_UNREGISTER_SERVICE_PERFORMATIVE = _descriptor.Descriptor(
name="Unregister_Service_Performative",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Unregister_Service_Performative",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Unregister_Service_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="service_description",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Unregister_Service_Performative.service_description",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Unregister_Service_Performative.service_description",
index=0,
number=1,
type=11,
@@ -309,20 +313,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1142,
+ serialized_start=1131,
serialized_end=1255,
)
_OEFSEARCHMESSAGE_SEARCH_SERVICES_PERFORMATIVE = _descriptor.Descriptor(
name="Search_Services_Performative",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Search_Services_Performative",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Services_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="query",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Search_Services_Performative.query",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Services_Performative.query",
index=0,
number=1,
type=11,
@@ -348,19 +352,19 @@
extension_ranges=[],
oneofs=[],
serialized_start=1257,
- serialized_end=1347,
+ serialized_end=1358,
)
_OEFSEARCHMESSAGE_SEARCH_RESULT_PERFORMATIVE = _descriptor.Descriptor(
name="Search_Result_Performative",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Search_Result_Performative",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Result_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="agents",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Search_Result_Performative.agents",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Result_Performative.agents",
index=0,
number=1,
type=9,
@@ -385,20 +389,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1349,
- serialized_end=1393,
+ serialized_start=1360,
+ serialized_end=1404,
)
_OEFSEARCHMESSAGE_OEF_ERROR_PERFORMATIVE = _descriptor.Descriptor(
name="Oef_Error_Performative",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Oef_Error_Performative",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Oef_Error_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="oef_error_operation",
- full_name="fetch.aea.OefSearch.OefSearchMessage.Oef_Error_Performative.oef_error_operation",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Oef_Error_Performative.oef_error_operation",
index=0,
number=1,
type=11,
@@ -423,93 +427,21 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1395,
- serialized_end=1505,
+ serialized_start=1406,
+ serialized_end=1527,
)
_OEFSEARCHMESSAGE = _descriptor.Descriptor(
name="OefSearchMessage",
- full_name="fetch.aea.OefSearch.OefSearchMessage",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
- _descriptor.FieldDescriptor(
- name="message_id",
- full_name="fetch.aea.OefSearch.OefSearchMessage.message_id",
- index=0,
- number=1,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_starter_reference",
- full_name="fetch.aea.OefSearch.OefSearchMessage.dialogue_starter_reference",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_responder_reference",
- full_name="fetch.aea.OefSearch.OefSearchMessage.dialogue_responder_reference",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="target",
- full_name="fetch.aea.OefSearch.OefSearchMessage.target",
- index=3,
- number=4,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
_descriptor.FieldDescriptor(
name="oef_error",
- full_name="fetch.aea.OefSearch.OefSearchMessage.oef_error",
- index=4,
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.oef_error",
+ index=0,
number=5,
type=11,
cpp_type=10,
@@ -526,8 +458,8 @@
),
_descriptor.FieldDescriptor(
name="register_service",
- full_name="fetch.aea.OefSearch.OefSearchMessage.register_service",
- index=5,
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.register_service",
+ index=1,
number=6,
type=11,
cpp_type=10,
@@ -544,8 +476,8 @@
),
_descriptor.FieldDescriptor(
name="search_result",
- full_name="fetch.aea.OefSearch.OefSearchMessage.search_result",
- index=6,
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.search_result",
+ index=2,
number=7,
type=11,
cpp_type=10,
@@ -562,8 +494,8 @@
),
_descriptor.FieldDescriptor(
name="search_services",
- full_name="fetch.aea.OefSearch.OefSearchMessage.search_services",
- index=7,
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.search_services",
+ index=3,
number=8,
type=11,
cpp_type=10,
@@ -580,8 +512,8 @@
),
_descriptor.FieldDescriptor(
name="unregister_service",
- full_name="fetch.aea.OefSearch.OefSearchMessage.unregister_service",
- index=8,
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.unregister_service",
+ index=4,
number=9,
type=11,
cpp_type=10,
@@ -616,14 +548,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetch.aea.OefSearch.OefSearchMessage.performative",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=42,
- serialized_end=1521,
+ serialized_start=53,
+ serialized_end=1543,
)
_OEFSEARCHMESSAGE_DESCRIPTION.containing_type = _OEFSEARCHMESSAGE
@@ -725,92 +657,92 @@
OefSearchMessage = _reflection.GeneratedProtocolMessageType(
"OefSearchMessage",
(_message.Message,),
- {
- "Description": _reflection.GeneratedProtocolMessageType(
+ dict(
+ Description=_reflection.GeneratedProtocolMessageType(
"Description",
(_message.Message,),
- {
- "DESCRIPTOR": _OEFSEARCHMESSAGE_DESCRIPTION,
- "__module__": "oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.OefSearch.OefSearchMessage.Description)
- },
+ dict(
+ DESCRIPTOR=_OEFSEARCHMESSAGE_DESCRIPTION,
+ __module__="oef_search_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Description)
+ ),
),
- "OefErrorOperation": _reflection.GeneratedProtocolMessageType(
+ OefErrorOperation=_reflection.GeneratedProtocolMessageType(
"OefErrorOperation",
(_message.Message,),
- {
- "DESCRIPTOR": _OEFSEARCHMESSAGE_OEFERROROPERATION,
- "__module__": "oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.OefSearch.OefSearchMessage.OefErrorOperation)
- },
+ dict(
+ DESCRIPTOR=_OEFSEARCHMESSAGE_OEFERROROPERATION,
+ __module__="oef_search_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperation)
+ ),
),
- "Query": _reflection.GeneratedProtocolMessageType(
+ Query=_reflection.GeneratedProtocolMessageType(
"Query",
(_message.Message,),
- {
- "Nothing": _reflection.GeneratedProtocolMessageType(
+ dict(
+ Nothing=_reflection.GeneratedProtocolMessageType(
"Nothing",
(_message.Message,),
- {
- "DESCRIPTOR": _OEFSEARCHMESSAGE_QUERY_NOTHING,
- "__module__": "oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.OefSearch.OefSearchMessage.Query.Nothing)
- },
+ dict(
+ DESCRIPTOR=_OEFSEARCHMESSAGE_QUERY_NOTHING,
+ __module__="oef_search_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Query.Nothing)
+ ),
),
- "DESCRIPTOR": _OEFSEARCHMESSAGE_QUERY,
- "__module__": "oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.OefSearch.OefSearchMessage.Query)
- },
+ DESCRIPTOR=_OEFSEARCHMESSAGE_QUERY,
+ __module__="oef_search_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Query)
+ ),
),
- "Register_Service_Performative": _reflection.GeneratedProtocolMessageType(
+ Register_Service_Performative=_reflection.GeneratedProtocolMessageType(
"Register_Service_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _OEFSEARCHMESSAGE_REGISTER_SERVICE_PERFORMATIVE,
- "__module__": "oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.OefSearch.OefSearchMessage.Register_Service_Performative)
- },
+ dict(
+ DESCRIPTOR=_OEFSEARCHMESSAGE_REGISTER_SERVICE_PERFORMATIVE,
+ __module__="oef_search_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Register_Service_Performative)
+ ),
),
- "Unregister_Service_Performative": _reflection.GeneratedProtocolMessageType(
+ Unregister_Service_Performative=_reflection.GeneratedProtocolMessageType(
"Unregister_Service_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _OEFSEARCHMESSAGE_UNREGISTER_SERVICE_PERFORMATIVE,
- "__module__": "oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.OefSearch.OefSearchMessage.Unregister_Service_Performative)
- },
+ dict(
+ DESCRIPTOR=_OEFSEARCHMESSAGE_UNREGISTER_SERVICE_PERFORMATIVE,
+ __module__="oef_search_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Unregister_Service_Performative)
+ ),
),
- "Search_Services_Performative": _reflection.GeneratedProtocolMessageType(
+ Search_Services_Performative=_reflection.GeneratedProtocolMessageType(
"Search_Services_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _OEFSEARCHMESSAGE_SEARCH_SERVICES_PERFORMATIVE,
- "__module__": "oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.OefSearch.OefSearchMessage.Search_Services_Performative)
- },
+ dict(
+ DESCRIPTOR=_OEFSEARCHMESSAGE_SEARCH_SERVICES_PERFORMATIVE,
+ __module__="oef_search_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Services_Performative)
+ ),
),
- "Search_Result_Performative": _reflection.GeneratedProtocolMessageType(
+ Search_Result_Performative=_reflection.GeneratedProtocolMessageType(
"Search_Result_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _OEFSEARCHMESSAGE_SEARCH_RESULT_PERFORMATIVE,
- "__module__": "oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.OefSearch.OefSearchMessage.Search_Result_Performative)
- },
+ dict(
+ DESCRIPTOR=_OEFSEARCHMESSAGE_SEARCH_RESULT_PERFORMATIVE,
+ __module__="oef_search_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Result_Performative)
+ ),
),
- "Oef_Error_Performative": _reflection.GeneratedProtocolMessageType(
+ Oef_Error_Performative=_reflection.GeneratedProtocolMessageType(
"Oef_Error_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _OEFSEARCHMESSAGE_OEF_ERROR_PERFORMATIVE,
- "__module__": "oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.OefSearch.OefSearchMessage.Oef_Error_Performative)
- },
- ),
- "DESCRIPTOR": _OEFSEARCHMESSAGE,
- "__module__": "oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.OefSearch.OefSearchMessage)
- },
+ dict(
+ DESCRIPTOR=_OEFSEARCHMESSAGE_OEF_ERROR_PERFORMATIVE,
+ __module__="oef_search_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Oef_Error_Performative)
+ ),
+ ),
+ DESCRIPTOR=_OEFSEARCHMESSAGE,
+ __module__="oef_search_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage)
+ ),
)
_sym_db.RegisterMessage(OefSearchMessage)
_sym_db.RegisterMessage(OefSearchMessage.Description)
diff --git a/packages/fetchai/protocols/oef_search/protocol.yaml b/packages/fetchai/protocols/oef_search/protocol.yaml
index 9ec0a36b5b..2b59aa0524 100644
--- a/packages/fetchai/protocols/oef_search/protocol.yaml
+++ b/packages/fetchai/protocols/oef_search/protocol.yaml
@@ -11,9 +11,9 @@ fingerprint:
custom_types.py: QmR4TS6KhXpRtGqq78B8mXMiiFXcFe7JEkxB7jHvqPVkgD
dialogues.py: QmaEdkD3tQWtDUAohHig58E4Crst6WDUpi5EZeXozBGqVW
message.py: QmQbBvRf8kswtsZS2D3jVeVeQ2wnbk5pa6VX5ousHU2BL2
- oef_search.proto: QmRg28H6bNo1PcyJiKLYjHe6FCwtE6nJ43DeJ4RFTcHm68
- oef_search_pb2.py: Qmd6S94v2GuZ2ffDupTa5ESBx4exF9dgoV8KcYtJVL6KhN
- serialization.py: QmfXX9HJsQvNfeffGxPeUBw7cMznSjojDYe6TZ6jHpphQ4
+ oef_search.proto: QmdwQyXRN4v26xnpehny7HaMnaKtf5GfDpWEka4s3D2Y7e
+ oef_search_pb2.py: QmYLWpKURppQihWhsVrWm88D6MGN4we928nfJpdU4SCpBg
+ serialization.py: QmXJGoS8dgdwde9FV53KDeWNSnLez9M1ftBksjfYXKFAAg
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/packages/fetchai/protocols/oef_search/serialization.py b/packages/fetchai/protocols/oef_search/serialization.py
index d358edbbc1..cc766eb2c2 100644
--- a/packages/fetchai/protocols/oef_search/serialization.py
+++ b/packages/fetchai/protocols/oef_search/serialization.py
@@ -21,6 +21,7 @@
from typing import Any, Dict, cast
+from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
from aea.protocols.base import Message
from aea.protocols.base import Serializer
@@ -43,12 +44,15 @@ def encode(msg: Message) -> bytes:
:return: the bytes.
"""
msg = cast(OefSearchMessage, msg)
+ message_pb = ProtobufMessage()
+ dialogue_message_pb = DialogueMessage()
oef_search_msg = oef_search_pb2.OefSearchMessage()
- oef_search_msg.message_id = msg.message_id
+
+ dialogue_message_pb.message_id = msg.message_id
dialogue_reference = msg.dialogue_reference
- oef_search_msg.dialogue_starter_reference = dialogue_reference[0]
- oef_search_msg.dialogue_responder_reference = dialogue_reference[1]
- oef_search_msg.target = msg.target
+ dialogue_message_pb.dialogue_starter_reference = dialogue_reference[0]
+ dialogue_message_pb.dialogue_responder_reference = dialogue_reference[1]
+ dialogue_message_pb.target = msg.target
performative_id = msg.performative
if performative_id == OefSearchMessage.Performative.REGISTER_SERVICE:
@@ -81,8 +85,11 @@ def encode(msg: Message) -> bytes:
else:
raise ValueError("Performative not valid: {}".format(performative_id))
- oef_search_bytes = oef_search_msg.SerializeToString()
- return oef_search_bytes
+ dialogue_message_pb.content = oef_search_msg.SerializeToString()
+
+ message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
+ message_bytes = message_pb.SerializeToString()
+ return message_bytes
@staticmethod
def decode(obj: bytes) -> Message:
@@ -92,15 +99,17 @@ def decode(obj: bytes) -> Message:
:param obj: the bytes object.
:return: the 'OefSearch' message.
"""
+ message_pb = ProtobufMessage()
oef_search_pb = oef_search_pb2.OefSearchMessage()
- oef_search_pb.ParseFromString(obj)
- message_id = oef_search_pb.message_id
+ message_pb.ParseFromString(obj)
+ message_id = message_pb.dialogue_message.message_id
dialogue_reference = (
- oef_search_pb.dialogue_starter_reference,
- oef_search_pb.dialogue_responder_reference,
+ message_pb.dialogue_message.dialogue_starter_reference,
+ message_pb.dialogue_message.dialogue_responder_reference,
)
- target = oef_search_pb.target
+ target = message_pb.dialogue_message.target
+ oef_search_pb.ParseFromString(message_pb.dialogue_message.content)
performative = oef_search_pb.WhichOneof("performative")
performative_id = OefSearchMessage.Performative(str(performative))
performative_content = dict() # type: Dict[str, Any]
diff --git a/packages/fetchai/protocols/tac/protocol.yaml b/packages/fetchai/protocols/tac/protocol.yaml
index d8f0dcaa5c..3bedb6f668 100644
--- a/packages/fetchai/protocols/tac/protocol.yaml
+++ b/packages/fetchai/protocols/tac/protocol.yaml
@@ -12,9 +12,9 @@ fingerprint:
custom_types.py: QmXQATfnvuCpt4FicF4QcqCcLj9PQNsSHjCBvVQknWpyaN
dialogues.py: QmTxHrcGujP1RUYvfJygZyQoUwmDg2GBWfmbR3tWUSbyop
message.py: QmfNdmYk3wssDJvHwMsMxXaiWCjm3fSH9Su4KmsYDZJoWg
- serialization.py: QmfZMesx1EFVYx1pj5SBn3eF7A2fz5a8cnBKzhBmVha31U
- tac.proto: QmdpPZNhUW593qVNVoSTWZgd9R69bmBbw6Y9xjzYpvuDvV
- tac_pb2.py: QmUwW3kixKwD2o1RRdq4NoNoihPb5BXKKRngWXztq32fea
+ serialization.py: QmZYhkHa6wW5T4fSUSHar67C76ascfKLsevWEfkff3uVvU
+ tac.proto: QmdPn2Z4xiPuc16PPzd8NNsbRd95aEDbvfUm1FFjvZZcuy
+ tac_pb2.py: QmYDEdWMwpfDawJPf8rjwLnEwDjdT4KuyNwYS8kEC5swKy
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/packages/fetchai/protocols/tac/serialization.py b/packages/fetchai/protocols/tac/serialization.py
index d709b5cee0..ff88894e90 100644
--- a/packages/fetchai/protocols/tac/serialization.py
+++ b/packages/fetchai/protocols/tac/serialization.py
@@ -21,6 +21,7 @@
from typing import Any, Dict, cast
+from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
from aea.protocols.base import Message
from aea.protocols.base import Serializer
@@ -41,12 +42,15 @@ def encode(msg: Message) -> bytes:
:return: the bytes.
"""
msg = cast(TacMessage, msg)
+ message_pb = ProtobufMessage()
+ dialogue_message_pb = DialogueMessage()
tac_msg = tac_pb2.TacMessage()
- tac_msg.message_id = msg.message_id
+
+ dialogue_message_pb.message_id = msg.message_id
dialogue_reference = msg.dialogue_reference
- tac_msg.dialogue_starter_reference = dialogue_reference[0]
- tac_msg.dialogue_responder_reference = dialogue_reference[1]
- tac_msg.target = msg.target
+ dialogue_message_pb.dialogue_starter_reference = dialogue_reference[0]
+ dialogue_message_pb.dialogue_responder_reference = dialogue_reference[1]
+ dialogue_message_pb.target = msg.target
performative_id = msg.performative
if performative_id == TacMessage.Performative.REGISTER:
@@ -131,8 +135,11 @@ def encode(msg: Message) -> bytes:
else:
raise ValueError("Performative not valid: {}".format(performative_id))
- tac_bytes = tac_msg.SerializeToString()
- return tac_bytes
+ dialogue_message_pb.content = tac_msg.SerializeToString()
+
+ message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
+ message_bytes = message_pb.SerializeToString()
+ return message_bytes
@staticmethod
def decode(obj: bytes) -> Message:
@@ -142,15 +149,17 @@ def decode(obj: bytes) -> Message:
:param obj: the bytes object.
:return: the 'Tac' message.
"""
+ message_pb = ProtobufMessage()
tac_pb = tac_pb2.TacMessage()
- tac_pb.ParseFromString(obj)
- message_id = tac_pb.message_id
+ message_pb.ParseFromString(obj)
+ message_id = message_pb.dialogue_message.message_id
dialogue_reference = (
- tac_pb.dialogue_starter_reference,
- tac_pb.dialogue_responder_reference,
+ message_pb.dialogue_message.dialogue_starter_reference,
+ message_pb.dialogue_message.dialogue_responder_reference,
)
- target = tac_pb.target
+ target = message_pb.dialogue_message.target
+ tac_pb.ParseFromString(message_pb.dialogue_message.content)
performative = tac_pb.WhichOneof("performative")
performative_id = TacMessage.Performative(str(performative))
performative_content = dict() # type: Dict[str, Any]
diff --git a/packages/fetchai/protocols/tac/tac.proto b/packages/fetchai/protocols/tac/tac.proto
index ce16512417..e35d12a7bd 100644
--- a/packages/fetchai/protocols/tac/tac.proto
+++ b/packages/fetchai/protocols/tac/tac.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetch.aea.Tac;
+package fetchai.aea.fetchai.tac;
message TacMessage{
@@ -71,11 +71,6 @@ message TacMessage{
}
- // Standard TacMessage fields
- int32 message_id = 1;
- string dialogue_starter_reference = 2;
- string dialogue_responder_reference = 3;
- int32 target = 4;
oneof performative{
Cancelled_Performative cancelled = 5;
Game_Data_Performative game_data = 6;
diff --git a/packages/fetchai/protocols/tac/tac_pb2.py b/packages/fetchai/protocols/tac/tac_pb2.py
index cedae73bc1..85a066c708 100644
--- a/packages/fetchai/protocols/tac/tac_pb2.py
+++ b/packages/fetchai/protocols/tac/tac_pb2.py
@@ -1,7 +1,9 @@
-# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: tac.proto
+import sys
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
@@ -14,16 +16,18 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="tac.proto",
- package="fetch.aea.Tac",
+ package="fetchai.aea.fetchai.tac",
syntax="proto3",
serialized_options=None,
- serialized_pb=b'\n\ttac.proto\x12\rfetch.aea.Tac"\x8e\x1f\n\nTacMessage\x12\x12\n\nmessage_id\x18\x01 \x01(\x05\x12"\n\x1a\x64ialogue_starter_reference\x18\x02 \x01(\t\x12$\n\x1c\x64ialogue_responder_reference\x18\x03 \x01(\t\x12\x0e\n\x06target\x18\x04 \x01(\x05\x12\x45\n\tcancelled\x18\x05 \x01(\x0b\x32\x30.fetch.aea.Tac.TacMessage.Cancelled_PerformativeH\x00\x12\x45\n\tgame_data\x18\x06 \x01(\x0b\x32\x30.fetch.aea.Tac.TacMessage.Game_Data_PerformativeH\x00\x12\x43\n\x08register\x18\x07 \x01(\x0b\x32/.fetch.aea.Tac.TacMessage.Register_PerformativeH\x00\x12\x45\n\ttac_error\x18\x08 \x01(\x0b\x32\x30.fetch.aea.Tac.TacMessage.Tac_Error_PerformativeH\x00\x12I\n\x0btransaction\x18\t \x01(\x0b\x32\x32.fetch.aea.Tac.TacMessage.Transaction_PerformativeH\x00\x12\x63\n\x18transaction_confirmation\x18\n \x01(\x0b\x32?.fetch.aea.Tac.TacMessage.Transaction_Confirmation_PerformativeH\x00\x12G\n\nunregister\x18\x0b \x01(\x0b\x32\x31.fetch.aea.Tac.TacMessage.Unregister_PerformativeH\x00\x1a\x80\x03\n\tErrorCode\x12\x45\n\nerror_code\x18\x01 \x01(\x0e\x32\x31.fetch.aea.Tac.TacMessage.ErrorCode.ErrorCodeEnum"\xab\x02\n\rErrorCodeEnum\x12\x11\n\rGENERIC_ERROR\x10\x00\x12\x15\n\x11REQUEST_NOT_VALID\x10\x01\x12!\n\x1d\x41GENT_ADDR_ALREADY_REGISTERED\x10\x02\x12!\n\x1d\x41GENT_NAME_ALREADY_REGISTERED\x10\x03\x12\x18\n\x14\x41GENT_NOT_REGISTERED\x10\x04\x12\x19\n\x15TRANSACTION_NOT_VALID\x10\x05\x12\x1c\n\x18TRANSACTION_NOT_MATCHING\x10\x06\x12\x1f\n\x1b\x41GENT_NAME_NOT_IN_WHITELIST\x10\x07\x12\x1b\n\x17\x43OMPETITION_NOT_RUNNING\x10\x08\x12\x19\n\x15\x44IALOGUE_INCONSISTENT\x10\t\x1a+\n\x15Register_Performative\x12\x12\n\nagent_name\x18\x01 \x01(\t\x1a\x19\n\x17Unregister_Performative\x1a\xad\x05\n\x18Transaction_Performative\x12\x16\n\x0etransaction_id\x18\x01 \x01(\t\x12\x11\n\tledger_id\x18\x02 \x01(\t\x12\x16\n\x0esender_address\x18\x03 \x01(\t\x12\x1c\n\x14\x63ounterparty_address\x18\x04 \x01(\t\x12i\n\x15\x61mount_by_currency_id\x18\x05 \x03(\x0b\x32J.fetch.aea.Tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry\x12\x63\n\x12\x66\x65\x65_by_currency_id\x18\x06 \x03(\x0b\x32G.fetch.aea.Tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry\x12i\n\x15quantities_by_good_id\x18\x07 \x03(\x0b\x32J.fetch.aea.Tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry\x12\r\n\x05nonce\x18\x08 \x01(\t\x12\x18\n\x10sender_signature\x18\t \x01(\t\x12\x1e\n\x16\x63ounterparty_signature\x18\n \x01(\t\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x36\n\x14\x46\x65\x65\x42yCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x18\n\x16\x43\x61ncelled_Performative\x1a\xd1\x0b\n\x16Game_Data_Performative\x12g\n\x15\x61mount_by_currency_id\x18\x01 \x03(\x0b\x32H.fetch.aea.Tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry\x12x\n\x1e\x65xchange_params_by_currency_id\x18\x02 \x03(\x0b\x32P.fetch.aea.Tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry\x12g\n\x15quantities_by_good_id\x18\x03 \x03(\x0b\x32H.fetch.aea.Tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry\x12n\n\x19utility_params_by_good_id\x18\x04 \x03(\x0b\x32K.fetch.aea.Tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry\x12\x61\n\x12\x66\x65\x65_by_currency_id\x18\x05 \x03(\x0b\x32\x45.fetch.aea.Tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry\x12\x61\n\x12\x61gent_addr_to_name\x18\x06 \x03(\x0b\x32\x45.fetch.aea.Tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry\x12\x63\n\x13\x63urrency_id_to_name\x18\x07 \x03(\x0b\x32\x46.fetch.aea.Tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry\x12[\n\x0fgood_id_to_name\x18\x08 \x03(\x0b\x32\x42.fetch.aea.Tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry\x12\x12\n\nversion_id\x18\t \x01(\t\x12H\n\x04info\x18\n \x03(\x0b\x32:.fetch.aea.Tac.TacMessage.Game_Data_Performative.InfoEntry\x12\x13\n\x0binfo_is_set\x18\x0b \x01(\x08\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x41\n\x1f\x45xchangeParamsByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a<\n\x1aUtilityParamsByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x36\n\x14\x46\x65\x65\x42yCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x36\n\x14\x41gentAddrToNameEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15\x43urrencyIdToNameEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11GoodIdToNameEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xa5\x03\n%Transaction_Confirmation_Performative\x12\x16\n\x0etransaction_id\x18\x01 \x01(\t\x12v\n\x15\x61mount_by_currency_id\x18\x02 \x03(\x0b\x32W.fetch.aea.Tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry\x12v\n\x15quantities_by_good_id\x18\x03 \x03(\x0b\x32W.fetch.aea.Tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\xdd\x01\n\x16Tac_Error_Performative\x12\x37\n\nerror_code\x18\x01 \x01(\x0b\x32#.fetch.aea.Tac.TacMessage.ErrorCode\x12H\n\x04info\x18\x02 \x03(\x0b\x32:.fetch.aea.Tac.TacMessage.Tac_Error_Performative.InfoEntry\x12\x13\n\x0binfo_is_set\x18\x03 \x01(\x08\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0cperformativeb\x06proto3',
+ serialized_pb=_b(
+ '\n\ttac.proto\x12\x17\x66\x65tchai.aea.fetchai.tac"\x93 \n\nTacMessage\x12O\n\tcancelled\x18\x05 \x01(\x0b\x32:.fetchai.aea.fetchai.tac.TacMessage.Cancelled_PerformativeH\x00\x12O\n\tgame_data\x18\x06 \x01(\x0b\x32:.fetchai.aea.fetchai.tac.TacMessage.Game_Data_PerformativeH\x00\x12M\n\x08register\x18\x07 \x01(\x0b\x32\x39.fetchai.aea.fetchai.tac.TacMessage.Register_PerformativeH\x00\x12O\n\ttac_error\x18\x08 \x01(\x0b\x32:.fetchai.aea.fetchai.tac.TacMessage.Tac_Error_PerformativeH\x00\x12S\n\x0btransaction\x18\t \x01(\x0b\x32<.fetchai.aea.fetchai.tac.TacMessage.Transaction_PerformativeH\x00\x12m\n\x18transaction_confirmation\x18\n \x01(\x0b\x32I.fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_PerformativeH\x00\x12Q\n\nunregister\x18\x0b \x01(\x0b\x32;.fetchai.aea.fetchai.tac.TacMessage.Unregister_PerformativeH\x00\x1a\x8a\x03\n\tErrorCode\x12O\n\nerror_code\x18\x01 \x01(\x0e\x32;.fetchai.aea.fetchai.tac.TacMessage.ErrorCode.ErrorCodeEnum"\xab\x02\n\rErrorCodeEnum\x12\x11\n\rGENERIC_ERROR\x10\x00\x12\x15\n\x11REQUEST_NOT_VALID\x10\x01\x12!\n\x1d\x41GENT_ADDR_ALREADY_REGISTERED\x10\x02\x12!\n\x1d\x41GENT_NAME_ALREADY_REGISTERED\x10\x03\x12\x18\n\x14\x41GENT_NOT_REGISTERED\x10\x04\x12\x19\n\x15TRANSACTION_NOT_VALID\x10\x05\x12\x1c\n\x18TRANSACTION_NOT_MATCHING\x10\x06\x12\x1f\n\x1b\x41GENT_NAME_NOT_IN_WHITELIST\x10\x07\x12\x1b\n\x17\x43OMPETITION_NOT_RUNNING\x10\x08\x12\x19\n\x15\x44IALOGUE_INCONSISTENT\x10\t\x1a+\n\x15Register_Performative\x12\x12\n\nagent_name\x18\x01 \x01(\t\x1a\x19\n\x17Unregister_Performative\x1a\xcb\x05\n\x18Transaction_Performative\x12\x16\n\x0etransaction_id\x18\x01 \x01(\t\x12\x11\n\tledger_id\x18\x02 \x01(\t\x12\x16\n\x0esender_address\x18\x03 \x01(\t\x12\x1c\n\x14\x63ounterparty_address\x18\x04 \x01(\t\x12s\n\x15\x61mount_by_currency_id\x18\x05 \x03(\x0b\x32T.fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry\x12m\n\x12\x66\x65\x65_by_currency_id\x18\x06 \x03(\x0b\x32Q.fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry\x12s\n\x15quantities_by_good_id\x18\x07 \x03(\x0b\x32T.fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry\x12\r\n\x05nonce\x18\x08 \x01(\t\x12\x18\n\x10sender_signature\x18\t \x01(\t\x12\x1e\n\x16\x63ounterparty_signature\x18\n \x01(\t\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x36\n\x14\x46\x65\x65\x42yCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x18\n\x16\x43\x61ncelled_Performative\x1a\xac\x0c\n\x16Game_Data_Performative\x12q\n\x15\x61mount_by_currency_id\x18\x01 \x03(\x0b\x32R.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry\x12\x82\x01\n\x1e\x65xchange_params_by_currency_id\x18\x02 \x03(\x0b\x32Z.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry\x12q\n\x15quantities_by_good_id\x18\x03 \x03(\x0b\x32R.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry\x12x\n\x19utility_params_by_good_id\x18\x04 \x03(\x0b\x32U.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry\x12k\n\x12\x66\x65\x65_by_currency_id\x18\x05 \x03(\x0b\x32O.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry\x12k\n\x12\x61gent_addr_to_name\x18\x06 \x03(\x0b\x32O.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry\x12m\n\x13\x63urrency_id_to_name\x18\x07 \x03(\x0b\x32P.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry\x12\x65\n\x0fgood_id_to_name\x18\x08 \x03(\x0b\x32L.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry\x12\x12\n\nversion_id\x18\t \x01(\t\x12R\n\x04info\x18\n \x03(\x0b\x32\x44.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.InfoEntry\x12\x13\n\x0binfo_is_set\x18\x0b \x01(\x08\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x41\n\x1f\x45xchangeParamsByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a<\n\x1aUtilityParamsByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x36\n\x14\x46\x65\x65\x42yCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x36\n\x14\x41gentAddrToNameEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15\x43urrencyIdToNameEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11GoodIdToNameEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xbb\x03\n%Transaction_Confirmation_Performative\x12\x16\n\x0etransaction_id\x18\x01 \x01(\t\x12\x80\x01\n\x15\x61mount_by_currency_id\x18\x02 \x03(\x0b\x32\x61.fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry\x12\x80\x01\n\x15quantities_by_good_id\x18\x03 \x03(\x0b\x32\x61.fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\xf1\x01\n\x16Tac_Error_Performative\x12\x41\n\nerror_code\x18\x01 \x01(\x0b\x32-.fetchai.aea.fetchai.tac.TacMessage.ErrorCode\x12R\n\x04info\x18\x02 \x03(\x0b\x32\x44.fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative.InfoEntry\x12\x13\n\x0binfo_is_set\x18\x03 \x01(\x08\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0cperformativeb\x06proto3'
+ ),
)
_TACMESSAGE_ERRORCODE_ERRORCODEENUM = _descriptor.EnumDescriptor(
name="ErrorCodeEnum",
- full_name="fetch.aea.Tac.TacMessage.ErrorCode.ErrorCodeEnum",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.ErrorCode.ErrorCodeEnum",
filename=None,
file=DESCRIPTOR,
values=[
@@ -96,22 +100,22 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=770,
- serialized_end=1069,
+ serialized_start=750,
+ serialized_end=1049,
)
_sym_db.RegisterEnumDescriptor(_TACMESSAGE_ERRORCODE_ERRORCODEENUM)
_TACMESSAGE_ERRORCODE = _descriptor.Descriptor(
name="ErrorCode",
- full_name="fetch.aea.Tac.TacMessage.ErrorCode",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.ErrorCode",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="error_code",
- full_name="fetch.aea.Tac.TacMessage.ErrorCode.error_code",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.ErrorCode.error_code",
index=0,
number=1,
type=14,
@@ -136,27 +140,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=685,
- serialized_end=1069,
+ serialized_start=655,
+ serialized_end=1049,
)
_TACMESSAGE_REGISTER_PERFORMATIVE = _descriptor.Descriptor(
name="Register_Performative",
- full_name="fetch.aea.Tac.TacMessage.Register_Performative",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Register_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="agent_name",
- full_name="fetch.aea.Tac.TacMessage.Register_Performative.agent_name",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Register_Performative.agent_name",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -174,13 +178,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1071,
- serialized_end=1114,
+ serialized_start=1051,
+ serialized_end=1094,
)
_TACMESSAGE_UNREGISTER_PERFORMATIVE = _descriptor.Descriptor(
name="Unregister_Performative",
- full_name="fetch.aea.Tac.TacMessage.Unregister_Performative",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Unregister_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -193,27 +197,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1116,
- serialized_end=1141,
+ serialized_start=1096,
+ serialized_end=1121,
)
_TACMESSAGE_TRANSACTION_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="AmountByCurrencyIdEntry",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry.key",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -224,7 +228,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry.value",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry.value",
index=1,
number=2,
type=5,
@@ -244,32 +248,32 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1657,
- serialized_end=1714,
+ serialized_start=1667,
+ serialized_end=1724,
)
_TACMESSAGE_TRANSACTION_PERFORMATIVE_FEEBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="FeeByCurrencyIdEntry",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry.key",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -280,7 +284,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry.value",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry.value",
index=1,
number=2,
type=5,
@@ -300,32 +304,32 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1716,
- serialized_end=1770,
+ serialized_start=1726,
+ serialized_end=1780,
)
_TACMESSAGE_TRANSACTION_PERFORMATIVE_QUANTITIESBYGOODIDENTRY = _descriptor.Descriptor(
name="QuantitiesByGoodIdEntry",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry.key",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -336,7 +340,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry.value",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry.value",
index=1,
number=2,
type=5,
@@ -356,32 +360,32 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1772,
- serialized_end=1829,
+ serialized_start=1782,
+ serialized_end=1839,
)
_TACMESSAGE_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Transaction_Performative",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="transaction_id",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.transaction_id",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.transaction_id",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -392,14 +396,14 @@
),
_descriptor.FieldDescriptor(
name="ledger_id",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.ledger_id",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.ledger_id",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -410,14 +414,14 @@
),
_descriptor.FieldDescriptor(
name="sender_address",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.sender_address",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.sender_address",
index=2,
number=3,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -428,14 +432,14 @@
),
_descriptor.FieldDescriptor(
name="counterparty_address",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.counterparty_address",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.counterparty_address",
index=3,
number=4,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -446,7 +450,7 @@
),
_descriptor.FieldDescriptor(
name="amount_by_currency_id",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.amount_by_currency_id",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.amount_by_currency_id",
index=4,
number=5,
type=11,
@@ -464,7 +468,7 @@
),
_descriptor.FieldDescriptor(
name="fee_by_currency_id",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.fee_by_currency_id",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.fee_by_currency_id",
index=5,
number=6,
type=11,
@@ -482,7 +486,7 @@
),
_descriptor.FieldDescriptor(
name="quantities_by_good_id",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.quantities_by_good_id",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.quantities_by_good_id",
index=6,
number=7,
type=11,
@@ -500,14 +504,14 @@
),
_descriptor.FieldDescriptor(
name="nonce",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.nonce",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.nonce",
index=7,
number=8,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -518,14 +522,14 @@
),
_descriptor.FieldDescriptor(
name="sender_signature",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.sender_signature",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.sender_signature",
index=8,
number=9,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -536,14 +540,14 @@
),
_descriptor.FieldDescriptor(
name="counterparty_signature",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Performative.counterparty_signature",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.counterparty_signature",
index=9,
number=10,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -565,13 +569,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1144,
- serialized_end=1829,
+ serialized_start=1124,
+ serialized_end=1839,
)
_TACMESSAGE_CANCELLED_PERFORMATIVE = _descriptor.Descriptor(
name="Cancelled_Performative",
- full_name="fetch.aea.Tac.TacMessage.Cancelled_Performative",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Cancelled_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -584,27 +588,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1831,
- serialized_end=1855,
+ serialized_start=1841,
+ serialized_end=1865,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="AmountByCurrencyIdEntry",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry.key",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -615,7 +619,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry.value",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry.value",
index=1,
number=2,
type=5,
@@ -635,32 +639,32 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1657,
- serialized_end=1714,
+ serialized_start=1667,
+ serialized_end=1724,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_EXCHANGEPARAMSBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="ExchangeParamsByCurrencyIdEntry",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry.key",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -671,7 +675,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry.value",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry.value",
index=1,
number=2,
type=2,
@@ -691,32 +695,32 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=2894,
- serialized_end=2959,
+ serialized_start=2995,
+ serialized_end=3060,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_QUANTITIESBYGOODIDENTRY = _descriptor.Descriptor(
name="QuantitiesByGoodIdEntry",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry.key",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -727,7 +731,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry.value",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry.value",
index=1,
number=2,
type=5,
@@ -747,32 +751,32 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1772,
- serialized_end=1829,
+ serialized_start=1782,
+ serialized_end=1839,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_UTILITYPARAMSBYGOODIDENTRY = _descriptor.Descriptor(
name="UtilityParamsByGoodIdEntry",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry.key",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -783,7 +787,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry.value",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry.value",
index=1,
number=2,
type=2,
@@ -803,32 +807,32 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3020,
- serialized_end=3080,
+ serialized_start=3121,
+ serialized_end=3181,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_FEEBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="FeeByCurrencyIdEntry",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry.key",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -839,7 +843,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry.value",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry.value",
index=1,
number=2,
type=5,
@@ -859,32 +863,32 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1716,
- serialized_end=1770,
+ serialized_start=1726,
+ serialized_end=1780,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_AGENTADDRTONAMEENTRY = _descriptor.Descriptor(
name="AgentAddrToNameEntry",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry.key",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -895,14 +899,14 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry.value",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry.value",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -915,32 +919,32 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3138,
- serialized_end=3192,
+ serialized_start=3239,
+ serialized_end=3293,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_CURRENCYIDTONAMEENTRY = _descriptor.Descriptor(
name="CurrencyIdToNameEntry",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry.key",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -951,14 +955,14 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry.value",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry.value",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -971,32 +975,32 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3194,
- serialized_end=3249,
+ serialized_start=3295,
+ serialized_end=3350,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_GOODIDTONAMEENTRY = _descriptor.Descriptor(
name="GoodIdToNameEntry",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry.key",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1007,14 +1011,14 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry.value",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry.value",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1027,32 +1031,32 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3251,
- serialized_end=3302,
+ serialized_start=3352,
+ serialized_end=3403,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_INFOENTRY = _descriptor.Descriptor(
name="InfoEntry",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.InfoEntry",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.InfoEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.InfoEntry.key",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.InfoEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1063,14 +1067,14 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.InfoEntry.value",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.InfoEntry.value",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1083,25 +1087,25 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3304,
- serialized_end=3347,
+ serialized_start=3405,
+ serialized_end=3448,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE = _descriptor.Descriptor(
name="Game_Data_Performative",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="amount_by_currency_id",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.amount_by_currency_id",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.amount_by_currency_id",
index=0,
number=1,
type=11,
@@ -1119,7 +1123,7 @@
),
_descriptor.FieldDescriptor(
name="exchange_params_by_currency_id",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.exchange_params_by_currency_id",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.exchange_params_by_currency_id",
index=1,
number=2,
type=11,
@@ -1137,7 +1141,7 @@
),
_descriptor.FieldDescriptor(
name="quantities_by_good_id",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.quantities_by_good_id",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.quantities_by_good_id",
index=2,
number=3,
type=11,
@@ -1155,7 +1159,7 @@
),
_descriptor.FieldDescriptor(
name="utility_params_by_good_id",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.utility_params_by_good_id",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.utility_params_by_good_id",
index=3,
number=4,
type=11,
@@ -1173,7 +1177,7 @@
),
_descriptor.FieldDescriptor(
name="fee_by_currency_id",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.fee_by_currency_id",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.fee_by_currency_id",
index=4,
number=5,
type=11,
@@ -1191,7 +1195,7 @@
),
_descriptor.FieldDescriptor(
name="agent_addr_to_name",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.agent_addr_to_name",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.agent_addr_to_name",
index=5,
number=6,
type=11,
@@ -1209,7 +1213,7 @@
),
_descriptor.FieldDescriptor(
name="currency_id_to_name",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.currency_id_to_name",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.currency_id_to_name",
index=6,
number=7,
type=11,
@@ -1227,7 +1231,7 @@
),
_descriptor.FieldDescriptor(
name="good_id_to_name",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.good_id_to_name",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.good_id_to_name",
index=7,
number=8,
type=11,
@@ -1245,14 +1249,14 @@
),
_descriptor.FieldDescriptor(
name="version_id",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.version_id",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.version_id",
index=8,
number=9,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1263,7 +1267,7 @@
),
_descriptor.FieldDescriptor(
name="info",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.info",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.info",
index=9,
number=10,
type=11,
@@ -1281,7 +1285,7 @@
),
_descriptor.FieldDescriptor(
name="info_is_set",
- full_name="fetch.aea.Tac.TacMessage.Game_Data_Performative.info_is_set",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.info_is_set",
index=10,
number=11,
type=8,
@@ -1316,27 +1320,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1858,
- serialized_end=3347,
+ serialized_start=1868,
+ serialized_end=3448,
)
_TACMESSAGE_TRANSACTION_CONFIRMATION_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="AmountByCurrencyIdEntry",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry.key",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1347,7 +1351,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry.value",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry.value",
index=1,
number=2,
type=5,
@@ -1367,32 +1371,32 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1657,
- serialized_end=1714,
+ serialized_start=1667,
+ serialized_end=1724,
)
_TACMESSAGE_TRANSACTION_CONFIRMATION_PERFORMATIVE_QUANTITIESBYGOODIDENTRY = _descriptor.Descriptor(
name="QuantitiesByGoodIdEntry",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry.key",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1403,7 +1407,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry.value",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry.value",
index=1,
number=2,
type=5,
@@ -1423,32 +1427,32 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1772,
- serialized_end=1829,
+ serialized_start=1782,
+ serialized_end=1839,
)
_TACMESSAGE_TRANSACTION_CONFIRMATION_PERFORMATIVE = _descriptor.Descriptor(
name="Transaction_Confirmation_Performative",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Confirmation_Performative",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="transaction_id",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Confirmation_Performative.transaction_id",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.transaction_id",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1459,7 +1463,7 @@
),
_descriptor.FieldDescriptor(
name="amount_by_currency_id",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Confirmation_Performative.amount_by_currency_id",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.amount_by_currency_id",
index=1,
number=2,
type=11,
@@ -1477,7 +1481,7 @@
),
_descriptor.FieldDescriptor(
name="quantities_by_good_id",
- full_name="fetch.aea.Tac.TacMessage.Transaction_Confirmation_Performative.quantities_by_good_id",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.quantities_by_good_id",
index=2,
number=3,
type=11,
@@ -1505,27 +1509,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3350,
- serialized_end=3771,
+ serialized_start=3451,
+ serialized_end=3894,
)
_TACMESSAGE_TAC_ERROR_PERFORMATIVE_INFOENTRY = _descriptor.Descriptor(
name="InfoEntry",
- full_name="fetch.aea.Tac.TacMessage.Tac_Error_Performative.InfoEntry",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative.InfoEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetch.aea.Tac.TacMessage.Tac_Error_Performative.InfoEntry.key",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative.InfoEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1536,14 +1540,14 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetch.aea.Tac.TacMessage.Tac_Error_Performative.InfoEntry.value",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative.InfoEntry.value",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
- default_value=b"".decode("utf-8"),
+ default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
@@ -1556,25 +1560,25 @@
extensions=[],
nested_types=[],
enum_types=[],
- serialized_options=b"8\001",
+ serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3304,
- serialized_end=3347,
+ serialized_start=3405,
+ serialized_end=3448,
)
_TACMESSAGE_TAC_ERROR_PERFORMATIVE = _descriptor.Descriptor(
name="Tac_Error_Performative",
- full_name="fetch.aea.Tac.TacMessage.Tac_Error_Performative",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="error_code",
- full_name="fetch.aea.Tac.TacMessage.Tac_Error_Performative.error_code",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative.error_code",
index=0,
number=1,
type=11,
@@ -1592,7 +1596,7 @@
),
_descriptor.FieldDescriptor(
name="info",
- full_name="fetch.aea.Tac.TacMessage.Tac_Error_Performative.info",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative.info",
index=1,
number=2,
type=11,
@@ -1610,7 +1614,7 @@
),
_descriptor.FieldDescriptor(
name="info_is_set",
- full_name="fetch.aea.Tac.TacMessage.Tac_Error_Performative.info_is_set",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative.info_is_set",
index=2,
number=3,
type=8,
@@ -1635,93 +1639,21 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3774,
- serialized_end=3995,
+ serialized_start=3897,
+ serialized_end=4138,
)
_TACMESSAGE = _descriptor.Descriptor(
name="TacMessage",
- full_name="fetch.aea.Tac.TacMessage",
+ full_name="fetchai.aea.fetchai.tac.TacMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
- _descriptor.FieldDescriptor(
- name="message_id",
- full_name="fetch.aea.Tac.TacMessage.message_id",
- index=0,
- number=1,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_starter_reference",
- full_name="fetch.aea.Tac.TacMessage.dialogue_starter_reference",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="dialogue_responder_reference",
- full_name="fetch.aea.Tac.TacMessage.dialogue_responder_reference",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
- _descriptor.FieldDescriptor(
- name="target",
- full_name="fetch.aea.Tac.TacMessage.target",
- index=3,
- number=4,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- ),
_descriptor.FieldDescriptor(
name="cancelled",
- full_name="fetch.aea.Tac.TacMessage.cancelled",
- index=4,
+ full_name="fetchai.aea.fetchai.tac.TacMessage.cancelled",
+ index=0,
number=5,
type=11,
cpp_type=10,
@@ -1738,8 +1670,8 @@
),
_descriptor.FieldDescriptor(
name="game_data",
- full_name="fetch.aea.Tac.TacMessage.game_data",
- index=5,
+ full_name="fetchai.aea.fetchai.tac.TacMessage.game_data",
+ index=1,
number=6,
type=11,
cpp_type=10,
@@ -1756,8 +1688,8 @@
),
_descriptor.FieldDescriptor(
name="register",
- full_name="fetch.aea.Tac.TacMessage.register",
- index=6,
+ full_name="fetchai.aea.fetchai.tac.TacMessage.register",
+ index=2,
number=7,
type=11,
cpp_type=10,
@@ -1774,8 +1706,8 @@
),
_descriptor.FieldDescriptor(
name="tac_error",
- full_name="fetch.aea.Tac.TacMessage.tac_error",
- index=7,
+ full_name="fetchai.aea.fetchai.tac.TacMessage.tac_error",
+ index=3,
number=8,
type=11,
cpp_type=10,
@@ -1792,8 +1724,8 @@
),
_descriptor.FieldDescriptor(
name="transaction",
- full_name="fetch.aea.Tac.TacMessage.transaction",
- index=8,
+ full_name="fetchai.aea.fetchai.tac.TacMessage.transaction",
+ index=4,
number=9,
type=11,
cpp_type=10,
@@ -1810,8 +1742,8 @@
),
_descriptor.FieldDescriptor(
name="transaction_confirmation",
- full_name="fetch.aea.Tac.TacMessage.transaction_confirmation",
- index=9,
+ full_name="fetchai.aea.fetchai.tac.TacMessage.transaction_confirmation",
+ index=5,
number=10,
type=11,
cpp_type=10,
@@ -1828,8 +1760,8 @@
),
_descriptor.FieldDescriptor(
name="unregister",
- full_name="fetch.aea.Tac.TacMessage.unregister",
- index=10,
+ full_name="fetchai.aea.fetchai.tac.TacMessage.unregister",
+ index=6,
number=11,
type=11,
cpp_type=10,
@@ -1864,14 +1796,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetch.aea.Tac.TacMessage.performative",
+ full_name="fetchai.aea.fetchai.tac.TacMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=29,
- serialized_end=4011,
+ serialized_start=39,
+ serialized_end=4154,
)
_TACMESSAGE_ERRORCODE.fields_by_name[
@@ -2050,218 +1982,218 @@
TacMessage = _reflection.GeneratedProtocolMessageType(
"TacMessage",
(_message.Message,),
- {
- "ErrorCode": _reflection.GeneratedProtocolMessageType(
+ dict(
+ ErrorCode=_reflection.GeneratedProtocolMessageType(
"ErrorCode",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_ERRORCODE,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.ErrorCode)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_ERRORCODE,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.ErrorCode)
+ ),
),
- "Register_Performative": _reflection.GeneratedProtocolMessageType(
+ Register_Performative=_reflection.GeneratedProtocolMessageType(
"Register_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_REGISTER_PERFORMATIVE,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Register_Performative)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_REGISTER_PERFORMATIVE,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Register_Performative)
+ ),
),
- "Unregister_Performative": _reflection.GeneratedProtocolMessageType(
+ Unregister_Performative=_reflection.GeneratedProtocolMessageType(
"Unregister_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_UNREGISTER_PERFORMATIVE,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Unregister_Performative)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_UNREGISTER_PERFORMATIVE,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Unregister_Performative)
+ ),
),
- "Transaction_Performative": _reflection.GeneratedProtocolMessageType(
+ Transaction_Performative=_reflection.GeneratedProtocolMessageType(
"Transaction_Performative",
(_message.Message,),
- {
- "AmountByCurrencyIdEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ AmountByCurrencyIdEntry=_reflection.GeneratedProtocolMessageType(
"AmountByCurrencyIdEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_TRANSACTION_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_TRANSACTION_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry)
+ ),
),
- "FeeByCurrencyIdEntry": _reflection.GeneratedProtocolMessageType(
+ FeeByCurrencyIdEntry=_reflection.GeneratedProtocolMessageType(
"FeeByCurrencyIdEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_TRANSACTION_PERFORMATIVE_FEEBYCURRENCYIDENTRY,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_TRANSACTION_PERFORMATIVE_FEEBYCURRENCYIDENTRY,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry)
+ ),
),
- "QuantitiesByGoodIdEntry": _reflection.GeneratedProtocolMessageType(
+ QuantitiesByGoodIdEntry=_reflection.GeneratedProtocolMessageType(
"QuantitiesByGoodIdEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_TRANSACTION_PERFORMATIVE_QUANTITIESBYGOODIDENTRY,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_TRANSACTION_PERFORMATIVE_QUANTITIESBYGOODIDENTRY,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry)
+ ),
),
- "DESCRIPTOR": _TACMESSAGE_TRANSACTION_PERFORMATIVE,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Transaction_Performative)
- },
+ DESCRIPTOR=_TACMESSAGE_TRANSACTION_PERFORMATIVE,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative)
+ ),
),
- "Cancelled_Performative": _reflection.GeneratedProtocolMessageType(
+ Cancelled_Performative=_reflection.GeneratedProtocolMessageType(
"Cancelled_Performative",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_CANCELLED_PERFORMATIVE,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Cancelled_Performative)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_CANCELLED_PERFORMATIVE,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Cancelled_Performative)
+ ),
),
- "Game_Data_Performative": _reflection.GeneratedProtocolMessageType(
+ Game_Data_Performative=_reflection.GeneratedProtocolMessageType(
"Game_Data_Performative",
(_message.Message,),
- {
- "AmountByCurrencyIdEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ AmountByCurrencyIdEntry=_reflection.GeneratedProtocolMessageType(
"AmountByCurrencyIdEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_GAME_DATA_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry)
+ ),
),
- "ExchangeParamsByCurrencyIdEntry": _reflection.GeneratedProtocolMessageType(
+ ExchangeParamsByCurrencyIdEntry=_reflection.GeneratedProtocolMessageType(
"ExchangeParamsByCurrencyIdEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_GAME_DATA_PERFORMATIVE_EXCHANGEPARAMSBYCURRENCYIDENTRY,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_EXCHANGEPARAMSBYCURRENCYIDENTRY,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry)
+ ),
),
- "QuantitiesByGoodIdEntry": _reflection.GeneratedProtocolMessageType(
+ QuantitiesByGoodIdEntry=_reflection.GeneratedProtocolMessageType(
"QuantitiesByGoodIdEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_GAME_DATA_PERFORMATIVE_QUANTITIESBYGOODIDENTRY,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_QUANTITIESBYGOODIDENTRY,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry)
+ ),
),
- "UtilityParamsByGoodIdEntry": _reflection.GeneratedProtocolMessageType(
+ UtilityParamsByGoodIdEntry=_reflection.GeneratedProtocolMessageType(
"UtilityParamsByGoodIdEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_GAME_DATA_PERFORMATIVE_UTILITYPARAMSBYGOODIDENTRY,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_UTILITYPARAMSBYGOODIDENTRY,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry)
+ ),
),
- "FeeByCurrencyIdEntry": _reflection.GeneratedProtocolMessageType(
+ FeeByCurrencyIdEntry=_reflection.GeneratedProtocolMessageType(
"FeeByCurrencyIdEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_GAME_DATA_PERFORMATIVE_FEEBYCURRENCYIDENTRY,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_FEEBYCURRENCYIDENTRY,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry)
+ ),
),
- "AgentAddrToNameEntry": _reflection.GeneratedProtocolMessageType(
+ AgentAddrToNameEntry=_reflection.GeneratedProtocolMessageType(
"AgentAddrToNameEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_GAME_DATA_PERFORMATIVE_AGENTADDRTONAMEENTRY,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_AGENTADDRTONAMEENTRY,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry)
+ ),
),
- "CurrencyIdToNameEntry": _reflection.GeneratedProtocolMessageType(
+ CurrencyIdToNameEntry=_reflection.GeneratedProtocolMessageType(
"CurrencyIdToNameEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_GAME_DATA_PERFORMATIVE_CURRENCYIDTONAMEENTRY,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_CURRENCYIDTONAMEENTRY,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry)
+ ),
),
- "GoodIdToNameEntry": _reflection.GeneratedProtocolMessageType(
+ GoodIdToNameEntry=_reflection.GeneratedProtocolMessageType(
"GoodIdToNameEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_GAME_DATA_PERFORMATIVE_GOODIDTONAMEENTRY,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_GOODIDTONAMEENTRY,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry)
+ ),
),
- "InfoEntry": _reflection.GeneratedProtocolMessageType(
+ InfoEntry=_reflection.GeneratedProtocolMessageType(
"InfoEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_GAME_DATA_PERFORMATIVE_INFOENTRY,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Game_Data_Performative.InfoEntry)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_INFOENTRY,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.InfoEntry)
+ ),
),
- "DESCRIPTOR": _TACMESSAGE_GAME_DATA_PERFORMATIVE,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Game_Data_Performative)
- },
+ DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative)
+ ),
),
- "Transaction_Confirmation_Performative": _reflection.GeneratedProtocolMessageType(
+ Transaction_Confirmation_Performative=_reflection.GeneratedProtocolMessageType(
"Transaction_Confirmation_Performative",
(_message.Message,),
- {
- "AmountByCurrencyIdEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ AmountByCurrencyIdEntry=_reflection.GeneratedProtocolMessageType(
"AmountByCurrencyIdEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_TRANSACTION_CONFIRMATION_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_TRANSACTION_CONFIRMATION_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry)
+ ),
),
- "QuantitiesByGoodIdEntry": _reflection.GeneratedProtocolMessageType(
+ QuantitiesByGoodIdEntry=_reflection.GeneratedProtocolMessageType(
"QuantitiesByGoodIdEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_TRANSACTION_CONFIRMATION_PERFORMATIVE_QUANTITIESBYGOODIDENTRY,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_TRANSACTION_CONFIRMATION_PERFORMATIVE_QUANTITIESBYGOODIDENTRY,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry)
+ ),
),
- "DESCRIPTOR": _TACMESSAGE_TRANSACTION_CONFIRMATION_PERFORMATIVE,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Transaction_Confirmation_Performative)
- },
+ DESCRIPTOR=_TACMESSAGE_TRANSACTION_CONFIRMATION_PERFORMATIVE,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative)
+ ),
),
- "Tac_Error_Performative": _reflection.GeneratedProtocolMessageType(
+ Tac_Error_Performative=_reflection.GeneratedProtocolMessageType(
"Tac_Error_Performative",
(_message.Message,),
- {
- "InfoEntry": _reflection.GeneratedProtocolMessageType(
+ dict(
+ InfoEntry=_reflection.GeneratedProtocolMessageType(
"InfoEntry",
(_message.Message,),
- {
- "DESCRIPTOR": _TACMESSAGE_TAC_ERROR_PERFORMATIVE_INFOENTRY,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Tac_Error_Performative.InfoEntry)
- },
+ dict(
+ DESCRIPTOR=_TACMESSAGE_TAC_ERROR_PERFORMATIVE_INFOENTRY,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative.InfoEntry)
+ ),
),
- "DESCRIPTOR": _TACMESSAGE_TAC_ERROR_PERFORMATIVE,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage.Tac_Error_Performative)
- },
- ),
- "DESCRIPTOR": _TACMESSAGE,
- "__module__": "tac_pb2"
- # @@protoc_insertion_point(class_scope:fetch.aea.Tac.TacMessage)
- },
+ DESCRIPTOR=_TACMESSAGE_TAC_ERROR_PERFORMATIVE,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative)
+ ),
+ ),
+ DESCRIPTOR=_TACMESSAGE,
+ __module__="tac_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage)
+ ),
)
_sym_db.RegisterMessage(TacMessage)
_sym_db.RegisterMessage(TacMessage.ErrorCode)
diff --git a/packages/hashes.csv b/packages/hashes.csv
index 26c68c8807..42fdd85190 100644
--- a/packages/hashes.csv
+++ b/packages/hashes.csv
@@ -34,18 +34,18 @@ fetchai/connections/tcp,QmU93B7yajCHwXsgDXXhv1uSuXi7VmFBhdahcFosbrr6nA
fetchai/connections/webhook,QmaJunWQT1ypkqGnzrj5gYjjQBywjTHJmyktCZXZsa8hv8
fetchai/contracts/erc1155,QmTSpeW7JJZaBFwyHUbycPg87nUGW3CkkGchFxn6NtshpQ
fetchai/contracts/scaffold,QmTKkXifQKq5sTVdVKeD9UGnDwdJoEAoJDjY6qUPt9Bsv2
-fetchai/protocols/contract_api,QmZoZuWTH86J6uAgcafGpdeHuyf5kYxNH5wWucq4QcQ3dm
-fetchai/protocols/default,Qmd53haXNHSBqz6GquzFMFwWLfgg3rDZSGyNtiwrT8mwPg
-fetchai/protocols/fipa,Qmb3GXxbEQ23sZ1d7HsmrvchLwPfsEcDAbpLLjRTYxdJDm
-fetchai/protocols/gym,QmVLULhH4gn8suFe8Z31X5mVYp3fFSGays5MHDNzKnGA4k
-fetchai/protocols/http,QmZJVqY2cxjky6p3o76TUemSsFDws8Dx33voG9WMdrKcry
-fetchai/protocols/ledger_api,Qmak3uKpeSfT5f4oqes3oUcNSg7vy7WKE2tUmSu8CZUNJ5
-fetchai/protocols/ml_trade,QmNVZvbcgERSypYUopKMHvd6F8B81rQqtLVqUvzMeEEwJN
-fetchai/protocols/oef_search,QmP3Ypcqz6JZzdVRpZ4SnHHpWmPjfYgrt2xW9YEbiFc8XE
+fetchai/protocols/contract_api,QmXEK5bYeQNgxTLQKXiVS8bW5PCXRmzLYoEfmRvamu5ntw
+fetchai/protocols/default,QmdacRqMbT8yL47UWgFi4D1T3hat7kA4mYwcAZod4rdckL
+fetchai/protocols/fipa,QmYLaQWzgPFCWNnzbAYfX9GyqMgvgv3r1BpofhnZjbt9hP
+fetchai/protocols/gym,QmQ5dPRpfbVJgqmdr1dCRrt7cjSqFWe3mmehY1KpQ24Jng
+fetchai/protocols/http,QmSTPtXUYGhs5m61DJpbB5Gs9jjSp479BPoCaM77nzpVN2
+fetchai/protocols/ledger_api,QmfJYfDbK8a8RePE6aR7sxjwSUPrCtXAAxonxsKmsX6xbe
+fetchai/protocols/ml_trade,QmbWkEMnyQAFgz3UnE7Uq7drBYCGm218NHfGPXPgmbF8mc
+fetchai/protocols/oef_search,QmPTm85UzVxubnq5dQgrU5hANDqt6rN8U15MRwZVv9CscU
fetchai/protocols/scaffold,QmZhHsoA7JzNSoSUABFWqyRELaei4BtKYce1QKVcHhnQJN
-fetchai/protocols/signing,QmPhHfj2N2iCRTMEDYiifC3AkytZRFpVMoH7g63NwGcKwH
-fetchai/protocols/state_update,QmQmQt1VHwxmnNmwxKcrF4Qno6iHzVhhnUUjsqPtpfpQUV
-fetchai/protocols/tac,QmSn9DVVZUroa5dsjqMwiVBFmpLjyGuox8nt2FhhTs2KM6
+fetchai/protocols/signing,QmUepyAA8tn5CsGjg1aCLRjbi611KYpPKLnNJbEdntdZyM
+fetchai/protocols/state_update,QmdpQnN23UNKSvt6gtkFrV4qsnRbKuNNBFAKAGuzharTAj
+fetchai/protocols/tac,Qmb3kxpiSyCVzq1m7yGzQp2mScc6tfzcoaEQiaWaMFg562
fetchai/skills/aries_alice,Qmf7EveCvnh8fCoTYpFNKqVHYtZMg7bCdNBpeqzWxzY1GU
fetchai/skills/aries_faber,Qmf5AcH8TYVZcBUWoP9oaMnAyzWzGPHyhBXczn9vWX83eG
fetchai/skills/carpark_client,QmdLH7Gg2bxjAqWWSnaykJvsXbdyPkZhTuskNuRdtCD8LV
From 0705e4f9519acd3243342954cced934389a21d4d Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Mon, 14 Sep 2020 12:57:00 +0200
Subject: [PATCH 018/155] update fipa serialization test
---
.../test_oef/test_communication.py | 48 +++++++++++--------
1 file changed, 28 insertions(+), 20 deletions(-)
diff --git a/tests/test_packages/test_connections/test_oef/test_communication.py b/tests/test_packages/test_connections/test_oef/test_communication.py
index de6c5f5a53..f4f48b339f 100644
--- a/tests/test_packages/test_connections/test_oef/test_communication.py
+++ b/tests/test_packages/test_connections/test_oef/test_communication.py
@@ -25,7 +25,7 @@
import sys
import time
import unittest
-from typing import Dict, cast
+from typing import cast
from unittest import mock
from unittest.mock import patch
@@ -47,6 +47,7 @@
Query,
)
from aea.mail.base import Envelope
+from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
from aea.multiplexer import Multiplexer
from aea.protocols.base import Message
from aea.protocols.default.message import DefaultMessage
@@ -722,6 +723,30 @@ def test_inform(self):
def test_serialisation_fipa(self):
"""Tests a Value Error flag for wrong CFP query."""
+
+ def _encode_fipa_cfp(msg: FipaMessage) -> bytes:
+ """Helper function to serialize FIPA CFP message."""
+ message_pb = ProtobufMessage()
+ dialogue_message_pb = DialogueMessage()
+ fipa_msg = fipa_pb2.FipaMessage()
+
+ dialogue_message_pb.message_id = msg.message_id
+ dialogue_reference = msg.dialogue_reference
+ dialogue_message_pb.dialogue_starter_reference = dialogue_reference[0]
+ dialogue_message_pb.dialogue_responder_reference = dialogue_reference[1]
+ dialogue_message_pb.target = msg.target
+
+ performative = fipa_pb2.FipaMessage.Cfp_Performative() # type: ignore
+ # the following are commented to make the decoding to fail.
+ # query = msg.query # noqa: E800
+ # Query.encode(performative.query, query) # noqa: E800
+ fipa_msg.cfp.CopyFrom(performative)
+ dialogue_message_pb.content = fipa_msg.SerializeToString()
+
+ message_pb.dialogue_message.CopyFrom(dialogue_message_pb)
+ fipa_bytes = message_pb.SerializeToString()
+ return fipa_bytes
+
with pytest.raises(ValueError):
msg = FipaMessage(
performative=FipaMessage.Performative.CFP,
@@ -744,15 +769,7 @@ def test_serialisation_fipa(self):
query=Query([Constraint("something", ConstraintType(">", 1))]),
)
cfp_msg.set("query", "hello")
- fipa_msg = fipa_pb2.FipaMessage()
- fipa_msg.message_id = cfp_msg.message_id
- dialogue_reference = cast(Dict[str, str], cfp_msg.dialogue_reference)
- fipa_msg.dialogue_starter_reference = dialogue_reference[0]
- fipa_msg.dialogue_responder_reference = dialogue_reference[1]
- fipa_msg.target = cfp_msg.target
- performative = fipa_pb2.FipaMessage.Cfp_Performative()
- fipa_msg.cfp.CopyFrom(performative)
- fipa_bytes = fipa_msg.SerializeToString()
+ fipa_bytes = _encode_fipa_cfp(cfp_msg)
# The encoded message is not a valid FIPA message.
FipaMessage.serializer.decode(fipa_bytes)
@@ -768,16 +785,7 @@ def test_serialisation_fipa(self):
FipaMessage, "Performative"
) as mock_performative_enum:
mock_performative_enum.CFP.value = "unknown"
- fipa_msg = fipa_pb2.FipaMessage()
- fipa_msg.message_id = cfp_msg.message_id
- dialogue_reference = cast(Dict[str, str], cfp_msg.dialogue_reference)
- fipa_msg.dialogue_starter_reference = dialogue_reference[0]
- fipa_msg.dialogue_responder_reference = dialogue_reference[1]
- fipa_msg.target = cfp_msg.target
- performative = fipa_pb2.FipaMessage.Cfp_Performative()
- fipa_msg.cfp.CopyFrom(performative)
- fipa_bytes = fipa_msg.SerializeToString()
-
+ fipa_bytes = _encode_fipa_cfp(cfp_msg)
# The encoded message is not a FIPA message
FipaMessage.serializer.decode(fipa_bytes)
From ea00687e4c080323ea90dc8251474b0e7bc5328d Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Mon, 14 Sep 2020 14:21:23 +0200
Subject: [PATCH 019/155] update fingerprints
---
packages/fetchai/protocols/oef_search/protocol.yaml | 10 +++++-----
packages/hashes.csv | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/packages/fetchai/protocols/oef_search/protocol.yaml b/packages/fetchai/protocols/oef_search/protocol.yaml
index c82611c901..e17d136632 100644
--- a/packages/fetchai/protocols/oef_search/protocol.yaml
+++ b/packages/fetchai/protocols/oef_search/protocol.yaml
@@ -8,12 +8,12 @@ aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmfGEYrF54F6i5RTGgLgzfhMCMgYBY8Q1iHwb9UhE96MDi
__init__.py: QmRvTtynKcd7shmzgf8aZdcA5witjNL5cL2a7WPgscp7wq
- custom_types.py: QmR4TS6KhXpRtGqq78B8mXMiiFXcFe7JEkxB7jHvqPVkgD
- dialogues.py: QmaEdkD3tQWtDUAohHig58E4Crst6WDUpi5EZeXozBGqVW
- message.py: QmQbBvRf8kswtsZS2D3jVeVeQ2wnbk5pa6VX5ousHU2BL2
- oef_search.proto: QmdwQyXRN4v26xnpehny7HaMnaKtf5GfDpWEka4s3D2Y7e
+ custom_types.py: QmPhg3DBpLYzjEuzjC9w9rZQnNwcmXG3k5ACmtdgmiUgwu
+ dialogues.py: QmQPLnW3jAs6tLLmhkX4C7texGRHM9bfdjs83dUH5TkJ4v
+ message.py: QmXj8MgvPtJKXZyhTnTfpXEZoAz4Z1u6wbMwMkKCRgvujL
+ oef_search.proto: QmSq22zt3zpiLyTTDzPo71QCCFebxpHgSKK1PWfo2cMNyh
oef_search_pb2.py: QmYLWpKURppQihWhsVrWm88D6MGN4we928nfJpdU4SCpBg
- serialization.py: QmXJGoS8dgdwde9FV53KDeWNSnLez9M1ftBksjfYXKFAAg
+ serialization.py: QmSZA26BK7zdb7rJ6Fkca2dVBjUaegM7vCrTtpGshssFPj
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/packages/hashes.csv b/packages/hashes.csv
index 11883c9c59..cec1686f50 100644
--- a/packages/hashes.csv
+++ b/packages/hashes.csv
@@ -41,15 +41,15 @@ fetchai/protocols/gym,QmQ5dPRpfbVJgqmdr1dCRrt7cjSqFWe3mmehY1KpQ24Jng
fetchai/protocols/http,QmSTPtXUYGhs5m61DJpbB5Gs9jjSp479BPoCaM77nzpVN2
fetchai/protocols/ledger_api,QmfJYfDbK8a8RePE6aR7sxjwSUPrCtXAAxonxsKmsX6xbe
fetchai/protocols/ml_trade,QmbWkEMnyQAFgz3UnE7Uq7drBYCGm218NHfGPXPgmbF8mc
-fetchai/protocols/oef_search,QmPTm85UzVxubnq5dQgrU5hANDqt6rN8U15MRwZVv9CscU
+fetchai/protocols/oef_search,QmNV5EtgUnNoouMH14eC8axntvtk5g3ZXnQJiweLEb3C8L
fetchai/protocols/scaffold,QmZhHsoA7JzNSoSUABFWqyRELaei4BtKYce1QKVcHhnQJN
fetchai/protocols/signing,QmUepyAA8tn5CsGjg1aCLRjbi611KYpPKLnNJbEdntdZyM
fetchai/protocols/state_update,QmdpQnN23UNKSvt6gtkFrV4qsnRbKuNNBFAKAGuzharTAj
fetchai/protocols/tac,Qmb3kxpiSyCVzq1m7yGzQp2mScc6tfzcoaEQiaWaMFg562
-fetchai/skills/aries_alice,Qmf7EveCvnh8fCoTYpFNKqVHYtZMg7bCdNBpeqzWxzY1GU
-fetchai/skills/aries_faber,Qmf5AcH8TYVZcBUWoP9oaMnAyzWzGPHyhBXczn9vWX83eG
-fetchai/skills/carpark_client,QmdLH7Gg2bxjAqWWSnaykJvsXbdyPkZhTuskNuRdtCD8LV
-fetchai/skills/carpark_detection,QmNgE6hemHu3w8J6U93XhoJwXkuuHgVtHvVnavz1YM7d7X
+fetchai/skills/aries_alice,QmceH6zkDzd9HGQWHgo23CoWNC76ciUhSXLeoBbaAL7nVr
+fetchai/skills/aries_faber,QmaWkUa6PHnYMxqxN1FDmP8KYhwt6TUdAVNjHxBVGp2fw1
+fetchai/skills/carpark_client,QmcgCzxhNVY1H8o1wBn1Yon62d7CinF8Pzq4toZxkNuW9r
+fetchai/skills/carpark_detection,Qmez1pgvtyKHtJxgcE4WHH67KJjPvFrPkmWnEhUe2KPXn9
fetchai/skills/echo,QmSGbrAp6MY9u5eohFbjZAwKmNx3zbEPd2u3QYFFTVPqNk
fetchai/skills/erc1155_client,QmdMnSss7RU9jetwaJkfjgKvpaJ4cHKUY7e5ScU6676dd5
fetchai/skills/erc1155_deploy,QmZDCUh7SAYaCvo5FHHa1SLb7ZYvZUL2K7xPoGuXdoca1J
From 2d94eaad41e8107070fbd6f4b47986e651b7f166 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Mon, 14 Sep 2020 14:26:08 +0200
Subject: [PATCH 020/155] update oef_search protocol
---
.../protocols/oef_search/oef_search_pb2.py | 177 +++++++++++++++---
.../protocols/oef_search/protocol.yaml | 2 +-
packages/hashes.csv | 2 +-
3 files changed, 155 insertions(+), 26 deletions(-)
diff --git a/packages/fetchai/protocols/oef_search/oef_search_pb2.py b/packages/fetchai/protocols/oef_search/oef_search_pb2.py
index 5e425840d1..a00c221d78 100644
--- a/packages/fetchai/protocols/oef_search/oef_search_pb2.py
+++ b/packages/fetchai/protocols/oef_search/oef_search_pb2.py
@@ -20,7 +20,7 @@
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\x10oef_search.proto\x12\x1e\x66\x65tchai.aea.fetchai.oef_search"\xd2\x0b\n\x10OefSearchMessage\x12\\\n\toef_error\x18\x05 \x01(\x0b\x32G.fetchai.aea.fetchai.oef_search.OefSearchMessage.Oef_Error_PerformativeH\x00\x12j\n\x10register_service\x18\x06 \x01(\x0b\x32N.fetchai.aea.fetchai.oef_search.OefSearchMessage.Register_Service_PerformativeH\x00\x12\x64\n\rsearch_result\x18\x07 \x01(\x0b\x32K.fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Result_PerformativeH\x00\x12h\n\x0fsearch_services\x18\x08 \x01(\x0b\x32M.fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Services_PerformativeH\x00\x12n\n\x12unregister_service\x18\t \x01(\x0b\x32P.fetchai.aea.fetchai.oef_search.OefSearchMessage.Unregister_Service_PerformativeH\x00\x1a"\n\x0b\x44\x65scription\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\x0c\x1a\xdc\x01\n\x11OefErrorOperation\x12\x62\n\toef_error\x18\x01 \x01(\x0e\x32O.fetchai.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperation.OefErrorEnum"c\n\x0cOefErrorEnum\x12\x14\n\x10REGISTER_SERVICE\x10\x00\x12\x16\n\x12UNREGISTER_SERVICE\x10\x01\x12\x13\n\x0fSEARCH_SERVICES\x10\x02\x12\x10\n\x0cSEND_MESSAGE\x10\x03\x1a\x96\x01\n\x05Query\x12\x0f\n\x05\x62ytes\x18\x01 \x01(\x0cH\x00\x12Q\n\x07nothing\x18\x02 \x01(\x0b\x32>.fetchai.aea.fetchai.oef_search.OefSearchMessage.Query.NothingH\x00\x12\x15\n\x0bquery_bytes\x18\x03 \x01(\x0cH\x00\x1a\t\n\x07NothingB\x07\n\x05query\x1az\n\x1dRegister_Service_Performative\x12Y\n\x13service_description\x18\x01 \x01(\x0b\x32<.fetchai.aea.fetchai.oef_search.OefSearchMessage.Description\x1a|\n\x1fUnregister_Service_Performative\x12Y\n\x13service_description\x18\x01 \x01(\x0b\x32<.fetchai.aea.fetchai.oef_search.OefSearchMessage.Description\x1a\x65\n\x1cSearch_Services_Performative\x12\x45\n\x05query\x18\x01 \x01(\x0b\x32\x36.fetchai.aea.fetchai.oef_search.OefSearchMessage.Query\x1a,\n\x1aSearch_Result_Performative\x12\x0e\n\x06\x61gents\x18\x01 \x03(\t\x1ay\n\x16Oef_Error_Performative\x12_\n\x13oef_error_operation\x18\x01 \x01(\x0b\x32\x42.fetchai.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperationB\x0e\n\x0cperformativeb\x06proto3'
+ '\n\x10oef_search.proto\x12\x1e\x66\x65tchai.aea.fetchai.oef_search"\xb9\r\n\x10OefSearchMessage\x12\\\n\toef_error\x18\x05 \x01(\x0b\x32G.fetchai.aea.fetchai.oef_search.OefSearchMessage.Oef_Error_PerformativeH\x00\x12j\n\x10register_service\x18\x06 \x01(\x0b\x32N.fetchai.aea.fetchai.oef_search.OefSearchMessage.Register_Service_PerformativeH\x00\x12\x64\n\rsearch_result\x18\x07 \x01(\x0b\x32K.fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Result_PerformativeH\x00\x12h\n\x0fsearch_services\x18\x08 \x01(\x0b\x32M.fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Services_PerformativeH\x00\x12X\n\x07success\x18\t \x01(\x0b\x32\x45.fetchai.aea.fetchai.oef_search.OefSearchMessage.Success_PerformativeH\x00\x12n\n\x12unregister_service\x18\n \x01(\x0b\x32P.fetchai.aea.fetchai.oef_search.OefSearchMessage.Unregister_Service_PerformativeH\x00\x1a!\n\nAgentsInfo\x12\x13\n\x0b\x61gents_info\x18\x01 \x01(\x0c\x1a"\n\x0b\x44\x65scription\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\x0c\x1a\xdc\x01\n\x11OefErrorOperation\x12\x62\n\toef_error\x18\x01 \x01(\x0e\x32O.fetchai.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperation.OefErrorEnum"c\n\x0cOefErrorEnum\x12\x14\n\x10REGISTER_SERVICE\x10\x00\x12\x16\n\x12UNREGISTER_SERVICE\x10\x01\x12\x13\n\x0fSEARCH_SERVICES\x10\x02\x12\x10\n\x0cSEND_MESSAGE\x10\x03\x1a\x96\x01\n\x05Query\x12\x0f\n\x05\x62ytes\x18\x01 \x01(\x0cH\x00\x12Q\n\x07nothing\x18\x02 \x01(\x0b\x32>.fetchai.aea.fetchai.oef_search.OefSearchMessage.Query.NothingH\x00\x12\x15\n\x0bquery_bytes\x18\x03 \x01(\x0cH\x00\x1a\t\n\x07NothingB\x07\n\x05query\x1az\n\x1dRegister_Service_Performative\x12Y\n\x13service_description\x18\x01 \x01(\x0b\x32<.fetchai.aea.fetchai.oef_search.OefSearchMessage.Description\x1a|\n\x1fUnregister_Service_Performative\x12Y\n\x13service_description\x18\x01 \x01(\x0b\x32<.fetchai.aea.fetchai.oef_search.OefSearchMessage.Description\x1a\x65\n\x1cSearch_Services_Performative\x12\x45\n\x05query\x18\x01 \x01(\x0b\x32\x36.fetchai.aea.fetchai.oef_search.OefSearchMessage.Query\x1a~\n\x1aSearch_Result_Performative\x12\x0e\n\x06\x61gents\x18\x01 \x03(\t\x12P\n\x0b\x61gents_info\x18\x02 \x01(\x0b\x32;.fetchai.aea.fetchai.oef_search.OefSearchMessage.AgentsInfo\x1a\x16\n\x14Success_Performative\x1ay\n\x16Oef_Error_Performative\x12_\n\x13oef_error_operation\x18\x01 \x01(\x0b\x32\x42.fetchai.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperationB\x0e\n\x0cperformativeb\x06proto3'
),
)
@@ -58,12 +58,50 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=753,
- serialized_end=852,
+ serialized_start=878,
+ serialized_end=977,
)
_sym_db.RegisterEnumDescriptor(_OEFSEARCHMESSAGE_OEFERROROPERATION_OEFERRORENUM)
+_OEFSEARCHMESSAGE_AGENTSINFO = _descriptor.Descriptor(
+ name="AgentsInfo",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.AgentsInfo",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[
+ _descriptor.FieldDescriptor(
+ name="agents_info",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.AgentsInfo.agents_info",
+ index=0,
+ number=1,
+ type=12,
+ cpp_type=9,
+ label=1,
+ has_default_value=False,
+ default_value=_b(""),
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
+ ],
+ extensions=[],
+ nested_types=[],
+ enum_types=[],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[],
+ serialized_start=685,
+ serialized_end=718,
+)
+
_OEFSEARCHMESSAGE_DESCRIPTION = _descriptor.Descriptor(
name="Description",
full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Description",
@@ -98,8 +136,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=595,
- serialized_end=629,
+ serialized_start=720,
+ serialized_end=754,
)
_OEFSEARCHMESSAGE_OEFERROROPERATION = _descriptor.Descriptor(
@@ -136,8 +174,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=632,
- serialized_end=852,
+ serialized_start=757,
+ serialized_end=977,
)
_OEFSEARCHMESSAGE_QUERY_NOTHING = _descriptor.Descriptor(
@@ -155,8 +193,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=987,
- serialized_end=996,
+ serialized_start=1112,
+ serialized_end=1121,
)
_OEFSEARCHMESSAGE_QUERY = _descriptor.Descriptor(
@@ -237,8 +275,8 @@
fields=[],
),
],
- serialized_start=855,
- serialized_end=1005,
+ serialized_start=980,
+ serialized_end=1130,
)
_OEFSEARCHMESSAGE_REGISTER_SERVICE_PERFORMATIVE = _descriptor.Descriptor(
@@ -275,8 +313,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1007,
- serialized_end=1129,
+ serialized_start=1132,
+ serialized_end=1254,
)
_OEFSEARCHMESSAGE_UNREGISTER_SERVICE_PERFORMATIVE = _descriptor.Descriptor(
@@ -313,8 +351,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1131,
- serialized_end=1255,
+ serialized_start=1256,
+ serialized_end=1380,
)
_OEFSEARCHMESSAGE_SEARCH_SERVICES_PERFORMATIVE = _descriptor.Descriptor(
@@ -351,8 +389,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1257,
- serialized_end=1358,
+ serialized_start=1382,
+ serialized_end=1483,
)
_OEFSEARCHMESSAGE_SEARCH_RESULT_PERFORMATIVE = _descriptor.Descriptor(
@@ -380,6 +418,24 @@
serialized_options=None,
file=DESCRIPTOR,
),
+ _descriptor.FieldDescriptor(
+ name="agents_info",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Result_Performative.agents_info",
+ index=1,
+ number=2,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
],
extensions=[],
nested_types=[],
@@ -389,8 +445,27 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1360,
- serialized_end=1404,
+ serialized_start=1485,
+ serialized_end=1611,
+)
+
+_OEFSEARCHMESSAGE_SUCCESS_PERFORMATIVE = _descriptor.Descriptor(
+ name="Success_Performative",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Success_Performative",
+ filename=None,
+ file=DESCRIPTOR,
+ containing_type=None,
+ fields=[],
+ extensions=[],
+ nested_types=[],
+ enum_types=[],
+ serialized_options=None,
+ is_extendable=False,
+ syntax="proto3",
+ extension_ranges=[],
+ oneofs=[],
+ serialized_start=1613,
+ serialized_end=1635,
)
_OEFSEARCHMESSAGE_OEF_ERROR_PERFORMATIVE = _descriptor.Descriptor(
@@ -427,8 +502,8 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1406,
- serialized_end=1527,
+ serialized_start=1637,
+ serialized_end=1758,
)
_OEFSEARCHMESSAGE = _descriptor.Descriptor(
@@ -511,8 +586,8 @@
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
- name="unregister_service",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.unregister_service",
+ name="success",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.success",
index=4,
number=9,
type=11,
@@ -528,9 +603,28 @@
serialized_options=None,
file=DESCRIPTOR,
),
+ _descriptor.FieldDescriptor(
+ name="unregister_service",
+ full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.unregister_service",
+ index=5,
+ number=10,
+ type=11,
+ cpp_type=10,
+ label=1,
+ has_default_value=False,
+ default_value=None,
+ message_type=None,
+ enum_type=None,
+ containing_type=None,
+ is_extension=False,
+ extension_scope=None,
+ serialized_options=None,
+ file=DESCRIPTOR,
+ ),
],
extensions=[],
nested_types=[
+ _OEFSEARCHMESSAGE_AGENTSINFO,
_OEFSEARCHMESSAGE_DESCRIPTION,
_OEFSEARCHMESSAGE_OEFERROROPERATION,
_OEFSEARCHMESSAGE_QUERY,
@@ -538,6 +632,7 @@
_OEFSEARCHMESSAGE_UNREGISTER_SERVICE_PERFORMATIVE,
_OEFSEARCHMESSAGE_SEARCH_SERVICES_PERFORMATIVE,
_OEFSEARCHMESSAGE_SEARCH_RESULT_PERFORMATIVE,
+ _OEFSEARCHMESSAGE_SUCCESS_PERFORMATIVE,
_OEFSEARCHMESSAGE_OEF_ERROR_PERFORMATIVE,
],
enum_types=[],
@@ -555,9 +650,10 @@
),
],
serialized_start=53,
- serialized_end=1543,
+ serialized_end=1774,
)
+_OEFSEARCHMESSAGE_AGENTSINFO.containing_type = _OEFSEARCHMESSAGE
_OEFSEARCHMESSAGE_DESCRIPTION.containing_type = _OEFSEARCHMESSAGE
_OEFSEARCHMESSAGE_OEFERROROPERATION.fields_by_name[
"oef_error"
@@ -601,7 +697,11 @@
"query"
].message_type = _OEFSEARCHMESSAGE_QUERY
_OEFSEARCHMESSAGE_SEARCH_SERVICES_PERFORMATIVE.containing_type = _OEFSEARCHMESSAGE
+_OEFSEARCHMESSAGE_SEARCH_RESULT_PERFORMATIVE.fields_by_name[
+ "agents_info"
+].message_type = _OEFSEARCHMESSAGE_AGENTSINFO
_OEFSEARCHMESSAGE_SEARCH_RESULT_PERFORMATIVE.containing_type = _OEFSEARCHMESSAGE
+_OEFSEARCHMESSAGE_SUCCESS_PERFORMATIVE.containing_type = _OEFSEARCHMESSAGE
_OEFSEARCHMESSAGE_OEF_ERROR_PERFORMATIVE.fields_by_name[
"oef_error_operation"
].message_type = _OEFSEARCHMESSAGE_OEFERROROPERATION
@@ -618,6 +718,9 @@
_OEFSEARCHMESSAGE.fields_by_name[
"search_services"
].message_type = _OEFSEARCHMESSAGE_SEARCH_SERVICES_PERFORMATIVE
+_OEFSEARCHMESSAGE.fields_by_name[
+ "success"
+].message_type = _OEFSEARCHMESSAGE_SUCCESS_PERFORMATIVE
_OEFSEARCHMESSAGE.fields_by_name[
"unregister_service"
].message_type = _OEFSEARCHMESSAGE_UNREGISTER_SERVICE_PERFORMATIVE
@@ -645,6 +748,12 @@
_OEFSEARCHMESSAGE.fields_by_name[
"search_services"
].containing_oneof = _OEFSEARCHMESSAGE.oneofs_by_name["performative"]
+_OEFSEARCHMESSAGE.oneofs_by_name["performative"].fields.append(
+ _OEFSEARCHMESSAGE.fields_by_name["success"]
+)
+_OEFSEARCHMESSAGE.fields_by_name[
+ "success"
+].containing_oneof = _OEFSEARCHMESSAGE.oneofs_by_name["performative"]
_OEFSEARCHMESSAGE.oneofs_by_name["performative"].fields.append(
_OEFSEARCHMESSAGE.fields_by_name["unregister_service"]
)
@@ -658,6 +767,15 @@
"OefSearchMessage",
(_message.Message,),
dict(
+ AgentsInfo=_reflection.GeneratedProtocolMessageType(
+ "AgentsInfo",
+ (_message.Message,),
+ dict(
+ DESCRIPTOR=_OEFSEARCHMESSAGE_AGENTSINFO,
+ __module__="oef_search_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.AgentsInfo)
+ ),
+ ),
Description=_reflection.GeneratedProtocolMessageType(
"Description",
(_message.Message,),
@@ -730,6 +848,15 @@
# @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Result_Performative)
),
),
+ Success_Performative=_reflection.GeneratedProtocolMessageType(
+ "Success_Performative",
+ (_message.Message,),
+ dict(
+ DESCRIPTOR=_OEFSEARCHMESSAGE_SUCCESS_PERFORMATIVE,
+ __module__="oef_search_pb2"
+ # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Success_Performative)
+ ),
+ ),
Oef_Error_Performative=_reflection.GeneratedProtocolMessageType(
"Oef_Error_Performative",
(_message.Message,),
@@ -745,6 +872,7 @@
),
)
_sym_db.RegisterMessage(OefSearchMessage)
+_sym_db.RegisterMessage(OefSearchMessage.AgentsInfo)
_sym_db.RegisterMessage(OefSearchMessage.Description)
_sym_db.RegisterMessage(OefSearchMessage.OefErrorOperation)
_sym_db.RegisterMessage(OefSearchMessage.Query)
@@ -753,6 +881,7 @@
_sym_db.RegisterMessage(OefSearchMessage.Unregister_Service_Performative)
_sym_db.RegisterMessage(OefSearchMessage.Search_Services_Performative)
_sym_db.RegisterMessage(OefSearchMessage.Search_Result_Performative)
+_sym_db.RegisterMessage(OefSearchMessage.Success_Performative)
_sym_db.RegisterMessage(OefSearchMessage.Oef_Error_Performative)
diff --git a/packages/fetchai/protocols/oef_search/protocol.yaml b/packages/fetchai/protocols/oef_search/protocol.yaml
index e17d136632..57d1a6fe0d 100644
--- a/packages/fetchai/protocols/oef_search/protocol.yaml
+++ b/packages/fetchai/protocols/oef_search/protocol.yaml
@@ -12,7 +12,7 @@ fingerprint:
dialogues.py: QmQPLnW3jAs6tLLmhkX4C7texGRHM9bfdjs83dUH5TkJ4v
message.py: QmXj8MgvPtJKXZyhTnTfpXEZoAz4Z1u6wbMwMkKCRgvujL
oef_search.proto: QmSq22zt3zpiLyTTDzPo71QCCFebxpHgSKK1PWfo2cMNyh
- oef_search_pb2.py: QmYLWpKURppQihWhsVrWm88D6MGN4we928nfJpdU4SCpBg
+ oef_search_pb2.py: QmaEHK8KG6q2nkZA9i2fvGyHKGLhK85UZDenRD3ig5FUK8
serialization.py: QmSZA26BK7zdb7rJ6Fkca2dVBjUaegM7vCrTtpGshssFPj
fingerprint_ignore_patterns: []
dependencies:
diff --git a/packages/hashes.csv b/packages/hashes.csv
index cec1686f50..9ec4261188 100644
--- a/packages/hashes.csv
+++ b/packages/hashes.csv
@@ -41,7 +41,7 @@ fetchai/protocols/gym,QmQ5dPRpfbVJgqmdr1dCRrt7cjSqFWe3mmehY1KpQ24Jng
fetchai/protocols/http,QmSTPtXUYGhs5m61DJpbB5Gs9jjSp479BPoCaM77nzpVN2
fetchai/protocols/ledger_api,QmfJYfDbK8a8RePE6aR7sxjwSUPrCtXAAxonxsKmsX6xbe
fetchai/protocols/ml_trade,QmbWkEMnyQAFgz3UnE7Uq7drBYCGm218NHfGPXPgmbF8mc
-fetchai/protocols/oef_search,QmNV5EtgUnNoouMH14eC8axntvtk5g3ZXnQJiweLEb3C8L
+fetchai/protocols/oef_search,QmZjFCHov7jgQ3dKBndyz1MDkZHzv1DHxKQm6BnZrQS924
fetchai/protocols/scaffold,QmZhHsoA7JzNSoSUABFWqyRELaei4BtKYce1QKVcHhnQJN
fetchai/protocols/signing,QmUepyAA8tn5CsGjg1aCLRjbi611KYpPKLnNJbEdntdZyM
fetchai/protocols/state_update,QmdpQnN23UNKSvt6gtkFrV4qsnRbKuNNBFAKAGuzharTAj
From 834105e65a5f055c6950b195128069c5be313b46 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Mon, 14 Sep 2020 14:48:34 +0200
Subject: [PATCH 021/155] add more log messages
---
scripts/generate_all_protocols.py | 42 ++++++++++++++++++++++++++-----
1 file changed, 36 insertions(+), 6 deletions(-)
diff --git a/scripts/generate_all_protocols.py b/scripts/generate_all_protocols.py
index f9fd01d099..22b121ed35 100755
--- a/scripts/generate_all_protocols.py
+++ b/scripts/generate_all_protocols.py
@@ -28,6 +28,7 @@
It requires the `aea` package, `black` and `isort` tools.
"""
+import logging
import operator
import os
import pprint
@@ -67,6 +68,23 @@
)
+def _setup_logger() -> logging.Logger:
+ """Set up the logger."""
+ FORMAT = "[%(asctime)s][%(levelname)s] %(message)s"
+ logging.basicConfig(format=FORMAT)
+ logger_ = logging.getLogger("generate_all_protocols")
+ logger_.setLevel(logging.INFO)
+ return logger_
+
+
+logger = _setup_logger()
+
+
+def log(message: str, level: int = logging.INFO):
+ """Produce a logging message."""
+ logger.log(level, message)
+
+
def enforce(condition, message=""):
"""Custom assertion."""
if not condition:
@@ -137,6 +155,7 @@ def _load_protocol_specification_from_string(
def _get_protocol_specification_from_readme(package_path: Path) -> str:
"""Get the protocol specification from the package README."""
+ log(f"Get protocol specification from README {package_path}")
readme = package_path / "README.md"
readme_content = readme.read_text()
enforce(
@@ -165,7 +184,9 @@ def _save_specification_in_temporary_file(name: str, specification_content: str)
"""
# here, the cwd is the temporary AEA project
# hence, we are writing in a temporary directory
- Path("..", name + ".yaml").write_text(specification_content)
+ spec_path = Path("..", name + ".yaml")
+ log(f"Save specification '{name}' in temporary file {spec_path}")
+ spec_path.write_text(specification_content)
def _generate_protocol(package_path: Path) -> None:
@@ -175,7 +196,9 @@ def _generate_protocol(package_path: Path) -> None:
:param package_path: package to the path.
:return: None
"""
- run_aea("generate", "protocol", os.path.join("..", package_path.name) + ".yaml")
+ cmd = ["generate", "protocol", os.path.join("..", package_path.name) + ".yaml"]
+ log(f"Generate the protocol. Command: {pprint.pformat(cmd)}")
+ run_aea(*cmd)
def replace_in_directory(name: str):
@@ -185,11 +208,14 @@ def replace_in_directory(name: str):
:param name: the protocol name.
:return: None
"""
+ log(f"Replace prefix of import statements in directory '{name}'")
replace_replacement_pairs = [
(f"from packages.fetchai.protocols.{name}", f"from aea.protocols.{name}"),
(f"aea.packages.fetchai.protocols.{name}", f"aea.protocols.{name}"),
]
- for submodule in Path("protocols", name).rglob("*.py"):
+ package_dir = Path("protocols", name)
+ for submodule in package_dir.rglob("*.py"):
+ log(f"Process submodule {submodule.relative_to(package_dir)}")
for to_replace, replacement in replace_replacement_pairs:
if to_replace not in submodule.read_text():
continue
@@ -211,7 +237,7 @@ def _fix_generated_protocol(package_path: Path) -> None:
Used also to recover the protocol name.
:return: None
"""
- # restore original custom types.
+ log(f"Restore original custom types in {package_path}")
custom_types_module = package_path / CUSTOM_TYPE_MODULE_NAME
if custom_types_module.exists():
file_to_replace = Path("protocols", package_path.name, CUSTOM_TYPE_MODULE_NAME)
@@ -219,11 +245,12 @@ def _fix_generated_protocol(package_path: Path) -> None:
# if it is a library protocol, replace import prefixes.
if package_path.parents[1].name == "aea":
+ log("Replace import prefixes (it's a library protocol)")
replace_in_directory(package_path.name)
- # copy the README
package_readme_file = package_path / README_FILENAME
if package_readme_file.exists():
+ log(f"Copy the README {package_readme_file} into the new generated protocol.")
shutil.copyfile(
package_readme_file, Path("protocols", package_path.name, README_FILENAME)
)
@@ -237,13 +264,14 @@ def _update_original_protocol(package_path: Path) -> None:
Used to recover the protocol name.
:return: None
"""
+ log(f"Copy the new protocol into the original directory {package_path}")
shutil.rmtree(package_path)
shutil.copytree(Path("protocols", package_path.name), package_path)
def _fingerprint_protocol(name: str):
"""Fingerprint the generated (and modified) protocol."""
- # recover public id.
+ log(f"Fingerprint the generated (and modified) protocol '{name}'")
protocol_config = load_component_configuration(
ComponentType.PROTOCOL, Path("protocols", name), skip_consistency_check=True
)
@@ -291,6 +319,8 @@ def main():
run_aea("remove", "protocol", "fetchai/default:0.5.0")
for package_path in PROTOCOL_PATHS:
+ log("=" * 100)
+ log(f"Processing protocol at path {package_path}")
_process_protocol(package_path)
From 614711f43f157450bb1461b9227e06447912b833 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Mon, 14 Sep 2020 20:27:42 +0200
Subject: [PATCH 022/155] change package prefix from 'fetchai.aea' to 'aea'
---
aea/protocols/default/default.proto | 2 +-
aea/protocols/default/default_pb2.py | 70 ++--
aea/protocols/default/protocol.yaml | 4 +-
aea/protocols/generator/base.py | 2 +-
aea/protocols/signing/protocol.yaml | 4 +-
aea/protocols/signing/signing.proto | 2 +-
aea/protocols/signing/signing_pb2.py | 144 ++++----
aea/protocols/state_update/protocol.yaml | 4 +-
aea/protocols/state_update/state_update.proto | 2 +-
.../state_update/state_update_pb2.py | 118 +++---
.../protocols/contract_api/contract_api.proto | 2 +-
.../contract_api/contract_api_pb2.py | 188 +++++-----
.../protocols/contract_api/protocol.yaml | 4 +-
packages/fetchai/protocols/fipa/fipa.proto | 2 +-
packages/fetchai/protocols/fipa/fipa_pb2.py | 174 ++++-----
packages/fetchai/protocols/fipa/protocol.yaml | 4 +-
packages/fetchai/protocols/gym/gym.proto | 2 +-
packages/fetchai/protocols/gym/gym_pb2.py | 102 +++---
packages/fetchai/protocols/gym/protocol.yaml | 4 +-
packages/fetchai/protocols/http/http.proto | 2 +-
packages/fetchai/protocols/http/http_pb2.py | 54 +--
packages/fetchai/protocols/http/protocol.yaml | 4 +-
.../protocols/ledger_api/ledger_api.proto | 2 +-
.../protocols/ledger_api/ledger_api_pb2.py | 184 +++++-----
.../protocols/ledger_api/protocol.yaml | 4 +-
.../fetchai/protocols/ml_trade/ml_trade.proto | 2 +-
.../protocols/ml_trade/ml_trade_pb2.py | 100 +++---
.../fetchai/protocols/ml_trade/protocol.yaml | 4 +-
.../protocols/oef_search/oef_search.proto | 2 +-
.../protocols/oef_search/oef_search_pb2.py | 146 ++++----
.../protocols/oef_search/protocol.yaml | 4 +-
packages/fetchai/protocols/tac/protocol.yaml | 4 +-
packages/fetchai/protocols/tac/tac.proto | 2 +-
packages/fetchai/protocols/tac/tac_pb2.py | 336 +++++++++---------
34 files changed, 842 insertions(+), 842 deletions(-)
diff --git a/aea/protocols/default/default.proto b/aea/protocols/default/default.proto
index 5d21b1d1bd..47d7000c7d 100644
--- a/aea/protocols/default/default.proto
+++ b/aea/protocols/default/default.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetchai.aea.fetchai.default;
+package aea.fetchai.default;
message DefaultMessage{
diff --git a/aea/protocols/default/default_pb2.py b/aea/protocols/default/default_pb2.py
index c746bc5de1..14273a0b8d 100644
--- a/aea/protocols/default/default_pb2.py
+++ b/aea/protocols/default/default_pb2.py
@@ -16,18 +16,18 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="default.proto",
- package="fetchai.aea.fetchai.default",
+ package="aea.fetchai.default",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\rdefault.proto\x12\x1b\x66\x65tchai.aea.fetchai.default"\xdb\x05\n\x0e\x44\x65\x66\x61ultMessage\x12O\n\x05\x62ytes\x18\x05 \x01(\x0b\x32>.fetchai.aea.fetchai.default.DefaultMessage.Bytes_PerformativeH\x00\x12O\n\x05\x65rror\x18\x06 \x01(\x0b\x32>.fetchai.aea.fetchai.default.DefaultMessage.Error_PerformativeH\x00\x1a\xe5\x01\n\tErrorCode\x12W\n\nerror_code\x18\x01 \x01(\x0e\x32\x43.fetchai.aea.fetchai.default.DefaultMessage.ErrorCode.ErrorCodeEnum"\x7f\n\rErrorCodeEnum\x12\x18\n\x14UNSUPPORTED_PROTOCOL\x10\x00\x12\x12\n\x0e\x44\x45\x43ODING_ERROR\x10\x01\x12\x13\n\x0fINVALID_MESSAGE\x10\x02\x12\x15\n\x11UNSUPPORTED_SKILL\x10\x03\x12\x14\n\x10INVALID_DIALOGUE\x10\x04\x1a%\n\x12\x42ytes_Performative\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\x0c\x1a\x87\x02\n\x12\x45rror_Performative\x12I\n\nerror_code\x18\x01 \x01(\x0b\x32\x35.fetchai.aea.fetchai.default.DefaultMessage.ErrorCode\x12\x11\n\terror_msg\x18\x02 \x01(\t\x12\x61\n\nerror_data\x18\x03 \x03(\x0b\x32M.fetchai.aea.fetchai.default.DefaultMessage.Error_Performative.ErrorDataEntry\x1a\x30\n\x0e\x45rrorDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x42\x0e\n\x0cperformativeb\x06proto3'
+ '\n\rdefault.proto\x12\x13\x61\x65\x61.fetchai.default"\xb3\x05\n\x0e\x44\x65\x66\x61ultMessage\x12G\n\x05\x62ytes\x18\x05 \x01(\x0b\x32\x36.aea.fetchai.default.DefaultMessage.Bytes_PerformativeH\x00\x12G\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x36.aea.fetchai.default.DefaultMessage.Error_PerformativeH\x00\x1a\xdd\x01\n\tErrorCode\x12O\n\nerror_code\x18\x01 \x01(\x0e\x32;.aea.fetchai.default.DefaultMessage.ErrorCode.ErrorCodeEnum"\x7f\n\rErrorCodeEnum\x12\x18\n\x14UNSUPPORTED_PROTOCOL\x10\x00\x12\x12\n\x0e\x44\x45\x43ODING_ERROR\x10\x01\x12\x13\n\x0fINVALID_MESSAGE\x10\x02\x12\x15\n\x11UNSUPPORTED_SKILL\x10\x03\x12\x14\n\x10INVALID_DIALOGUE\x10\x04\x1a%\n\x12\x42ytes_Performative\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\x0c\x1a\xf7\x01\n\x12\x45rror_Performative\x12\x41\n\nerror_code\x18\x01 \x01(\x0b\x32-.aea.fetchai.default.DefaultMessage.ErrorCode\x12\x11\n\terror_msg\x18\x02 \x01(\t\x12Y\n\nerror_data\x18\x03 \x03(\x0b\x32\x45.aea.fetchai.default.DefaultMessage.Error_Performative.ErrorDataEntry\x1a\x30\n\x0e\x45rrorDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x42\x0e\n\x0cperformativeb\x06proto3'
),
)
_DEFAULTMESSAGE_ERRORCODE_ERRORCODEENUM = _descriptor.EnumDescriptor(
name="ErrorCodeEnum",
- full_name="fetchai.aea.fetchai.default.DefaultMessage.ErrorCode.ErrorCodeEnum",
+ full_name="aea.fetchai.default.DefaultMessage.ErrorCode.ErrorCodeEnum",
filename=None,
file=DESCRIPTOR,
values=[
@@ -65,22 +65,22 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=330,
- serialized_end=457,
+ serialized_start=298,
+ serialized_end=425,
)
_sym_db.RegisterEnumDescriptor(_DEFAULTMESSAGE_ERRORCODE_ERRORCODEENUM)
_DEFAULTMESSAGE_ERRORCODE = _descriptor.Descriptor(
name="ErrorCode",
- full_name="fetchai.aea.fetchai.default.DefaultMessage.ErrorCode",
+ full_name="aea.fetchai.default.DefaultMessage.ErrorCode",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="error_code",
- full_name="fetchai.aea.fetchai.default.DefaultMessage.ErrorCode.error_code",
+ full_name="aea.fetchai.default.DefaultMessage.ErrorCode.error_code",
index=0,
number=1,
type=14,
@@ -105,20 +105,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=228,
- serialized_end=457,
+ serialized_start=204,
+ serialized_end=425,
)
_DEFAULTMESSAGE_BYTES_PERFORMATIVE = _descriptor.Descriptor(
name="Bytes_Performative",
- full_name="fetchai.aea.fetchai.default.DefaultMessage.Bytes_Performative",
+ full_name="aea.fetchai.default.DefaultMessage.Bytes_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content",
- full_name="fetchai.aea.fetchai.default.DefaultMessage.Bytes_Performative.content",
+ full_name="aea.fetchai.default.DefaultMessage.Bytes_Performative.content",
index=0,
number=1,
type=12,
@@ -143,20 +143,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=459,
- serialized_end=496,
+ serialized_start=427,
+ serialized_end=464,
)
_DEFAULTMESSAGE_ERROR_PERFORMATIVE_ERRORDATAENTRY = _descriptor.Descriptor(
name="ErrorDataEntry",
- full_name="fetchai.aea.fetchai.default.DefaultMessage.Error_Performative.ErrorDataEntry",
+ full_name="aea.fetchai.default.DefaultMessage.Error_Performative.ErrorDataEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.default.DefaultMessage.Error_Performative.ErrorDataEntry.key",
+ full_name="aea.fetchai.default.DefaultMessage.Error_Performative.ErrorDataEntry.key",
index=0,
number=1,
type=9,
@@ -174,7 +174,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.default.DefaultMessage.Error_Performative.ErrorDataEntry.value",
+ full_name="aea.fetchai.default.DefaultMessage.Error_Performative.ErrorDataEntry.value",
index=1,
number=2,
type=12,
@@ -199,20 +199,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=714,
- serialized_end=762,
+ serialized_start=666,
+ serialized_end=714,
)
_DEFAULTMESSAGE_ERROR_PERFORMATIVE = _descriptor.Descriptor(
name="Error_Performative",
- full_name="fetchai.aea.fetchai.default.DefaultMessage.Error_Performative",
+ full_name="aea.fetchai.default.DefaultMessage.Error_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="error_code",
- full_name="fetchai.aea.fetchai.default.DefaultMessage.Error_Performative.error_code",
+ full_name="aea.fetchai.default.DefaultMessage.Error_Performative.error_code",
index=0,
number=1,
type=11,
@@ -230,7 +230,7 @@
),
_descriptor.FieldDescriptor(
name="error_msg",
- full_name="fetchai.aea.fetchai.default.DefaultMessage.Error_Performative.error_msg",
+ full_name="aea.fetchai.default.DefaultMessage.Error_Performative.error_msg",
index=1,
number=2,
type=9,
@@ -248,7 +248,7 @@
),
_descriptor.FieldDescriptor(
name="error_data",
- full_name="fetchai.aea.fetchai.default.DefaultMessage.Error_Performative.error_data",
+ full_name="aea.fetchai.default.DefaultMessage.Error_Performative.error_data",
index=2,
number=3,
type=11,
@@ -273,20 +273,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=499,
- serialized_end=762,
+ serialized_start=467,
+ serialized_end=714,
)
_DEFAULTMESSAGE = _descriptor.Descriptor(
name="DefaultMessage",
- full_name="fetchai.aea.fetchai.default.DefaultMessage",
+ full_name="aea.fetchai.default.DefaultMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="bytes",
- full_name="fetchai.aea.fetchai.default.DefaultMessage.bytes",
+ full_name="aea.fetchai.default.DefaultMessage.bytes",
index=0,
number=5,
type=11,
@@ -304,7 +304,7 @@
),
_descriptor.FieldDescriptor(
name="error",
- full_name="fetchai.aea.fetchai.default.DefaultMessage.error",
+ full_name="aea.fetchai.default.DefaultMessage.error",
index=1,
number=6,
type=11,
@@ -335,14 +335,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetchai.aea.fetchai.default.DefaultMessage.performative",
+ full_name="aea.fetchai.default.DefaultMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=47,
- serialized_end=778,
+ serialized_start=39,
+ serialized_end=730,
)
_DEFAULTMESSAGE_ERRORCODE.fields_by_name[
@@ -392,7 +392,7 @@
dict(
DESCRIPTOR=_DEFAULTMESSAGE_ERRORCODE,
__module__="default_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.default.DefaultMessage.ErrorCode)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.default.DefaultMessage.ErrorCode)
),
),
Bytes_Performative=_reflection.GeneratedProtocolMessageType(
@@ -401,7 +401,7 @@
dict(
DESCRIPTOR=_DEFAULTMESSAGE_BYTES_PERFORMATIVE,
__module__="default_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.default.DefaultMessage.Bytes_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.default.DefaultMessage.Bytes_Performative)
),
),
Error_Performative=_reflection.GeneratedProtocolMessageType(
@@ -414,17 +414,17 @@
dict(
DESCRIPTOR=_DEFAULTMESSAGE_ERROR_PERFORMATIVE_ERRORDATAENTRY,
__module__="default_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.default.DefaultMessage.Error_Performative.ErrorDataEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.default.DefaultMessage.Error_Performative.ErrorDataEntry)
),
),
DESCRIPTOR=_DEFAULTMESSAGE_ERROR_PERFORMATIVE,
__module__="default_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.default.DefaultMessage.Error_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.default.DefaultMessage.Error_Performative)
),
),
DESCRIPTOR=_DEFAULTMESSAGE,
__module__="default_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.default.DefaultMessage)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.default.DefaultMessage)
),
)
_sym_db.RegisterMessage(DefaultMessage)
diff --git a/aea/protocols/default/protocol.yaml b/aea/protocols/default/protocol.yaml
index 8d23821b81..c8df1426cb 100644
--- a/aea/protocols/default/protocol.yaml
+++ b/aea/protocols/default/protocol.yaml
@@ -9,8 +9,8 @@ fingerprint:
README.md: QmP3q9463opixzdv17QXkCSQvgR8KJXgLAVkfUPpdHJzPv
__init__.py: QmPMtKUrzVJp594VqNuapJzCesWLQ6Awjqv2ufG3wKNRmH
custom_types.py: QmRcgwDdTxkSHyfF9eoMtsb5P5GJDm4oyLq5W6ZBko1MFU
- default.proto: QmUgEHG3L7M6ar7E4BDdTpUV8UWhbTbW2etFAk1FtDWuk1
- default_pb2.py: QmWZGRz16egJBqQVNJ5sN5VEeTSoCq85eJEUqTPqn4caFQ
+ default.proto: QmbbAXpav8jfU1r59afGbLAj3FpPXEwWuezPocAMyqcfax
+ default_pb2.py: QmT2nZidwAd5jkXyx3UWkapUpsiEfjwUr6a8DKboSujokt
dialogues.py: Qmc991snbS7DwFxo1cKcq1rQ2uj7y8ukp14kfe2zve387C
message.py: QmeaadvKib9QqpjZgd7NiDUqGRpC2eZPVpgq1dY3PYacht
serialization.py: QmcRk22hZ49s2HLUNPXBYWTnUkFjuNnVwVWp3yfxfbaQDd
diff --git a/aea/protocols/generator/base.py b/aea/protocols/generator/base.py
index e04094b8bf..e666b99bc7 100644
--- a/aea/protocols/generator/base.py
+++ b/aea/protocols/generator/base.py
@@ -1760,7 +1760,7 @@ def _protocol_buffer_schema_str(self) -> str:
# heading
proto_buff_schema_str = self.indent + 'syntax = "proto3";\n\n'
- proto_buff_schema_str += self.indent + "package fetchai.aea.{}.{};\n\n".format(
+ proto_buff_schema_str += self.indent + "package aea.{}.{};\n\n".format(
self.protocol_specification.author, self.protocol_specification.name
)
proto_buff_schema_str += self.indent + "message {}Message{{\n\n".format(
diff --git a/aea/protocols/signing/protocol.yaml b/aea/protocols/signing/protocol.yaml
index 8f1d1d4d15..00bdb60def 100644
--- a/aea/protocols/signing/protocol.yaml
+++ b/aea/protocols/signing/protocol.yaml
@@ -12,8 +12,8 @@ fingerprint:
dialogues.py: QmQ1WKs3Dn15oDSwpc4N8hdADLxrn76U4X5SiLAmyGiPPY
message.py: QmWMUnBpZxBq1PDZ6JsR9vwaKdywBHvL5hghekWeph8j9B
serialization.py: QmT4wm2vP8QUFYCCaCCNNe4kMGgPCsFqkBTvKJFUYDJC4S
- signing.proto: QmZEfnzAacy2rtbqZrPUqPBECRDbJPg5GDcZUyiSAah8Kt
- signing_pb2.py: QmbZvzqyJWpqttSFwK6wx3gHrrTFiajs2hmFZVsSKFtVZR
+ signing.proto: QmZN9CmcfXCBiMQd9GTG81LadsbVQQ7j5pLFxEiQsQ4Sqk
+ signing_pb2.py: QmYQH8PDeC25ysrxeqh4nNv38bUL7jv9gRhta9gaNiXLL2
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/aea/protocols/signing/signing.proto b/aea/protocols/signing/signing.proto
index 730093bc93..4599cd9321 100644
--- a/aea/protocols/signing/signing.proto
+++ b/aea/protocols/signing/signing.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetchai.aea.fetchai.signing;
+package aea.fetchai.signing;
message SigningMessage{
diff --git a/aea/protocols/signing/signing_pb2.py b/aea/protocols/signing/signing_pb2.py
index 8f83d28cc2..30a7f345d5 100644
--- a/aea/protocols/signing/signing_pb2.py
+++ b/aea/protocols/signing/signing_pb2.py
@@ -16,18 +16,18 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="signing.proto",
- package="fetchai.aea.fetchai.signing",
+ package="aea.fetchai.signing",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\rsigning.proto\x12\x1b\x66\x65tchai.aea.fetchai.signing"\xbc\x0c\n\x0eSigningMessage\x12O\n\x05\x65rror\x18\x05 \x01(\x0b\x32>.fetchai.aea.fetchai.signing.SigningMessage.Error_PerformativeH\x00\x12]\n\x0csign_message\x18\x06 \x01(\x0b\x32\x45.fetchai.aea.fetchai.signing.SigningMessage.Sign_Message_PerformativeH\x00\x12\x65\n\x10sign_transaction\x18\x07 \x01(\x0b\x32I.fetchai.aea.fetchai.signing.SigningMessage.Sign_Transaction_PerformativeH\x00\x12\x61\n\x0esigned_message\x18\x08 \x01(\x0b\x32G.fetchai.aea.fetchai.signing.SigningMessage.Signed_Message_PerformativeH\x00\x12i\n\x12signed_transaction\x18\t \x01(\x0b\x32K.fetchai.aea.fetchai.signing.SigningMessage.Signed_Transaction_PerformativeH\x00\x1a\xbd\x01\n\tErrorCode\x12W\n\nerror_code\x18\x01 \x01(\x0e\x32\x43.fetchai.aea.fetchai.signing.SigningMessage.ErrorCode.ErrorCodeEnum"W\n\rErrorCodeEnum\x12 \n\x1cUNSUCCESSFUL_MESSAGE_SIGNING\x10\x00\x12$\n UNSUCCESSFUL_TRANSACTION_SIGNING\x10\x01\x1a!\n\nRawMessage\x12\x13\n\x0braw_message\x18\x01 \x01(\x0c\x1a)\n\x0eRawTransaction\x12\x17\n\x0fraw_transaction\x18\x01 \x01(\x0c\x1a\'\n\rSignedMessage\x12\x16\n\x0esigned_message\x18\x01 \x01(\x0c\x1a/\n\x11SignedTransaction\x12\x1a\n\x12signed_transaction\x18\x01 \x01(\x0c\x1a\x16\n\x05Terms\x12\r\n\x05terms\x18\x01 \x01(\x0c\x1a\xb6\x01\n\x1dSign_Transaction_Performative\x12@\n\x05terms\x18\x01 \x01(\x0b\x32\x31.fetchai.aea.fetchai.signing.SigningMessage.Terms\x12S\n\x0fraw_transaction\x18\x02 \x01(\x0b\x32:.fetchai.aea.fetchai.signing.SigningMessage.RawTransaction\x1a\xaa\x01\n\x19Sign_Message_Performative\x12@\n\x05terms\x18\x01 \x01(\x0b\x32\x31.fetchai.aea.fetchai.signing.SigningMessage.Terms\x12K\n\x0braw_message\x18\x02 \x01(\x0b\x32\x36.fetchai.aea.fetchai.signing.SigningMessage.RawMessage\x1a|\n\x1fSigned_Transaction_Performative\x12Y\n\x12signed_transaction\x18\x01 \x01(\x0b\x32=.fetchai.aea.fetchai.signing.SigningMessage.SignedTransaction\x1ap\n\x1bSigned_Message_Performative\x12Q\n\x0esigned_message\x18\x01 \x01(\x0b\x32\x39.fetchai.aea.fetchai.signing.SigningMessage.SignedMessage\x1a_\n\x12\x45rror_Performative\x12I\n\nerror_code\x18\x01 \x01(\x0b\x32\x35.fetchai.aea.fetchai.signing.SigningMessage.ErrorCodeB\x0e\n\x0cperformativeb\x06proto3'
+ '\n\rsigning.proto\x12\x13\x61\x65\x61.fetchai.signing"\xd4\x0b\n\x0eSigningMessage\x12G\n\x05\x65rror\x18\x05 \x01(\x0b\x32\x36.aea.fetchai.signing.SigningMessage.Error_PerformativeH\x00\x12U\n\x0csign_message\x18\x06 \x01(\x0b\x32=.aea.fetchai.signing.SigningMessage.Sign_Message_PerformativeH\x00\x12]\n\x10sign_transaction\x18\x07 \x01(\x0b\x32\x41.aea.fetchai.signing.SigningMessage.Sign_Transaction_PerformativeH\x00\x12Y\n\x0esigned_message\x18\x08 \x01(\x0b\x32?.aea.fetchai.signing.SigningMessage.Signed_Message_PerformativeH\x00\x12\x61\n\x12signed_transaction\x18\t \x01(\x0b\x32\x43.aea.fetchai.signing.SigningMessage.Signed_Transaction_PerformativeH\x00\x1a\xb5\x01\n\tErrorCode\x12O\n\nerror_code\x18\x01 \x01(\x0e\x32;.aea.fetchai.signing.SigningMessage.ErrorCode.ErrorCodeEnum"W\n\rErrorCodeEnum\x12 \n\x1cUNSUCCESSFUL_MESSAGE_SIGNING\x10\x00\x12$\n UNSUCCESSFUL_TRANSACTION_SIGNING\x10\x01\x1a!\n\nRawMessage\x12\x13\n\x0braw_message\x18\x01 \x01(\x0c\x1a)\n\x0eRawTransaction\x12\x17\n\x0fraw_transaction\x18\x01 \x01(\x0c\x1a\'\n\rSignedMessage\x12\x16\n\x0esigned_message\x18\x01 \x01(\x0c\x1a/\n\x11SignedTransaction\x12\x1a\n\x12signed_transaction\x18\x01 \x01(\x0c\x1a\x16\n\x05Terms\x12\r\n\x05terms\x18\x01 \x01(\x0c\x1a\xa6\x01\n\x1dSign_Transaction_Performative\x12\x38\n\x05terms\x18\x01 \x01(\x0b\x32).aea.fetchai.signing.SigningMessage.Terms\x12K\n\x0fraw_transaction\x18\x02 \x01(\x0b\x32\x32.aea.fetchai.signing.SigningMessage.RawTransaction\x1a\x9a\x01\n\x19Sign_Message_Performative\x12\x38\n\x05terms\x18\x01 \x01(\x0b\x32).aea.fetchai.signing.SigningMessage.Terms\x12\x43\n\x0braw_message\x18\x02 \x01(\x0b\x32..aea.fetchai.signing.SigningMessage.RawMessage\x1at\n\x1fSigned_Transaction_Performative\x12Q\n\x12signed_transaction\x18\x01 \x01(\x0b\x32\x35.aea.fetchai.signing.SigningMessage.SignedTransaction\x1ah\n\x1bSigned_Message_Performative\x12I\n\x0esigned_message\x18\x01 \x01(\x0b\x32\x31.aea.fetchai.signing.SigningMessage.SignedMessage\x1aW\n\x12\x45rror_Performative\x12\x41\n\nerror_code\x18\x01 \x01(\x0b\x32-.aea.fetchai.signing.SigningMessage.ErrorCodeB\x0e\n\x0cperformativeb\x06proto3'
),
)
_SIGNINGMESSAGE_ERRORCODE_ERRORCODEENUM = _descriptor.EnumDescriptor(
name="ErrorCodeEnum",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.ErrorCode.ErrorCodeEnum",
+ full_name="aea.fetchai.signing.SigningMessage.ErrorCode.ErrorCodeEnum",
filename=None,
file=DESCRIPTOR,
values=[
@@ -48,22 +48,22 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=653,
- serialized_end=740,
+ serialized_start=597,
+ serialized_end=684,
)
_sym_db.RegisterEnumDescriptor(_SIGNINGMESSAGE_ERRORCODE_ERRORCODEENUM)
_SIGNINGMESSAGE_ERRORCODE = _descriptor.Descriptor(
name="ErrorCode",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.ErrorCode",
+ full_name="aea.fetchai.signing.SigningMessage.ErrorCode",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="error_code",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.ErrorCode.error_code",
+ full_name="aea.fetchai.signing.SigningMessage.ErrorCode.error_code",
index=0,
number=1,
type=14,
@@ -88,20 +88,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=551,
- serialized_end=740,
+ serialized_start=503,
+ serialized_end=684,
)
_SIGNINGMESSAGE_RAWMESSAGE = _descriptor.Descriptor(
name="RawMessage",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.RawMessage",
+ full_name="aea.fetchai.signing.SigningMessage.RawMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="raw_message",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.RawMessage.raw_message",
+ full_name="aea.fetchai.signing.SigningMessage.RawMessage.raw_message",
index=0,
number=1,
type=12,
@@ -126,20 +126,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=742,
- serialized_end=775,
+ serialized_start=686,
+ serialized_end=719,
)
_SIGNINGMESSAGE_RAWTRANSACTION = _descriptor.Descriptor(
name="RawTransaction",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.RawTransaction",
+ full_name="aea.fetchai.signing.SigningMessage.RawTransaction",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="raw_transaction",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.RawTransaction.raw_transaction",
+ full_name="aea.fetchai.signing.SigningMessage.RawTransaction.raw_transaction",
index=0,
number=1,
type=12,
@@ -164,20 +164,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=777,
- serialized_end=818,
+ serialized_start=721,
+ serialized_end=762,
)
_SIGNINGMESSAGE_SIGNEDMESSAGE = _descriptor.Descriptor(
name="SignedMessage",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.SignedMessage",
+ full_name="aea.fetchai.signing.SigningMessage.SignedMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="signed_message",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.SignedMessage.signed_message",
+ full_name="aea.fetchai.signing.SigningMessage.SignedMessage.signed_message",
index=0,
number=1,
type=12,
@@ -202,20 +202,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=820,
- serialized_end=859,
+ serialized_start=764,
+ serialized_end=803,
)
_SIGNINGMESSAGE_SIGNEDTRANSACTION = _descriptor.Descriptor(
name="SignedTransaction",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.SignedTransaction",
+ full_name="aea.fetchai.signing.SigningMessage.SignedTransaction",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="signed_transaction",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.SignedTransaction.signed_transaction",
+ full_name="aea.fetchai.signing.SigningMessage.SignedTransaction.signed_transaction",
index=0,
number=1,
type=12,
@@ -240,20 +240,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=861,
- serialized_end=908,
+ serialized_start=805,
+ serialized_end=852,
)
_SIGNINGMESSAGE_TERMS = _descriptor.Descriptor(
name="Terms",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.Terms",
+ full_name="aea.fetchai.signing.SigningMessage.Terms",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.Terms.terms",
+ full_name="aea.fetchai.signing.SigningMessage.Terms.terms",
index=0,
number=1,
type=12,
@@ -278,20 +278,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=910,
- serialized_end=932,
+ serialized_start=854,
+ serialized_end=876,
)
_SIGNINGMESSAGE_SIGN_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Sign_Transaction_Performative",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.Sign_Transaction_Performative",
+ full_name="aea.fetchai.signing.SigningMessage.Sign_Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.Sign_Transaction_Performative.terms",
+ full_name="aea.fetchai.signing.SigningMessage.Sign_Transaction_Performative.terms",
index=0,
number=1,
type=11,
@@ -309,7 +309,7 @@
),
_descriptor.FieldDescriptor(
name="raw_transaction",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.Sign_Transaction_Performative.raw_transaction",
+ full_name="aea.fetchai.signing.SigningMessage.Sign_Transaction_Performative.raw_transaction",
index=1,
number=2,
type=11,
@@ -334,20 +334,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=935,
- serialized_end=1117,
+ serialized_start=879,
+ serialized_end=1045,
)
_SIGNINGMESSAGE_SIGN_MESSAGE_PERFORMATIVE = _descriptor.Descriptor(
name="Sign_Message_Performative",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.Sign_Message_Performative",
+ full_name="aea.fetchai.signing.SigningMessage.Sign_Message_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.Sign_Message_Performative.terms",
+ full_name="aea.fetchai.signing.SigningMessage.Sign_Message_Performative.terms",
index=0,
number=1,
type=11,
@@ -365,7 +365,7 @@
),
_descriptor.FieldDescriptor(
name="raw_message",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.Sign_Message_Performative.raw_message",
+ full_name="aea.fetchai.signing.SigningMessage.Sign_Message_Performative.raw_message",
index=1,
number=2,
type=11,
@@ -390,20 +390,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1120,
- serialized_end=1290,
+ serialized_start=1048,
+ serialized_end=1202,
)
_SIGNINGMESSAGE_SIGNED_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Signed_Transaction_Performative",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.Signed_Transaction_Performative",
+ full_name="aea.fetchai.signing.SigningMessage.Signed_Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="signed_transaction",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.Signed_Transaction_Performative.signed_transaction",
+ full_name="aea.fetchai.signing.SigningMessage.Signed_Transaction_Performative.signed_transaction",
index=0,
number=1,
type=11,
@@ -428,20 +428,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1292,
- serialized_end=1416,
+ serialized_start=1204,
+ serialized_end=1320,
)
_SIGNINGMESSAGE_SIGNED_MESSAGE_PERFORMATIVE = _descriptor.Descriptor(
name="Signed_Message_Performative",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.Signed_Message_Performative",
+ full_name="aea.fetchai.signing.SigningMessage.Signed_Message_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="signed_message",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.Signed_Message_Performative.signed_message",
+ full_name="aea.fetchai.signing.SigningMessage.Signed_Message_Performative.signed_message",
index=0,
number=1,
type=11,
@@ -466,20 +466,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1418,
- serialized_end=1530,
+ serialized_start=1322,
+ serialized_end=1426,
)
_SIGNINGMESSAGE_ERROR_PERFORMATIVE = _descriptor.Descriptor(
name="Error_Performative",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.Error_Performative",
+ full_name="aea.fetchai.signing.SigningMessage.Error_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="error_code",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.Error_Performative.error_code",
+ full_name="aea.fetchai.signing.SigningMessage.Error_Performative.error_code",
index=0,
number=1,
type=11,
@@ -504,20 +504,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1532,
- serialized_end=1627,
+ serialized_start=1428,
+ serialized_end=1515,
)
_SIGNINGMESSAGE = _descriptor.Descriptor(
name="SigningMessage",
- full_name="fetchai.aea.fetchai.signing.SigningMessage",
+ full_name="aea.fetchai.signing.SigningMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="error",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.error",
+ full_name="aea.fetchai.signing.SigningMessage.error",
index=0,
number=5,
type=11,
@@ -535,7 +535,7 @@
),
_descriptor.FieldDescriptor(
name="sign_message",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.sign_message",
+ full_name="aea.fetchai.signing.SigningMessage.sign_message",
index=1,
number=6,
type=11,
@@ -553,7 +553,7 @@
),
_descriptor.FieldDescriptor(
name="sign_transaction",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.sign_transaction",
+ full_name="aea.fetchai.signing.SigningMessage.sign_transaction",
index=2,
number=7,
type=11,
@@ -571,7 +571,7 @@
),
_descriptor.FieldDescriptor(
name="signed_message",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.signed_message",
+ full_name="aea.fetchai.signing.SigningMessage.signed_message",
index=3,
number=8,
type=11,
@@ -589,7 +589,7 @@
),
_descriptor.FieldDescriptor(
name="signed_transaction",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.signed_transaction",
+ full_name="aea.fetchai.signing.SigningMessage.signed_transaction",
index=4,
number=9,
type=11,
@@ -628,14 +628,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetchai.aea.fetchai.signing.SigningMessage.performative",
+ full_name="aea.fetchai.signing.SigningMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=47,
- serialized_end=1643,
+ serialized_start=39,
+ serialized_end=1531,
)
_SIGNINGMESSAGE_ERRORCODE.fields_by_name[
@@ -732,7 +732,7 @@
dict(
DESCRIPTOR=_SIGNINGMESSAGE_ERRORCODE,
__module__="signing_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.ErrorCode)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.signing.SigningMessage.ErrorCode)
),
),
RawMessage=_reflection.GeneratedProtocolMessageType(
@@ -741,7 +741,7 @@
dict(
DESCRIPTOR=_SIGNINGMESSAGE_RAWMESSAGE,
__module__="signing_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.RawMessage)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.signing.SigningMessage.RawMessage)
),
),
RawTransaction=_reflection.GeneratedProtocolMessageType(
@@ -750,7 +750,7 @@
dict(
DESCRIPTOR=_SIGNINGMESSAGE_RAWTRANSACTION,
__module__="signing_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.RawTransaction)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.signing.SigningMessage.RawTransaction)
),
),
SignedMessage=_reflection.GeneratedProtocolMessageType(
@@ -759,7 +759,7 @@
dict(
DESCRIPTOR=_SIGNINGMESSAGE_SIGNEDMESSAGE,
__module__="signing_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.SignedMessage)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.signing.SigningMessage.SignedMessage)
),
),
SignedTransaction=_reflection.GeneratedProtocolMessageType(
@@ -768,7 +768,7 @@
dict(
DESCRIPTOR=_SIGNINGMESSAGE_SIGNEDTRANSACTION,
__module__="signing_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.SignedTransaction)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.signing.SigningMessage.SignedTransaction)
),
),
Terms=_reflection.GeneratedProtocolMessageType(
@@ -777,7 +777,7 @@
dict(
DESCRIPTOR=_SIGNINGMESSAGE_TERMS,
__module__="signing_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.Terms)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.signing.SigningMessage.Terms)
),
),
Sign_Transaction_Performative=_reflection.GeneratedProtocolMessageType(
@@ -786,7 +786,7 @@
dict(
DESCRIPTOR=_SIGNINGMESSAGE_SIGN_TRANSACTION_PERFORMATIVE,
__module__="signing_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.Sign_Transaction_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.signing.SigningMessage.Sign_Transaction_Performative)
),
),
Sign_Message_Performative=_reflection.GeneratedProtocolMessageType(
@@ -795,7 +795,7 @@
dict(
DESCRIPTOR=_SIGNINGMESSAGE_SIGN_MESSAGE_PERFORMATIVE,
__module__="signing_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.Sign_Message_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.signing.SigningMessage.Sign_Message_Performative)
),
),
Signed_Transaction_Performative=_reflection.GeneratedProtocolMessageType(
@@ -804,7 +804,7 @@
dict(
DESCRIPTOR=_SIGNINGMESSAGE_SIGNED_TRANSACTION_PERFORMATIVE,
__module__="signing_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.Signed_Transaction_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.signing.SigningMessage.Signed_Transaction_Performative)
),
),
Signed_Message_Performative=_reflection.GeneratedProtocolMessageType(
@@ -813,7 +813,7 @@
dict(
DESCRIPTOR=_SIGNINGMESSAGE_SIGNED_MESSAGE_PERFORMATIVE,
__module__="signing_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.Signed_Message_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.signing.SigningMessage.Signed_Message_Performative)
),
),
Error_Performative=_reflection.GeneratedProtocolMessageType(
@@ -822,12 +822,12 @@
dict(
DESCRIPTOR=_SIGNINGMESSAGE_ERROR_PERFORMATIVE,
__module__="signing_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage.Error_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.signing.SigningMessage.Error_Performative)
),
),
DESCRIPTOR=_SIGNINGMESSAGE,
__module__="signing_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.signing.SigningMessage)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.signing.SigningMessage)
),
)
_sym_db.RegisterMessage(SigningMessage)
diff --git a/aea/protocols/state_update/protocol.yaml b/aea/protocols/state_update/protocol.yaml
index 7da5c8f6e2..d6858c75bb 100644
--- a/aea/protocols/state_update/protocol.yaml
+++ b/aea/protocols/state_update/protocol.yaml
@@ -11,8 +11,8 @@ fingerprint:
dialogues.py: Qmd59WgpFccLn1zhpLdwm3zDCmCsjSoQXVn6M7PgFwwkgR
message.py: Qmc8mnCC1K7yb1CTY3t1RXbktmg54bZ3nXVqq1KQES8jJf
serialization.py: QmS3Tesi18wvwoxjgC4iiqkdJUMAsYSiz8Vq6oHNzr3kxh
- state_update.proto: QmWZmuScKgykqijC58nrGrHfd2vDUk1mroEpqGt6UPLjDa
- state_update_pb2.py: QmfAy4RWUa3GwsCyEsXK6xJ2jJ2JhbTGRg4wCfrcvviBxS
+ state_update.proto: QmX1YJaiCeEdURVzu8qx5w2gq5gs2V9cy8dJ7jg79poQLs
+ state_update_pb2.py: QmUgSCEzb6gZZBBYyLqMXxZG2Awt8znjQXeHMuX7DDdTpE
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/aea/protocols/state_update/state_update.proto b/aea/protocols/state_update/state_update.proto
index 272d3f22b1..496b5671ba 100644
--- a/aea/protocols/state_update/state_update.proto
+++ b/aea/protocols/state_update/state_update.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetchai.aea.fetchai.state_update;
+package aea.fetchai.state_update;
message StateUpdateMessage{
diff --git a/aea/protocols/state_update/state_update_pb2.py b/aea/protocols/state_update/state_update_pb2.py
index ff4e0e426d..bf7ee7b2e0 100644
--- a/aea/protocols/state_update/state_update_pb2.py
+++ b/aea/protocols/state_update/state_update_pb2.py
@@ -16,25 +16,25 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="state_update.proto",
- package="fetchai.aea.fetchai.state_update",
+ package="aea.fetchai.state_update",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\x12state_update.proto\x12 fetchai.aea.fetchai.state_update"\xb2\x0b\n\x12StateUpdateMessage\x12X\n\x05\x61pply\x18\x05 \x01(\x0b\x32G.fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_PerformativeH\x00\x12\x62\n\ninitialize\x18\x06 \x01(\x0b\x32L.fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_PerformativeH\x00\x1a\xc0\x06\n\x17Initialize_Performative\x12\x94\x01\n\x1e\x65xchange_params_by_currency_id\x18\x01 \x03(\x0b\x32l.fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry\x12\x8a\x01\n\x19utility_params_by_good_id\x18\x02 \x03(\x0b\x32g.fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry\x12\x83\x01\n\x15\x61mount_by_currency_id\x18\x03 \x03(\x0b\x32\x64.fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry\x12\x83\x01\n\x15quantities_by_good_id\x18\x04 \x03(\x0b\x32\x64.fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry\x1a\x41\n\x1f\x45xchangeParamsByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a<\n\x1aUtilityParamsByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x8a\x03\n\x12\x41pply_Performative\x12~\n\x15\x61mount_by_currency_id\x18\x01 \x03(\x0b\x32_.fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry\x12~\n\x15quantities_by_good_id\x18\x02 \x03(\x0b\x32_.fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x42\x0e\n\x0cperformativeb\x06proto3'
+ '\n\x12state_update.proto\x12\x18\x61\x65\x61.fetchai.state_update"\xf0\n\n\x12StateUpdateMessage\x12P\n\x05\x61pply\x18\x05 \x01(\x0b\x32?.aea.fetchai.state_update.StateUpdateMessage.Apply_PerformativeH\x00\x12Z\n\ninitialize\x18\x06 \x01(\x0b\x32\x44.aea.fetchai.state_update.StateUpdateMessage.Initialize_PerformativeH\x00\x1a\x9e\x06\n\x17Initialize_Performative\x12\x8c\x01\n\x1e\x65xchange_params_by_currency_id\x18\x01 \x03(\x0b\x32\x64.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry\x12\x82\x01\n\x19utility_params_by_good_id\x18\x02 \x03(\x0b\x32_.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry\x12{\n\x15\x61mount_by_currency_id\x18\x03 \x03(\x0b\x32\\.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry\x12{\n\x15quantities_by_good_id\x18\x04 \x03(\x0b\x32\\.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry\x1a\x41\n\x1f\x45xchangeParamsByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a<\n\x1aUtilityParamsByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\xfa\x02\n\x12\x41pply_Performative\x12v\n\x15\x61mount_by_currency_id\x18\x01 \x03(\x0b\x32W.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry\x12v\n\x15quantities_by_good_id\x18\x02 \x03(\x0b\x32W.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x42\x0e\n\x0cperformativeb\x06proto3'
),
)
_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_EXCHANGEPARAMSBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="ExchangeParamsByCurrencyIdEntry",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry.key",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
@@ -52,7 +52,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry.value",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry.value",
index=1,
number=2,
type=2,
@@ -77,20 +77,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=857,
- serialized_end=922,
+ serialized_start=799,
+ serialized_end=864,
)
_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_UTILITYPARAMSBYGOODIDENTRY = _descriptor.Descriptor(
name="UtilityParamsByGoodIdEntry",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry.key",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry.key",
index=0,
number=1,
type=9,
@@ -108,7 +108,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry.value",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry.value",
index=1,
number=2,
type=2,
@@ -133,20 +133,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=924,
- serialized_end=984,
+ serialized_start=866,
+ serialized_end=926,
)
_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="AmountByCurrencyIdEntry",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry.key",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
@@ -164,7 +164,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry.value",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry.value",
index=1,
number=2,
type=5,
@@ -189,20 +189,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=986,
- serialized_end=1043,
+ serialized_start=928,
+ serialized_end=985,
)
_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_QUANTITIESBYGOODIDENTRY = _descriptor.Descriptor(
name="QuantitiesByGoodIdEntry",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry.key",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry.key",
index=0,
number=1,
type=9,
@@ -220,7 +220,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry.value",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry.value",
index=1,
number=2,
type=5,
@@ -245,20 +245,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1045,
- serialized_end=1102,
+ serialized_start=987,
+ serialized_end=1044,
)
_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE = _descriptor.Descriptor(
name="Initialize_Performative",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="exchange_params_by_currency_id",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.exchange_params_by_currency_id",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.exchange_params_by_currency_id",
index=0,
number=1,
type=11,
@@ -276,7 +276,7 @@
),
_descriptor.FieldDescriptor(
name="utility_params_by_good_id",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.utility_params_by_good_id",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.utility_params_by_good_id",
index=1,
number=2,
type=11,
@@ -294,7 +294,7 @@
),
_descriptor.FieldDescriptor(
name="amount_by_currency_id",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.amount_by_currency_id",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.amount_by_currency_id",
index=2,
number=3,
type=11,
@@ -312,7 +312,7 @@
),
_descriptor.FieldDescriptor(
name="quantities_by_good_id",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.quantities_by_good_id",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.quantities_by_good_id",
index=3,
number=4,
type=11,
@@ -342,20 +342,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=270,
- serialized_end=1102,
+ serialized_start=246,
+ serialized_end=1044,
)
_STATEUPDATEMESSAGE_APPLY_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="AmountByCurrencyIdEntry",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry.key",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
@@ -373,7 +373,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry.value",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry.value",
index=1,
number=2,
type=5,
@@ -398,20 +398,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=986,
- serialized_end=1043,
+ serialized_start=928,
+ serialized_end=985,
)
_STATEUPDATEMESSAGE_APPLY_PERFORMATIVE_QUANTITIESBYGOODIDENTRY = _descriptor.Descriptor(
name="QuantitiesByGoodIdEntry",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry.key",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry.key",
index=0,
number=1,
type=9,
@@ -429,7 +429,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry.value",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry.value",
index=1,
number=2,
type=5,
@@ -454,20 +454,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1045,
- serialized_end=1102,
+ serialized_start=987,
+ serialized_end=1044,
)
_STATEUPDATEMESSAGE_APPLY_PERFORMATIVE = _descriptor.Descriptor(
name="Apply_Performative",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Apply_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="amount_by_currency_id",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.amount_by_currency_id",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.amount_by_currency_id",
index=0,
number=1,
type=11,
@@ -485,7 +485,7 @@
),
_descriptor.FieldDescriptor(
name="quantities_by_good_id",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.quantities_by_good_id",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.quantities_by_good_id",
index=1,
number=2,
type=11,
@@ -513,20 +513,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1105,
- serialized_end=1499,
+ serialized_start=1047,
+ serialized_end=1425,
)
_STATEUPDATEMESSAGE = _descriptor.Descriptor(
name="StateUpdateMessage",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage",
+ full_name="aea.fetchai.state_update.StateUpdateMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="apply",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.apply",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.apply",
index=0,
number=5,
type=11,
@@ -544,7 +544,7 @@
),
_descriptor.FieldDescriptor(
name="initialize",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.initialize",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.initialize",
index=1,
number=6,
type=11,
@@ -574,14 +574,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetchai.aea.fetchai.state_update.StateUpdateMessage.performative",
+ full_name="aea.fetchai.state_update.StateUpdateMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=57,
- serialized_end=1515,
+ serialized_start=49,
+ serialized_end=1441,
)
_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_EXCHANGEPARAMSBYCURRENCYIDENTRY.containing_type = (
@@ -659,7 +659,7 @@
dict(
DESCRIPTOR=_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_EXCHANGEPARAMSBYCURRENCYIDENTRY,
__module__="state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.ExchangeParamsByCurrencyIdEntry)
),
),
UtilityParamsByGoodIdEntry=_reflection.GeneratedProtocolMessageType(
@@ -668,7 +668,7 @@
dict(
DESCRIPTOR=_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_UTILITYPARAMSBYGOODIDENTRY,
__module__="state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.UtilityParamsByGoodIdEntry)
),
),
AmountByCurrencyIdEntry=_reflection.GeneratedProtocolMessageType(
@@ -677,7 +677,7 @@
dict(
DESCRIPTOR=_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY,
__module__="state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.AmountByCurrencyIdEntry)
),
),
QuantitiesByGoodIdEntry=_reflection.GeneratedProtocolMessageType(
@@ -686,12 +686,12 @@
dict(
DESCRIPTOR=_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE_QUANTITIESBYGOODIDENTRY,
__module__="state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative.QuantitiesByGoodIdEntry)
),
),
DESCRIPTOR=_STATEUPDATEMESSAGE_INITIALIZE_PERFORMATIVE,
__module__="state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.state_update.StateUpdateMessage.Initialize_Performative)
),
),
Apply_Performative=_reflection.GeneratedProtocolMessageType(
@@ -704,7 +704,7 @@
dict(
DESCRIPTOR=_STATEUPDATEMESSAGE_APPLY_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY,
__module__="state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.AmountByCurrencyIdEntry)
),
),
QuantitiesByGoodIdEntry=_reflection.GeneratedProtocolMessageType(
@@ -713,17 +713,17 @@
dict(
DESCRIPTOR=_STATEUPDATEMESSAGE_APPLY_PERFORMATIVE_QUANTITIESBYGOODIDENTRY,
__module__="state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.state_update.StateUpdateMessage.Apply_Performative.QuantitiesByGoodIdEntry)
),
),
DESCRIPTOR=_STATEUPDATEMESSAGE_APPLY_PERFORMATIVE,
__module__="state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage.Apply_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.state_update.StateUpdateMessage.Apply_Performative)
),
),
DESCRIPTOR=_STATEUPDATEMESSAGE,
__module__="state_update_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.state_update.StateUpdateMessage)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.state_update.StateUpdateMessage)
),
)
_sym_db.RegisterMessage(StateUpdateMessage)
diff --git a/packages/fetchai/protocols/contract_api/contract_api.proto b/packages/fetchai/protocols/contract_api/contract_api.proto
index f9047445ce..50c185a574 100644
--- a/packages/fetchai/protocols/contract_api/contract_api.proto
+++ b/packages/fetchai/protocols/contract_api/contract_api.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetchai.aea.fetchai.contract_api;
+package aea.fetchai.contract_api;
message ContractApiMessage{
diff --git a/packages/fetchai/protocols/contract_api/contract_api_pb2.py b/packages/fetchai/protocols/contract_api/contract_api_pb2.py
index 429dcc3ed7..0160b17061 100644
--- a/packages/fetchai/protocols/contract_api/contract_api_pb2.py
+++ b/packages/fetchai/protocols/contract_api/contract_api_pb2.py
@@ -16,25 +16,25 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="contract_api.proto",
- package="fetchai.aea.fetchai.contract_api",
+ package="aea.fetchai.contract_api",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\x12\x63ontract_api.proto\x12 fetchai.aea.fetchai.contract_api"\xa2\x11\n\x12\x43ontractApiMessage\x12X\n\x05\x65rror\x18\x05 \x01(\x0b\x32G.fetchai.aea.fetchai.contract_api.ContractApiMessage.Error_PerformativeH\x00\x12z\n\x16get_deploy_transaction\x18\x06 \x01(\x0b\x32X.fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_PerformativeH\x00\x12l\n\x0fget_raw_message\x18\x07 \x01(\x0b\x32Q.fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_PerformativeH\x00\x12t\n\x13get_raw_transaction\x18\x08 \x01(\x0b\x32U.fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_PerformativeH\x00\x12`\n\tget_state\x18\t \x01(\x0b\x32K.fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_State_PerformativeH\x00\x12\x64\n\x0braw_message\x18\n \x01(\x0b\x32M.fetchai.aea.fetchai.contract_api.ContractApiMessage.Raw_Message_PerformativeH\x00\x12l\n\x0fraw_transaction\x18\x0b \x01(\x0b\x32Q.fetchai.aea.fetchai.contract_api.ContractApiMessage.Raw_Transaction_PerformativeH\x00\x12X\n\x05state\x18\x0c \x01(\x0b\x32G.fetchai.aea.fetchai.contract_api.ContractApiMessage.State_PerformativeH\x00\x1a\x18\n\x06Kwargs\x12\x0e\n\x06kwargs\x18\x01 \x01(\x0c\x1a!\n\nRawMessage\x12\x13\n\x0braw_message\x18\x01 \x01(\x0c\x1a)\n\x0eRawTransaction\x12\x17\n\x0fraw_transaction\x18\x01 \x01(\x0c\x1a\x16\n\x05State\x12\r\n\x05state\x18\x01 \x01(\x0c\x1a\xac\x01\n#Get_Deploy_Transaction_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\t\x12\x10\n\x08\x63\x61llable\x18\x03 \x01(\t\x12K\n\x06kwargs\x18\x04 \x01(\x0b\x32;.fetchai.aea.fetchai.contract_api.ContractApiMessage.Kwargs\x1a\xc3\x01\n Get_Raw_Transaction_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llable\x18\x04 \x01(\t\x12K\n\x06kwargs\x18\x05 \x01(\x0b\x32;.fetchai.aea.fetchai.contract_api.ContractApiMessage.Kwargs\x1a\xbf\x01\n\x1cGet_Raw_Message_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llable\x18\x04 \x01(\t\x12K\n\x06kwargs\x18\x05 \x01(\x0b\x32;.fetchai.aea.fetchai.contract_api.ContractApiMessage.Kwargs\x1a\xb9\x01\n\x16Get_State_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llable\x18\x04 \x01(\t\x12K\n\x06kwargs\x18\x05 \x01(\x0b\x32;.fetchai.aea.fetchai.contract_api.ContractApiMessage.Kwargs\x1a_\n\x12State_Performative\x12I\n\x05state\x18\x01 \x01(\x0b\x32:.fetchai.aea.fetchai.contract_api.ContractApiMessage.State\x1a|\n\x1cRaw_Transaction_Performative\x12\\\n\x0fraw_transaction\x18\x01 \x01(\x0b\x32\x43.fetchai.aea.fetchai.contract_api.ContractApiMessage.RawTransaction\x1ap\n\x18Raw_Message_Performative\x12T\n\x0braw_message\x18\x01 \x01(\x0b\x32?.fetchai.aea.fetchai.contract_api.ContractApiMessage.RawMessage\x1an\n\x12\x45rror_Performative\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x13\n\x0b\x63ode_is_set\x18\x02 \x01(\x08\x12\x0f\n\x07message\x18\x03 \x01(\t\x12\x16\n\x0emessage_is_set\x18\x04 \x01(\x08\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c\x42\x0e\n\x0cperformativeb\x06proto3'
+ '\n\x12\x63ontract_api.proto\x12\x18\x61\x65\x61.fetchai.contract_api"\xaa\x10\n\x12\x43ontractApiMessage\x12P\n\x05\x65rror\x18\x05 \x01(\x0b\x32?.aea.fetchai.contract_api.ContractApiMessage.Error_PerformativeH\x00\x12r\n\x16get_deploy_transaction\x18\x06 \x01(\x0b\x32P.aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_PerformativeH\x00\x12\x64\n\x0fget_raw_message\x18\x07 \x01(\x0b\x32I.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_PerformativeH\x00\x12l\n\x13get_raw_transaction\x18\x08 \x01(\x0b\x32M.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_PerformativeH\x00\x12X\n\tget_state\x18\t \x01(\x0b\x32\x43.aea.fetchai.contract_api.ContractApiMessage.Get_State_PerformativeH\x00\x12\\\n\x0braw_message\x18\n \x01(\x0b\x32\x45.aea.fetchai.contract_api.ContractApiMessage.Raw_Message_PerformativeH\x00\x12\x64\n\x0fraw_transaction\x18\x0b \x01(\x0b\x32I.aea.fetchai.contract_api.ContractApiMessage.Raw_Transaction_PerformativeH\x00\x12P\n\x05state\x18\x0c \x01(\x0b\x32?.aea.fetchai.contract_api.ContractApiMessage.State_PerformativeH\x00\x1a\x18\n\x06Kwargs\x12\x0e\n\x06kwargs\x18\x01 \x01(\x0c\x1a!\n\nRawMessage\x12\x13\n\x0braw_message\x18\x01 \x01(\x0c\x1a)\n\x0eRawTransaction\x12\x17\n\x0fraw_transaction\x18\x01 \x01(\x0c\x1a\x16\n\x05State\x12\r\n\x05state\x18\x01 \x01(\x0c\x1a\xa4\x01\n#Get_Deploy_Transaction_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\t\x12\x10\n\x08\x63\x61llable\x18\x03 \x01(\t\x12\x43\n\x06kwargs\x18\x04 \x01(\x0b\x32\x33.aea.fetchai.contract_api.ContractApiMessage.Kwargs\x1a\xbb\x01\n Get_Raw_Transaction_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llable\x18\x04 \x01(\t\x12\x43\n\x06kwargs\x18\x05 \x01(\x0b\x32\x33.aea.fetchai.contract_api.ContractApiMessage.Kwargs\x1a\xb7\x01\n\x1cGet_Raw_Message_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llable\x18\x04 \x01(\t\x12\x43\n\x06kwargs\x18\x05 \x01(\x0b\x32\x33.aea.fetchai.contract_api.ContractApiMessage.Kwargs\x1a\xb1\x01\n\x16Get_State_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x13\n\x0b\x63ontract_id\x18\x02 \x01(\t\x12\x18\n\x10\x63ontract_address\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61llable\x18\x04 \x01(\t\x12\x43\n\x06kwargs\x18\x05 \x01(\x0b\x32\x33.aea.fetchai.contract_api.ContractApiMessage.Kwargs\x1aW\n\x12State_Performative\x12\x41\n\x05state\x18\x01 \x01(\x0b\x32\x32.aea.fetchai.contract_api.ContractApiMessage.State\x1at\n\x1cRaw_Transaction_Performative\x12T\n\x0fraw_transaction\x18\x01 \x01(\x0b\x32;.aea.fetchai.contract_api.ContractApiMessage.RawTransaction\x1ah\n\x18Raw_Message_Performative\x12L\n\x0braw_message\x18\x01 \x01(\x0b\x32\x37.aea.fetchai.contract_api.ContractApiMessage.RawMessage\x1an\n\x12\x45rror_Performative\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x13\n\x0b\x63ode_is_set\x18\x02 \x01(\x08\x12\x0f\n\x07message\x18\x03 \x01(\t\x12\x16\n\x0emessage_is_set\x18\x04 \x01(\x08\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c\x42\x0e\n\x0cperformativeb\x06proto3'
),
)
_CONTRACTAPIMESSAGE_KWARGS = _descriptor.Descriptor(
name="Kwargs",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Kwargs",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Kwargs",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="kwargs",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Kwargs.kwargs",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Kwargs.kwargs",
index=0,
number=1,
type=12,
@@ -59,20 +59,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=921,
- serialized_end=945,
+ serialized_start=849,
+ serialized_end=873,
)
_CONTRACTAPIMESSAGE_RAWMESSAGE = _descriptor.Descriptor(
name="RawMessage",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.RawMessage",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.RawMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="raw_message",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.RawMessage.raw_message",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.RawMessage.raw_message",
index=0,
number=1,
type=12,
@@ -97,20 +97,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=947,
- serialized_end=980,
+ serialized_start=875,
+ serialized_end=908,
)
_CONTRACTAPIMESSAGE_RAWTRANSACTION = _descriptor.Descriptor(
name="RawTransaction",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.RawTransaction",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.RawTransaction",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="raw_transaction",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.RawTransaction.raw_transaction",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.RawTransaction.raw_transaction",
index=0,
number=1,
type=12,
@@ -135,20 +135,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=982,
- serialized_end=1023,
+ serialized_start=910,
+ serialized_end=951,
)
_CONTRACTAPIMESSAGE_STATE = _descriptor.Descriptor(
name="State",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.State",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.State",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="state",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.State.state",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.State.state",
index=0,
number=1,
type=12,
@@ -173,20 +173,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1025,
- serialized_end=1047,
+ serialized_start=953,
+ serialized_end=975,
)
_CONTRACTAPIMESSAGE_GET_DEPLOY_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Get_Deploy_Transaction_Performative",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="ledger_id",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative.ledger_id",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative.ledger_id",
index=0,
number=1,
type=9,
@@ -204,7 +204,7 @@
),
_descriptor.FieldDescriptor(
name="contract_id",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative.contract_id",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative.contract_id",
index=1,
number=2,
type=9,
@@ -222,7 +222,7 @@
),
_descriptor.FieldDescriptor(
name="callable",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative.callable",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative.callable",
index=2,
number=3,
type=9,
@@ -240,7 +240,7 @@
),
_descriptor.FieldDescriptor(
name="kwargs",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative.kwargs",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative.kwargs",
index=3,
number=4,
type=11,
@@ -265,20 +265,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1050,
- serialized_end=1222,
+ serialized_start=978,
+ serialized_end=1142,
)
_CONTRACTAPIMESSAGE_GET_RAW_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Get_Raw_Transaction_Performative",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="ledger_id",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative.ledger_id",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative.ledger_id",
index=0,
number=1,
type=9,
@@ -296,7 +296,7 @@
),
_descriptor.FieldDescriptor(
name="contract_id",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative.contract_id",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative.contract_id",
index=1,
number=2,
type=9,
@@ -314,7 +314,7 @@
),
_descriptor.FieldDescriptor(
name="contract_address",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative.contract_address",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative.contract_address",
index=2,
number=3,
type=9,
@@ -332,7 +332,7 @@
),
_descriptor.FieldDescriptor(
name="callable",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative.callable",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative.callable",
index=3,
number=4,
type=9,
@@ -350,7 +350,7 @@
),
_descriptor.FieldDescriptor(
name="kwargs",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative.kwargs",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative.kwargs",
index=4,
number=5,
type=11,
@@ -375,20 +375,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1225,
- serialized_end=1420,
+ serialized_start=1145,
+ serialized_end=1332,
)
_CONTRACTAPIMESSAGE_GET_RAW_MESSAGE_PERFORMATIVE = _descriptor.Descriptor(
name="Get_Raw_Message_Performative",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="ledger_id",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative.ledger_id",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative.ledger_id",
index=0,
number=1,
type=9,
@@ -406,7 +406,7 @@
),
_descriptor.FieldDescriptor(
name="contract_id",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative.contract_id",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative.contract_id",
index=1,
number=2,
type=9,
@@ -424,7 +424,7 @@
),
_descriptor.FieldDescriptor(
name="contract_address",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative.contract_address",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative.contract_address",
index=2,
number=3,
type=9,
@@ -442,7 +442,7 @@
),
_descriptor.FieldDescriptor(
name="callable",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative.callable",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative.callable",
index=3,
number=4,
type=9,
@@ -460,7 +460,7 @@
),
_descriptor.FieldDescriptor(
name="kwargs",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative.kwargs",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative.kwargs",
index=4,
number=5,
type=11,
@@ -485,20 +485,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1423,
- serialized_end=1614,
+ serialized_start=1335,
+ serialized_end=1518,
)
_CONTRACTAPIMESSAGE_GET_STATE_PERFORMATIVE = _descriptor.Descriptor(
name="Get_State_Performative",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="ledger_id",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative.ledger_id",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative.ledger_id",
index=0,
number=1,
type=9,
@@ -516,7 +516,7 @@
),
_descriptor.FieldDescriptor(
name="contract_id",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative.contract_id",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative.contract_id",
index=1,
number=2,
type=9,
@@ -534,7 +534,7 @@
),
_descriptor.FieldDescriptor(
name="contract_address",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative.contract_address",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative.contract_address",
index=2,
number=3,
type=9,
@@ -552,7 +552,7 @@
),
_descriptor.FieldDescriptor(
name="callable",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative.callable",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative.callable",
index=3,
number=4,
type=9,
@@ -570,7 +570,7 @@
),
_descriptor.FieldDescriptor(
name="kwargs",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative.kwargs",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative.kwargs",
index=4,
number=5,
type=11,
@@ -595,20 +595,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1617,
- serialized_end=1802,
+ serialized_start=1521,
+ serialized_end=1698,
)
_CONTRACTAPIMESSAGE_STATE_PERFORMATIVE = _descriptor.Descriptor(
name="State_Performative",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.State_Performative",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.State_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="state",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.State_Performative.state",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.State_Performative.state",
index=0,
number=1,
type=11,
@@ -633,20 +633,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1804,
- serialized_end=1899,
+ serialized_start=1700,
+ serialized_end=1787,
)
_CONTRACTAPIMESSAGE_RAW_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Raw_Transaction_Performative",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Raw_Transaction_Performative",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Raw_Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="raw_transaction",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Raw_Transaction_Performative.raw_transaction",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Raw_Transaction_Performative.raw_transaction",
index=0,
number=1,
type=11,
@@ -671,20 +671,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1901,
- serialized_end=2025,
+ serialized_start=1789,
+ serialized_end=1905,
)
_CONTRACTAPIMESSAGE_RAW_MESSAGE_PERFORMATIVE = _descriptor.Descriptor(
name="Raw_Message_Performative",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Raw_Message_Performative",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Raw_Message_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="raw_message",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Raw_Message_Performative.raw_message",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Raw_Message_Performative.raw_message",
index=0,
number=1,
type=11,
@@ -709,20 +709,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=2027,
- serialized_end=2139,
+ serialized_start=1907,
+ serialized_end=2011,
)
_CONTRACTAPIMESSAGE_ERROR_PERFORMATIVE = _descriptor.Descriptor(
name="Error_Performative",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Error_Performative",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Error_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="code",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Error_Performative.code",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Error_Performative.code",
index=0,
number=1,
type=5,
@@ -740,7 +740,7 @@
),
_descriptor.FieldDescriptor(
name="code_is_set",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Error_Performative.code_is_set",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Error_Performative.code_is_set",
index=1,
number=2,
type=8,
@@ -758,7 +758,7 @@
),
_descriptor.FieldDescriptor(
name="message",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Error_Performative.message",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Error_Performative.message",
index=2,
number=3,
type=9,
@@ -776,7 +776,7 @@
),
_descriptor.FieldDescriptor(
name="message_is_set",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Error_Performative.message_is_set",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Error_Performative.message_is_set",
index=3,
number=4,
type=8,
@@ -794,7 +794,7 @@
),
_descriptor.FieldDescriptor(
name="data",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.Error_Performative.data",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.Error_Performative.data",
index=4,
number=5,
type=12,
@@ -819,20 +819,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=2141,
- serialized_end=2251,
+ serialized_start=2013,
+ serialized_end=2123,
)
_CONTRACTAPIMESSAGE = _descriptor.Descriptor(
name="ContractApiMessage",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage",
+ full_name="aea.fetchai.contract_api.ContractApiMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="error",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.error",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.error",
index=0,
number=5,
type=11,
@@ -850,7 +850,7 @@
),
_descriptor.FieldDescriptor(
name="get_deploy_transaction",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.get_deploy_transaction",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.get_deploy_transaction",
index=1,
number=6,
type=11,
@@ -868,7 +868,7 @@
),
_descriptor.FieldDescriptor(
name="get_raw_message",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.get_raw_message",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.get_raw_message",
index=2,
number=7,
type=11,
@@ -886,7 +886,7 @@
),
_descriptor.FieldDescriptor(
name="get_raw_transaction",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.get_raw_transaction",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.get_raw_transaction",
index=3,
number=8,
type=11,
@@ -904,7 +904,7 @@
),
_descriptor.FieldDescriptor(
name="get_state",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.get_state",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.get_state",
index=4,
number=9,
type=11,
@@ -922,7 +922,7 @@
),
_descriptor.FieldDescriptor(
name="raw_message",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.raw_message",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.raw_message",
index=5,
number=10,
type=11,
@@ -940,7 +940,7 @@
),
_descriptor.FieldDescriptor(
name="raw_transaction",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.raw_transaction",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.raw_transaction",
index=6,
number=11,
type=11,
@@ -958,7 +958,7 @@
),
_descriptor.FieldDescriptor(
name="state",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.state",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.state",
index=7,
number=12,
type=11,
@@ -998,14 +998,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetchai.aea.fetchai.contract_api.ContractApiMessage.performative",
+ full_name="aea.fetchai.contract_api.ContractApiMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=57,
- serialized_end=2267,
+ serialized_start=49,
+ serialized_end=2139,
)
_CONTRACTAPIMESSAGE_KWARGS.containing_type = _CONTRACTAPIMESSAGE
@@ -1130,7 +1130,7 @@
dict(
DESCRIPTOR=_CONTRACTAPIMESSAGE_KWARGS,
__module__="contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.Kwargs)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.contract_api.ContractApiMessage.Kwargs)
),
),
RawMessage=_reflection.GeneratedProtocolMessageType(
@@ -1139,7 +1139,7 @@
dict(
DESCRIPTOR=_CONTRACTAPIMESSAGE_RAWMESSAGE,
__module__="contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.RawMessage)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.contract_api.ContractApiMessage.RawMessage)
),
),
RawTransaction=_reflection.GeneratedProtocolMessageType(
@@ -1148,7 +1148,7 @@
dict(
DESCRIPTOR=_CONTRACTAPIMESSAGE_RAWTRANSACTION,
__module__="contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.RawTransaction)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.contract_api.ContractApiMessage.RawTransaction)
),
),
State=_reflection.GeneratedProtocolMessageType(
@@ -1157,7 +1157,7 @@
dict(
DESCRIPTOR=_CONTRACTAPIMESSAGE_STATE,
__module__="contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.State)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.contract_api.ContractApiMessage.State)
),
),
Get_Deploy_Transaction_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1166,7 +1166,7 @@
dict(
DESCRIPTOR=_CONTRACTAPIMESSAGE_GET_DEPLOY_TRANSACTION_PERFORMATIVE,
__module__="contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.contract_api.ContractApiMessage.Get_Deploy_Transaction_Performative)
),
),
Get_Raw_Transaction_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1175,7 +1175,7 @@
dict(
DESCRIPTOR=_CONTRACTAPIMESSAGE_GET_RAW_TRANSACTION_PERFORMATIVE,
__module__="contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Transaction_Performative)
),
),
Get_Raw_Message_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1184,7 +1184,7 @@
dict(
DESCRIPTOR=_CONTRACTAPIMESSAGE_GET_RAW_MESSAGE_PERFORMATIVE,
__module__="contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.contract_api.ContractApiMessage.Get_Raw_Message_Performative)
),
),
Get_State_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1193,7 +1193,7 @@
dict(
DESCRIPTOR=_CONTRACTAPIMESSAGE_GET_STATE_PERFORMATIVE,
__module__="contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.contract_api.ContractApiMessage.Get_State_Performative)
),
),
State_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1202,7 +1202,7 @@
dict(
DESCRIPTOR=_CONTRACTAPIMESSAGE_STATE_PERFORMATIVE,
__module__="contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.State_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.contract_api.ContractApiMessage.State_Performative)
),
),
Raw_Transaction_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1211,7 +1211,7 @@
dict(
DESCRIPTOR=_CONTRACTAPIMESSAGE_RAW_TRANSACTION_PERFORMATIVE,
__module__="contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.Raw_Transaction_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.contract_api.ContractApiMessage.Raw_Transaction_Performative)
),
),
Raw_Message_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1220,7 +1220,7 @@
dict(
DESCRIPTOR=_CONTRACTAPIMESSAGE_RAW_MESSAGE_PERFORMATIVE,
__module__="contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.Raw_Message_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.contract_api.ContractApiMessage.Raw_Message_Performative)
),
),
Error_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1229,12 +1229,12 @@
dict(
DESCRIPTOR=_CONTRACTAPIMESSAGE_ERROR_PERFORMATIVE,
__module__="contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage.Error_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.contract_api.ContractApiMessage.Error_Performative)
),
),
DESCRIPTOR=_CONTRACTAPIMESSAGE,
__module__="contract_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.contract_api.ContractApiMessage)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.contract_api.ContractApiMessage)
),
)
_sym_db.RegisterMessage(ContractApiMessage)
diff --git a/packages/fetchai/protocols/contract_api/protocol.yaml b/packages/fetchai/protocols/contract_api/protocol.yaml
index dfb9fb6ccd..24e537bdb5 100644
--- a/packages/fetchai/protocols/contract_api/protocol.yaml
+++ b/packages/fetchai/protocols/contract_api/protocol.yaml
@@ -8,8 +8,8 @@ aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmZv8BvQ1EqbbsF2QjgwSuAv1EDra5bAZzpSWrztm5Gn1s
__init__.py: QmZodYjNqoMgGAGKfkCU4zU9t1Cx9MAownqSy4wyVdwaHF
- contract_api.proto: QmNMLYVPSUYhA8Aao92Rytk7Ftfc3JVXHCx1b28jXnJUds
- contract_api_pb2.py: QmYUwtxum9CTZheibHguakuGYJCcZcu9Cphy9EwWXQBN2x
+ contract_api.proto: QmSZpXyFMf2MNgVud8iPinaaerx1CManffgHNMx8FcD8jY
+ contract_api_pb2.py: QmeFTJRKNypwVgAs1h97aMr36xE3hjD8Vhqwo5Pf4dtjTy
custom_types.py: Qmd86SMkJeASh8xvpNV9GTq1rGKs7Qjbj97UfbENEbd5AM
dialogues.py: QmTjXH8JUtziUFDawKsSTYE5dxn1n1FmMPeWexyxiPYd6k
message.py: QmfVtxSae81BNSmhcd5qTH6o8BMaRjtYAqfG6sCAH7m1Cu
diff --git a/packages/fetchai/protocols/fipa/fipa.proto b/packages/fetchai/protocols/fipa/fipa.proto
index e5c7d985d3..97ccb3301c 100644
--- a/packages/fetchai/protocols/fipa/fipa.proto
+++ b/packages/fetchai/protocols/fipa/fipa.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetchai.aea.fetchai.fipa;
+package aea.fetchai.fipa;
message FipaMessage{
diff --git a/packages/fetchai/protocols/fipa/fipa_pb2.py b/packages/fetchai/protocols/fipa/fipa_pb2.py
index ba5ed0d17c..932e3308f2 100644
--- a/packages/fetchai/protocols/fipa/fipa_pb2.py
+++ b/packages/fetchai/protocols/fipa/fipa_pb2.py
@@ -16,25 +16,25 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="fipa.proto",
- package="fetchai.aea.fetchai.fipa",
+ package="aea.fetchai.fipa",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\nfipa.proto\x12\x18\x66\x65tchai.aea.fetchai.fipa"\xe2\x0c\n\x0b\x46ipaMessage\x12K\n\x06\x61\x63\x63\x65pt\x18\x05 \x01(\x0b\x32\x39.fetchai.aea.fetchai.fipa.FipaMessage.Accept_PerformativeH\x00\x12]\n\x0f\x61\x63\x63\x65pt_w_inform\x18\x06 \x01(\x0b\x32\x42.fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_PerformativeH\x00\x12\x45\n\x03\x63\x66p\x18\x07 \x01(\x0b\x32\x36.fetchai.aea.fetchai.fipa.FipaMessage.Cfp_PerformativeH\x00\x12M\n\x07\x64\x65\x63line\x18\x08 \x01(\x0b\x32:.fetchai.aea.fetchai.fipa.FipaMessage.Decline_PerformativeH\x00\x12K\n\x06inform\x18\t \x01(\x0b\x32\x39.fetchai.aea.fetchai.fipa.FipaMessage.Inform_PerformativeH\x00\x12W\n\x0cmatch_accept\x18\n \x01(\x0b\x32?.fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_PerformativeH\x00\x12i\n\x15match_accept_w_inform\x18\x0b \x01(\x0b\x32H.fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_PerformativeH\x00\x12M\n\x07propose\x18\x0c \x01(\x0b\x32:.fetchai.aea.fetchai.fipa.FipaMessage.Propose_PerformativeH\x00\x1a"\n\x0b\x44\x65scription\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\x0c\x1a\x8b\x01\n\x05Query\x12\x0f\n\x05\x62ytes\x18\x01 \x01(\x0cH\x00\x12\x46\n\x07nothing\x18\x02 \x01(\x0b\x32\x33.fetchai.aea.fetchai.fipa.FipaMessage.Query.NothingH\x00\x12\x15\n\x0bquery_bytes\x18\x03 \x01(\x0cH\x00\x1a\t\n\x07NothingB\x07\n\x05query\x1aN\n\x10\x43\x66p_Performative\x12:\n\x05query\x18\x01 \x01(\x0b\x32+.fetchai.aea.fetchai.fipa.FipaMessage.Query\x1a[\n\x14Propose_Performative\x12\x43\n\x08proposal\x18\x01 \x01(\x0b\x32\x31.fetchai.aea.fetchai.fipa.FipaMessage.Description\x1a\xa7\x01\n\x1c\x41\x63\x63\x65pt_W_Inform_Performative\x12Z\n\x04info\x18\x01 \x03(\x0b\x32L.fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xb3\x01\n"Match_Accept_W_Inform_Performative\x12`\n\x04info\x18\x01 \x03(\x0b\x32R.fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x95\x01\n\x13Inform_Performative\x12Q\n\x04info\x18\x01 \x03(\x0b\x32\x43.fetchai.aea.fetchai.fipa.FipaMessage.Inform_Performative.InfoEntry\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x15\n\x13\x41\x63\x63\x65pt_Performative\x1a\x16\n\x14\x44\x65\x63line_Performative\x1a\x1b\n\x19Match_Accept_PerformativeB\x0e\n\x0cperformativeb\x06proto3'
+ '\n\nfipa.proto\x12\x10\x61\x65\x61.fetchai.fipa"\xf2\x0b\n\x0b\x46ipaMessage\x12\x43\n\x06\x61\x63\x63\x65pt\x18\x05 \x01(\x0b\x32\x31.aea.fetchai.fipa.FipaMessage.Accept_PerformativeH\x00\x12U\n\x0f\x61\x63\x63\x65pt_w_inform\x18\x06 \x01(\x0b\x32:.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_PerformativeH\x00\x12=\n\x03\x63\x66p\x18\x07 \x01(\x0b\x32..aea.fetchai.fipa.FipaMessage.Cfp_PerformativeH\x00\x12\x45\n\x07\x64\x65\x63line\x18\x08 \x01(\x0b\x32\x32.aea.fetchai.fipa.FipaMessage.Decline_PerformativeH\x00\x12\x43\n\x06inform\x18\t \x01(\x0b\x32\x31.aea.fetchai.fipa.FipaMessage.Inform_PerformativeH\x00\x12O\n\x0cmatch_accept\x18\n \x01(\x0b\x32\x37.aea.fetchai.fipa.FipaMessage.Match_Accept_PerformativeH\x00\x12\x61\n\x15match_accept_w_inform\x18\x0b \x01(\x0b\x32@.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_PerformativeH\x00\x12\x45\n\x07propose\x18\x0c \x01(\x0b\x32\x32.aea.fetchai.fipa.FipaMessage.Propose_PerformativeH\x00\x1a"\n\x0b\x44\x65scription\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\x0c\x1a\x83\x01\n\x05Query\x12\x0f\n\x05\x62ytes\x18\x01 \x01(\x0cH\x00\x12>\n\x07nothing\x18\x02 \x01(\x0b\x32+.aea.fetchai.fipa.FipaMessage.Query.NothingH\x00\x12\x15\n\x0bquery_bytes\x18\x03 \x01(\x0cH\x00\x1a\t\n\x07NothingB\x07\n\x05query\x1a\x46\n\x10\x43\x66p_Performative\x12\x32\n\x05query\x18\x01 \x01(\x0b\x32#.aea.fetchai.fipa.FipaMessage.Query\x1aS\n\x14Propose_Performative\x12;\n\x08proposal\x18\x01 \x01(\x0b\x32).aea.fetchai.fipa.FipaMessage.Description\x1a\x9f\x01\n\x1c\x41\x63\x63\x65pt_W_Inform_Performative\x12R\n\x04info\x18\x01 \x03(\x0b\x32\x44.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xab\x01\n"Match_Accept_W_Inform_Performative\x12X\n\x04info\x18\x01 \x03(\x0b\x32J.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x8d\x01\n\x13Inform_Performative\x12I\n\x04info\x18\x01 \x03(\x0b\x32;.aea.fetchai.fipa.FipaMessage.Inform_Performative.InfoEntry\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x15\n\x13\x41\x63\x63\x65pt_Performative\x1a\x16\n\x14\x44\x65\x63line_Performative\x1a\x1b\n\x19Match_Accept_PerformativeB\x0e\n\x0cperformativeb\x06proto3'
),
)
_FIPAMESSAGE_DESCRIPTION = _descriptor.Descriptor(
name="Description",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Description",
+ full_name="aea.fetchai.fipa.FipaMessage.Description",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="description",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Description.description",
+ full_name="aea.fetchai.fipa.FipaMessage.Description.description",
index=0,
number=1,
type=12,
@@ -59,13 +59,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=730,
- serialized_end=764,
+ serialized_start=658,
+ serialized_end=692,
)
_FIPAMESSAGE_QUERY_NOTHING = _descriptor.Descriptor(
name="Nothing",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Query.Nothing",
+ full_name="aea.fetchai.fipa.FipaMessage.Query.Nothing",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -78,20 +78,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=888,
- serialized_end=897,
+ serialized_start=808,
+ serialized_end=817,
)
_FIPAMESSAGE_QUERY = _descriptor.Descriptor(
name="Query",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Query",
+ full_name="aea.fetchai.fipa.FipaMessage.Query",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="bytes",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Query.bytes",
+ full_name="aea.fetchai.fipa.FipaMessage.Query.bytes",
index=0,
number=1,
type=12,
@@ -109,7 +109,7 @@
),
_descriptor.FieldDescriptor(
name="nothing",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Query.nothing",
+ full_name="aea.fetchai.fipa.FipaMessage.Query.nothing",
index=1,
number=2,
type=11,
@@ -127,7 +127,7 @@
),
_descriptor.FieldDescriptor(
name="query_bytes",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Query.query_bytes",
+ full_name="aea.fetchai.fipa.FipaMessage.Query.query_bytes",
index=2,
number=3,
type=12,
@@ -154,26 +154,26 @@
oneofs=[
_descriptor.OneofDescriptor(
name="query",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Query.query",
+ full_name="aea.fetchai.fipa.FipaMessage.Query.query",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=767,
- serialized_end=906,
+ serialized_start=695,
+ serialized_end=826,
)
_FIPAMESSAGE_CFP_PERFORMATIVE = _descriptor.Descriptor(
name="Cfp_Performative",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Cfp_Performative",
+ full_name="aea.fetchai.fipa.FipaMessage.Cfp_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="query",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Cfp_Performative.query",
+ full_name="aea.fetchai.fipa.FipaMessage.Cfp_Performative.query",
index=0,
number=1,
type=11,
@@ -198,20 +198,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=908,
- serialized_end=986,
+ serialized_start=828,
+ serialized_end=898,
)
_FIPAMESSAGE_PROPOSE_PERFORMATIVE = _descriptor.Descriptor(
name="Propose_Performative",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Propose_Performative",
+ full_name="aea.fetchai.fipa.FipaMessage.Propose_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="proposal",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Propose_Performative.proposal",
+ full_name="aea.fetchai.fipa.FipaMessage.Propose_Performative.proposal",
index=0,
number=1,
type=11,
@@ -236,20 +236,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=988,
- serialized_end=1079,
+ serialized_start=900,
+ serialized_end=983,
)
_FIPAMESSAGE_ACCEPT_W_INFORM_PERFORMATIVE_INFOENTRY = _descriptor.Descriptor(
name="InfoEntry",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry",
+ full_name="aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry.key",
+ full_name="aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry.key",
index=0,
number=1,
type=9,
@@ -267,7 +267,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry.value",
+ full_name="aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry.value",
index=1,
number=2,
type=9,
@@ -292,20 +292,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1206,
- serialized_end=1249,
+ serialized_start=1102,
+ serialized_end=1145,
)
_FIPAMESSAGE_ACCEPT_W_INFORM_PERFORMATIVE = _descriptor.Descriptor(
name="Accept_W_Inform_Performative",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative",
+ full_name="aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="info",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.info",
+ full_name="aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.info",
index=0,
number=1,
type=11,
@@ -330,20 +330,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1082,
- serialized_end=1249,
+ serialized_start=986,
+ serialized_end=1145,
)
_FIPAMESSAGE_MATCH_ACCEPT_W_INFORM_PERFORMATIVE_INFOENTRY = _descriptor.Descriptor(
name="InfoEntry",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry",
+ full_name="aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry.key",
+ full_name="aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry.key",
index=0,
number=1,
type=9,
@@ -361,7 +361,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry.value",
+ full_name="aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry.value",
index=1,
number=2,
type=9,
@@ -386,20 +386,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1206,
- serialized_end=1249,
+ serialized_start=1102,
+ serialized_end=1145,
)
_FIPAMESSAGE_MATCH_ACCEPT_W_INFORM_PERFORMATIVE = _descriptor.Descriptor(
name="Match_Accept_W_Inform_Performative",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative",
+ full_name="aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="info",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.info",
+ full_name="aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.info",
index=0,
number=1,
type=11,
@@ -424,20 +424,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1252,
- serialized_end=1431,
+ serialized_start=1148,
+ serialized_end=1319,
)
_FIPAMESSAGE_INFORM_PERFORMATIVE_INFOENTRY = _descriptor.Descriptor(
name="InfoEntry",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Inform_Performative.InfoEntry",
+ full_name="aea.fetchai.fipa.FipaMessage.Inform_Performative.InfoEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Inform_Performative.InfoEntry.key",
+ full_name="aea.fetchai.fipa.FipaMessage.Inform_Performative.InfoEntry.key",
index=0,
number=1,
type=9,
@@ -455,7 +455,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Inform_Performative.InfoEntry.value",
+ full_name="aea.fetchai.fipa.FipaMessage.Inform_Performative.InfoEntry.value",
index=1,
number=2,
type=9,
@@ -480,20 +480,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1206,
- serialized_end=1249,
+ serialized_start=1102,
+ serialized_end=1145,
)
_FIPAMESSAGE_INFORM_PERFORMATIVE = _descriptor.Descriptor(
name="Inform_Performative",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Inform_Performative",
+ full_name="aea.fetchai.fipa.FipaMessage.Inform_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="info",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Inform_Performative.info",
+ full_name="aea.fetchai.fipa.FipaMessage.Inform_Performative.info",
index=0,
number=1,
type=11,
@@ -518,13 +518,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1434,
- serialized_end=1583,
+ serialized_start=1322,
+ serialized_end=1463,
)
_FIPAMESSAGE_ACCEPT_PERFORMATIVE = _descriptor.Descriptor(
name="Accept_Performative",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Accept_Performative",
+ full_name="aea.fetchai.fipa.FipaMessage.Accept_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -537,13 +537,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1585,
- serialized_end=1606,
+ serialized_start=1465,
+ serialized_end=1486,
)
_FIPAMESSAGE_DECLINE_PERFORMATIVE = _descriptor.Descriptor(
name="Decline_Performative",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Decline_Performative",
+ full_name="aea.fetchai.fipa.FipaMessage.Decline_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -556,13 +556,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1608,
- serialized_end=1630,
+ serialized_start=1488,
+ serialized_end=1510,
)
_FIPAMESSAGE_MATCH_ACCEPT_PERFORMATIVE = _descriptor.Descriptor(
name="Match_Accept_Performative",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_Performative",
+ full_name="aea.fetchai.fipa.FipaMessage.Match_Accept_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -575,20 +575,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1632,
- serialized_end=1659,
+ serialized_start=1512,
+ serialized_end=1539,
)
_FIPAMESSAGE = _descriptor.Descriptor(
name="FipaMessage",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage",
+ full_name="aea.fetchai.fipa.FipaMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="accept",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.accept",
+ full_name="aea.fetchai.fipa.FipaMessage.accept",
index=0,
number=5,
type=11,
@@ -606,7 +606,7 @@
),
_descriptor.FieldDescriptor(
name="accept_w_inform",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.accept_w_inform",
+ full_name="aea.fetchai.fipa.FipaMessage.accept_w_inform",
index=1,
number=6,
type=11,
@@ -624,7 +624,7 @@
),
_descriptor.FieldDescriptor(
name="cfp",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.cfp",
+ full_name="aea.fetchai.fipa.FipaMessage.cfp",
index=2,
number=7,
type=11,
@@ -642,7 +642,7 @@
),
_descriptor.FieldDescriptor(
name="decline",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.decline",
+ full_name="aea.fetchai.fipa.FipaMessage.decline",
index=3,
number=8,
type=11,
@@ -660,7 +660,7 @@
),
_descriptor.FieldDescriptor(
name="inform",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.inform",
+ full_name="aea.fetchai.fipa.FipaMessage.inform",
index=4,
number=9,
type=11,
@@ -678,7 +678,7 @@
),
_descriptor.FieldDescriptor(
name="match_accept",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.match_accept",
+ full_name="aea.fetchai.fipa.FipaMessage.match_accept",
index=5,
number=10,
type=11,
@@ -696,7 +696,7 @@
),
_descriptor.FieldDescriptor(
name="match_accept_w_inform",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.match_accept_w_inform",
+ full_name="aea.fetchai.fipa.FipaMessage.match_accept_w_inform",
index=6,
number=11,
type=11,
@@ -714,7 +714,7 @@
),
_descriptor.FieldDescriptor(
name="propose",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.propose",
+ full_name="aea.fetchai.fipa.FipaMessage.propose",
index=7,
number=12,
type=11,
@@ -752,14 +752,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetchai.aea.fetchai.fipa.FipaMessage.performative",
+ full_name="aea.fetchai.fipa.FipaMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=41,
- serialized_end=1675,
+ serialized_start=33,
+ serialized_end=1555,
)
_FIPAMESSAGE_DESCRIPTION.containing_type = _FIPAMESSAGE
@@ -889,7 +889,7 @@
dict(
DESCRIPTOR=_FIPAMESSAGE_DESCRIPTION,
__module__="fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Description)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.fipa.FipaMessage.Description)
),
),
Query=_reflection.GeneratedProtocolMessageType(
@@ -902,12 +902,12 @@
dict(
DESCRIPTOR=_FIPAMESSAGE_QUERY_NOTHING,
__module__="fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Query.Nothing)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.fipa.FipaMessage.Query.Nothing)
),
),
DESCRIPTOR=_FIPAMESSAGE_QUERY,
__module__="fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Query)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.fipa.FipaMessage.Query)
),
),
Cfp_Performative=_reflection.GeneratedProtocolMessageType(
@@ -916,7 +916,7 @@
dict(
DESCRIPTOR=_FIPAMESSAGE_CFP_PERFORMATIVE,
__module__="fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Cfp_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.fipa.FipaMessage.Cfp_Performative)
),
),
Propose_Performative=_reflection.GeneratedProtocolMessageType(
@@ -925,7 +925,7 @@
dict(
DESCRIPTOR=_FIPAMESSAGE_PROPOSE_PERFORMATIVE,
__module__="fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Propose_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.fipa.FipaMessage.Propose_Performative)
),
),
Accept_W_Inform_Performative=_reflection.GeneratedProtocolMessageType(
@@ -938,12 +938,12 @@
dict(
DESCRIPTOR=_FIPAMESSAGE_ACCEPT_W_INFORM_PERFORMATIVE_INFOENTRY,
__module__="fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative.InfoEntry)
),
),
DESCRIPTOR=_FIPAMESSAGE_ACCEPT_W_INFORM_PERFORMATIVE,
__module__="fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.fipa.FipaMessage.Accept_W_Inform_Performative)
),
),
Match_Accept_W_Inform_Performative=_reflection.GeneratedProtocolMessageType(
@@ -956,12 +956,12 @@
dict(
DESCRIPTOR=_FIPAMESSAGE_MATCH_ACCEPT_W_INFORM_PERFORMATIVE_INFOENTRY,
__module__="fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative.InfoEntry)
),
),
DESCRIPTOR=_FIPAMESSAGE_MATCH_ACCEPT_W_INFORM_PERFORMATIVE,
__module__="fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.fipa.FipaMessage.Match_Accept_W_Inform_Performative)
),
),
Inform_Performative=_reflection.GeneratedProtocolMessageType(
@@ -974,12 +974,12 @@
dict(
DESCRIPTOR=_FIPAMESSAGE_INFORM_PERFORMATIVE_INFOENTRY,
__module__="fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Inform_Performative.InfoEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.fipa.FipaMessage.Inform_Performative.InfoEntry)
),
),
DESCRIPTOR=_FIPAMESSAGE_INFORM_PERFORMATIVE,
__module__="fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Inform_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.fipa.FipaMessage.Inform_Performative)
),
),
Accept_Performative=_reflection.GeneratedProtocolMessageType(
@@ -988,7 +988,7 @@
dict(
DESCRIPTOR=_FIPAMESSAGE_ACCEPT_PERFORMATIVE,
__module__="fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Accept_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.fipa.FipaMessage.Accept_Performative)
),
),
Decline_Performative=_reflection.GeneratedProtocolMessageType(
@@ -997,7 +997,7 @@
dict(
DESCRIPTOR=_FIPAMESSAGE_DECLINE_PERFORMATIVE,
__module__="fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Decline_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.fipa.FipaMessage.Decline_Performative)
),
),
Match_Accept_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1006,12 +1006,12 @@
dict(
DESCRIPTOR=_FIPAMESSAGE_MATCH_ACCEPT_PERFORMATIVE,
__module__="fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage.Match_Accept_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.fipa.FipaMessage.Match_Accept_Performative)
),
),
DESCRIPTOR=_FIPAMESSAGE,
__module__="fipa_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.fipa.FipaMessage)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.fipa.FipaMessage)
),
)
_sym_db.RegisterMessage(FipaMessage)
diff --git a/packages/fetchai/protocols/fipa/protocol.yaml b/packages/fetchai/protocols/fipa/protocol.yaml
index 2615c78643..7eaa050db2 100644
--- a/packages/fetchai/protocols/fipa/protocol.yaml
+++ b/packages/fetchai/protocols/fipa/protocol.yaml
@@ -10,8 +10,8 @@ fingerprint:
__init__.py: QmZuv8RGegxunYaJ7sHLwj2oLLCFCAGF139b8DxEY68MRT
custom_types.py: Qmb7bzEUAW74ZeSFqL7sTccNCjudStV63K4CFNZtibKUHB
dialogues.py: QmWaciW35ZTVeTeLWeyp3hjehKkWB5ZY7Di8N8cDH8Mjwb
- fipa.proto: QmR1zwvMyS9D45aHkvqzhZ8TdKTzH5EjTfRbfr48pyqCmC
- fipa_pb2.py: QmQoAM6ax2c9z6Dt6m4dDvEoW5p2B1CpJ45prTDjjYzttM
+ fipa.proto: Qmb19ojU7i5jUaRbURtnRSWQ6ENGniYuM3WtpRm6UYfpkU
+ fipa_pb2.py: QmTifDW1WQAgJevykfCQME5u3qQG5x74JMoLz1KYMTrfcU
message.py: QmbFtigdnmqqmKZMTxjmk6JQJtcyhVY9a4mpEEcHmFJd24
serialization.py: QmccPH6KqD3DhZr778GW1iGaFXJgDacCjMPuqostvkqEaG
fingerprint_ignore_patterns: []
diff --git a/packages/fetchai/protocols/gym/gym.proto b/packages/fetchai/protocols/gym/gym.proto
index d42a70171f..b173366975 100644
--- a/packages/fetchai/protocols/gym/gym.proto
+++ b/packages/fetchai/protocols/gym/gym.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetchai.aea.fetchai.gym;
+package aea.fetchai.gym;
message GymMessage{
diff --git a/packages/fetchai/protocols/gym/gym_pb2.py b/packages/fetchai/protocols/gym/gym_pb2.py
index b7a30fdc66..f69f216a2f 100644
--- a/packages/fetchai/protocols/gym/gym_pb2.py
+++ b/packages/fetchai/protocols/gym/gym_pb2.py
@@ -16,25 +16,25 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="gym.proto",
- package="fetchai.aea.fetchai.gym",
+ package="aea.fetchai.gym",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\tgym.proto\x12\x17\x66\x65tchai.aea.fetchai.gym"\x9d\x07\n\nGymMessage\x12\x43\n\x03\x61\x63t\x18\x05 \x01(\x0b\x32\x34.fetchai.aea.fetchai.gym.GymMessage.Act_PerformativeH\x00\x12G\n\x05\x63lose\x18\x06 \x01(\x0b\x32\x36.fetchai.aea.fetchai.gym.GymMessage.Close_PerformativeH\x00\x12K\n\x07percept\x18\x07 \x01(\x0b\x32\x38.fetchai.aea.fetchai.gym.GymMessage.Percept_PerformativeH\x00\x12G\n\x05reset\x18\x08 \x01(\x0b\x32\x36.fetchai.aea.fetchai.gym.GymMessage.Reset_PerformativeH\x00\x12I\n\x06status\x18\t \x01(\x0b\x32\x37.fetchai.aea.fetchai.gym.GymMessage.Status_PerformativeH\x00\x1a\x18\n\tAnyObject\x12\x0b\n\x03\x61ny\x18\x01 \x01(\x0c\x1a\x62\n\x10\x41\x63t_Performative\x12=\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32-.fetchai.aea.fetchai.gym.GymMessage.AnyObject\x12\x0f\n\x07step_id\x18\x02 \x01(\x05\x1a\xc6\x01\n\x14Percept_Performative\x12\x0f\n\x07step_id\x18\x01 \x01(\x05\x12\x42\n\x0bobservation\x18\x02 \x01(\x0b\x32-.fetchai.aea.fetchai.gym.GymMessage.AnyObject\x12\x0e\n\x06reward\x18\x03 \x01(\x02\x12\x0c\n\x04\x64one\x18\x04 \x01(\x08\x12;\n\x04info\x18\x05 \x01(\x0b\x32-.fetchai.aea.fetchai.gym.GymMessage.AnyObject\x1a\x9c\x01\n\x13Status_Performative\x12U\n\x07\x63ontent\x18\x01 \x03(\x0b\x32\x44.fetchai.aea.fetchai.gym.GymMessage.Status_Performative.ContentEntry\x1a.\n\x0c\x43ontentEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x14\n\x12Reset_Performative\x1a\x14\n\x12\x43lose_PerformativeB\x0e\n\x0cperformativeb\x06proto3'
+ '\n\tgym.proto\x12\x0f\x61\x65\x61.fetchai.gym"\xd5\x06\n\nGymMessage\x12;\n\x03\x61\x63t\x18\x05 \x01(\x0b\x32,.aea.fetchai.gym.GymMessage.Act_PerformativeH\x00\x12?\n\x05\x63lose\x18\x06 \x01(\x0b\x32..aea.fetchai.gym.GymMessage.Close_PerformativeH\x00\x12\x43\n\x07percept\x18\x07 \x01(\x0b\x32\x30.aea.fetchai.gym.GymMessage.Percept_PerformativeH\x00\x12?\n\x05reset\x18\x08 \x01(\x0b\x32..aea.fetchai.gym.GymMessage.Reset_PerformativeH\x00\x12\x41\n\x06status\x18\t \x01(\x0b\x32/.aea.fetchai.gym.GymMessage.Status_PerformativeH\x00\x1a\x18\n\tAnyObject\x12\x0b\n\x03\x61ny\x18\x01 \x01(\x0c\x1aZ\n\x10\x41\x63t_Performative\x12\x35\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32%.aea.fetchai.gym.GymMessage.AnyObject\x12\x0f\n\x07step_id\x18\x02 \x01(\x05\x1a\xb6\x01\n\x14Percept_Performative\x12\x0f\n\x07step_id\x18\x01 \x01(\x05\x12:\n\x0bobservation\x18\x02 \x01(\x0b\x32%.aea.fetchai.gym.GymMessage.AnyObject\x12\x0e\n\x06reward\x18\x03 \x01(\x02\x12\x0c\n\x04\x64one\x18\x04 \x01(\x08\x12\x33\n\x04info\x18\x05 \x01(\x0b\x32%.aea.fetchai.gym.GymMessage.AnyObject\x1a\x94\x01\n\x13Status_Performative\x12M\n\x07\x63ontent\x18\x01 \x03(\x0b\x32<.aea.fetchai.gym.GymMessage.Status_Performative.ContentEntry\x1a.\n\x0c\x43ontentEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x14\n\x12Reset_Performative\x1a\x14\n\x12\x43lose_PerformativeB\x0e\n\x0cperformativeb\x06proto3'
),
)
_GYMMESSAGE_ANYOBJECT = _descriptor.Descriptor(
name="AnyObject",
- full_name="fetchai.aea.fetchai.gym.GymMessage.AnyObject",
+ full_name="aea.fetchai.gym.GymMessage.AnyObject",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="any",
- full_name="fetchai.aea.fetchai.gym.GymMessage.AnyObject.any",
+ full_name="aea.fetchai.gym.GymMessage.AnyObject.any",
index=0,
number=1,
type=12,
@@ -59,20 +59,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=420,
- serialized_end=444,
+ serialized_start=372,
+ serialized_end=396,
)
_GYMMESSAGE_ACT_PERFORMATIVE = _descriptor.Descriptor(
name="Act_Performative",
- full_name="fetchai.aea.fetchai.gym.GymMessage.Act_Performative",
+ full_name="aea.fetchai.gym.GymMessage.Act_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="action",
- full_name="fetchai.aea.fetchai.gym.GymMessage.Act_Performative.action",
+ full_name="aea.fetchai.gym.GymMessage.Act_Performative.action",
index=0,
number=1,
type=11,
@@ -90,7 +90,7 @@
),
_descriptor.FieldDescriptor(
name="step_id",
- full_name="fetchai.aea.fetchai.gym.GymMessage.Act_Performative.step_id",
+ full_name="aea.fetchai.gym.GymMessage.Act_Performative.step_id",
index=1,
number=2,
type=5,
@@ -115,20 +115,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=446,
- serialized_end=544,
+ serialized_start=398,
+ serialized_end=488,
)
_GYMMESSAGE_PERCEPT_PERFORMATIVE = _descriptor.Descriptor(
name="Percept_Performative",
- full_name="fetchai.aea.fetchai.gym.GymMessage.Percept_Performative",
+ full_name="aea.fetchai.gym.GymMessage.Percept_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="step_id",
- full_name="fetchai.aea.fetchai.gym.GymMessage.Percept_Performative.step_id",
+ full_name="aea.fetchai.gym.GymMessage.Percept_Performative.step_id",
index=0,
number=1,
type=5,
@@ -146,7 +146,7 @@
),
_descriptor.FieldDescriptor(
name="observation",
- full_name="fetchai.aea.fetchai.gym.GymMessage.Percept_Performative.observation",
+ full_name="aea.fetchai.gym.GymMessage.Percept_Performative.observation",
index=1,
number=2,
type=11,
@@ -164,7 +164,7 @@
),
_descriptor.FieldDescriptor(
name="reward",
- full_name="fetchai.aea.fetchai.gym.GymMessage.Percept_Performative.reward",
+ full_name="aea.fetchai.gym.GymMessage.Percept_Performative.reward",
index=2,
number=3,
type=2,
@@ -182,7 +182,7 @@
),
_descriptor.FieldDescriptor(
name="done",
- full_name="fetchai.aea.fetchai.gym.GymMessage.Percept_Performative.done",
+ full_name="aea.fetchai.gym.GymMessage.Percept_Performative.done",
index=3,
number=4,
type=8,
@@ -200,7 +200,7 @@
),
_descriptor.FieldDescriptor(
name="info",
- full_name="fetchai.aea.fetchai.gym.GymMessage.Percept_Performative.info",
+ full_name="aea.fetchai.gym.GymMessage.Percept_Performative.info",
index=4,
number=5,
type=11,
@@ -225,20 +225,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=547,
- serialized_end=745,
+ serialized_start=491,
+ serialized_end=673,
)
_GYMMESSAGE_STATUS_PERFORMATIVE_CONTENTENTRY = _descriptor.Descriptor(
name="ContentEntry",
- full_name="fetchai.aea.fetchai.gym.GymMessage.Status_Performative.ContentEntry",
+ full_name="aea.fetchai.gym.GymMessage.Status_Performative.ContentEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.gym.GymMessage.Status_Performative.ContentEntry.key",
+ full_name="aea.fetchai.gym.GymMessage.Status_Performative.ContentEntry.key",
index=0,
number=1,
type=9,
@@ -256,7 +256,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.gym.GymMessage.Status_Performative.ContentEntry.value",
+ full_name="aea.fetchai.gym.GymMessage.Status_Performative.ContentEntry.value",
index=1,
number=2,
type=9,
@@ -281,20 +281,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=858,
- serialized_end=904,
+ serialized_start=778,
+ serialized_end=824,
)
_GYMMESSAGE_STATUS_PERFORMATIVE = _descriptor.Descriptor(
name="Status_Performative",
- full_name="fetchai.aea.fetchai.gym.GymMessage.Status_Performative",
+ full_name="aea.fetchai.gym.GymMessage.Status_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content",
- full_name="fetchai.aea.fetchai.gym.GymMessage.Status_Performative.content",
+ full_name="aea.fetchai.gym.GymMessage.Status_Performative.content",
index=0,
number=1,
type=11,
@@ -319,13 +319,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=748,
- serialized_end=904,
+ serialized_start=676,
+ serialized_end=824,
)
_GYMMESSAGE_RESET_PERFORMATIVE = _descriptor.Descriptor(
name="Reset_Performative",
- full_name="fetchai.aea.fetchai.gym.GymMessage.Reset_Performative",
+ full_name="aea.fetchai.gym.GymMessage.Reset_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -338,13 +338,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=906,
- serialized_end=926,
+ serialized_start=826,
+ serialized_end=846,
)
_GYMMESSAGE_CLOSE_PERFORMATIVE = _descriptor.Descriptor(
name="Close_Performative",
- full_name="fetchai.aea.fetchai.gym.GymMessage.Close_Performative",
+ full_name="aea.fetchai.gym.GymMessage.Close_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -357,20 +357,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=928,
- serialized_end=948,
+ serialized_start=848,
+ serialized_end=868,
)
_GYMMESSAGE = _descriptor.Descriptor(
name="GymMessage",
- full_name="fetchai.aea.fetchai.gym.GymMessage",
+ full_name="aea.fetchai.gym.GymMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="act",
- full_name="fetchai.aea.fetchai.gym.GymMessage.act",
+ full_name="aea.fetchai.gym.GymMessage.act",
index=0,
number=5,
type=11,
@@ -388,7 +388,7 @@
),
_descriptor.FieldDescriptor(
name="close",
- full_name="fetchai.aea.fetchai.gym.GymMessage.close",
+ full_name="aea.fetchai.gym.GymMessage.close",
index=1,
number=6,
type=11,
@@ -406,7 +406,7 @@
),
_descriptor.FieldDescriptor(
name="percept",
- full_name="fetchai.aea.fetchai.gym.GymMessage.percept",
+ full_name="aea.fetchai.gym.GymMessage.percept",
index=2,
number=7,
type=11,
@@ -424,7 +424,7 @@
),
_descriptor.FieldDescriptor(
name="reset",
- full_name="fetchai.aea.fetchai.gym.GymMessage.reset",
+ full_name="aea.fetchai.gym.GymMessage.reset",
index=3,
number=8,
type=11,
@@ -442,7 +442,7 @@
),
_descriptor.FieldDescriptor(
name="status",
- full_name="fetchai.aea.fetchai.gym.GymMessage.status",
+ full_name="aea.fetchai.gym.GymMessage.status",
index=4,
number=9,
type=11,
@@ -476,14 +476,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetchai.aea.fetchai.gym.GymMessage.performative",
+ full_name="aea.fetchai.gym.GymMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=39,
- serialized_end=964,
+ serialized_start=31,
+ serialized_end=884,
)
_GYMMESSAGE_ANYOBJECT.containing_type = _GYMMESSAGE
@@ -555,7 +555,7 @@
dict(
DESCRIPTOR=_GYMMESSAGE_ANYOBJECT,
__module__="gym_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.gym.GymMessage.AnyObject)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.gym.GymMessage.AnyObject)
),
),
Act_Performative=_reflection.GeneratedProtocolMessageType(
@@ -564,7 +564,7 @@
dict(
DESCRIPTOR=_GYMMESSAGE_ACT_PERFORMATIVE,
__module__="gym_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.gym.GymMessage.Act_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.gym.GymMessage.Act_Performative)
),
),
Percept_Performative=_reflection.GeneratedProtocolMessageType(
@@ -573,7 +573,7 @@
dict(
DESCRIPTOR=_GYMMESSAGE_PERCEPT_PERFORMATIVE,
__module__="gym_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.gym.GymMessage.Percept_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.gym.GymMessage.Percept_Performative)
),
),
Status_Performative=_reflection.GeneratedProtocolMessageType(
@@ -586,12 +586,12 @@
dict(
DESCRIPTOR=_GYMMESSAGE_STATUS_PERFORMATIVE_CONTENTENTRY,
__module__="gym_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.gym.GymMessage.Status_Performative.ContentEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.gym.GymMessage.Status_Performative.ContentEntry)
),
),
DESCRIPTOR=_GYMMESSAGE_STATUS_PERFORMATIVE,
__module__="gym_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.gym.GymMessage.Status_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.gym.GymMessage.Status_Performative)
),
),
Reset_Performative=_reflection.GeneratedProtocolMessageType(
@@ -600,7 +600,7 @@
dict(
DESCRIPTOR=_GYMMESSAGE_RESET_PERFORMATIVE,
__module__="gym_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.gym.GymMessage.Reset_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.gym.GymMessage.Reset_Performative)
),
),
Close_Performative=_reflection.GeneratedProtocolMessageType(
@@ -609,12 +609,12 @@
dict(
DESCRIPTOR=_GYMMESSAGE_CLOSE_PERFORMATIVE,
__module__="gym_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.gym.GymMessage.Close_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.gym.GymMessage.Close_Performative)
),
),
DESCRIPTOR=_GYMMESSAGE,
__module__="gym_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.gym.GymMessage)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.gym.GymMessage)
),
)
_sym_db.RegisterMessage(GymMessage)
diff --git a/packages/fetchai/protocols/gym/protocol.yaml b/packages/fetchai/protocols/gym/protocol.yaml
index 067c9b24de..cef4cd1cc8 100644
--- a/packages/fetchai/protocols/gym/protocol.yaml
+++ b/packages/fetchai/protocols/gym/protocol.yaml
@@ -10,8 +10,8 @@ fingerprint:
__init__.py: QmWBvruqGuU2BVCq8cuP1S3mgvuC78yrG4TdtSvKhCT8qX
custom_types.py: QmfDaswopanUqsETQXMatKfwwDSSo7q2Edz9MXGimT5jbf
dialogues.py: QmdCzcFfyPF43U2SoxwshG5p4hd6dK49m6GYKduDHbnNPo
- gym.proto: QmeYNsnWj9yYLiMyJqTBFPw9o2TUVDBo8WfyaDcY8D87EF
- gym_pb2.py: QmVW25q9Yhb1SG1HgpLMhWpYXBHkHsGq481gpR3gx8xcZG
+ gym.proto: QmbrGMjAwLXxg4vZTTsdNkbsudhJbSbvkG2mag9RP6ejEg
+ gym_pb2.py: QmQmbRXAdHQGF4oWk27deqHhMYqmUWviLrAkvnGAVAXpeE
message.py: Qmc4wx56DVaSpLe6h7KSUBmxEWoHVFFAQQB4mpympggcTG
serialization.py: QmSxsJYMNbowsrCeY5s14FbT8J1XJf2LkPDaGv7ZP5ea4e
fingerprint_ignore_patterns: []
diff --git a/packages/fetchai/protocols/http/http.proto b/packages/fetchai/protocols/http/http.proto
index e8f34e6267..fd13372c6c 100644
--- a/packages/fetchai/protocols/http/http.proto
+++ b/packages/fetchai/protocols/http/http.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetchai.aea.fetchai.http;
+package aea.fetchai.http;
message HttpMessage{
diff --git a/packages/fetchai/protocols/http/http_pb2.py b/packages/fetchai/protocols/http/http_pb2.py
index da8ac345d1..68159db4e6 100644
--- a/packages/fetchai/protocols/http/http_pb2.py
+++ b/packages/fetchai/protocols/http/http_pb2.py
@@ -16,25 +16,25 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="http.proto",
- package="fetchai.aea.fetchai.http",
+ package="aea.fetchai.http",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\nhttp.proto\x12\x18\x66\x65tchai.aea.fetchai.http"\x97\x03\n\x0bHttpMessage\x12M\n\x07request\x18\x05 \x01(\x0b\x32:.fetchai.aea.fetchai.http.HttpMessage.Request_PerformativeH\x00\x12O\n\x08response\x18\x06 \x01(\x0b\x32;.fetchai.aea.fetchai.http.HttpMessage.Response_PerformativeH\x00\x1a\x64\n\x14Request_Performative\x12\x0e\n\x06method\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x0f\n\x07headers\x18\x04 \x01(\t\x12\r\n\x05\x62odyy\x18\x05 \x01(\x0c\x1ar\n\x15Response_Performative\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x13\n\x0bstatus_code\x18\x02 \x01(\x05\x12\x13\n\x0bstatus_text\x18\x03 \x01(\t\x12\x0f\n\x07headers\x18\x04 \x01(\t\x12\r\n\x05\x62odyy\x18\x05 \x01(\x0c\x42\x0e\n\x0cperformativeb\x06proto3'
+ '\n\nhttp.proto\x12\x10\x61\x65\x61.fetchai.http"\x87\x03\n\x0bHttpMessage\x12\x45\n\x07request\x18\x05 \x01(\x0b\x32\x32.aea.fetchai.http.HttpMessage.Request_PerformativeH\x00\x12G\n\x08response\x18\x06 \x01(\x0b\x32\x33.aea.fetchai.http.HttpMessage.Response_PerformativeH\x00\x1a\x64\n\x14Request_Performative\x12\x0e\n\x06method\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x0f\n\x07headers\x18\x04 \x01(\t\x12\r\n\x05\x62odyy\x18\x05 \x01(\x0c\x1ar\n\x15Response_Performative\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x13\n\x0bstatus_code\x18\x02 \x01(\x05\x12\x13\n\x0bstatus_text\x18\x03 \x01(\t\x12\x0f\n\x07headers\x18\x04 \x01(\t\x12\r\n\x05\x62odyy\x18\x05 \x01(\x0c\x42\x0e\n\x0cperformativeb\x06proto3'
),
)
_HTTPMESSAGE_REQUEST_PERFORMATIVE = _descriptor.Descriptor(
name="Request_Performative",
- full_name="fetchai.aea.fetchai.http.HttpMessage.Request_Performative",
+ full_name="aea.fetchai.http.HttpMessage.Request_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="method",
- full_name="fetchai.aea.fetchai.http.HttpMessage.Request_Performative.method",
+ full_name="aea.fetchai.http.HttpMessage.Request_Performative.method",
index=0,
number=1,
type=9,
@@ -52,7 +52,7 @@
),
_descriptor.FieldDescriptor(
name="url",
- full_name="fetchai.aea.fetchai.http.HttpMessage.Request_Performative.url",
+ full_name="aea.fetchai.http.HttpMessage.Request_Performative.url",
index=1,
number=2,
type=9,
@@ -70,7 +70,7 @@
),
_descriptor.FieldDescriptor(
name="version",
- full_name="fetchai.aea.fetchai.http.HttpMessage.Request_Performative.version",
+ full_name="aea.fetchai.http.HttpMessage.Request_Performative.version",
index=2,
number=3,
type=9,
@@ -88,7 +88,7 @@
),
_descriptor.FieldDescriptor(
name="headers",
- full_name="fetchai.aea.fetchai.http.HttpMessage.Request_Performative.headers",
+ full_name="aea.fetchai.http.HttpMessage.Request_Performative.headers",
index=3,
number=4,
type=9,
@@ -106,7 +106,7 @@
),
_descriptor.FieldDescriptor(
name="bodyy",
- full_name="fetchai.aea.fetchai.http.HttpMessage.Request_Performative.bodyy",
+ full_name="aea.fetchai.http.HttpMessage.Request_Performative.bodyy",
index=4,
number=5,
type=12,
@@ -131,20 +131,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=216,
- serialized_end=316,
+ serialized_start=192,
+ serialized_end=292,
)
_HTTPMESSAGE_RESPONSE_PERFORMATIVE = _descriptor.Descriptor(
name="Response_Performative",
- full_name="fetchai.aea.fetchai.http.HttpMessage.Response_Performative",
+ full_name="aea.fetchai.http.HttpMessage.Response_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="version",
- full_name="fetchai.aea.fetchai.http.HttpMessage.Response_Performative.version",
+ full_name="aea.fetchai.http.HttpMessage.Response_Performative.version",
index=0,
number=1,
type=9,
@@ -162,7 +162,7 @@
),
_descriptor.FieldDescriptor(
name="status_code",
- full_name="fetchai.aea.fetchai.http.HttpMessage.Response_Performative.status_code",
+ full_name="aea.fetchai.http.HttpMessage.Response_Performative.status_code",
index=1,
number=2,
type=5,
@@ -180,7 +180,7 @@
),
_descriptor.FieldDescriptor(
name="status_text",
- full_name="fetchai.aea.fetchai.http.HttpMessage.Response_Performative.status_text",
+ full_name="aea.fetchai.http.HttpMessage.Response_Performative.status_text",
index=2,
number=3,
type=9,
@@ -198,7 +198,7 @@
),
_descriptor.FieldDescriptor(
name="headers",
- full_name="fetchai.aea.fetchai.http.HttpMessage.Response_Performative.headers",
+ full_name="aea.fetchai.http.HttpMessage.Response_Performative.headers",
index=3,
number=4,
type=9,
@@ -216,7 +216,7 @@
),
_descriptor.FieldDescriptor(
name="bodyy",
- full_name="fetchai.aea.fetchai.http.HttpMessage.Response_Performative.bodyy",
+ full_name="aea.fetchai.http.HttpMessage.Response_Performative.bodyy",
index=4,
number=5,
type=12,
@@ -241,20 +241,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=318,
- serialized_end=432,
+ serialized_start=294,
+ serialized_end=408,
)
_HTTPMESSAGE = _descriptor.Descriptor(
name="HttpMessage",
- full_name="fetchai.aea.fetchai.http.HttpMessage",
+ full_name="aea.fetchai.http.HttpMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="request",
- full_name="fetchai.aea.fetchai.http.HttpMessage.request",
+ full_name="aea.fetchai.http.HttpMessage.request",
index=0,
number=5,
type=11,
@@ -272,7 +272,7 @@
),
_descriptor.FieldDescriptor(
name="response",
- full_name="fetchai.aea.fetchai.http.HttpMessage.response",
+ full_name="aea.fetchai.http.HttpMessage.response",
index=1,
number=6,
type=11,
@@ -302,14 +302,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetchai.aea.fetchai.http.HttpMessage.performative",
+ full_name="aea.fetchai.http.HttpMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=41,
- serialized_end=448,
+ serialized_start=33,
+ serialized_end=424,
)
_HTTPMESSAGE_REQUEST_PERFORMATIVE.containing_type = _HTTPMESSAGE
@@ -343,7 +343,7 @@
dict(
DESCRIPTOR=_HTTPMESSAGE_REQUEST_PERFORMATIVE,
__module__="http_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.http.HttpMessage.Request_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.http.HttpMessage.Request_Performative)
),
),
Response_Performative=_reflection.GeneratedProtocolMessageType(
@@ -352,12 +352,12 @@
dict(
DESCRIPTOR=_HTTPMESSAGE_RESPONSE_PERFORMATIVE,
__module__="http_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.http.HttpMessage.Response_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.http.HttpMessage.Response_Performative)
),
),
DESCRIPTOR=_HTTPMESSAGE,
__module__="http_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.http.HttpMessage)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.http.HttpMessage)
),
)
_sym_db.RegisterMessage(HttpMessage)
diff --git a/packages/fetchai/protocols/http/protocol.yaml b/packages/fetchai/protocols/http/protocol.yaml
index cf2b6b3798..7f67fbe894 100644
--- a/packages/fetchai/protocols/http/protocol.yaml
+++ b/packages/fetchai/protocols/http/protocol.yaml
@@ -9,8 +9,8 @@ fingerprint:
README.md: QmY7fxhyNBgwU7uc6LKtCN4aSQ4bym5BwqtwRAfwPokULN
__init__.py: QmRWie4QPiFJE8nK4fFJ6prqoG3u36cPo7st5JUZAGpVWv
dialogues.py: QmdwTehjCppcxyDid8m6zuHY5YwprUhato88R9Zdm9aXaM
- http.proto: Qmc69XzEVztUJGpJJoUwoZnq2Pi3K4sKzFeMookVC2QuxN
- http_pb2.py: QmeGUMT6ALDWQyMgYAy481RqvZxjeTG4aq3E8msdRtmmbX
+ http.proto: QmXafGzyZC37aNn6RwSfBVXDU3dzvGfYtQRA43mgXPeUoq
+ http_pb2.py: QmeXYdCjWbwisjZ2MUswgHqgKmaauJyD1r96F1s1vWAUCT
message.py: QmYSmd2xLU8TsLLorxxNnaHj1cVLztgrKtQnaqJ1USFkPY
serialization.py: QmWHtnfKcgDyE3CBuP4LRVRToj8MBS4EoaoETDcV1Jdoe5
fingerprint_ignore_patterns: []
diff --git a/packages/fetchai/protocols/ledger_api/ledger_api.proto b/packages/fetchai/protocols/ledger_api/ledger_api.proto
index 76d9490701..cfbefc01ea 100644
--- a/packages/fetchai/protocols/ledger_api/ledger_api.proto
+++ b/packages/fetchai/protocols/ledger_api/ledger_api.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetchai.aea.fetchai.ledger_api;
+package aea.fetchai.ledger_api;
message LedgerApiMessage{
diff --git a/packages/fetchai/protocols/ledger_api/ledger_api_pb2.py b/packages/fetchai/protocols/ledger_api/ledger_api_pb2.py
index 0c689a9e70..b3b37a8453 100644
--- a/packages/fetchai/protocols/ledger_api/ledger_api_pb2.py
+++ b/packages/fetchai/protocols/ledger_api/ledger_api_pb2.py
@@ -16,25 +16,25 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="ledger_api.proto",
- package="fetchai.aea.fetchai.ledger_api",
+ package="aea.fetchai.ledger_api",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\x10ledger_api.proto\x12\x1e\x66\x65tchai.aea.fetchai.ledger_api"\xac\x11\n\x10LedgerApiMessage\x12X\n\x07\x62\x61lance\x18\x05 \x01(\x0b\x32\x45.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Balance_PerformativeH\x00\x12T\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x43.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Error_PerformativeH\x00\x12`\n\x0bget_balance\x18\x07 \x01(\x0b\x32I.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Balance_PerformativeH\x00\x12p\n\x13get_raw_transaction\x18\x08 \x01(\x0b\x32Q.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Raw_Transaction_PerformativeH\x00\x12x\n\x17get_transaction_receipt\x18\t \x01(\x0b\x32U.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Transaction_Receipt_PerformativeH\x00\x12h\n\x0fraw_transaction\x18\n \x01(\x0b\x32M.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Raw_Transaction_PerformativeH\x00\x12x\n\x17send_signed_transaction\x18\x0b \x01(\x0b\x32U.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Send_Signed_Transaction_PerformativeH\x00\x12n\n\x12transaction_digest\x18\x0c \x01(\x0b\x32P.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Digest_PerformativeH\x00\x12p\n\x13transaction_receipt\x18\r \x01(\x0b\x32Q.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Receipt_PerformativeH\x00\x1a)\n\x0eRawTransaction\x12\x17\n\x0fraw_transaction\x18\x01 \x01(\x0c\x1a/\n\x11SignedTransaction\x12\x1a\n\x12signed_transaction\x18\x01 \x01(\x0c\x1a\x16\n\x05Terms\x12\r\n\x05terms\x18\x01 \x01(\x0c\x1a/\n\x11TransactionDigest\x12\x1a\n\x12transaction_digest\x18\x01 \x01(\x0c\x1a\x31\n\x12TransactionReceipt\x12\x1b\n\x13transaction_receipt\x18\x01 \x01(\x0c\x1a>\n\x18Get_Balance_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x1ai\n Get_Raw_Transaction_Performative\x12\x45\n\x05terms\x18\x01 \x01(\x0b\x32\x36.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Terms\x1a\x86\x01\n$Send_Signed_Transaction_Performative\x12^\n\x12signed_transaction\x18\x01 \x01(\x0b\x32\x42.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.SignedTransaction\x1a\x86\x01\n$Get_Transaction_Receipt_Performative\x12^\n\x12transaction_digest\x18\x01 \x01(\x0b\x32\x42.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionDigest\x1a:\n\x14\x42\x61lance_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x0f\n\x07\x62\x61lance\x18\x02 \x01(\x05\x1ax\n\x1cRaw_Transaction_Performative\x12X\n\x0fraw_transaction\x18\x01 \x01(\x0b\x32?.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.RawTransaction\x1a\x81\x01\n\x1fTransaction_Digest_Performative\x12^\n\x12transaction_digest\x18\x01 \x01(\x0b\x32\x42.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionDigest\x1a\x84\x01\n Transaction_Receipt_Performative\x12`\n\x13transaction_receipt\x18\x01 \x01(\x0b\x32\x43.fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionReceipt\x1an\n\x12\x45rror_Performative\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x16\n\x0emessage_is_set\x18\x03 \x01(\x08\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x12\x13\n\x0b\x64\x61ta_is_set\x18\x05 \x01(\x08\x42\x0e\n\x0cperformativeb\x06proto3'
+ '\n\x10ledger_api.proto\x12\x16\x61\x65\x61.fetchai.ledger_api"\xb0\x10\n\x10LedgerApiMessage\x12P\n\x07\x62\x61lance\x18\x05 \x01(\x0b\x32=.aea.fetchai.ledger_api.LedgerApiMessage.Balance_PerformativeH\x00\x12L\n\x05\x65rror\x18\x06 \x01(\x0b\x32;.aea.fetchai.ledger_api.LedgerApiMessage.Error_PerformativeH\x00\x12X\n\x0bget_balance\x18\x07 \x01(\x0b\x32\x41.aea.fetchai.ledger_api.LedgerApiMessage.Get_Balance_PerformativeH\x00\x12h\n\x13get_raw_transaction\x18\x08 \x01(\x0b\x32I.aea.fetchai.ledger_api.LedgerApiMessage.Get_Raw_Transaction_PerformativeH\x00\x12p\n\x17get_transaction_receipt\x18\t \x01(\x0b\x32M.aea.fetchai.ledger_api.LedgerApiMessage.Get_Transaction_Receipt_PerformativeH\x00\x12`\n\x0fraw_transaction\x18\n \x01(\x0b\x32\x45.aea.fetchai.ledger_api.LedgerApiMessage.Raw_Transaction_PerformativeH\x00\x12p\n\x17send_signed_transaction\x18\x0b \x01(\x0b\x32M.aea.fetchai.ledger_api.LedgerApiMessage.Send_Signed_Transaction_PerformativeH\x00\x12\x66\n\x12transaction_digest\x18\x0c \x01(\x0b\x32H.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Digest_PerformativeH\x00\x12h\n\x13transaction_receipt\x18\r \x01(\x0b\x32I.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Receipt_PerformativeH\x00\x1a)\n\x0eRawTransaction\x12\x17\n\x0fraw_transaction\x18\x01 \x01(\x0c\x1a/\n\x11SignedTransaction\x12\x1a\n\x12signed_transaction\x18\x01 \x01(\x0c\x1a\x16\n\x05Terms\x12\r\n\x05terms\x18\x01 \x01(\x0c\x1a/\n\x11TransactionDigest\x12\x1a\n\x12transaction_digest\x18\x01 \x01(\x0c\x1a\x31\n\x12TransactionReceipt\x12\x1b\n\x13transaction_receipt\x18\x01 \x01(\x0c\x1a>\n\x18Get_Balance_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x1a\x61\n Get_Raw_Transaction_Performative\x12=\n\x05terms\x18\x01 \x01(\x0b\x32..aea.fetchai.ledger_api.LedgerApiMessage.Terms\x1a~\n$Send_Signed_Transaction_Performative\x12V\n\x12signed_transaction\x18\x01 \x01(\x0b\x32:.aea.fetchai.ledger_api.LedgerApiMessage.SignedTransaction\x1a~\n$Get_Transaction_Receipt_Performative\x12V\n\x12transaction_digest\x18\x01 \x01(\x0b\x32:.aea.fetchai.ledger_api.LedgerApiMessage.TransactionDigest\x1a:\n\x14\x42\x61lance_Performative\x12\x11\n\tledger_id\x18\x01 \x01(\t\x12\x0f\n\x07\x62\x61lance\x18\x02 \x01(\x05\x1ap\n\x1cRaw_Transaction_Performative\x12P\n\x0fraw_transaction\x18\x01 \x01(\x0b\x32\x37.aea.fetchai.ledger_api.LedgerApiMessage.RawTransaction\x1ay\n\x1fTransaction_Digest_Performative\x12V\n\x12transaction_digest\x18\x01 \x01(\x0b\x32:.aea.fetchai.ledger_api.LedgerApiMessage.TransactionDigest\x1a|\n Transaction_Receipt_Performative\x12X\n\x13transaction_receipt\x18\x01 \x01(\x0b\x32;.aea.fetchai.ledger_api.LedgerApiMessage.TransactionReceipt\x1an\n\x12\x45rror_Performative\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x16\n\x0emessage_is_set\x18\x03 \x01(\x08\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x12\x13\n\x0b\x64\x61ta_is_set\x18\x05 \x01(\x08\x42\x0e\n\x0cperformativeb\x06proto3'
),
)
_LEDGERAPIMESSAGE_RAWTRANSACTION = _descriptor.Descriptor(
name="RawTransaction",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.RawTransaction",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.RawTransaction",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="raw_transaction",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.RawTransaction.raw_transaction",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.RawTransaction.raw_transaction",
index=0,
number=1,
type=12,
@@ -59,20 +59,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1037,
- serialized_end=1078,
+ serialized_start=957,
+ serialized_end=998,
)
_LEDGERAPIMESSAGE_SIGNEDTRANSACTION = _descriptor.Descriptor(
name="SignedTransaction",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.SignedTransaction",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.SignedTransaction",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="signed_transaction",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.SignedTransaction.signed_transaction",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.SignedTransaction.signed_transaction",
index=0,
number=1,
type=12,
@@ -97,20 +97,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1080,
- serialized_end=1127,
+ serialized_start=1000,
+ serialized_end=1047,
)
_LEDGERAPIMESSAGE_TERMS = _descriptor.Descriptor(
name="Terms",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Terms",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Terms",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Terms.terms",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Terms.terms",
index=0,
number=1,
type=12,
@@ -135,20 +135,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1129,
- serialized_end=1151,
+ serialized_start=1049,
+ serialized_end=1071,
)
_LEDGERAPIMESSAGE_TRANSACTIONDIGEST = _descriptor.Descriptor(
name="TransactionDigest",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionDigest",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.TransactionDigest",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="transaction_digest",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionDigest.transaction_digest",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.TransactionDigest.transaction_digest",
index=0,
number=1,
type=12,
@@ -173,20 +173,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1153,
- serialized_end=1200,
+ serialized_start=1073,
+ serialized_end=1120,
)
_LEDGERAPIMESSAGE_TRANSACTIONRECEIPT = _descriptor.Descriptor(
name="TransactionReceipt",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionReceipt",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.TransactionReceipt",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="transaction_receipt",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionReceipt.transaction_receipt",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.TransactionReceipt.transaction_receipt",
index=0,
number=1,
type=12,
@@ -211,20 +211,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1202,
- serialized_end=1251,
+ serialized_start=1122,
+ serialized_end=1171,
)
_LEDGERAPIMESSAGE_GET_BALANCE_PERFORMATIVE = _descriptor.Descriptor(
name="Get_Balance_Performative",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Balance_Performative",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Get_Balance_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="ledger_id",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Balance_Performative.ledger_id",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Get_Balance_Performative.ledger_id",
index=0,
number=1,
type=9,
@@ -242,7 +242,7 @@
),
_descriptor.FieldDescriptor(
name="address",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Balance_Performative.address",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Get_Balance_Performative.address",
index=1,
number=2,
type=9,
@@ -267,20 +267,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1253,
- serialized_end=1315,
+ serialized_start=1173,
+ serialized_end=1235,
)
_LEDGERAPIMESSAGE_GET_RAW_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Get_Raw_Transaction_Performative",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Raw_Transaction_Performative",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Get_Raw_Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Raw_Transaction_Performative.terms",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Get_Raw_Transaction_Performative.terms",
index=0,
number=1,
type=11,
@@ -305,20 +305,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1317,
- serialized_end=1422,
+ serialized_start=1237,
+ serialized_end=1334,
)
_LEDGERAPIMESSAGE_SEND_SIGNED_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Send_Signed_Transaction_Performative",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Send_Signed_Transaction_Performative",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Send_Signed_Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="signed_transaction",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Send_Signed_Transaction_Performative.signed_transaction",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Send_Signed_Transaction_Performative.signed_transaction",
index=0,
number=1,
type=11,
@@ -343,20 +343,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1425,
- serialized_end=1559,
+ serialized_start=1336,
+ serialized_end=1462,
)
_LEDGERAPIMESSAGE_GET_TRANSACTION_RECEIPT_PERFORMATIVE = _descriptor.Descriptor(
name="Get_Transaction_Receipt_Performative",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Transaction_Receipt_Performative",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Get_Transaction_Receipt_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="transaction_digest",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Transaction_Receipt_Performative.transaction_digest",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Get_Transaction_Receipt_Performative.transaction_digest",
index=0,
number=1,
type=11,
@@ -381,20 +381,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1562,
- serialized_end=1696,
+ serialized_start=1464,
+ serialized_end=1590,
)
_LEDGERAPIMESSAGE_BALANCE_PERFORMATIVE = _descriptor.Descriptor(
name="Balance_Performative",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Balance_Performative",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Balance_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="ledger_id",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Balance_Performative.ledger_id",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Balance_Performative.ledger_id",
index=0,
number=1,
type=9,
@@ -412,7 +412,7 @@
),
_descriptor.FieldDescriptor(
name="balance",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Balance_Performative.balance",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Balance_Performative.balance",
index=1,
number=2,
type=5,
@@ -437,20 +437,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1698,
- serialized_end=1756,
+ serialized_start=1592,
+ serialized_end=1650,
)
_LEDGERAPIMESSAGE_RAW_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Raw_Transaction_Performative",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Raw_Transaction_Performative",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Raw_Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="raw_transaction",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Raw_Transaction_Performative.raw_transaction",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Raw_Transaction_Performative.raw_transaction",
index=0,
number=1,
type=11,
@@ -475,20 +475,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1758,
- serialized_end=1878,
+ serialized_start=1652,
+ serialized_end=1764,
)
_LEDGERAPIMESSAGE_TRANSACTION_DIGEST_PERFORMATIVE = _descriptor.Descriptor(
name="Transaction_Digest_Performative",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Digest_Performative",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Digest_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="transaction_digest",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Digest_Performative.transaction_digest",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Digest_Performative.transaction_digest",
index=0,
number=1,
type=11,
@@ -513,20 +513,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1881,
- serialized_end=2010,
+ serialized_start=1766,
+ serialized_end=1887,
)
_LEDGERAPIMESSAGE_TRANSACTION_RECEIPT_PERFORMATIVE = _descriptor.Descriptor(
name="Transaction_Receipt_Performative",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Receipt_Performative",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Receipt_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="transaction_receipt",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Receipt_Performative.transaction_receipt",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Receipt_Performative.transaction_receipt",
index=0,
number=1,
type=11,
@@ -551,20 +551,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=2013,
- serialized_end=2145,
+ serialized_start=1889,
+ serialized_end=2013,
)
_LEDGERAPIMESSAGE_ERROR_PERFORMATIVE = _descriptor.Descriptor(
name="Error_Performative",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="code",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative.code",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative.code",
index=0,
number=1,
type=5,
@@ -582,7 +582,7 @@
),
_descriptor.FieldDescriptor(
name="message",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative.message",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative.message",
index=1,
number=2,
type=9,
@@ -600,7 +600,7 @@
),
_descriptor.FieldDescriptor(
name="message_is_set",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative.message_is_set",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative.message_is_set",
index=2,
number=3,
type=8,
@@ -618,7 +618,7 @@
),
_descriptor.FieldDescriptor(
name="data",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative.data",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative.data",
index=3,
number=4,
type=12,
@@ -636,7 +636,7 @@
),
_descriptor.FieldDescriptor(
name="data_is_set",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative.data_is_set",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative.data_is_set",
index=4,
number=5,
type=8,
@@ -661,20 +661,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=2147,
- serialized_end=2257,
+ serialized_start=2015,
+ serialized_end=2125,
)
_LEDGERAPIMESSAGE = _descriptor.Descriptor(
name="LedgerApiMessage",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="balance",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.balance",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.balance",
index=0,
number=5,
type=11,
@@ -692,7 +692,7 @@
),
_descriptor.FieldDescriptor(
name="error",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.error",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.error",
index=1,
number=6,
type=11,
@@ -710,7 +710,7 @@
),
_descriptor.FieldDescriptor(
name="get_balance",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.get_balance",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.get_balance",
index=2,
number=7,
type=11,
@@ -728,7 +728,7 @@
),
_descriptor.FieldDescriptor(
name="get_raw_transaction",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.get_raw_transaction",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.get_raw_transaction",
index=3,
number=8,
type=11,
@@ -746,7 +746,7 @@
),
_descriptor.FieldDescriptor(
name="get_transaction_receipt",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.get_transaction_receipt",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.get_transaction_receipt",
index=4,
number=9,
type=11,
@@ -764,7 +764,7 @@
),
_descriptor.FieldDescriptor(
name="raw_transaction",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.raw_transaction",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.raw_transaction",
index=5,
number=10,
type=11,
@@ -782,7 +782,7 @@
),
_descriptor.FieldDescriptor(
name="send_signed_transaction",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.send_signed_transaction",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.send_signed_transaction",
index=6,
number=11,
type=11,
@@ -800,7 +800,7 @@
),
_descriptor.FieldDescriptor(
name="transaction_digest",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.transaction_digest",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.transaction_digest",
index=7,
number=12,
type=11,
@@ -818,7 +818,7 @@
),
_descriptor.FieldDescriptor(
name="transaction_receipt",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.transaction_receipt",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.transaction_receipt",
index=8,
number=13,
type=11,
@@ -860,14 +860,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetchai.aea.fetchai.ledger_api.LedgerApiMessage.performative",
+ full_name="aea.fetchai.ledger_api.LedgerApiMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=53,
- serialized_end=2273,
+ serialized_start=45,
+ serialized_end=2141,
)
_LEDGERAPIMESSAGE_RAWTRANSACTION.containing_type = _LEDGERAPIMESSAGE
@@ -1000,7 +1000,7 @@
dict(
DESCRIPTOR=_LEDGERAPIMESSAGE_RAWTRANSACTION,
__module__="ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.RawTransaction)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ledger_api.LedgerApiMessage.RawTransaction)
),
),
SignedTransaction=_reflection.GeneratedProtocolMessageType(
@@ -1009,7 +1009,7 @@
dict(
DESCRIPTOR=_LEDGERAPIMESSAGE_SIGNEDTRANSACTION,
__module__="ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.SignedTransaction)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ledger_api.LedgerApiMessage.SignedTransaction)
),
),
Terms=_reflection.GeneratedProtocolMessageType(
@@ -1018,7 +1018,7 @@
dict(
DESCRIPTOR=_LEDGERAPIMESSAGE_TERMS,
__module__="ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Terms)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ledger_api.LedgerApiMessage.Terms)
),
),
TransactionDigest=_reflection.GeneratedProtocolMessageType(
@@ -1027,7 +1027,7 @@
dict(
DESCRIPTOR=_LEDGERAPIMESSAGE_TRANSACTIONDIGEST,
__module__="ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionDigest)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ledger_api.LedgerApiMessage.TransactionDigest)
),
),
TransactionReceipt=_reflection.GeneratedProtocolMessageType(
@@ -1036,7 +1036,7 @@
dict(
DESCRIPTOR=_LEDGERAPIMESSAGE_TRANSACTIONRECEIPT,
__module__="ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.TransactionReceipt)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ledger_api.LedgerApiMessage.TransactionReceipt)
),
),
Get_Balance_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1045,7 +1045,7 @@
dict(
DESCRIPTOR=_LEDGERAPIMESSAGE_GET_BALANCE_PERFORMATIVE,
__module__="ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Balance_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ledger_api.LedgerApiMessage.Get_Balance_Performative)
),
),
Get_Raw_Transaction_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1054,7 +1054,7 @@
dict(
DESCRIPTOR=_LEDGERAPIMESSAGE_GET_RAW_TRANSACTION_PERFORMATIVE,
__module__="ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Raw_Transaction_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ledger_api.LedgerApiMessage.Get_Raw_Transaction_Performative)
),
),
Send_Signed_Transaction_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1063,7 +1063,7 @@
dict(
DESCRIPTOR=_LEDGERAPIMESSAGE_SEND_SIGNED_TRANSACTION_PERFORMATIVE,
__module__="ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Send_Signed_Transaction_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ledger_api.LedgerApiMessage.Send_Signed_Transaction_Performative)
),
),
Get_Transaction_Receipt_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1072,7 +1072,7 @@
dict(
DESCRIPTOR=_LEDGERAPIMESSAGE_GET_TRANSACTION_RECEIPT_PERFORMATIVE,
__module__="ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Get_Transaction_Receipt_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ledger_api.LedgerApiMessage.Get_Transaction_Receipt_Performative)
),
),
Balance_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1081,7 +1081,7 @@
dict(
DESCRIPTOR=_LEDGERAPIMESSAGE_BALANCE_PERFORMATIVE,
__module__="ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Balance_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ledger_api.LedgerApiMessage.Balance_Performative)
),
),
Raw_Transaction_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1090,7 +1090,7 @@
dict(
DESCRIPTOR=_LEDGERAPIMESSAGE_RAW_TRANSACTION_PERFORMATIVE,
__module__="ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Raw_Transaction_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ledger_api.LedgerApiMessage.Raw_Transaction_Performative)
),
),
Transaction_Digest_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1099,7 +1099,7 @@
dict(
DESCRIPTOR=_LEDGERAPIMESSAGE_TRANSACTION_DIGEST_PERFORMATIVE,
__module__="ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Digest_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Digest_Performative)
),
),
Transaction_Receipt_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1108,7 +1108,7 @@
dict(
DESCRIPTOR=_LEDGERAPIMESSAGE_TRANSACTION_RECEIPT_PERFORMATIVE,
__module__="ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Receipt_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ledger_api.LedgerApiMessage.Transaction_Receipt_Performative)
),
),
Error_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1117,12 +1117,12 @@
dict(
DESCRIPTOR=_LEDGERAPIMESSAGE_ERROR_PERFORMATIVE,
__module__="ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ledger_api.LedgerApiMessage.Error_Performative)
),
),
DESCRIPTOR=_LEDGERAPIMESSAGE,
__module__="ledger_api_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ledger_api.LedgerApiMessage)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ledger_api.LedgerApiMessage)
),
)
_sym_db.RegisterMessage(LedgerApiMessage)
diff --git a/packages/fetchai/protocols/ledger_api/protocol.yaml b/packages/fetchai/protocols/ledger_api/protocol.yaml
index 21e28bccdc..1685412d7c 100644
--- a/packages/fetchai/protocols/ledger_api/protocol.yaml
+++ b/packages/fetchai/protocols/ledger_api/protocol.yaml
@@ -10,8 +10,8 @@ fingerprint:
__init__.py: Qmct8jVx6ndWwaa5HXJAJgMraVuZ8kMeyx6rnEeHAYHwDJ
custom_types.py: QmWRrvFStMhVJy8P2WD6qjDgk14ZnxErN7XymxUtof7HQo
dialogues.py: QmRtWkAfR9WTvygMJ36R758RzdY2mGQs2fgtHCfjxmeaHy
- ledger_api.proto: QmSGwWr8LUz1FHeNXQFsrAKxsyibvzao6WBHvzWF2peg2u
- ledger_api_pb2.py: QmbtzWSYdAQZjq6rq79Zq7BgRhT4QVEsXwcJwmT6xhGXHf
+ ledger_api.proto: QmR7b3Mj4Jt4Y5ChZ7x42nxLtQrs2VBRvb2dqV3EaPW6B8
+ ledger_api_pb2.py: QmUMeo2X58acnBaVQuDpMhteNuzagbT79vf5mdtMJLk9VF
message.py: QmcLuy4YcL22qs3jHf5KHZ7vZueiTDrEmbWjfRTbyzwc5m
serialization.py: QmSarPknCq2LiKZx3PHgE9eXhrygPSyiu15WCS46W9BD3E
fingerprint_ignore_patterns: []
diff --git a/packages/fetchai/protocols/ml_trade/ml_trade.proto b/packages/fetchai/protocols/ml_trade/ml_trade.proto
index 83578150d1..10860e59bc 100644
--- a/packages/fetchai/protocols/ml_trade/ml_trade.proto
+++ b/packages/fetchai/protocols/ml_trade/ml_trade.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetchai.aea.fetchai.ml_trade;
+package aea.fetchai.ml_trade;
message MlTradeMessage{
diff --git a/packages/fetchai/protocols/ml_trade/ml_trade_pb2.py b/packages/fetchai/protocols/ml_trade/ml_trade_pb2.py
index 7eae74b29c..8afb841a34 100644
--- a/packages/fetchai/protocols/ml_trade/ml_trade_pb2.py
+++ b/packages/fetchai/protocols/ml_trade/ml_trade_pb2.py
@@ -16,25 +16,25 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="ml_trade.proto",
- package="fetchai.aea.fetchai.ml_trade",
+ package="aea.fetchai.ml_trade",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\x0eml_trade.proto\x12\x1c\x66\x65tchai.aea.fetchai.ml_trade"\xb5\x07\n\x0eMlTradeMessage\x12R\n\x06\x61\x63\x63\x65pt\x18\x05 \x01(\x0b\x32@.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Accept_PerformativeH\x00\x12L\n\x03\x63\x66p\x18\x06 \x01(\x0b\x32=.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Cfp_PerformativeH\x00\x12N\n\x04\x64\x61ta\x18\x07 \x01(\x0b\x32>.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Data_PerformativeH\x00\x12P\n\x05terms\x18\x08 \x01(\x0b\x32?.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Terms_PerformativeH\x00\x1a"\n\x0b\x44\x65scription\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\x0c\x1a\x92\x01\n\x05Query\x12\x0f\n\x05\x62ytes\x18\x01 \x01(\x0cH\x00\x12M\n\x07nothing\x18\x02 \x01(\x0b\x32:.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query.NothingH\x00\x12\x15\n\x0bquery_bytes\x18\x03 \x01(\x0cH\x00\x1a\t\n\x07NothingB\x07\n\x05query\x1aU\n\x10\x43\x66p_Performative\x12\x41\n\x05query\x18\x01 \x01(\x0b\x32\x32.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query\x1a]\n\x12Terms_Performative\x12G\n\x05terms\x18\x01 \x01(\x0b\x32\x38.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Description\x1aq\n\x13\x41\x63\x63\x65pt_Performative\x12G\n\x05terms\x18\x01 \x01(\x0b\x32\x38.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Description\x12\x11\n\ttx_digest\x18\x02 \x01(\t\x1am\n\x11\x44\x61ta_Performative\x12G\n\x05terms\x18\x01 \x01(\x0b\x32\x38.fetchai.aea.fetchai.ml_trade.MlTradeMessage.Description\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\x42\x0e\n\x0cperformativeb\x06proto3'
+ '\n\x0eml_trade.proto\x12\x14\x61\x65\x61.fetchai.ml_trade"\xed\x06\n\x0eMlTradeMessage\x12J\n\x06\x61\x63\x63\x65pt\x18\x05 \x01(\x0b\x32\x38.aea.fetchai.ml_trade.MlTradeMessage.Accept_PerformativeH\x00\x12\x44\n\x03\x63\x66p\x18\x06 \x01(\x0b\x32\x35.aea.fetchai.ml_trade.MlTradeMessage.Cfp_PerformativeH\x00\x12\x46\n\x04\x64\x61ta\x18\x07 \x01(\x0b\x32\x36.aea.fetchai.ml_trade.MlTradeMessage.Data_PerformativeH\x00\x12H\n\x05terms\x18\x08 \x01(\x0b\x32\x37.aea.fetchai.ml_trade.MlTradeMessage.Terms_PerformativeH\x00\x1a"\n\x0b\x44\x65scription\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\x0c\x1a\x8a\x01\n\x05Query\x12\x0f\n\x05\x62ytes\x18\x01 \x01(\x0cH\x00\x12\x45\n\x07nothing\x18\x02 \x01(\x0b\x32\x32.aea.fetchai.ml_trade.MlTradeMessage.Query.NothingH\x00\x12\x15\n\x0bquery_bytes\x18\x03 \x01(\x0cH\x00\x1a\t\n\x07NothingB\x07\n\x05query\x1aM\n\x10\x43\x66p_Performative\x12\x39\n\x05query\x18\x01 \x01(\x0b\x32*.aea.fetchai.ml_trade.MlTradeMessage.Query\x1aU\n\x12Terms_Performative\x12?\n\x05terms\x18\x01 \x01(\x0b\x32\x30.aea.fetchai.ml_trade.MlTradeMessage.Description\x1ai\n\x13\x41\x63\x63\x65pt_Performative\x12?\n\x05terms\x18\x01 \x01(\x0b\x32\x30.aea.fetchai.ml_trade.MlTradeMessage.Description\x12\x11\n\ttx_digest\x18\x02 \x01(\t\x1a\x65\n\x11\x44\x61ta_Performative\x12?\n\x05terms\x18\x01 \x01(\x0b\x32\x30.aea.fetchai.ml_trade.MlTradeMessage.Description\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\x42\x0e\n\x0cperformativeb\x06proto3'
),
)
_MLTRADEMESSAGE_DESCRIPTION = _descriptor.Descriptor(
name="Description",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Description",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Description",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="description",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Description.description",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Description.description",
index=0,
number=1,
type=12,
@@ -59,13 +59,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=391,
- serialized_end=425,
+ serialized_start=351,
+ serialized_end=385,
)
_MLTRADEMESSAGE_QUERY_NOTHING = _descriptor.Descriptor(
name="Nothing",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query.Nothing",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Query.Nothing",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -78,20 +78,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=556,
- serialized_end=565,
+ serialized_start=508,
+ serialized_end=517,
)
_MLTRADEMESSAGE_QUERY = _descriptor.Descriptor(
name="Query",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Query",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="bytes",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query.bytes",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Query.bytes",
index=0,
number=1,
type=12,
@@ -109,7 +109,7 @@
),
_descriptor.FieldDescriptor(
name="nothing",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query.nothing",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Query.nothing",
index=1,
number=2,
type=11,
@@ -127,7 +127,7 @@
),
_descriptor.FieldDescriptor(
name="query_bytes",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query.query_bytes",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Query.query_bytes",
index=2,
number=3,
type=12,
@@ -154,26 +154,26 @@
oneofs=[
_descriptor.OneofDescriptor(
name="query",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query.query",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Query.query",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=428,
- serialized_end=574,
+ serialized_start=388,
+ serialized_end=526,
)
_MLTRADEMESSAGE_CFP_PERFORMATIVE = _descriptor.Descriptor(
name="Cfp_Performative",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Cfp_Performative",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Cfp_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="query",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Cfp_Performative.query",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Cfp_Performative.query",
index=0,
number=1,
type=11,
@@ -198,20 +198,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=576,
- serialized_end=661,
+ serialized_start=528,
+ serialized_end=605,
)
_MLTRADEMESSAGE_TERMS_PERFORMATIVE = _descriptor.Descriptor(
name="Terms_Performative",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Terms_Performative",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Terms_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Terms_Performative.terms",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Terms_Performative.terms",
index=0,
number=1,
type=11,
@@ -236,20 +236,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=663,
- serialized_end=756,
+ serialized_start=607,
+ serialized_end=692,
)
_MLTRADEMESSAGE_ACCEPT_PERFORMATIVE = _descriptor.Descriptor(
name="Accept_Performative",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Accept_Performative",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Accept_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Accept_Performative.terms",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Accept_Performative.terms",
index=0,
number=1,
type=11,
@@ -267,7 +267,7 @@
),
_descriptor.FieldDescriptor(
name="tx_digest",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Accept_Performative.tx_digest",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Accept_Performative.tx_digest",
index=1,
number=2,
type=9,
@@ -292,20 +292,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=758,
- serialized_end=871,
+ serialized_start=694,
+ serialized_end=799,
)
_MLTRADEMESSAGE_DATA_PERFORMATIVE = _descriptor.Descriptor(
name="Data_Performative",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Data_Performative",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Data_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Data_Performative.terms",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Data_Performative.terms",
index=0,
number=1,
type=11,
@@ -323,7 +323,7 @@
),
_descriptor.FieldDescriptor(
name="payload",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.Data_Performative.payload",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.Data_Performative.payload",
index=1,
number=2,
type=12,
@@ -348,20 +348,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=873,
- serialized_end=982,
+ serialized_start=801,
+ serialized_end=902,
)
_MLTRADEMESSAGE = _descriptor.Descriptor(
name="MlTradeMessage",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="accept",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.accept",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.accept",
index=0,
number=5,
type=11,
@@ -379,7 +379,7 @@
),
_descriptor.FieldDescriptor(
name="cfp",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.cfp",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.cfp",
index=1,
number=6,
type=11,
@@ -397,7 +397,7 @@
),
_descriptor.FieldDescriptor(
name="data",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.data",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.data",
index=2,
number=7,
type=11,
@@ -415,7 +415,7 @@
),
_descriptor.FieldDescriptor(
name="terms",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.terms",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.terms",
index=3,
number=8,
type=11,
@@ -449,14 +449,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetchai.aea.fetchai.ml_trade.MlTradeMessage.performative",
+ full_name="aea.fetchai.ml_trade.MlTradeMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=49,
- serialized_end=998,
+ serialized_start=41,
+ serialized_end=918,
)
_MLTRADEMESSAGE_DESCRIPTION.containing_type = _MLTRADEMESSAGE
@@ -544,7 +544,7 @@
dict(
DESCRIPTOR=_MLTRADEMESSAGE_DESCRIPTION,
__module__="ml_trade_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ml_trade.MlTradeMessage.Description)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ml_trade.MlTradeMessage.Description)
),
),
Query=_reflection.GeneratedProtocolMessageType(
@@ -557,12 +557,12 @@
dict(
DESCRIPTOR=_MLTRADEMESSAGE_QUERY_NOTHING,
__module__="ml_trade_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query.Nothing)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ml_trade.MlTradeMessage.Query.Nothing)
),
),
DESCRIPTOR=_MLTRADEMESSAGE_QUERY,
__module__="ml_trade_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ml_trade.MlTradeMessage.Query)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ml_trade.MlTradeMessage.Query)
),
),
Cfp_Performative=_reflection.GeneratedProtocolMessageType(
@@ -571,7 +571,7 @@
dict(
DESCRIPTOR=_MLTRADEMESSAGE_CFP_PERFORMATIVE,
__module__="ml_trade_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ml_trade.MlTradeMessage.Cfp_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ml_trade.MlTradeMessage.Cfp_Performative)
),
),
Terms_Performative=_reflection.GeneratedProtocolMessageType(
@@ -580,7 +580,7 @@
dict(
DESCRIPTOR=_MLTRADEMESSAGE_TERMS_PERFORMATIVE,
__module__="ml_trade_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ml_trade.MlTradeMessage.Terms_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ml_trade.MlTradeMessage.Terms_Performative)
),
),
Accept_Performative=_reflection.GeneratedProtocolMessageType(
@@ -589,7 +589,7 @@
dict(
DESCRIPTOR=_MLTRADEMESSAGE_ACCEPT_PERFORMATIVE,
__module__="ml_trade_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ml_trade.MlTradeMessage.Accept_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ml_trade.MlTradeMessage.Accept_Performative)
),
),
Data_Performative=_reflection.GeneratedProtocolMessageType(
@@ -598,12 +598,12 @@
dict(
DESCRIPTOR=_MLTRADEMESSAGE_DATA_PERFORMATIVE,
__module__="ml_trade_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ml_trade.MlTradeMessage.Data_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ml_trade.MlTradeMessage.Data_Performative)
),
),
DESCRIPTOR=_MLTRADEMESSAGE,
__module__="ml_trade_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.ml_trade.MlTradeMessage)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.ml_trade.MlTradeMessage)
),
)
_sym_db.RegisterMessage(MlTradeMessage)
diff --git a/packages/fetchai/protocols/ml_trade/protocol.yaml b/packages/fetchai/protocols/ml_trade/protocol.yaml
index 0593cf1ffe..91dbcdf221 100644
--- a/packages/fetchai/protocols/ml_trade/protocol.yaml
+++ b/packages/fetchai/protocols/ml_trade/protocol.yaml
@@ -11,8 +11,8 @@ fingerprint:
custom_types.py: QmPa6mxbN8WShsniQxJACfzAPRjGzYLbUFGoVU4N9DewUw
dialogues.py: QmVvP34aKWEtHrKmccNMvEdDnx5B7xpE5aEGzr6GU2u8UK
message.py: QmZdRAScKbmJgKVbRJvDyMUNfRZKWCwWFYjGNDDBAq5fUT
- ml_trade.proto: QmWzG9xmAQiuAj7sphQ8BzRUPXs7xagNWMzNw84Pfc7kq9
- ml_trade_pb2.py: QmNyzB6eJXYPwTptFLHguYW9NJLEMCSFE5rorY1xn9mmPF
+ ml_trade.proto: QmXqDTBhno2kMLdAbNiZWcAHpjiJ95qXL4doUnhdmCNkhk
+ ml_trade_pb2.py: QmU1MrfXLsJMo91yenRNTdnGFUA9UDcxJsayHYqHN2uwjp
serialization.py: QmTfLdYfJnA8VTxtat5vgsfms7dJJF4zwuxYGxh9pDRALr
fingerprint_ignore_patterns: []
dependencies:
diff --git a/packages/fetchai/protocols/oef_search/oef_search.proto b/packages/fetchai/protocols/oef_search/oef_search.proto
index a151f46439..d81fe28981 100644
--- a/packages/fetchai/protocols/oef_search/oef_search.proto
+++ b/packages/fetchai/protocols/oef_search/oef_search.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetchai.aea.fetchai.oef_search;
+package aea.fetchai.oef_search;
message OefSearchMessage{
diff --git a/packages/fetchai/protocols/oef_search/oef_search_pb2.py b/packages/fetchai/protocols/oef_search/oef_search_pb2.py
index a00c221d78..cdc2e74e5b 100644
--- a/packages/fetchai/protocols/oef_search/oef_search_pb2.py
+++ b/packages/fetchai/protocols/oef_search/oef_search_pb2.py
@@ -16,18 +16,18 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="oef_search.proto",
- package="fetchai.aea.fetchai.oef_search",
+ package="aea.fetchai.oef_search",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\x10oef_search.proto\x12\x1e\x66\x65tchai.aea.fetchai.oef_search"\xb9\r\n\x10OefSearchMessage\x12\\\n\toef_error\x18\x05 \x01(\x0b\x32G.fetchai.aea.fetchai.oef_search.OefSearchMessage.Oef_Error_PerformativeH\x00\x12j\n\x10register_service\x18\x06 \x01(\x0b\x32N.fetchai.aea.fetchai.oef_search.OefSearchMessage.Register_Service_PerformativeH\x00\x12\x64\n\rsearch_result\x18\x07 \x01(\x0b\x32K.fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Result_PerformativeH\x00\x12h\n\x0fsearch_services\x18\x08 \x01(\x0b\x32M.fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Services_PerformativeH\x00\x12X\n\x07success\x18\t \x01(\x0b\x32\x45.fetchai.aea.fetchai.oef_search.OefSearchMessage.Success_PerformativeH\x00\x12n\n\x12unregister_service\x18\n \x01(\x0b\x32P.fetchai.aea.fetchai.oef_search.OefSearchMessage.Unregister_Service_PerformativeH\x00\x1a!\n\nAgentsInfo\x12\x13\n\x0b\x61gents_info\x18\x01 \x01(\x0c\x1a"\n\x0b\x44\x65scription\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\x0c\x1a\xdc\x01\n\x11OefErrorOperation\x12\x62\n\toef_error\x18\x01 \x01(\x0e\x32O.fetchai.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperation.OefErrorEnum"c\n\x0cOefErrorEnum\x12\x14\n\x10REGISTER_SERVICE\x10\x00\x12\x16\n\x12UNREGISTER_SERVICE\x10\x01\x12\x13\n\x0fSEARCH_SERVICES\x10\x02\x12\x10\n\x0cSEND_MESSAGE\x10\x03\x1a\x96\x01\n\x05Query\x12\x0f\n\x05\x62ytes\x18\x01 \x01(\x0cH\x00\x12Q\n\x07nothing\x18\x02 \x01(\x0b\x32>.fetchai.aea.fetchai.oef_search.OefSearchMessage.Query.NothingH\x00\x12\x15\n\x0bquery_bytes\x18\x03 \x01(\x0cH\x00\x1a\t\n\x07NothingB\x07\n\x05query\x1az\n\x1dRegister_Service_Performative\x12Y\n\x13service_description\x18\x01 \x01(\x0b\x32<.fetchai.aea.fetchai.oef_search.OefSearchMessage.Description\x1a|\n\x1fUnregister_Service_Performative\x12Y\n\x13service_description\x18\x01 \x01(\x0b\x32<.fetchai.aea.fetchai.oef_search.OefSearchMessage.Description\x1a\x65\n\x1cSearch_Services_Performative\x12\x45\n\x05query\x18\x01 \x01(\x0b\x32\x36.fetchai.aea.fetchai.oef_search.OefSearchMessage.Query\x1a~\n\x1aSearch_Result_Performative\x12\x0e\n\x06\x61gents\x18\x01 \x03(\t\x12P\n\x0b\x61gents_info\x18\x02 \x01(\x0b\x32;.fetchai.aea.fetchai.oef_search.OefSearchMessage.AgentsInfo\x1a\x16\n\x14Success_Performative\x1ay\n\x16Oef_Error_Performative\x12_\n\x13oef_error_operation\x18\x01 \x01(\x0b\x32\x42.fetchai.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperationB\x0e\n\x0cperformativeb\x06proto3'
+ '\n\x10oef_search.proto\x12\x16\x61\x65\x61.fetchai.oef_search"\xd1\x0c\n\x10OefSearchMessage\x12T\n\toef_error\x18\x05 \x01(\x0b\x32?.aea.fetchai.oef_search.OefSearchMessage.Oef_Error_PerformativeH\x00\x12\x62\n\x10register_service\x18\x06 \x01(\x0b\x32\x46.aea.fetchai.oef_search.OefSearchMessage.Register_Service_PerformativeH\x00\x12\\\n\rsearch_result\x18\x07 \x01(\x0b\x32\x43.aea.fetchai.oef_search.OefSearchMessage.Search_Result_PerformativeH\x00\x12`\n\x0fsearch_services\x18\x08 \x01(\x0b\x32\x45.aea.fetchai.oef_search.OefSearchMessage.Search_Services_PerformativeH\x00\x12P\n\x07success\x18\t \x01(\x0b\x32=.aea.fetchai.oef_search.OefSearchMessage.Success_PerformativeH\x00\x12\x66\n\x12unregister_service\x18\n \x01(\x0b\x32H.aea.fetchai.oef_search.OefSearchMessage.Unregister_Service_PerformativeH\x00\x1a!\n\nAgentsInfo\x12\x13\n\x0b\x61gents_info\x18\x01 \x01(\x0c\x1a"\n\x0b\x44\x65scription\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\x0c\x1a\xd4\x01\n\x11OefErrorOperation\x12Z\n\toef_error\x18\x01 \x01(\x0e\x32G.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperation.OefErrorEnum"c\n\x0cOefErrorEnum\x12\x14\n\x10REGISTER_SERVICE\x10\x00\x12\x16\n\x12UNREGISTER_SERVICE\x10\x01\x12\x13\n\x0fSEARCH_SERVICES\x10\x02\x12\x10\n\x0cSEND_MESSAGE\x10\x03\x1a\x8e\x01\n\x05Query\x12\x0f\n\x05\x62ytes\x18\x01 \x01(\x0cH\x00\x12I\n\x07nothing\x18\x02 \x01(\x0b\x32\x36.aea.fetchai.oef_search.OefSearchMessage.Query.NothingH\x00\x12\x15\n\x0bquery_bytes\x18\x03 \x01(\x0cH\x00\x1a\t\n\x07NothingB\x07\n\x05query\x1ar\n\x1dRegister_Service_Performative\x12Q\n\x13service_description\x18\x01 \x01(\x0b\x32\x34.aea.fetchai.oef_search.OefSearchMessage.Description\x1at\n\x1fUnregister_Service_Performative\x12Q\n\x13service_description\x18\x01 \x01(\x0b\x32\x34.aea.fetchai.oef_search.OefSearchMessage.Description\x1a]\n\x1cSearch_Services_Performative\x12=\n\x05query\x18\x01 \x01(\x0b\x32..aea.fetchai.oef_search.OefSearchMessage.Query\x1av\n\x1aSearch_Result_Performative\x12\x0e\n\x06\x61gents\x18\x01 \x03(\t\x12H\n\x0b\x61gents_info\x18\x02 \x01(\x0b\x32\x33.aea.fetchai.oef_search.OefSearchMessage.AgentsInfo\x1a\x16\n\x14Success_Performative\x1aq\n\x16Oef_Error_Performative\x12W\n\x13oef_error_operation\x18\x01 \x01(\x0b\x32:.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperationB\x0e\n\x0cperformativeb\x06proto3'
),
)
_OEFSEARCHMESSAGE_OEFERROROPERATION_OEFERRORENUM = _descriptor.EnumDescriptor(
name="OefErrorEnum",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperation.OefErrorEnum",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.OefErrorOperation.OefErrorEnum",
filename=None,
file=DESCRIPTOR,
values=[
@@ -58,22 +58,22 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=878,
- serialized_end=977,
+ serialized_start=814,
+ serialized_end=913,
)
_sym_db.RegisterEnumDescriptor(_OEFSEARCHMESSAGE_OEFERROROPERATION_OEFERRORENUM)
_OEFSEARCHMESSAGE_AGENTSINFO = _descriptor.Descriptor(
name="AgentsInfo",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.AgentsInfo",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.AgentsInfo",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="agents_info",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.AgentsInfo.agents_info",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.AgentsInfo.agents_info",
index=0,
number=1,
type=12,
@@ -98,20 +98,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=685,
- serialized_end=718,
+ serialized_start=629,
+ serialized_end=662,
)
_OEFSEARCHMESSAGE_DESCRIPTION = _descriptor.Descriptor(
name="Description",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Description",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Description",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="description",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Description.description",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Description.description",
index=0,
number=1,
type=12,
@@ -136,20 +136,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=720,
- serialized_end=754,
+ serialized_start=664,
+ serialized_end=698,
)
_OEFSEARCHMESSAGE_OEFERROROPERATION = _descriptor.Descriptor(
name="OefErrorOperation",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperation",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.OefErrorOperation",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="oef_error",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperation.oef_error",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.OefErrorOperation.oef_error",
index=0,
number=1,
type=14,
@@ -174,13 +174,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=757,
- serialized_end=977,
+ serialized_start=701,
+ serialized_end=913,
)
_OEFSEARCHMESSAGE_QUERY_NOTHING = _descriptor.Descriptor(
name="Nothing",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Query.Nothing",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Query.Nothing",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -193,20 +193,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1112,
- serialized_end=1121,
+ serialized_start=1040,
+ serialized_end=1049,
)
_OEFSEARCHMESSAGE_QUERY = _descriptor.Descriptor(
name="Query",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Query",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Query",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="bytes",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Query.bytes",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Query.bytes",
index=0,
number=1,
type=12,
@@ -224,7 +224,7 @@
),
_descriptor.FieldDescriptor(
name="nothing",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Query.nothing",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Query.nothing",
index=1,
number=2,
type=11,
@@ -242,7 +242,7 @@
),
_descriptor.FieldDescriptor(
name="query_bytes",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Query.query_bytes",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Query.query_bytes",
index=2,
number=3,
type=12,
@@ -269,26 +269,26 @@
oneofs=[
_descriptor.OneofDescriptor(
name="query",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Query.query",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Query.query",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=980,
- serialized_end=1130,
+ serialized_start=916,
+ serialized_end=1058,
)
_OEFSEARCHMESSAGE_REGISTER_SERVICE_PERFORMATIVE = _descriptor.Descriptor(
name="Register_Service_Performative",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Register_Service_Performative",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Register_Service_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="service_description",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Register_Service_Performative.service_description",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Register_Service_Performative.service_description",
index=0,
number=1,
type=11,
@@ -313,20 +313,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1132,
- serialized_end=1254,
+ serialized_start=1060,
+ serialized_end=1174,
)
_OEFSEARCHMESSAGE_UNREGISTER_SERVICE_PERFORMATIVE = _descriptor.Descriptor(
name="Unregister_Service_Performative",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Unregister_Service_Performative",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Unregister_Service_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="service_description",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Unregister_Service_Performative.service_description",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Unregister_Service_Performative.service_description",
index=0,
number=1,
type=11,
@@ -351,20 +351,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1256,
- serialized_end=1380,
+ serialized_start=1176,
+ serialized_end=1292,
)
_OEFSEARCHMESSAGE_SEARCH_SERVICES_PERFORMATIVE = _descriptor.Descriptor(
name="Search_Services_Performative",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Services_Performative",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Search_Services_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="query",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Services_Performative.query",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Search_Services_Performative.query",
index=0,
number=1,
type=11,
@@ -389,20 +389,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1382,
- serialized_end=1483,
+ serialized_start=1294,
+ serialized_end=1387,
)
_OEFSEARCHMESSAGE_SEARCH_RESULT_PERFORMATIVE = _descriptor.Descriptor(
name="Search_Result_Performative",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Result_Performative",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Search_Result_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="agents",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Result_Performative.agents",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Search_Result_Performative.agents",
index=0,
number=1,
type=9,
@@ -420,7 +420,7 @@
),
_descriptor.FieldDescriptor(
name="agents_info",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Result_Performative.agents_info",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Search_Result_Performative.agents_info",
index=1,
number=2,
type=11,
@@ -445,13 +445,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1485,
- serialized_end=1611,
+ serialized_start=1389,
+ serialized_end=1507,
)
_OEFSEARCHMESSAGE_SUCCESS_PERFORMATIVE = _descriptor.Descriptor(
name="Success_Performative",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Success_Performative",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Success_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -464,20 +464,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1613,
- serialized_end=1635,
+ serialized_start=1509,
+ serialized_end=1531,
)
_OEFSEARCHMESSAGE_OEF_ERROR_PERFORMATIVE = _descriptor.Descriptor(
name="Oef_Error_Performative",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Oef_Error_Performative",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Oef_Error_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="oef_error_operation",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.Oef_Error_Performative.oef_error_operation",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.Oef_Error_Performative.oef_error_operation",
index=0,
number=1,
type=11,
@@ -502,20 +502,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1637,
- serialized_end=1758,
+ serialized_start=1533,
+ serialized_end=1646,
)
_OEFSEARCHMESSAGE = _descriptor.Descriptor(
name="OefSearchMessage",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage",
+ full_name="aea.fetchai.oef_search.OefSearchMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="oef_error",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.oef_error",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.oef_error",
index=0,
number=5,
type=11,
@@ -533,7 +533,7 @@
),
_descriptor.FieldDescriptor(
name="register_service",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.register_service",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.register_service",
index=1,
number=6,
type=11,
@@ -551,7 +551,7 @@
),
_descriptor.FieldDescriptor(
name="search_result",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.search_result",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.search_result",
index=2,
number=7,
type=11,
@@ -569,7 +569,7 @@
),
_descriptor.FieldDescriptor(
name="search_services",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.search_services",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.search_services",
index=3,
number=8,
type=11,
@@ -587,7 +587,7 @@
),
_descriptor.FieldDescriptor(
name="success",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.success",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.success",
index=4,
number=9,
type=11,
@@ -605,7 +605,7 @@
),
_descriptor.FieldDescriptor(
name="unregister_service",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.unregister_service",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.unregister_service",
index=5,
number=10,
type=11,
@@ -643,14 +643,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetchai.aea.fetchai.oef_search.OefSearchMessage.performative",
+ full_name="aea.fetchai.oef_search.OefSearchMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=53,
- serialized_end=1774,
+ serialized_start=45,
+ serialized_end=1662,
)
_OEFSEARCHMESSAGE_AGENTSINFO.containing_type = _OEFSEARCHMESSAGE
@@ -773,7 +773,7 @@
dict(
DESCRIPTOR=_OEFSEARCHMESSAGE_AGENTSINFO,
__module__="oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.AgentsInfo)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.oef_search.OefSearchMessage.AgentsInfo)
),
),
Description=_reflection.GeneratedProtocolMessageType(
@@ -782,7 +782,7 @@
dict(
DESCRIPTOR=_OEFSEARCHMESSAGE_DESCRIPTION,
__module__="oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Description)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.oef_search.OefSearchMessage.Description)
),
),
OefErrorOperation=_reflection.GeneratedProtocolMessageType(
@@ -791,7 +791,7 @@
dict(
DESCRIPTOR=_OEFSEARCHMESSAGE_OEFERROROPERATION,
__module__="oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.OefErrorOperation)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.oef_search.OefSearchMessage.OefErrorOperation)
),
),
Query=_reflection.GeneratedProtocolMessageType(
@@ -804,12 +804,12 @@
dict(
DESCRIPTOR=_OEFSEARCHMESSAGE_QUERY_NOTHING,
__module__="oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Query.Nothing)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.oef_search.OefSearchMessage.Query.Nothing)
),
),
DESCRIPTOR=_OEFSEARCHMESSAGE_QUERY,
__module__="oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Query)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.oef_search.OefSearchMessage.Query)
),
),
Register_Service_Performative=_reflection.GeneratedProtocolMessageType(
@@ -818,7 +818,7 @@
dict(
DESCRIPTOR=_OEFSEARCHMESSAGE_REGISTER_SERVICE_PERFORMATIVE,
__module__="oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Register_Service_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.oef_search.OefSearchMessage.Register_Service_Performative)
),
),
Unregister_Service_Performative=_reflection.GeneratedProtocolMessageType(
@@ -827,7 +827,7 @@
dict(
DESCRIPTOR=_OEFSEARCHMESSAGE_UNREGISTER_SERVICE_PERFORMATIVE,
__module__="oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Unregister_Service_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.oef_search.OefSearchMessage.Unregister_Service_Performative)
),
),
Search_Services_Performative=_reflection.GeneratedProtocolMessageType(
@@ -836,7 +836,7 @@
dict(
DESCRIPTOR=_OEFSEARCHMESSAGE_SEARCH_SERVICES_PERFORMATIVE,
__module__="oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Services_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.oef_search.OefSearchMessage.Search_Services_Performative)
),
),
Search_Result_Performative=_reflection.GeneratedProtocolMessageType(
@@ -845,7 +845,7 @@
dict(
DESCRIPTOR=_OEFSEARCHMESSAGE_SEARCH_RESULT_PERFORMATIVE,
__module__="oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Search_Result_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.oef_search.OefSearchMessage.Search_Result_Performative)
),
),
Success_Performative=_reflection.GeneratedProtocolMessageType(
@@ -854,7 +854,7 @@
dict(
DESCRIPTOR=_OEFSEARCHMESSAGE_SUCCESS_PERFORMATIVE,
__module__="oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Success_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.oef_search.OefSearchMessage.Success_Performative)
),
),
Oef_Error_Performative=_reflection.GeneratedProtocolMessageType(
@@ -863,12 +863,12 @@
dict(
DESCRIPTOR=_OEFSEARCHMESSAGE_OEF_ERROR_PERFORMATIVE,
__module__="oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage.Oef_Error_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.oef_search.OefSearchMessage.Oef_Error_Performative)
),
),
DESCRIPTOR=_OEFSEARCHMESSAGE,
__module__="oef_search_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.oef_search.OefSearchMessage)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.oef_search.OefSearchMessage)
),
)
_sym_db.RegisterMessage(OefSearchMessage)
diff --git a/packages/fetchai/protocols/oef_search/protocol.yaml b/packages/fetchai/protocols/oef_search/protocol.yaml
index 57d1a6fe0d..6c1fad7507 100644
--- a/packages/fetchai/protocols/oef_search/protocol.yaml
+++ b/packages/fetchai/protocols/oef_search/protocol.yaml
@@ -11,8 +11,8 @@ fingerprint:
custom_types.py: QmPhg3DBpLYzjEuzjC9w9rZQnNwcmXG3k5ACmtdgmiUgwu
dialogues.py: QmQPLnW3jAs6tLLmhkX4C7texGRHM9bfdjs83dUH5TkJ4v
message.py: QmXj8MgvPtJKXZyhTnTfpXEZoAz4Z1u6wbMwMkKCRgvujL
- oef_search.proto: QmSq22zt3zpiLyTTDzPo71QCCFebxpHgSKK1PWfo2cMNyh
- oef_search_pb2.py: QmaEHK8KG6q2nkZA9i2fvGyHKGLhK85UZDenRD3ig5FUK8
+ oef_search.proto: Qmc1g4vN9rk9N7PV2Zbp3HH8dXFPzrS3FoCuqZuH9anMWV
+ oef_search_pb2.py: QmW7p11p2uorNKAN2wK7zWvaHPkYk1scojzpLyLJzgT4m1
serialization.py: QmSZA26BK7zdb7rJ6Fkca2dVBjUaegM7vCrTtpGshssFPj
fingerprint_ignore_patterns: []
dependencies:
diff --git a/packages/fetchai/protocols/tac/protocol.yaml b/packages/fetchai/protocols/tac/protocol.yaml
index 3bedb6f668..257b0eba06 100644
--- a/packages/fetchai/protocols/tac/protocol.yaml
+++ b/packages/fetchai/protocols/tac/protocol.yaml
@@ -13,8 +13,8 @@ fingerprint:
dialogues.py: QmTxHrcGujP1RUYvfJygZyQoUwmDg2GBWfmbR3tWUSbyop
message.py: QmfNdmYk3wssDJvHwMsMxXaiWCjm3fSH9Su4KmsYDZJoWg
serialization.py: QmZYhkHa6wW5T4fSUSHar67C76ascfKLsevWEfkff3uVvU
- tac.proto: QmdPn2Z4xiPuc16PPzd8NNsbRd95aEDbvfUm1FFjvZZcuy
- tac_pb2.py: QmYDEdWMwpfDawJPf8rjwLnEwDjdT4KuyNwYS8kEC5swKy
+ tac.proto: QmUXk2kwqp1vo22oZdvLbWKirojeqkXdGSmiz6r14bMqSE
+ tac_pb2.py: QmQYbDoEWt4cthXQTLYozRTAb5CFWEDMFptfvryze2Reqa
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/packages/fetchai/protocols/tac/tac.proto b/packages/fetchai/protocols/tac/tac.proto
index e35d12a7bd..df34ebd4a4 100644
--- a/packages/fetchai/protocols/tac/tac.proto
+++ b/packages/fetchai/protocols/tac/tac.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetchai.aea.fetchai.tac;
+package aea.fetchai.tac;
message TacMessage{
diff --git a/packages/fetchai/protocols/tac/tac_pb2.py b/packages/fetchai/protocols/tac/tac_pb2.py
index 85a066c708..d2bcc5988b 100644
--- a/packages/fetchai/protocols/tac/tac_pb2.py
+++ b/packages/fetchai/protocols/tac/tac_pb2.py
@@ -16,18 +16,18 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="tac.proto",
- package="fetchai.aea.fetchai.tac",
+ package="aea.fetchai.tac",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\ttac.proto\x12\x17\x66\x65tchai.aea.fetchai.tac"\x93 \n\nTacMessage\x12O\n\tcancelled\x18\x05 \x01(\x0b\x32:.fetchai.aea.fetchai.tac.TacMessage.Cancelled_PerformativeH\x00\x12O\n\tgame_data\x18\x06 \x01(\x0b\x32:.fetchai.aea.fetchai.tac.TacMessage.Game_Data_PerformativeH\x00\x12M\n\x08register\x18\x07 \x01(\x0b\x32\x39.fetchai.aea.fetchai.tac.TacMessage.Register_PerformativeH\x00\x12O\n\ttac_error\x18\x08 \x01(\x0b\x32:.fetchai.aea.fetchai.tac.TacMessage.Tac_Error_PerformativeH\x00\x12S\n\x0btransaction\x18\t \x01(\x0b\x32<.fetchai.aea.fetchai.tac.TacMessage.Transaction_PerformativeH\x00\x12m\n\x18transaction_confirmation\x18\n \x01(\x0b\x32I.fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_PerformativeH\x00\x12Q\n\nunregister\x18\x0b \x01(\x0b\x32;.fetchai.aea.fetchai.tac.TacMessage.Unregister_PerformativeH\x00\x1a\x8a\x03\n\tErrorCode\x12O\n\nerror_code\x18\x01 \x01(\x0e\x32;.fetchai.aea.fetchai.tac.TacMessage.ErrorCode.ErrorCodeEnum"\xab\x02\n\rErrorCodeEnum\x12\x11\n\rGENERIC_ERROR\x10\x00\x12\x15\n\x11REQUEST_NOT_VALID\x10\x01\x12!\n\x1d\x41GENT_ADDR_ALREADY_REGISTERED\x10\x02\x12!\n\x1d\x41GENT_NAME_ALREADY_REGISTERED\x10\x03\x12\x18\n\x14\x41GENT_NOT_REGISTERED\x10\x04\x12\x19\n\x15TRANSACTION_NOT_VALID\x10\x05\x12\x1c\n\x18TRANSACTION_NOT_MATCHING\x10\x06\x12\x1f\n\x1b\x41GENT_NAME_NOT_IN_WHITELIST\x10\x07\x12\x1b\n\x17\x43OMPETITION_NOT_RUNNING\x10\x08\x12\x19\n\x15\x44IALOGUE_INCONSISTENT\x10\t\x1a+\n\x15Register_Performative\x12\x12\n\nagent_name\x18\x01 \x01(\t\x1a\x19\n\x17Unregister_Performative\x1a\xcb\x05\n\x18Transaction_Performative\x12\x16\n\x0etransaction_id\x18\x01 \x01(\t\x12\x11\n\tledger_id\x18\x02 \x01(\t\x12\x16\n\x0esender_address\x18\x03 \x01(\t\x12\x1c\n\x14\x63ounterparty_address\x18\x04 \x01(\t\x12s\n\x15\x61mount_by_currency_id\x18\x05 \x03(\x0b\x32T.fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry\x12m\n\x12\x66\x65\x65_by_currency_id\x18\x06 \x03(\x0b\x32Q.fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry\x12s\n\x15quantities_by_good_id\x18\x07 \x03(\x0b\x32T.fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry\x12\r\n\x05nonce\x18\x08 \x01(\t\x12\x18\n\x10sender_signature\x18\t \x01(\t\x12\x1e\n\x16\x63ounterparty_signature\x18\n \x01(\t\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x36\n\x14\x46\x65\x65\x42yCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x18\n\x16\x43\x61ncelled_Performative\x1a\xac\x0c\n\x16Game_Data_Performative\x12q\n\x15\x61mount_by_currency_id\x18\x01 \x03(\x0b\x32R.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry\x12\x82\x01\n\x1e\x65xchange_params_by_currency_id\x18\x02 \x03(\x0b\x32Z.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry\x12q\n\x15quantities_by_good_id\x18\x03 \x03(\x0b\x32R.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry\x12x\n\x19utility_params_by_good_id\x18\x04 \x03(\x0b\x32U.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry\x12k\n\x12\x66\x65\x65_by_currency_id\x18\x05 \x03(\x0b\x32O.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry\x12k\n\x12\x61gent_addr_to_name\x18\x06 \x03(\x0b\x32O.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry\x12m\n\x13\x63urrency_id_to_name\x18\x07 \x03(\x0b\x32P.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry\x12\x65\n\x0fgood_id_to_name\x18\x08 \x03(\x0b\x32L.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry\x12\x12\n\nversion_id\x18\t \x01(\t\x12R\n\x04info\x18\n \x03(\x0b\x32\x44.fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.InfoEntry\x12\x13\n\x0binfo_is_set\x18\x0b \x01(\x08\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x41\n\x1f\x45xchangeParamsByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a<\n\x1aUtilityParamsByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x36\n\x14\x46\x65\x65\x42yCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x36\n\x14\x41gentAddrToNameEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15\x43urrencyIdToNameEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11GoodIdToNameEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xbb\x03\n%Transaction_Confirmation_Performative\x12\x16\n\x0etransaction_id\x18\x01 \x01(\t\x12\x80\x01\n\x15\x61mount_by_currency_id\x18\x02 \x03(\x0b\x32\x61.fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry\x12\x80\x01\n\x15quantities_by_good_id\x18\x03 \x03(\x0b\x32\x61.fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\xf1\x01\n\x16Tac_Error_Performative\x12\x41\n\nerror_code\x18\x01 \x01(\x0b\x32-.fetchai.aea.fetchai.tac.TacMessage.ErrorCode\x12R\n\x04info\x18\x02 \x03(\x0b\x32\x44.fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative.InfoEntry\x12\x13\n\x0binfo_is_set\x18\x03 \x01(\x08\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0cperformativeb\x06proto3'
+ '\n\ttac.proto\x12\x0f\x61\x65\x61.fetchai.tac"\xd0\x1e\n\nTacMessage\x12G\n\tcancelled\x18\x05 \x01(\x0b\x32\x32.aea.fetchai.tac.TacMessage.Cancelled_PerformativeH\x00\x12G\n\tgame_data\x18\x06 \x01(\x0b\x32\x32.aea.fetchai.tac.TacMessage.Game_Data_PerformativeH\x00\x12\x45\n\x08register\x18\x07 \x01(\x0b\x32\x31.aea.fetchai.tac.TacMessage.Register_PerformativeH\x00\x12G\n\ttac_error\x18\x08 \x01(\x0b\x32\x32.aea.fetchai.tac.TacMessage.Tac_Error_PerformativeH\x00\x12K\n\x0btransaction\x18\t \x01(\x0b\x32\x34.aea.fetchai.tac.TacMessage.Transaction_PerformativeH\x00\x12\x65\n\x18transaction_confirmation\x18\n \x01(\x0b\x32\x41.aea.fetchai.tac.TacMessage.Transaction_Confirmation_PerformativeH\x00\x12I\n\nunregister\x18\x0b \x01(\x0b\x32\x33.aea.fetchai.tac.TacMessage.Unregister_PerformativeH\x00\x1a\x82\x03\n\tErrorCode\x12G\n\nerror_code\x18\x01 \x01(\x0e\x32\x33.aea.fetchai.tac.TacMessage.ErrorCode.ErrorCodeEnum"\xab\x02\n\rErrorCodeEnum\x12\x11\n\rGENERIC_ERROR\x10\x00\x12\x15\n\x11REQUEST_NOT_VALID\x10\x01\x12!\n\x1d\x41GENT_ADDR_ALREADY_REGISTERED\x10\x02\x12!\n\x1d\x41GENT_NAME_ALREADY_REGISTERED\x10\x03\x12\x18\n\x14\x41GENT_NOT_REGISTERED\x10\x04\x12\x19\n\x15TRANSACTION_NOT_VALID\x10\x05\x12\x1c\n\x18TRANSACTION_NOT_MATCHING\x10\x06\x12\x1f\n\x1b\x41GENT_NAME_NOT_IN_WHITELIST\x10\x07\x12\x1b\n\x17\x43OMPETITION_NOT_RUNNING\x10\x08\x12\x19\n\x15\x44IALOGUE_INCONSISTENT\x10\t\x1a+\n\x15Register_Performative\x12\x12\n\nagent_name\x18\x01 \x01(\t\x1a\x19\n\x17Unregister_Performative\x1a\xb3\x05\n\x18Transaction_Performative\x12\x16\n\x0etransaction_id\x18\x01 \x01(\t\x12\x11\n\tledger_id\x18\x02 \x01(\t\x12\x16\n\x0esender_address\x18\x03 \x01(\t\x12\x1c\n\x14\x63ounterparty_address\x18\x04 \x01(\t\x12k\n\x15\x61mount_by_currency_id\x18\x05 \x03(\x0b\x32L.aea.fetchai.tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry\x12\x65\n\x12\x66\x65\x65_by_currency_id\x18\x06 \x03(\x0b\x32I.aea.fetchai.tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry\x12k\n\x15quantities_by_good_id\x18\x07 \x03(\x0b\x32L.aea.fetchai.tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry\x12\r\n\x05nonce\x18\x08 \x01(\t\x12\x18\n\x10sender_signature\x18\t \x01(\t\x12\x1e\n\x16\x63ounterparty_signature\x18\n \x01(\t\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x36\n\x14\x46\x65\x65\x42yCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x18\n\x16\x43\x61ncelled_Performative\x1a\xe3\x0b\n\x16Game_Data_Performative\x12i\n\x15\x61mount_by_currency_id\x18\x01 \x03(\x0b\x32J.aea.fetchai.tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry\x12z\n\x1e\x65xchange_params_by_currency_id\x18\x02 \x03(\x0b\x32R.aea.fetchai.tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry\x12i\n\x15quantities_by_good_id\x18\x03 \x03(\x0b\x32J.aea.fetchai.tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry\x12p\n\x19utility_params_by_good_id\x18\x04 \x03(\x0b\x32M.aea.fetchai.tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry\x12\x63\n\x12\x66\x65\x65_by_currency_id\x18\x05 \x03(\x0b\x32G.aea.fetchai.tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry\x12\x63\n\x12\x61gent_addr_to_name\x18\x06 \x03(\x0b\x32G.aea.fetchai.tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry\x12\x65\n\x13\x63urrency_id_to_name\x18\x07 \x03(\x0b\x32H.aea.fetchai.tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry\x12]\n\x0fgood_id_to_name\x18\x08 \x03(\x0b\x32\x44.aea.fetchai.tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry\x12\x12\n\nversion_id\x18\t \x01(\t\x12J\n\x04info\x18\n \x03(\x0b\x32<.aea.fetchai.tac.TacMessage.Game_Data_Performative.InfoEntry\x12\x13\n\x0binfo_is_set\x18\x0b \x01(\x08\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x41\n\x1f\x45xchangeParamsByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a<\n\x1aUtilityParamsByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x36\n\x14\x46\x65\x65\x42yCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x36\n\x14\x41gentAddrToNameEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15\x43urrencyIdToNameEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11GoodIdToNameEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xa9\x03\n%Transaction_Confirmation_Performative\x12\x16\n\x0etransaction_id\x18\x01 \x01(\t\x12x\n\x15\x61mount_by_currency_id\x18\x02 \x03(\x0b\x32Y.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry\x12x\n\x15quantities_by_good_id\x18\x03 \x03(\x0b\x32Y.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry\x1a\x39\n\x17\x41mountByCurrencyIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x39\n\x17QuantitiesByGoodIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\xe1\x01\n\x16Tac_Error_Performative\x12\x39\n\nerror_code\x18\x01 \x01(\x0b\x32%.aea.fetchai.tac.TacMessage.ErrorCode\x12J\n\x04info\x18\x02 \x03(\x0b\x32<.aea.fetchai.tac.TacMessage.Tac_Error_Performative.InfoEntry\x12\x13\n\x0binfo_is_set\x18\x03 \x01(\x08\x1a+\n\tInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0e\n\x0cperformativeb\x06proto3'
),
)
_TACMESSAGE_ERRORCODE_ERRORCODEENUM = _descriptor.EnumDescriptor(
name="ErrorCodeEnum",
- full_name="fetchai.aea.fetchai.tac.TacMessage.ErrorCode.ErrorCodeEnum",
+ full_name="aea.fetchai.tac.TacMessage.ErrorCode.ErrorCodeEnum",
filename=None,
file=DESCRIPTOR,
values=[
@@ -100,22 +100,22 @@
],
containing_type=None,
serialized_options=None,
- serialized_start=750,
- serialized_end=1049,
+ serialized_start=678,
+ serialized_end=977,
)
_sym_db.RegisterEnumDescriptor(_TACMESSAGE_ERRORCODE_ERRORCODEENUM)
_TACMESSAGE_ERRORCODE = _descriptor.Descriptor(
name="ErrorCode",
- full_name="fetchai.aea.fetchai.tac.TacMessage.ErrorCode",
+ full_name="aea.fetchai.tac.TacMessage.ErrorCode",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="error_code",
- full_name="fetchai.aea.fetchai.tac.TacMessage.ErrorCode.error_code",
+ full_name="aea.fetchai.tac.TacMessage.ErrorCode.error_code",
index=0,
number=1,
type=14,
@@ -140,20 +140,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=655,
- serialized_end=1049,
+ serialized_start=591,
+ serialized_end=977,
)
_TACMESSAGE_REGISTER_PERFORMATIVE = _descriptor.Descriptor(
name="Register_Performative",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Register_Performative",
+ full_name="aea.fetchai.tac.TacMessage.Register_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="agent_name",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Register_Performative.agent_name",
+ full_name="aea.fetchai.tac.TacMessage.Register_Performative.agent_name",
index=0,
number=1,
type=9,
@@ -178,13 +178,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1051,
- serialized_end=1094,
+ serialized_start=979,
+ serialized_end=1022,
)
_TACMESSAGE_UNREGISTER_PERFORMATIVE = _descriptor.Descriptor(
name="Unregister_Performative",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Unregister_Performative",
+ full_name="aea.fetchai.tac.TacMessage.Unregister_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -197,20 +197,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1096,
- serialized_end=1121,
+ serialized_start=1024,
+ serialized_end=1049,
)
_TACMESSAGE_TRANSACTION_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="AmountByCurrencyIdEntry",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry.key",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
@@ -228,7 +228,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry.value",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry.value",
index=1,
number=2,
type=5,
@@ -253,20 +253,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1667,
- serialized_end=1724,
+ serialized_start=1571,
+ serialized_end=1628,
)
_TACMESSAGE_TRANSACTION_PERFORMATIVE_FEEBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="FeeByCurrencyIdEntry",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry.key",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
@@ -284,7 +284,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry.value",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry.value",
index=1,
number=2,
type=5,
@@ -309,20 +309,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1726,
- serialized_end=1780,
+ serialized_start=1630,
+ serialized_end=1684,
)
_TACMESSAGE_TRANSACTION_PERFORMATIVE_QUANTITIESBYGOODIDENTRY = _descriptor.Descriptor(
name="QuantitiesByGoodIdEntry",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry.key",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry.key",
index=0,
number=1,
type=9,
@@ -340,7 +340,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry.value",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry.value",
index=1,
number=2,
type=5,
@@ -365,20 +365,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1782,
- serialized_end=1839,
+ serialized_start=1686,
+ serialized_end=1743,
)
_TACMESSAGE_TRANSACTION_PERFORMATIVE = _descriptor.Descriptor(
name="Transaction_Performative",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="transaction_id",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.transaction_id",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.transaction_id",
index=0,
number=1,
type=9,
@@ -396,7 +396,7 @@
),
_descriptor.FieldDescriptor(
name="ledger_id",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.ledger_id",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.ledger_id",
index=1,
number=2,
type=9,
@@ -414,7 +414,7 @@
),
_descriptor.FieldDescriptor(
name="sender_address",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.sender_address",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.sender_address",
index=2,
number=3,
type=9,
@@ -432,7 +432,7 @@
),
_descriptor.FieldDescriptor(
name="counterparty_address",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.counterparty_address",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.counterparty_address",
index=3,
number=4,
type=9,
@@ -450,7 +450,7 @@
),
_descriptor.FieldDescriptor(
name="amount_by_currency_id",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.amount_by_currency_id",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.amount_by_currency_id",
index=4,
number=5,
type=11,
@@ -468,7 +468,7 @@
),
_descriptor.FieldDescriptor(
name="fee_by_currency_id",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.fee_by_currency_id",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.fee_by_currency_id",
index=5,
number=6,
type=11,
@@ -486,7 +486,7 @@
),
_descriptor.FieldDescriptor(
name="quantities_by_good_id",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.quantities_by_good_id",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.quantities_by_good_id",
index=6,
number=7,
type=11,
@@ -504,7 +504,7 @@
),
_descriptor.FieldDescriptor(
name="nonce",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.nonce",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.nonce",
index=7,
number=8,
type=9,
@@ -522,7 +522,7 @@
),
_descriptor.FieldDescriptor(
name="sender_signature",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.sender_signature",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.sender_signature",
index=8,
number=9,
type=9,
@@ -540,7 +540,7 @@
),
_descriptor.FieldDescriptor(
name="counterparty_signature",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.counterparty_signature",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Performative.counterparty_signature",
index=9,
number=10,
type=9,
@@ -569,13 +569,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1124,
- serialized_end=1839,
+ serialized_start=1052,
+ serialized_end=1743,
)
_TACMESSAGE_CANCELLED_PERFORMATIVE = _descriptor.Descriptor(
name="Cancelled_Performative",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Cancelled_Performative",
+ full_name="aea.fetchai.tac.TacMessage.Cancelled_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -588,20 +588,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1841,
- serialized_end=1865,
+ serialized_start=1745,
+ serialized_end=1769,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="AmountByCurrencyIdEntry",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry.key",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
@@ -619,7 +619,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry.value",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry.value",
index=1,
number=2,
type=5,
@@ -644,20 +644,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1667,
- serialized_end=1724,
+ serialized_start=1571,
+ serialized_end=1628,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_EXCHANGEPARAMSBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="ExchangeParamsByCurrencyIdEntry",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry.key",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
@@ -675,7 +675,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry.value",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry.value",
index=1,
number=2,
type=2,
@@ -700,20 +700,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=2995,
- serialized_end=3060,
+ serialized_start=2826,
+ serialized_end=2891,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_QUANTITIESBYGOODIDENTRY = _descriptor.Descriptor(
name="QuantitiesByGoodIdEntry",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry.key",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry.key",
index=0,
number=1,
type=9,
@@ -731,7 +731,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry.value",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry.value",
index=1,
number=2,
type=5,
@@ -756,20 +756,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1782,
- serialized_end=1839,
+ serialized_start=1686,
+ serialized_end=1743,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_UTILITYPARAMSBYGOODIDENTRY = _descriptor.Descriptor(
name="UtilityParamsByGoodIdEntry",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry.key",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry.key",
index=0,
number=1,
type=9,
@@ -787,7 +787,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry.value",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry.value",
index=1,
number=2,
type=2,
@@ -812,20 +812,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3121,
- serialized_end=3181,
+ serialized_start=2952,
+ serialized_end=3012,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_FEEBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="FeeByCurrencyIdEntry",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry.key",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
@@ -843,7 +843,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry.value",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry.value",
index=1,
number=2,
type=5,
@@ -868,20 +868,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1726,
- serialized_end=1780,
+ serialized_start=1630,
+ serialized_end=1684,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_AGENTADDRTONAMEENTRY = _descriptor.Descriptor(
name="AgentAddrToNameEntry",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry.key",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry.key",
index=0,
number=1,
type=9,
@@ -899,7 +899,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry.value",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry.value",
index=1,
number=2,
type=9,
@@ -924,20 +924,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3239,
- serialized_end=3293,
+ serialized_start=3070,
+ serialized_end=3124,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_CURRENCYIDTONAMEENTRY = _descriptor.Descriptor(
name="CurrencyIdToNameEntry",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry.key",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry.key",
index=0,
number=1,
type=9,
@@ -955,7 +955,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry.value",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry.value",
index=1,
number=2,
type=9,
@@ -980,20 +980,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3295,
- serialized_end=3350,
+ serialized_start=3126,
+ serialized_end=3181,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_GOODIDTONAMEENTRY = _descriptor.Descriptor(
name="GoodIdToNameEntry",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry.key",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry.key",
index=0,
number=1,
type=9,
@@ -1011,7 +1011,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry.value",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry.value",
index=1,
number=2,
type=9,
@@ -1036,20 +1036,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3352,
- serialized_end=3403,
+ serialized_start=3183,
+ serialized_end=3234,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE_INFOENTRY = _descriptor.Descriptor(
name="InfoEntry",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.InfoEntry",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.InfoEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.InfoEntry.key",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.InfoEntry.key",
index=0,
number=1,
type=9,
@@ -1067,7 +1067,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.InfoEntry.value",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.InfoEntry.value",
index=1,
number=2,
type=9,
@@ -1092,20 +1092,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3405,
- serialized_end=3448,
+ serialized_start=3236,
+ serialized_end=3279,
)
_TACMESSAGE_GAME_DATA_PERFORMATIVE = _descriptor.Descriptor(
name="Game_Data_Performative",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="amount_by_currency_id",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.amount_by_currency_id",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.amount_by_currency_id",
index=0,
number=1,
type=11,
@@ -1123,7 +1123,7 @@
),
_descriptor.FieldDescriptor(
name="exchange_params_by_currency_id",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.exchange_params_by_currency_id",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.exchange_params_by_currency_id",
index=1,
number=2,
type=11,
@@ -1141,7 +1141,7 @@
),
_descriptor.FieldDescriptor(
name="quantities_by_good_id",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.quantities_by_good_id",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.quantities_by_good_id",
index=2,
number=3,
type=11,
@@ -1159,7 +1159,7 @@
),
_descriptor.FieldDescriptor(
name="utility_params_by_good_id",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.utility_params_by_good_id",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.utility_params_by_good_id",
index=3,
number=4,
type=11,
@@ -1177,7 +1177,7 @@
),
_descriptor.FieldDescriptor(
name="fee_by_currency_id",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.fee_by_currency_id",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.fee_by_currency_id",
index=4,
number=5,
type=11,
@@ -1195,7 +1195,7 @@
),
_descriptor.FieldDescriptor(
name="agent_addr_to_name",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.agent_addr_to_name",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.agent_addr_to_name",
index=5,
number=6,
type=11,
@@ -1213,7 +1213,7 @@
),
_descriptor.FieldDescriptor(
name="currency_id_to_name",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.currency_id_to_name",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.currency_id_to_name",
index=6,
number=7,
type=11,
@@ -1231,7 +1231,7 @@
),
_descriptor.FieldDescriptor(
name="good_id_to_name",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.good_id_to_name",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.good_id_to_name",
index=7,
number=8,
type=11,
@@ -1249,7 +1249,7 @@
),
_descriptor.FieldDescriptor(
name="version_id",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.version_id",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.version_id",
index=8,
number=9,
type=9,
@@ -1267,7 +1267,7 @@
),
_descriptor.FieldDescriptor(
name="info",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.info",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.info",
index=9,
number=10,
type=11,
@@ -1285,7 +1285,7 @@
),
_descriptor.FieldDescriptor(
name="info_is_set",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.info_is_set",
+ full_name="aea.fetchai.tac.TacMessage.Game_Data_Performative.info_is_set",
index=10,
number=11,
type=8,
@@ -1320,20 +1320,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1868,
- serialized_end=3448,
+ serialized_start=1772,
+ serialized_end=3279,
)
_TACMESSAGE_TRANSACTION_CONFIRMATION_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY = _descriptor.Descriptor(
name="AmountByCurrencyIdEntry",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry.key",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry.key",
index=0,
number=1,
type=9,
@@ -1351,7 +1351,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry.value",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry.value",
index=1,
number=2,
type=5,
@@ -1376,20 +1376,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1667,
- serialized_end=1724,
+ serialized_start=1571,
+ serialized_end=1628,
)
_TACMESSAGE_TRANSACTION_CONFIRMATION_PERFORMATIVE_QUANTITIESBYGOODIDENTRY = _descriptor.Descriptor(
name="QuantitiesByGoodIdEntry",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry.key",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry.key",
index=0,
number=1,
type=9,
@@ -1407,7 +1407,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry.value",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry.value",
index=1,
number=2,
type=5,
@@ -1432,20 +1432,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1782,
- serialized_end=1839,
+ serialized_start=1686,
+ serialized_end=1743,
)
_TACMESSAGE_TRANSACTION_CONFIRMATION_PERFORMATIVE = _descriptor.Descriptor(
name="Transaction_Confirmation_Performative",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="transaction_id",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.transaction_id",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.transaction_id",
index=0,
number=1,
type=9,
@@ -1463,7 +1463,7 @@
),
_descriptor.FieldDescriptor(
name="amount_by_currency_id",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.amount_by_currency_id",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.amount_by_currency_id",
index=1,
number=2,
type=11,
@@ -1481,7 +1481,7 @@
),
_descriptor.FieldDescriptor(
name="quantities_by_good_id",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.quantities_by_good_id",
+ full_name="aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.quantities_by_good_id",
index=2,
number=3,
type=11,
@@ -1509,20 +1509,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3451,
- serialized_end=3894,
+ serialized_start=3282,
+ serialized_end=3707,
)
_TACMESSAGE_TAC_ERROR_PERFORMATIVE_INFOENTRY = _descriptor.Descriptor(
name="InfoEntry",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative.InfoEntry",
+ full_name="aea.fetchai.tac.TacMessage.Tac_Error_Performative.InfoEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative.InfoEntry.key",
+ full_name="aea.fetchai.tac.TacMessage.Tac_Error_Performative.InfoEntry.key",
index=0,
number=1,
type=9,
@@ -1540,7 +1540,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative.InfoEntry.value",
+ full_name="aea.fetchai.tac.TacMessage.Tac_Error_Performative.InfoEntry.value",
index=1,
number=2,
type=9,
@@ -1565,20 +1565,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3405,
- serialized_end=3448,
+ serialized_start=3236,
+ serialized_end=3279,
)
_TACMESSAGE_TAC_ERROR_PERFORMATIVE = _descriptor.Descriptor(
name="Tac_Error_Performative",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative",
+ full_name="aea.fetchai.tac.TacMessage.Tac_Error_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="error_code",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative.error_code",
+ full_name="aea.fetchai.tac.TacMessage.Tac_Error_Performative.error_code",
index=0,
number=1,
type=11,
@@ -1596,7 +1596,7 @@
),
_descriptor.FieldDescriptor(
name="info",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative.info",
+ full_name="aea.fetchai.tac.TacMessage.Tac_Error_Performative.info",
index=1,
number=2,
type=11,
@@ -1614,7 +1614,7 @@
),
_descriptor.FieldDescriptor(
name="info_is_set",
- full_name="fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative.info_is_set",
+ full_name="aea.fetchai.tac.TacMessage.Tac_Error_Performative.info_is_set",
index=2,
number=3,
type=8,
@@ -1639,20 +1639,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3897,
- serialized_end=4138,
+ serialized_start=3710,
+ serialized_end=3935,
)
_TACMESSAGE = _descriptor.Descriptor(
name="TacMessage",
- full_name="fetchai.aea.fetchai.tac.TacMessage",
+ full_name="aea.fetchai.tac.TacMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="cancelled",
- full_name="fetchai.aea.fetchai.tac.TacMessage.cancelled",
+ full_name="aea.fetchai.tac.TacMessage.cancelled",
index=0,
number=5,
type=11,
@@ -1670,7 +1670,7 @@
),
_descriptor.FieldDescriptor(
name="game_data",
- full_name="fetchai.aea.fetchai.tac.TacMessage.game_data",
+ full_name="aea.fetchai.tac.TacMessage.game_data",
index=1,
number=6,
type=11,
@@ -1688,7 +1688,7 @@
),
_descriptor.FieldDescriptor(
name="register",
- full_name="fetchai.aea.fetchai.tac.TacMessage.register",
+ full_name="aea.fetchai.tac.TacMessage.register",
index=2,
number=7,
type=11,
@@ -1706,7 +1706,7 @@
),
_descriptor.FieldDescriptor(
name="tac_error",
- full_name="fetchai.aea.fetchai.tac.TacMessage.tac_error",
+ full_name="aea.fetchai.tac.TacMessage.tac_error",
index=3,
number=8,
type=11,
@@ -1724,7 +1724,7 @@
),
_descriptor.FieldDescriptor(
name="transaction",
- full_name="fetchai.aea.fetchai.tac.TacMessage.transaction",
+ full_name="aea.fetchai.tac.TacMessage.transaction",
index=4,
number=9,
type=11,
@@ -1742,7 +1742,7 @@
),
_descriptor.FieldDescriptor(
name="transaction_confirmation",
- full_name="fetchai.aea.fetchai.tac.TacMessage.transaction_confirmation",
+ full_name="aea.fetchai.tac.TacMessage.transaction_confirmation",
index=5,
number=10,
type=11,
@@ -1760,7 +1760,7 @@
),
_descriptor.FieldDescriptor(
name="unregister",
- full_name="fetchai.aea.fetchai.tac.TacMessage.unregister",
+ full_name="aea.fetchai.tac.TacMessage.unregister",
index=6,
number=11,
type=11,
@@ -1796,14 +1796,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetchai.aea.fetchai.tac.TacMessage.performative",
+ full_name="aea.fetchai.tac.TacMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=39,
- serialized_end=4154,
+ serialized_start=31,
+ serialized_end=3951,
)
_TACMESSAGE_ERRORCODE.fields_by_name[
@@ -1989,7 +1989,7 @@
dict(
DESCRIPTOR=_TACMESSAGE_ERRORCODE,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.ErrorCode)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.ErrorCode)
),
),
Register_Performative=_reflection.GeneratedProtocolMessageType(
@@ -1998,7 +1998,7 @@
dict(
DESCRIPTOR=_TACMESSAGE_REGISTER_PERFORMATIVE,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Register_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Register_Performative)
),
),
Unregister_Performative=_reflection.GeneratedProtocolMessageType(
@@ -2007,7 +2007,7 @@
dict(
DESCRIPTOR=_TACMESSAGE_UNREGISTER_PERFORMATIVE,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Unregister_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Unregister_Performative)
),
),
Transaction_Performative=_reflection.GeneratedProtocolMessageType(
@@ -2020,7 +2020,7 @@
dict(
DESCRIPTOR=_TACMESSAGE_TRANSACTION_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Transaction_Performative.AmountByCurrencyIdEntry)
),
),
FeeByCurrencyIdEntry=_reflection.GeneratedProtocolMessageType(
@@ -2029,7 +2029,7 @@
dict(
DESCRIPTOR=_TACMESSAGE_TRANSACTION_PERFORMATIVE_FEEBYCURRENCYIDENTRY,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Transaction_Performative.FeeByCurrencyIdEntry)
),
),
QuantitiesByGoodIdEntry=_reflection.GeneratedProtocolMessageType(
@@ -2038,12 +2038,12 @@
dict(
DESCRIPTOR=_TACMESSAGE_TRANSACTION_PERFORMATIVE_QUANTITIESBYGOODIDENTRY,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Transaction_Performative.QuantitiesByGoodIdEntry)
),
),
DESCRIPTOR=_TACMESSAGE_TRANSACTION_PERFORMATIVE,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Transaction_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Transaction_Performative)
),
),
Cancelled_Performative=_reflection.GeneratedProtocolMessageType(
@@ -2052,7 +2052,7 @@
dict(
DESCRIPTOR=_TACMESSAGE_CANCELLED_PERFORMATIVE,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Cancelled_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Cancelled_Performative)
),
),
Game_Data_Performative=_reflection.GeneratedProtocolMessageType(
@@ -2065,7 +2065,7 @@
dict(
DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Game_Data_Performative.AmountByCurrencyIdEntry)
),
),
ExchangeParamsByCurrencyIdEntry=_reflection.GeneratedProtocolMessageType(
@@ -2074,7 +2074,7 @@
dict(
DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_EXCHANGEPARAMSBYCURRENCYIDENTRY,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Game_Data_Performative.ExchangeParamsByCurrencyIdEntry)
),
),
QuantitiesByGoodIdEntry=_reflection.GeneratedProtocolMessageType(
@@ -2083,7 +2083,7 @@
dict(
DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_QUANTITIESBYGOODIDENTRY,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Game_Data_Performative.QuantitiesByGoodIdEntry)
),
),
UtilityParamsByGoodIdEntry=_reflection.GeneratedProtocolMessageType(
@@ -2092,7 +2092,7 @@
dict(
DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_UTILITYPARAMSBYGOODIDENTRY,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Game_Data_Performative.UtilityParamsByGoodIdEntry)
),
),
FeeByCurrencyIdEntry=_reflection.GeneratedProtocolMessageType(
@@ -2101,7 +2101,7 @@
dict(
DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_FEEBYCURRENCYIDENTRY,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Game_Data_Performative.FeeByCurrencyIdEntry)
),
),
AgentAddrToNameEntry=_reflection.GeneratedProtocolMessageType(
@@ -2110,7 +2110,7 @@
dict(
DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_AGENTADDRTONAMEENTRY,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Game_Data_Performative.AgentAddrToNameEntry)
),
),
CurrencyIdToNameEntry=_reflection.GeneratedProtocolMessageType(
@@ -2119,7 +2119,7 @@
dict(
DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_CURRENCYIDTONAMEENTRY,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Game_Data_Performative.CurrencyIdToNameEntry)
),
),
GoodIdToNameEntry=_reflection.GeneratedProtocolMessageType(
@@ -2128,7 +2128,7 @@
dict(
DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_GOODIDTONAMEENTRY,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Game_Data_Performative.GoodIdToNameEntry)
),
),
InfoEntry=_reflection.GeneratedProtocolMessageType(
@@ -2137,12 +2137,12 @@
dict(
DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE_INFOENTRY,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative.InfoEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Game_Data_Performative.InfoEntry)
),
),
DESCRIPTOR=_TACMESSAGE_GAME_DATA_PERFORMATIVE,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Game_Data_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Game_Data_Performative)
),
),
Transaction_Confirmation_Performative=_reflection.GeneratedProtocolMessageType(
@@ -2155,7 +2155,7 @@
dict(
DESCRIPTOR=_TACMESSAGE_TRANSACTION_CONFIRMATION_PERFORMATIVE_AMOUNTBYCURRENCYIDENTRY,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.AmountByCurrencyIdEntry)
),
),
QuantitiesByGoodIdEntry=_reflection.GeneratedProtocolMessageType(
@@ -2164,12 +2164,12 @@
dict(
DESCRIPTOR=_TACMESSAGE_TRANSACTION_CONFIRMATION_PERFORMATIVE_QUANTITIESBYGOODIDENTRY,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative.QuantitiesByGoodIdEntry)
),
),
DESCRIPTOR=_TACMESSAGE_TRANSACTION_CONFIRMATION_PERFORMATIVE,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Transaction_Confirmation_Performative)
),
),
Tac_Error_Performative=_reflection.GeneratedProtocolMessageType(
@@ -2182,17 +2182,17 @@
dict(
DESCRIPTOR=_TACMESSAGE_TAC_ERROR_PERFORMATIVE_INFOENTRY,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative.InfoEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Tac_Error_Performative.InfoEntry)
),
),
DESCRIPTOR=_TACMESSAGE_TAC_ERROR_PERFORMATIVE,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage.Tac_Error_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage.Tac_Error_Performative)
),
),
DESCRIPTOR=_TACMESSAGE,
__module__="tac_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.tac.TacMessage)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.tac.TacMessage)
),
)
_sym_db.RegisterMessage(TacMessage)
From 9c8d3c82a3a6aaf931af21ccfe849f172eb50ff1 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Mon, 14 Sep 2020 20:33:07 +0200
Subject: [PATCH 023/155] update hashes
---
packages/hashes.csv | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/packages/hashes.csv b/packages/hashes.csv
index 9ec4261188..7904043149 100644
--- a/packages/hashes.csv
+++ b/packages/hashes.csv
@@ -34,18 +34,18 @@ fetchai/connections/tcp,QmU93B7yajCHwXsgDXXhv1uSuXi7VmFBhdahcFosbrr6nA
fetchai/connections/webhook,QmaJunWQT1ypkqGnzrj5gYjjQBywjTHJmyktCZXZsa8hv8
fetchai/contracts/erc1155,QmTSpeW7JJZaBFwyHUbycPg87nUGW3CkkGchFxn6NtshpQ
fetchai/contracts/scaffold,QmTKkXifQKq5sTVdVKeD9UGnDwdJoEAoJDjY6qUPt9Bsv2
-fetchai/protocols/contract_api,QmXEK5bYeQNgxTLQKXiVS8bW5PCXRmzLYoEfmRvamu5ntw
-fetchai/protocols/default,QmdacRqMbT8yL47UWgFi4D1T3hat7kA4mYwcAZod4rdckL
-fetchai/protocols/fipa,QmYLaQWzgPFCWNnzbAYfX9GyqMgvgv3r1BpofhnZjbt9hP
-fetchai/protocols/gym,QmQ5dPRpfbVJgqmdr1dCRrt7cjSqFWe3mmehY1KpQ24Jng
-fetchai/protocols/http,QmSTPtXUYGhs5m61DJpbB5Gs9jjSp479BPoCaM77nzpVN2
-fetchai/protocols/ledger_api,QmfJYfDbK8a8RePE6aR7sxjwSUPrCtXAAxonxsKmsX6xbe
-fetchai/protocols/ml_trade,QmbWkEMnyQAFgz3UnE7Uq7drBYCGm218NHfGPXPgmbF8mc
-fetchai/protocols/oef_search,QmZjFCHov7jgQ3dKBndyz1MDkZHzv1DHxKQm6BnZrQS924
+fetchai/protocols/contract_api,QmY5tx8AyGfcMmcmHUZGmCh1HzM6AVKZsUydpDrGnkb6WG
+fetchai/protocols/default,QmQo4W57uVxayeTFRuQwKTimvrZ7qdTy4zaLeYgwEQWPfR
+fetchai/protocols/fipa,QmeviVqpkggWWV8vestsEqQaahNyeHo4bjFvExx53Uc4J7
+fetchai/protocols/gym,Qmc3ucQ3K3MX5LjDERXWZTk2NkRhBZkDo7m1hsfYv1BKHX
+fetchai/protocols/http,QmNiqrbyWjbZ55q5dJJzC6mVAwzjQb7GtPjEBfDaot7xzP
+fetchai/protocols/ledger_api,QmWddBtnoaQ636XoABZ3wu7bdzvRyGkgoFzebPsjVhcL5P
+fetchai/protocols/ml_trade,QmZny7NUmTp2xWmchdM2pSMU1goVRcnJ3JqMsvRn1sRpMD
+fetchai/protocols/oef_search,QmUcf8NvuKGLb8ep3ze3sdKq4EQFosLVNiqgMPAwqbDjJR
fetchai/protocols/scaffold,QmZhHsoA7JzNSoSUABFWqyRELaei4BtKYce1QKVcHhnQJN
-fetchai/protocols/signing,QmUepyAA8tn5CsGjg1aCLRjbi611KYpPKLnNJbEdntdZyM
-fetchai/protocols/state_update,QmdpQnN23UNKSvt6gtkFrV4qsnRbKuNNBFAKAGuzharTAj
-fetchai/protocols/tac,Qmb3kxpiSyCVzq1m7yGzQp2mScc6tfzcoaEQiaWaMFg562
+fetchai/protocols/signing,Qma6Gt1q62Q1WyfhDydKinTtSiXPdtzWnwoGxDtQRXosw1
+fetchai/protocols/state_update,QmVwGWzWC4APKBnLMyYo3dApBqUtyNnnsLvqnyRY9nT5Tn
+fetchai/protocols/tac,QmexcWQaNiFp9fhJ8XtwXnNvzV2DbjryVdoE4tByggbEXs
fetchai/skills/aries_alice,QmceH6zkDzd9HGQWHgo23CoWNC76ciUhSXLeoBbaAL7nVr
fetchai/skills/aries_faber,QmaWkUa6PHnYMxqxN1FDmP8KYhwt6TUdAVNjHxBVGp2fw1
fetchai/skills/carpark_client,QmcgCzxhNVY1H8o1wBn1Yon62d7CinF8Pzq4toZxkNuW9r
From f1d66c3bbf61eba6feecb28857026d9f1e7cd021 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Mon, 14 Sep 2020 21:25:45 +0200
Subject: [PATCH 024/155] Update test protocols for generator tests
---
scripts/generate_ipfs_hashes.py | 4 +-
tests/data/generator/t_protocol/protocol.yaml | 14 +-
.../generator/t_protocol/t_protocol.proto | 2 +-
.../generator/t_protocol/t_protocol_pb2.py | 478 +++++++++---------
.../generator/t_protocol_no_ct/protocol.yaml | 12 +-
.../t_protocol_no_ct/t_protocol_no_ct.proto | 2 +-
.../t_protocol_no_ct/t_protocol_no_ct_pb2.py | 424 ++++++++--------
tests/data/hashes.csv | 2 +
.../test_generator/test_generator.py | 2 +-
9 files changed, 472 insertions(+), 468 deletions(-)
diff --git a/scripts/generate_ipfs_hashes.py b/scripts/generate_ipfs_hashes.py
index 00ff2cc9ff..286cf8895c 100755
--- a/scripts/generate_ipfs_hashes.py
+++ b/scripts/generate_ipfs_hashes.py
@@ -117,6 +117,8 @@ def package_type_and_path(package_path: Path) -> Tuple[PackageType, Path]:
(PackageType.AGENT, TEST_PATH / "dummy_aea"),
(PackageType.CONNECTION, TEST_PATH / "dummy_connection"),
(PackageType.CONTRACT, TEST_PATH / "dummy_contract"),
+ (PackageType.PROTOCOL, TEST_PATH / "generator" / "t_protocol"),
+ (PackageType.PROTOCOL, TEST_PATH / "generator" / "t_protocol_no_ct"),
(PackageType.SKILL, TEST_PATH / "dependencies_skill"),
(PackageType.SKILL, TEST_PATH / "exception_skill"),
(PackageType.SKILL, TEST_PATH / "dummy_skill"),
@@ -434,7 +436,7 @@ def update_hashes(timeout: float = 15.0) -> int:
key, package_hash, _ = ipfs_hashing(
client, configuration_obj, package_type
)
- if package_path.parent == TEST_PATH:
+ if TEST_PATH in package_path.parents:
test_package_hashes[key] = package_hash
else:
package_hashes[key] = package_hash
diff --git a/tests/data/generator/t_protocol/protocol.yaml b/tests/data/generator/t_protocol/protocol.yaml
index 59500db240..badefccead 100644
--- a/tests/data/generator/t_protocol/protocol.yaml
+++ b/tests/data/generator/t_protocol/protocol.yaml
@@ -6,13 +6,13 @@ description: A protocol for testing purposes.
license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
- __init__.py: QmTwLir2v2eYMkDeUomf9uL1hrQhjzVTTqrQwamGG5iwn4
- custom_types.py: QmVboXL98TzRtreCRMrCF3U9xjRGRkGJjNgDBTAm5GXyLq
- dialogues.py: QmVUoaW4CNgjZNy6PzmQrSYTCdeWQERsQR5maXhD9cd6HF
- message.py: QmS3NcTMgbDx1ZkXkzwfiML26LU9FPfgjg2XznpL8wueQR
- serialization.py: QmXHxombhGXKfMNhpvs2SKmXVbRac1gvn4m2hxsiGyRJKs
- t_protocol.proto: QmXpZUUnMQ2JJtg3ZEFfec86HtpTyD85qN8xCnJWgrVq5J
- t_protocol_pb2.py: QmR6ZXkZ2yiYLWWPnS1CdT3Tv59MXdpy6fg8GsKDAmqZFK
+ __init__.py: QmXMWqJxnq8sSytHbNcK8tu4ySEuMTNLSAZZAiWK46pagy
+ custom_types.py: QmWg8HFav8w9tfZfMrTG5Uo7QpexvYKKkhpGPD18233pLw
+ dialogues.py: QmdpXJCUP6wV6StDxByraFGveMcTSjjFhDju74S4QVQpxf
+ message.py: QmRYDQCKa4x8zk3ztYEEc88Ltob77uAwfxwPeF4qVQaAzP
+ serialization.py: QmT4WgHPoVEbgE3awzDEXYr4VQMdfuUsQ9LnwrHynP16Q4
+ t_protocol.proto: QmWdNaAJ9Mkf2SHF1RSZrsk2a5jZyXZtCD7XU5PHLCph5z
+ t_protocol_pb2.py: QmRr3b2hjbN2UshSQTr1wWSCpqeNgMfDfnVyBk8BQGdFn4
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/tests/data/generator/t_protocol/t_protocol.proto b/tests/data/generator/t_protocol/t_protocol.proto
index 50dd27992d..c831138afa 100644
--- a/tests/data/generator/t_protocol/t_protocol.proto
+++ b/tests/data/generator/t_protocol/t_protocol.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetchai.aea.fetchai.t_protocol;
+package aea.fetchai.t_protocol;
message TProtocolMessage{
diff --git a/tests/data/generator/t_protocol/t_protocol_pb2.py b/tests/data/generator/t_protocol/t_protocol_pb2.py
index 5e0ece150b..472ab91fe5 100644
--- a/tests/data/generator/t_protocol/t_protocol_pb2.py
+++ b/tests/data/generator/t_protocol/t_protocol_pb2.py
@@ -16,25 +16,25 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="t_protocol.proto",
- package="fetchai.aea.fetchai.t_protocol",
+ package="aea.fetchai.t_protocol",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\x10t_protocol.proto\x12\x1e\x66\x65tchai.aea.fetchai.t_protocol"\xa3\x35\n\x10TProtocolMessage\x12h\n\x0fperformative_ct\x18\x05 \x01(\x0b\x32M.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Ct_PerformativeH\x00\x12\x80\x01\n\x1bperformative_empty_contents\x18\x06 \x01(\x0b\x32Y.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Empty_Contents_PerformativeH\x00\x12h\n\x0fperformative_mt\x18\x07 \x01(\x0b\x32M.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_PerformativeH\x00\x12\x66\n\x0eperformative_o\x18\x08 \x01(\x0b\x32L.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_PerformativeH\x00\x12j\n\x10performative_pct\x18\t \x01(\x0b\x32N.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_PerformativeH\x00\x12j\n\x10performative_pmt\x18\n \x01(\x0b\x32N.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_PerformativeH\x00\x12h\n\x0fperformative_pt\x18\x0b \x01(\x0b\x32M.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_PerformativeH\x00\x1a\xa7\x02\n\tDataModel\x12\x13\n\x0b\x62ytes_field\x18\x01 \x01(\x0c\x12\x11\n\tint_field\x18\x02 \x01(\x05\x12\x13\n\x0b\x66loat_field\x18\x03 \x01(\x02\x12\x12\n\nbool_field\x18\x04 \x01(\x08\x12\x11\n\tstr_field\x18\x05 \x01(\t\x12\x11\n\tset_field\x18\x06 \x03(\x05\x12\x12\n\nlist_field\x18\x07 \x03(\t\x12]\n\ndict_field\x18\x08 \x03(\x0b\x32I.fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.DictFieldEntry\x1a\x30\n\x0e\x44ictFieldEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1an\n\x1cPerformative_Ct_Performative\x12N\n\ncontent_ct\x18\x01 \x01(\x0b\x32:.fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel\x1a\x8c\x01\n\x1cPerformative_Pt_Performative\x12\x15\n\rcontent_bytes\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ontent_int\x18\x02 \x01(\x05\x12\x15\n\rcontent_float\x18\x03 \x01(\x02\x12\x14\n\x0c\x63ontent_bool\x18\x04 \x01(\x08\x12\x13\n\x0b\x63ontent_str\x18\x05 \x01(\t\x1a\xa8\x02\n\x1dPerformative_Pct_Performative\x12\x19\n\x11\x63ontent_set_bytes\x18\x01 \x03(\x0c\x12\x17\n\x0f\x63ontent_set_int\x18\x02 \x03(\x05\x12\x19\n\x11\x63ontent_set_float\x18\x03 \x03(\x02\x12\x18\n\x10\x63ontent_set_bool\x18\x04 \x03(\x08\x12\x17\n\x0f\x63ontent_set_str\x18\x05 \x03(\t\x12\x1a\n\x12\x63ontent_list_bytes\x18\x06 \x03(\x0c\x12\x18\n\x10\x63ontent_list_int\x18\x07 \x03(\x05\x12\x1a\n\x12\x63ontent_list_float\x18\x08 \x03(\x02\x12\x19\n\x11\x63ontent_list_bool\x18\t \x03(\x08\x12\x18\n\x10\x63ontent_list_str\x18\n \x03(\t\x1a\x9b\x17\n\x1dPerformative_Pmt_Performative\x12\x87\x01\n\x16\x63ontent_dict_int_bytes\x18\x01 \x03(\x0b\x32g.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry\x12\x83\x01\n\x14\x63ontent_dict_int_int\x18\x02 \x03(\x0b\x32\x65.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry\x12\x87\x01\n\x16\x63ontent_dict_int_float\x18\x03 \x03(\x0b\x32g.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry\x12\x85\x01\n\x15\x63ontent_dict_int_bool\x18\x04 \x03(\x0b\x32\x66.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry\x12\x83\x01\n\x14\x63ontent_dict_int_str\x18\x05 \x03(\x0b\x32\x65.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry\x12\x89\x01\n\x17\x63ontent_dict_bool_bytes\x18\x06 \x03(\x0b\x32h.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry\x12\x85\x01\n\x15\x63ontent_dict_bool_int\x18\x07 \x03(\x0b\x32\x66.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry\x12\x89\x01\n\x17\x63ontent_dict_bool_float\x18\x08 \x03(\x0b\x32h.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry\x12\x87\x01\n\x16\x63ontent_dict_bool_bool\x18\t \x03(\x0b\x32g.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry\x12\x85\x01\n\x15\x63ontent_dict_bool_str\x18\n \x03(\x0b\x32\x66.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry\x12\x87\x01\n\x16\x63ontent_dict_str_bytes\x18\x0b \x03(\x0b\x32g.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry\x12\x83\x01\n\x14\x63ontent_dict_str_int\x18\x0c \x03(\x0b\x32\x65.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry\x12\x87\x01\n\x16\x63ontent_dict_str_float\x18\r \x03(\x0b\x32g.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry\x12\x85\x01\n\x15\x63ontent_dict_str_bool\x18\x0e \x03(\x0b\x32\x66.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry\x12\x83\x01\n\x14\x63ontent_dict_str_str\x18\x0f \x03(\x0b\x32\x65.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry\x1a:\n\x18\x43ontentDictIntBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictIntBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a:\n\x18\x43ontentDictBoolBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictStrBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xb0\x0c\n\x1cPerformative_Mt_Performative\x12\x62\n\x1e\x63ontent_union_1_type_DataModel\x18\x01 \x01(\x0b\x32:.fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel\x12"\n\x1a\x63ontent_union_1_type_bytes\x18\x02 \x01(\x0c\x12 \n\x18\x63ontent_union_1_type_int\x18\x03 \x01(\x05\x12"\n\x1a\x63ontent_union_1_type_float\x18\x04 \x01(\x02\x12!\n\x19\x63ontent_union_1_type_bool\x18\x05 \x01(\x08\x12 \n\x18\x63ontent_union_1_type_str\x18\x06 \x01(\t\x12\'\n\x1f\x63ontent_union_1_type_set_of_int\x18\x07 \x03(\x05\x12)\n!content_union_1_type_list_of_bool\x18\x08 \x03(\x08\x12\x9e\x01\n$content_union_1_type_dict_of_str_int\x18\t \x03(\x0b\x32p.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry\x12)\n!content_union_2_type_set_of_bytes\x18\n \x03(\x0c\x12\'\n\x1f\x63ontent_union_2_type_set_of_int\x18\x0b \x03(\x05\x12\'\n\x1f\x63ontent_union_2_type_set_of_str\x18\x0c \x03(\t\x12*\n"content_union_2_type_list_of_float\x18\r \x03(\x02\x12)\n!content_union_2_type_list_of_bool\x18\x0e \x03(\x08\x12*\n"content_union_2_type_list_of_bytes\x18\x0f \x03(\x0c\x12\x9e\x01\n$content_union_2_type_dict_of_str_int\x18\x10 \x03(\x0b\x32p.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry\x12\xa2\x01\n&content_union_2_type_dict_of_int_float\x18\x11 \x03(\x0b\x32r.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry\x12\xa4\x01\n\'content_union_2_type_dict_of_bool_bytes\x18\x12 \x03(\x0b\x32s.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry\x1a\x44\n"ContentUnion1TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x44\n"ContentUnion2TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x46\n$ContentUnion2TypeDictOfIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1aG\n%ContentUnion2TypeDictOfBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\xac\x04\n\x1bPerformative_O_Performative\x12P\n\x0c\x63ontent_o_ct\x18\x01 \x01(\x0b\x32:.fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel\x12\x1b\n\x13\x63ontent_o_ct_is_set\x18\x02 \x01(\x08\x12\x16\n\x0e\x63ontent_o_bool\x18\x03 \x01(\x08\x12\x1d\n\x15\x63ontent_o_bool_is_set\x18\x04 \x01(\x08\x12\x19\n\x11\x63ontent_o_set_int\x18\x05 \x03(\x05\x12 \n\x18\x63ontent_o_set_int_is_set\x18\x06 \x01(\x08\x12\x1c\n\x14\x63ontent_o_list_bytes\x18\x07 \x03(\x0c\x12#\n\x1b\x63ontent_o_list_bytes_is_set\x18\x08 \x01(\x08\x12\x84\x01\n\x16\x63ontent_o_dict_str_int\x18\t \x03(\x0b\x32\x64.fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry\x12%\n\x1d\x63ontent_o_dict_str_int_is_set\x18\n \x01(\x08\x1a\x39\n\x17\x43ontentODictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a*\n(Performative_Empty_Contents_PerformativeB\x0e\n\x0cperformativeb\x06proto3'
+ '\n\x10t_protocol.proto\x12\x16\x61\x65\x61.fetchai.t_protocol"\x9c\x33\n\x10TProtocolMessage\x12`\n\x0fperformative_ct\x18\x05 \x01(\x0b\x32\x45.aea.fetchai.t_protocol.TProtocolMessage.Performative_Ct_PerformativeH\x00\x12x\n\x1bperformative_empty_contents\x18\x06 \x01(\x0b\x32Q.aea.fetchai.t_protocol.TProtocolMessage.Performative_Empty_Contents_PerformativeH\x00\x12`\n\x0fperformative_mt\x18\x07 \x01(\x0b\x32\x45.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_PerformativeH\x00\x12^\n\x0eperformative_o\x18\x08 \x01(\x0b\x32\x44.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_PerformativeH\x00\x12\x62\n\x10performative_pct\x18\t \x01(\x0b\x32\x46.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_PerformativeH\x00\x12\x62\n\x10performative_pmt\x18\n \x01(\x0b\x32\x46.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_PerformativeH\x00\x12`\n\x0fperformative_pt\x18\x0b \x01(\x0b\x32\x45.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_PerformativeH\x00\x1a\x9f\x02\n\tDataModel\x12\x13\n\x0b\x62ytes_field\x18\x01 \x01(\x0c\x12\x11\n\tint_field\x18\x02 \x01(\x05\x12\x13\n\x0b\x66loat_field\x18\x03 \x01(\x02\x12\x12\n\nbool_field\x18\x04 \x01(\x08\x12\x11\n\tstr_field\x18\x05 \x01(\t\x12\x11\n\tset_field\x18\x06 \x03(\x05\x12\x12\n\nlist_field\x18\x07 \x03(\t\x12U\n\ndict_field\x18\x08 \x03(\x0b\x32\x41.aea.fetchai.t_protocol.TProtocolMessage.DataModel.DictFieldEntry\x1a\x30\n\x0e\x44ictFieldEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x66\n\x1cPerformative_Ct_Performative\x12\x46\n\ncontent_ct\x18\x01 \x01(\x0b\x32\x32.aea.fetchai.t_protocol.TProtocolMessage.DataModel\x1a\x8c\x01\n\x1cPerformative_Pt_Performative\x12\x15\n\rcontent_bytes\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ontent_int\x18\x02 \x01(\x05\x12\x15\n\rcontent_float\x18\x03 \x01(\x02\x12\x14\n\x0c\x63ontent_bool\x18\x04 \x01(\x08\x12\x13\n\x0b\x63ontent_str\x18\x05 \x01(\t\x1a\xa8\x02\n\x1dPerformative_Pct_Performative\x12\x19\n\x11\x63ontent_set_bytes\x18\x01 \x03(\x0c\x12\x17\n\x0f\x63ontent_set_int\x18\x02 \x03(\x05\x12\x19\n\x11\x63ontent_set_float\x18\x03 \x03(\x02\x12\x18\n\x10\x63ontent_set_bool\x18\x04 \x03(\x08\x12\x17\n\x0f\x63ontent_set_str\x18\x05 \x03(\t\x12\x1a\n\x12\x63ontent_list_bytes\x18\x06 \x03(\x0c\x12\x18\n\x10\x63ontent_list_int\x18\x07 \x03(\x05\x12\x1a\n\x12\x63ontent_list_float\x18\x08 \x03(\x02\x12\x19\n\x11\x63ontent_list_bool\x18\t \x03(\x08\x12\x18\n\x10\x63ontent_list_str\x18\n \x03(\t\x1a\x96\x16\n\x1dPerformative_Pmt_Performative\x12\x7f\n\x16\x63ontent_dict_int_bytes\x18\x01 \x03(\x0b\x32_.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry\x12{\n\x14\x63ontent_dict_int_int\x18\x02 \x03(\x0b\x32].aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry\x12\x7f\n\x16\x63ontent_dict_int_float\x18\x03 \x03(\x0b\x32_.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry\x12}\n\x15\x63ontent_dict_int_bool\x18\x04 \x03(\x0b\x32^.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry\x12{\n\x14\x63ontent_dict_int_str\x18\x05 \x03(\x0b\x32].aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry\x12\x81\x01\n\x17\x63ontent_dict_bool_bytes\x18\x06 \x03(\x0b\x32`.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry\x12}\n\x15\x63ontent_dict_bool_int\x18\x07 \x03(\x0b\x32^.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry\x12\x81\x01\n\x17\x63ontent_dict_bool_float\x18\x08 \x03(\x0b\x32`.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry\x12\x7f\n\x16\x63ontent_dict_bool_bool\x18\t \x03(\x0b\x32_.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry\x12}\n\x15\x63ontent_dict_bool_str\x18\n \x03(\x0b\x32^.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry\x12\x7f\n\x16\x63ontent_dict_str_bytes\x18\x0b \x03(\x0b\x32_.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry\x12{\n\x14\x63ontent_dict_str_int\x18\x0c \x03(\x0b\x32].aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry\x12\x7f\n\x16\x63ontent_dict_str_float\x18\r \x03(\x0b\x32_.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry\x12}\n\x15\x63ontent_dict_str_bool\x18\x0e \x03(\x0b\x32^.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry\x12{\n\x14\x63ontent_dict_str_str\x18\x0f \x03(\x0b\x32].aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry\x1a:\n\x18\x43ontentDictIntBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictIntBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a:\n\x18\x43ontentDictBoolBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictStrBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x88\x0c\n\x1cPerformative_Mt_Performative\x12Z\n\x1e\x63ontent_union_1_type_DataModel\x18\x01 \x01(\x0b\x32\x32.aea.fetchai.t_protocol.TProtocolMessage.DataModel\x12"\n\x1a\x63ontent_union_1_type_bytes\x18\x02 \x01(\x0c\x12 \n\x18\x63ontent_union_1_type_int\x18\x03 \x01(\x05\x12"\n\x1a\x63ontent_union_1_type_float\x18\x04 \x01(\x02\x12!\n\x19\x63ontent_union_1_type_bool\x18\x05 \x01(\x08\x12 \n\x18\x63ontent_union_1_type_str\x18\x06 \x01(\t\x12\'\n\x1f\x63ontent_union_1_type_set_of_int\x18\x07 \x03(\x05\x12)\n!content_union_1_type_list_of_bool\x18\x08 \x03(\x08\x12\x96\x01\n$content_union_1_type_dict_of_str_int\x18\t \x03(\x0b\x32h.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry\x12)\n!content_union_2_type_set_of_bytes\x18\n \x03(\x0c\x12\'\n\x1f\x63ontent_union_2_type_set_of_int\x18\x0b \x03(\x05\x12\'\n\x1f\x63ontent_union_2_type_set_of_str\x18\x0c \x03(\t\x12*\n"content_union_2_type_list_of_float\x18\r \x03(\x02\x12)\n!content_union_2_type_list_of_bool\x18\x0e \x03(\x08\x12*\n"content_union_2_type_list_of_bytes\x18\x0f \x03(\x0c\x12\x96\x01\n$content_union_2_type_dict_of_str_int\x18\x10 \x03(\x0b\x32h.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry\x12\x9a\x01\n&content_union_2_type_dict_of_int_float\x18\x11 \x03(\x0b\x32j.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry\x12\x9c\x01\n\'content_union_2_type_dict_of_bool_bytes\x18\x12 \x03(\x0b\x32k.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry\x1a\x44\n"ContentUnion1TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x44\n"ContentUnion2TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x46\n$ContentUnion2TypeDictOfIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1aG\n%ContentUnion2TypeDictOfBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x9b\x04\n\x1bPerformative_O_Performative\x12H\n\x0c\x63ontent_o_ct\x18\x01 \x01(\x0b\x32\x32.aea.fetchai.t_protocol.TProtocolMessage.DataModel\x12\x1b\n\x13\x63ontent_o_ct_is_set\x18\x02 \x01(\x08\x12\x16\n\x0e\x63ontent_o_bool\x18\x03 \x01(\x08\x12\x1d\n\x15\x63ontent_o_bool_is_set\x18\x04 \x01(\x08\x12\x19\n\x11\x63ontent_o_set_int\x18\x05 \x03(\x05\x12 \n\x18\x63ontent_o_set_int_is_set\x18\x06 \x01(\x08\x12\x1c\n\x14\x63ontent_o_list_bytes\x18\x07 \x03(\x0c\x12#\n\x1b\x63ontent_o_list_bytes_is_set\x18\x08 \x01(\x08\x12|\n\x16\x63ontent_o_dict_str_int\x18\t \x03(\x0b\x32\\.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry\x12%\n\x1d\x63ontent_o_dict_str_int_is_set\x18\n \x01(\x08\x1a\x39\n\x17\x43ontentODictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a*\n(Performative_Empty_Contents_PerformativeB\x0e\n\x0cperformativeb\x06proto3'
),
)
_TPROTOCOLMESSAGE_DATAMODEL_DICTFIELDENTRY = _descriptor.Descriptor(
name="DictFieldEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.DictFieldEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.DataModel.DictFieldEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.DictFieldEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.DataModel.DictFieldEntry.key",
index=0,
number=1,
type=5,
@@ -52,7 +52,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.DictFieldEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.DataModel.DictFieldEntry.value",
index=1,
number=2,
type=8,
@@ -77,20 +77,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1090,
- serialized_end=1138,
+ serialized_start=1017,
+ serialized_end=1065,
)
_TPROTOCOLMESSAGE_DATAMODEL = _descriptor.Descriptor(
name="DataModel",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.DataModel",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="bytes_field",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.bytes_field",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.DataModel.bytes_field",
index=0,
number=1,
type=12,
@@ -108,7 +108,7 @@
),
_descriptor.FieldDescriptor(
name="int_field",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.int_field",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.DataModel.int_field",
index=1,
number=2,
type=5,
@@ -126,7 +126,7 @@
),
_descriptor.FieldDescriptor(
name="float_field",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.float_field",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.DataModel.float_field",
index=2,
number=3,
type=2,
@@ -144,7 +144,7 @@
),
_descriptor.FieldDescriptor(
name="bool_field",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.bool_field",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.DataModel.bool_field",
index=3,
number=4,
type=8,
@@ -162,7 +162,7 @@
),
_descriptor.FieldDescriptor(
name="str_field",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.str_field",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.DataModel.str_field",
index=4,
number=5,
type=9,
@@ -180,7 +180,7 @@
),
_descriptor.FieldDescriptor(
name="set_field",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.set_field",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.DataModel.set_field",
index=5,
number=6,
type=5,
@@ -198,7 +198,7 @@
),
_descriptor.FieldDescriptor(
name="list_field",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.list_field",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.DataModel.list_field",
index=6,
number=7,
type=9,
@@ -216,7 +216,7 @@
),
_descriptor.FieldDescriptor(
name="dict_field",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.dict_field",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.DataModel.dict_field",
index=7,
number=8,
type=11,
@@ -241,20 +241,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=843,
- serialized_end=1138,
+ serialized_start=778,
+ serialized_end=1065,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_CT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Ct_Performative",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Ct_Performative",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Ct_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_ct",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Ct_Performative.content_ct",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Ct_Performative.content_ct",
index=0,
number=1,
type=11,
@@ -279,20 +279,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1140,
- serialized_end=1250,
+ serialized_start=1067,
+ serialized_end=1169,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Pt_Performative",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_bytes",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative.content_bytes",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative.content_bytes",
index=0,
number=1,
type=12,
@@ -310,7 +310,7 @@
),
_descriptor.FieldDescriptor(
name="content_int",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative.content_int",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative.content_int",
index=1,
number=2,
type=5,
@@ -328,7 +328,7 @@
),
_descriptor.FieldDescriptor(
name="content_float",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative.content_float",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative.content_float",
index=2,
number=3,
type=2,
@@ -346,7 +346,7 @@
),
_descriptor.FieldDescriptor(
name="content_bool",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative.content_bool",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative.content_bool",
index=3,
number=4,
type=8,
@@ -364,7 +364,7 @@
),
_descriptor.FieldDescriptor(
name="content_str",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative.content_str",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative.content_str",
index=4,
number=5,
type=9,
@@ -389,20 +389,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1253,
- serialized_end=1393,
+ serialized_start=1172,
+ serialized_end=1312,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PCT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Pct_Performative",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_set_bytes",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_set_bytes",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_set_bytes",
index=0,
number=1,
type=12,
@@ -420,7 +420,7 @@
),
_descriptor.FieldDescriptor(
name="content_set_int",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_set_int",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_set_int",
index=1,
number=2,
type=5,
@@ -438,7 +438,7 @@
),
_descriptor.FieldDescriptor(
name="content_set_float",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_set_float",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_set_float",
index=2,
number=3,
type=2,
@@ -456,7 +456,7 @@
),
_descriptor.FieldDescriptor(
name="content_set_bool",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_set_bool",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_set_bool",
index=3,
number=4,
type=8,
@@ -474,7 +474,7 @@
),
_descriptor.FieldDescriptor(
name="content_set_str",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_set_str",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_set_str",
index=4,
number=5,
type=9,
@@ -492,7 +492,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_bytes",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_list_bytes",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_list_bytes",
index=5,
number=6,
type=12,
@@ -510,7 +510,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_int",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_list_int",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_list_int",
index=6,
number=7,
type=5,
@@ -528,7 +528,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_float",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_list_float",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_list_float",
index=7,
number=8,
type=2,
@@ -546,7 +546,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_bool",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_list_bool",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_list_bool",
index=8,
number=9,
type=8,
@@ -564,7 +564,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_str",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_list_str",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative.content_list_str",
index=9,
number=10,
type=9,
@@ -589,20 +589,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1396,
- serialized_end=1692,
+ serialized_start=1315,
+ serialized_end=1611,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBYTESENTRY = _descriptor.Descriptor(
name="ContentDictIntBytesEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry.key",
index=0,
number=1,
type=5,
@@ -620,7 +620,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry.value",
index=1,
number=2,
type=12,
@@ -645,20 +645,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3778,
- serialized_end=3836,
+ serialized_start=3564,
+ serialized_end=3622,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTINTENTRY = _descriptor.Descriptor(
name="ContentDictIntIntEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry.key",
index=0,
number=1,
type=5,
@@ -676,7 +676,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry.value",
index=1,
number=2,
type=5,
@@ -701,20 +701,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3838,
- serialized_end=3894,
+ serialized_start=3624,
+ serialized_end=3680,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTFLOATENTRY = _descriptor.Descriptor(
name="ContentDictIntFloatEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry.key",
index=0,
number=1,
type=5,
@@ -732,7 +732,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry.value",
index=1,
number=2,
type=2,
@@ -757,20 +757,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3896,
- serialized_end=3954,
+ serialized_start=3682,
+ serialized_end=3740,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBOOLENTRY = _descriptor.Descriptor(
name="ContentDictIntBoolEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry.key",
index=0,
number=1,
type=5,
@@ -788,7 +788,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry.value",
index=1,
number=2,
type=8,
@@ -813,20 +813,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3956,
- serialized_end=4013,
+ serialized_start=3742,
+ serialized_end=3799,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTSTRENTRY = _descriptor.Descriptor(
name="ContentDictIntStrEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry.key",
index=0,
number=1,
type=5,
@@ -844,7 +844,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry.value",
index=1,
number=2,
type=9,
@@ -869,20 +869,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4015,
- serialized_end=4071,
+ serialized_start=3801,
+ serialized_end=3857,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBYTESENTRY = _descriptor.Descriptor(
name="ContentDictBoolBytesEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry.key",
index=0,
number=1,
type=8,
@@ -900,7 +900,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry.value",
index=1,
number=2,
type=12,
@@ -925,20 +925,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4073,
- serialized_end=4132,
+ serialized_start=3859,
+ serialized_end=3918,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLINTENTRY = _descriptor.Descriptor(
name="ContentDictBoolIntEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry.key",
index=0,
number=1,
type=8,
@@ -956,7 +956,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry.value",
index=1,
number=2,
type=5,
@@ -981,20 +981,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4134,
- serialized_end=4191,
+ serialized_start=3920,
+ serialized_end=3977,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLFLOATENTRY = _descriptor.Descriptor(
name="ContentDictBoolFloatEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry.key",
index=0,
number=1,
type=8,
@@ -1012,7 +1012,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry.value",
index=1,
number=2,
type=2,
@@ -1037,20 +1037,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4193,
- serialized_end=4252,
+ serialized_start=3979,
+ serialized_end=4038,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBOOLENTRY = _descriptor.Descriptor(
name="ContentDictBoolBoolEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry.key",
index=0,
number=1,
type=8,
@@ -1068,7 +1068,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry.value",
index=1,
number=2,
type=8,
@@ -1093,20 +1093,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4254,
- serialized_end=4312,
+ serialized_start=4040,
+ serialized_end=4098,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLSTRENTRY = _descriptor.Descriptor(
name="ContentDictBoolStrEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry.key",
index=0,
number=1,
type=8,
@@ -1124,7 +1124,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry.value",
index=1,
number=2,
type=9,
@@ -1149,20 +1149,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4314,
- serialized_end=4371,
+ serialized_start=4100,
+ serialized_end=4157,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBYTESENTRY = _descriptor.Descriptor(
name="ContentDictStrBytesEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry.key",
index=0,
number=1,
type=9,
@@ -1180,7 +1180,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry.value",
index=1,
number=2,
type=12,
@@ -1205,20 +1205,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4373,
- serialized_end=4431,
+ serialized_start=4159,
+ serialized_end=4217,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRINTENTRY = _descriptor.Descriptor(
name="ContentDictStrIntEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry.key",
index=0,
number=1,
type=9,
@@ -1236,7 +1236,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry.value",
index=1,
number=2,
type=5,
@@ -1261,20 +1261,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4433,
- serialized_end=4489,
+ serialized_start=4219,
+ serialized_end=4275,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRFLOATENTRY = _descriptor.Descriptor(
name="ContentDictStrFloatEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry.key",
index=0,
number=1,
type=9,
@@ -1292,7 +1292,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry.value",
index=1,
number=2,
type=2,
@@ -1317,20 +1317,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4491,
- serialized_end=4549,
+ serialized_start=4277,
+ serialized_end=4335,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBOOLENTRY = _descriptor.Descriptor(
name="ContentDictStrBoolEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry.key",
index=0,
number=1,
type=9,
@@ -1348,7 +1348,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry.value",
index=1,
number=2,
type=8,
@@ -1373,20 +1373,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4551,
- serialized_end=4608,
+ serialized_start=4337,
+ serialized_end=4394,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRSTRENTRY = _descriptor.Descriptor(
name="ContentDictStrStrEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry.key",
index=0,
number=1,
type=9,
@@ -1404,7 +1404,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry.value",
index=1,
number=2,
type=9,
@@ -1429,20 +1429,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4610,
- serialized_end=4666,
+ serialized_start=4396,
+ serialized_end=4452,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Pmt_Performative",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_dict_int_bytes",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_bytes",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_bytes",
index=0,
number=1,
type=11,
@@ -1460,7 +1460,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_int_int",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_int",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_int",
index=1,
number=2,
type=11,
@@ -1478,7 +1478,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_int_float",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_float",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_float",
index=2,
number=3,
type=11,
@@ -1496,7 +1496,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_int_bool",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_bool",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_bool",
index=3,
number=4,
type=11,
@@ -1514,7 +1514,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_int_str",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_str",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_int_str",
index=4,
number=5,
type=11,
@@ -1532,7 +1532,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_bytes",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_bytes",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_bytes",
index=5,
number=6,
type=11,
@@ -1550,7 +1550,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_int",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_int",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_int",
index=6,
number=7,
type=11,
@@ -1568,7 +1568,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_float",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_float",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_float",
index=7,
number=8,
type=11,
@@ -1586,7 +1586,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_bool",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_bool",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_bool",
index=8,
number=9,
type=11,
@@ -1604,7 +1604,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_str",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_str",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_bool_str",
index=9,
number=10,
type=11,
@@ -1622,7 +1622,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_bytes",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_bytes",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_bytes",
index=10,
number=11,
type=11,
@@ -1640,7 +1640,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_int",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_int",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_int",
index=11,
number=12,
type=11,
@@ -1658,7 +1658,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_float",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_float",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_float",
index=12,
number=13,
type=11,
@@ -1676,7 +1676,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_bool",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_bool",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_bool",
index=13,
number=14,
type=11,
@@ -1694,7 +1694,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_str",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_str",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.content_dict_str_str",
index=14,
number=15,
type=11,
@@ -1735,20 +1735,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1695,
- serialized_end=4666,
+ serialized_start=1614,
+ serialized_end=4452,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION1TYPEDICTOFSTRINTENTRY = _descriptor.Descriptor(
name="ContentUnion1TypeDictOfStrIntEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry.key",
index=0,
number=1,
type=9,
@@ -1766,7 +1766,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry.value",
index=1,
number=2,
type=5,
@@ -1791,20 +1791,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5970,
- serialized_end=6038,
+ serialized_start=5716,
+ serialized_end=5784,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFSTRINTENTRY = _descriptor.Descriptor(
name="ContentUnion2TypeDictOfStrIntEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry.key",
index=0,
number=1,
type=9,
@@ -1822,7 +1822,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry.value",
index=1,
number=2,
type=5,
@@ -1847,20 +1847,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6040,
- serialized_end=6108,
+ serialized_start=5786,
+ serialized_end=5854,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFINTFLOATENTRY = _descriptor.Descriptor(
name="ContentUnion2TypeDictOfIntFloatEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry.key",
index=0,
number=1,
type=5,
@@ -1878,7 +1878,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry.value",
index=1,
number=2,
type=2,
@@ -1903,20 +1903,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6110,
- serialized_end=6180,
+ serialized_start=5856,
+ serialized_end=5926,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFBOOLBYTESENTRY = _descriptor.Descriptor(
name="ContentUnion2TypeDictOfBoolBytesEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry.key",
index=0,
number=1,
type=8,
@@ -1934,7 +1934,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry.value",
index=1,
number=2,
type=12,
@@ -1959,20 +1959,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6182,
- serialized_end=6253,
+ serialized_start=5928,
+ serialized_end=5999,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Mt_Performative",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_union_1_type_DataModel",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_DataModel",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_DataModel",
index=0,
number=1,
type=11,
@@ -1990,7 +1990,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_bytes",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_bytes",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_bytes",
index=1,
number=2,
type=12,
@@ -2008,7 +2008,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_int",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_int",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_int",
index=2,
number=3,
type=5,
@@ -2026,7 +2026,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_float",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_float",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_float",
index=3,
number=4,
type=2,
@@ -2044,7 +2044,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_bool",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_bool",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_bool",
index=4,
number=5,
type=8,
@@ -2062,7 +2062,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_str",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_str",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_str",
index=5,
number=6,
type=9,
@@ -2080,7 +2080,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_set_of_int",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_set_of_int",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_set_of_int",
index=6,
number=7,
type=5,
@@ -2098,7 +2098,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_list_of_bool",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_list_of_bool",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_list_of_bool",
index=7,
number=8,
type=8,
@@ -2116,7 +2116,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_dict_of_str_int",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_dict_of_str_int",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_1_type_dict_of_str_int",
index=8,
number=9,
type=11,
@@ -2134,7 +2134,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_set_of_bytes",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_set_of_bytes",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_set_of_bytes",
index=9,
number=10,
type=12,
@@ -2152,7 +2152,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_set_of_int",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_set_of_int",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_set_of_int",
index=10,
number=11,
type=5,
@@ -2170,7 +2170,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_set_of_str",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_set_of_str",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_set_of_str",
index=11,
number=12,
type=9,
@@ -2188,7 +2188,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_list_of_float",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_list_of_float",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_list_of_float",
index=12,
number=13,
type=2,
@@ -2206,7 +2206,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_list_of_bool",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_list_of_bool",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_list_of_bool",
index=13,
number=14,
type=8,
@@ -2224,7 +2224,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_list_of_bytes",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_list_of_bytes",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_list_of_bytes",
index=14,
number=15,
type=12,
@@ -2242,7 +2242,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_dict_of_str_int",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_dict_of_str_int",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_dict_of_str_int",
index=15,
number=16,
type=11,
@@ -2260,7 +2260,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_dict_of_int_float",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_dict_of_int_float",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_dict_of_int_float",
index=16,
number=17,
type=11,
@@ -2278,7 +2278,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_dict_of_bool_bytes",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_dict_of_bool_bytes",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.content_union_2_type_dict_of_bool_bytes",
index=17,
number=18,
type=11,
@@ -2308,20 +2308,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4669,
- serialized_end=6253,
+ serialized_start=4455,
+ serialized_end=5999,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_O_PERFORMATIVE_CONTENTODICTSTRINTENTRY = _descriptor.Descriptor(
name="ContentODictStrIntEntry",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry.key",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry.key",
index=0,
number=1,
type=9,
@@ -2339,7 +2339,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry.value",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry.value",
index=1,
number=2,
type=5,
@@ -2364,20 +2364,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6755,
- serialized_end=6812,
+ serialized_start=6484,
+ serialized_end=6541,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_O_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_O_Performative",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_o_ct",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_ct",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_ct",
index=0,
number=1,
type=11,
@@ -2395,7 +2395,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_ct_is_set",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_ct_is_set",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_ct_is_set",
index=1,
number=2,
type=8,
@@ -2413,7 +2413,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_bool",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_bool",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_bool",
index=2,
number=3,
type=8,
@@ -2431,7 +2431,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_bool_is_set",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_bool_is_set",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_bool_is_set",
index=3,
number=4,
type=8,
@@ -2449,7 +2449,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_set_int",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_set_int",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_set_int",
index=4,
number=5,
type=5,
@@ -2467,7 +2467,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_set_int_is_set",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_set_int_is_set",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_set_int_is_set",
index=5,
number=6,
type=8,
@@ -2485,7 +2485,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_list_bytes",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_list_bytes",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_list_bytes",
index=6,
number=7,
type=12,
@@ -2503,7 +2503,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_list_bytes_is_set",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_list_bytes_is_set",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_list_bytes_is_set",
index=7,
number=8,
type=8,
@@ -2521,7 +2521,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_dict_str_int",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_dict_str_int",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_dict_str_int",
index=8,
number=9,
type=11,
@@ -2539,7 +2539,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_dict_str_int_is_set",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_dict_str_int_is_set",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.content_o_dict_str_int_is_set",
index=9,
number=10,
type=8,
@@ -2566,13 +2566,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6256,
- serialized_end=6812,
+ serialized_start=6002,
+ serialized_end=6541,
)
_TPROTOCOLMESSAGE_PERFORMATIVE_EMPTY_CONTENTS_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Empty_Contents_Performative",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Empty_Contents_Performative",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.Performative_Empty_Contents_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -2585,20 +2585,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6814,
- serialized_end=6856,
+ serialized_start=6543,
+ serialized_end=6585,
)
_TPROTOCOLMESSAGE = _descriptor.Descriptor(
name="TProtocolMessage",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="performative_ct",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.performative_ct",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.performative_ct",
index=0,
number=5,
type=11,
@@ -2616,7 +2616,7 @@
),
_descriptor.FieldDescriptor(
name="performative_empty_contents",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.performative_empty_contents",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.performative_empty_contents",
index=1,
number=6,
type=11,
@@ -2634,7 +2634,7 @@
),
_descriptor.FieldDescriptor(
name="performative_mt",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.performative_mt",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.performative_mt",
index=2,
number=7,
type=11,
@@ -2652,7 +2652,7 @@
),
_descriptor.FieldDescriptor(
name="performative_o",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.performative_o",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.performative_o",
index=3,
number=8,
type=11,
@@ -2670,7 +2670,7 @@
),
_descriptor.FieldDescriptor(
name="performative_pct",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.performative_pct",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.performative_pct",
index=4,
number=9,
type=11,
@@ -2688,7 +2688,7 @@
),
_descriptor.FieldDescriptor(
name="performative_pmt",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.performative_pmt",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.performative_pmt",
index=5,
number=10,
type=11,
@@ -2706,7 +2706,7 @@
),
_descriptor.FieldDescriptor(
name="performative_pt",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.performative_pt",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.performative_pt",
index=6,
number=11,
type=11,
@@ -2742,14 +2742,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetchai.aea.fetchai.t_protocol.TProtocolMessage.performative",
+ full_name="aea.fetchai.t_protocol.TProtocolMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=53,
- serialized_end=6872,
+ serialized_start=45,
+ serialized_end=6601,
)
_TPROTOCOLMESSAGE_DATAMODEL_DICTFIELDENTRY.containing_type = _TPROTOCOLMESSAGE_DATAMODEL
@@ -2997,12 +2997,12 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_DATAMODEL_DICTFIELDENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel.DictFieldEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.DataModel.DictFieldEntry)
),
),
DESCRIPTOR=_TPROTOCOLMESSAGE_DATAMODEL,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.DataModel)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.DataModel)
),
),
Performative_Ct_Performative=_reflection.GeneratedProtocolMessageType(
@@ -3011,7 +3011,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_CT_PERFORMATIVE,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Ct_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Ct_Performative)
),
),
Performative_Pt_Performative=_reflection.GeneratedProtocolMessageType(
@@ -3020,7 +3020,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PT_PERFORMATIVE,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pt_Performative)
),
),
Performative_Pct_Performative=_reflection.GeneratedProtocolMessageType(
@@ -3029,7 +3029,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PCT_PERFORMATIVE,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pct_Performative)
),
),
Performative_Pmt_Performative=_reflection.GeneratedProtocolMessageType(
@@ -3042,7 +3042,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBYTESENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry)
),
),
ContentDictIntIntEntry=_reflection.GeneratedProtocolMessageType(
@@ -3051,7 +3051,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTINTENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntIntEntry)
),
),
ContentDictIntFloatEntry=_reflection.GeneratedProtocolMessageType(
@@ -3060,7 +3060,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTFLOATENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry)
),
),
ContentDictIntBoolEntry=_reflection.GeneratedProtocolMessageType(
@@ -3069,7 +3069,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBOOLENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry)
),
),
ContentDictIntStrEntry=_reflection.GeneratedProtocolMessageType(
@@ -3078,7 +3078,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTSTRENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictIntStrEntry)
),
),
ContentDictBoolBytesEntry=_reflection.GeneratedProtocolMessageType(
@@ -3087,7 +3087,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBYTESENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry)
),
),
ContentDictBoolIntEntry=_reflection.GeneratedProtocolMessageType(
@@ -3096,7 +3096,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLINTENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry)
),
),
ContentDictBoolFloatEntry=_reflection.GeneratedProtocolMessageType(
@@ -3105,7 +3105,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLFLOATENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry)
),
),
ContentDictBoolBoolEntry=_reflection.GeneratedProtocolMessageType(
@@ -3114,7 +3114,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBOOLENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry)
),
),
ContentDictBoolStrEntry=_reflection.GeneratedProtocolMessageType(
@@ -3123,7 +3123,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLSTRENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry)
),
),
ContentDictStrBytesEntry=_reflection.GeneratedProtocolMessageType(
@@ -3132,7 +3132,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBYTESENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry)
),
),
ContentDictStrIntEntry=_reflection.GeneratedProtocolMessageType(
@@ -3141,7 +3141,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRINTENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrIntEntry)
),
),
ContentDictStrFloatEntry=_reflection.GeneratedProtocolMessageType(
@@ -3150,7 +3150,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRFLOATENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry)
),
),
ContentDictStrBoolEntry=_reflection.GeneratedProtocolMessageType(
@@ -3159,7 +3159,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBOOLENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry)
),
),
ContentDictStrStrEntry=_reflection.GeneratedProtocolMessageType(
@@ -3168,12 +3168,12 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRSTRENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative.ContentDictStrStrEntry)
),
),
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Pmt_Performative)
),
),
Performative_Mt_Performative=_reflection.GeneratedProtocolMessageType(
@@ -3186,7 +3186,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION1TYPEDICTOFSTRINTENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry)
),
),
ContentUnion2TypeDictOfStrIntEntry=_reflection.GeneratedProtocolMessageType(
@@ -3195,7 +3195,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFSTRINTENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry)
),
),
ContentUnion2TypeDictOfIntFloatEntry=_reflection.GeneratedProtocolMessageType(
@@ -3204,7 +3204,7 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFINTFLOATENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry)
),
),
ContentUnion2TypeDictOfBoolBytesEntry=_reflection.GeneratedProtocolMessageType(
@@ -3213,12 +3213,12 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFBOOLBYTESENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry)
),
),
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_MT_PERFORMATIVE,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Mt_Performative)
),
),
Performative_O_Performative=_reflection.GeneratedProtocolMessageType(
@@ -3231,12 +3231,12 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_O_PERFORMATIVE_CONTENTODICTSTRINTENTRY,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative.ContentODictStrIntEntry)
),
),
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_O_PERFORMATIVE,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_O_Performative)
),
),
Performative_Empty_Contents_Performative=_reflection.GeneratedProtocolMessageType(
@@ -3245,12 +3245,12 @@
dict(
DESCRIPTOR=_TPROTOCOLMESSAGE_PERFORMATIVE_EMPTY_CONTENTS_PERFORMATIVE,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage.Performative_Empty_Contents_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage.Performative_Empty_Contents_Performative)
),
),
DESCRIPTOR=_TPROTOCOLMESSAGE,
__module__="t_protocol_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol.TProtocolMessage)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol.TProtocolMessage)
),
)
_sym_db.RegisterMessage(TProtocolMessage)
diff --git a/tests/data/generator/t_protocol_no_ct/protocol.yaml b/tests/data/generator/t_protocol_no_ct/protocol.yaml
index e39a2990d2..1186a59c59 100644
--- a/tests/data/generator/t_protocol_no_ct/protocol.yaml
+++ b/tests/data/generator/t_protocol_no_ct/protocol.yaml
@@ -6,12 +6,12 @@ description: A protocol for testing purposes.
license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
- __init__.py: QmRGHGRoZHGCXQ29v3q93Nt6J5TuhggYvUvZoQfrM6c3yp
- dialogues.py: QmUjFTMYk2C69dcYfsKorTQWJbaUGEz8orCQnkZtFbR6Je
- message.py: Qma11dAGwWr3oYSWAmRrwLJj9mLvyLVD66svTyHwU3HVNB
- serialization.py: QmUvPmEbmg34A4XKCba3H2QFSdviUzEWMsBUNdJg4pysKD
- t_protocol_no_ct.proto: QmUsW7bFZ3Ru3p6VSkAQekEhdYKcH2cxiSez291YxZ2kQ9
- t_protocol_no_ct_pb2.py: Qmb8Z6BoyZabtBkwdwKxCf9F5igPcp3faEirorkHDeis2g
+ __init__.py: QmX5UaUHNHe91qfCqwmAZStU3WN9evJqBwk1zKwQoFPzNV
+ dialogues.py: QmPHhh9wkKDG7Fiy9E2WkkggYULFhLrySihJpoBw3mRn2o
+ message.py: QmULXAb5Daeke4p9hRUNWhYrh4ZWdxvArP1GCZk1245HGe
+ serialization.py: Qmdsbpcnnm9eyU9GheUQDY6dkdzmN4on7j6zmiTjeuUMxD
+ t_protocol_no_ct.proto: Qmc8KkKnWZ9utBxrbEyWhVDRdut87DkFvmHP3SYUg4J3EU
+ t_protocol_no_ct_pb2.py: QmPDVxuXLGrVes8nv66g2JFT3rqUN9AjzrMeCFyDK4rjyw
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct.proto b/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct.proto
index f393c099bf..8c53120a84 100644
--- a/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct.proto
+++ b/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct.proto
@@ -1,6 +1,6 @@
syntax = "proto3";
-package fetchai.aea.fetchai.t_protocol_no_ct;
+package aea.fetchai.t_protocol_no_ct;
message TProtocolNoCtMessage{
diff --git a/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct_pb2.py b/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct_pb2.py
index 2cb124f14f..5e1254c261 100644
--- a/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct_pb2.py
+++ b/tests/data/generator/t_protocol_no_ct/t_protocol_no_ct_pb2.py
@@ -16,25 +16,25 @@
DESCRIPTOR = _descriptor.FileDescriptor(
name="t_protocol_no_ct.proto",
- package="fetchai.aea.fetchai.t_protocol_no_ct",
+ package="aea.fetchai.t_protocol_no_ct",
syntax="proto3",
serialized_options=None,
serialized_pb=_b(
- '\n\x16t_protocol_no_ct.proto\x12$fetchai.aea.fetchai.t_protocol_no_ct"\xd4\x31\n\x14TProtocolNoCtMessage\x12\x8a\x01\n\x1bperformative_empty_contents\x18\x05 \x01(\x0b\x32\x63.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Empty_Contents_PerformativeH\x00\x12r\n\x0fperformative_mt\x18\x06 \x01(\x0b\x32W.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_PerformativeH\x00\x12p\n\x0eperformative_o\x18\x07 \x01(\x0b\x32V.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_PerformativeH\x00\x12t\n\x10performative_pct\x18\x08 \x01(\x0b\x32X.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_PerformativeH\x00\x12t\n\x10performative_pmt\x18\t \x01(\x0b\x32X.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_PerformativeH\x00\x12r\n\x0fperformative_pt\x18\n \x01(\x0b\x32W.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_PerformativeH\x00\x1a\x8c\x01\n\x1cPerformative_Pt_Performative\x12\x15\n\rcontent_bytes\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ontent_int\x18\x02 \x01(\x05\x12\x15\n\rcontent_float\x18\x03 \x01(\x02\x12\x14\n\x0c\x63ontent_bool\x18\x04 \x01(\x08\x12\x13\n\x0b\x63ontent_str\x18\x05 \x01(\t\x1a\xa8\x02\n\x1dPerformative_Pct_Performative\x12\x19\n\x11\x63ontent_set_bytes\x18\x01 \x03(\x0c\x12\x17\n\x0f\x63ontent_set_int\x18\x02 \x03(\x05\x12\x19\n\x11\x63ontent_set_float\x18\x03 \x03(\x02\x12\x18\n\x10\x63ontent_set_bool\x18\x04 \x03(\x08\x12\x17\n\x0f\x63ontent_set_str\x18\x05 \x03(\t\x12\x1a\n\x12\x63ontent_list_bytes\x18\x06 \x03(\x0c\x12\x18\n\x10\x63ontent_list_int\x18\x07 \x03(\x05\x12\x1a\n\x12\x63ontent_list_float\x18\x08 \x03(\x02\x12\x19\n\x11\x63ontent_list_bool\x18\t \x03(\x08\x12\x18\n\x10\x63ontent_list_str\x18\n \x03(\t\x1a\xb1\x18\n\x1dPerformative_Pmt_Performative\x12\x91\x01\n\x16\x63ontent_dict_int_bytes\x18\x01 \x03(\x0b\x32q.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry\x12\x8d\x01\n\x14\x63ontent_dict_int_int\x18\x02 \x03(\x0b\x32o.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry\x12\x91\x01\n\x16\x63ontent_dict_int_float\x18\x03 \x03(\x0b\x32q.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry\x12\x8f\x01\n\x15\x63ontent_dict_int_bool\x18\x04 \x03(\x0b\x32p.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry\x12\x8d\x01\n\x14\x63ontent_dict_int_str\x18\x05 \x03(\x0b\x32o.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry\x12\x93\x01\n\x17\x63ontent_dict_bool_bytes\x18\x06 \x03(\x0b\x32r.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry\x12\x8f\x01\n\x15\x63ontent_dict_bool_int\x18\x07 \x03(\x0b\x32p.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry\x12\x93\x01\n\x17\x63ontent_dict_bool_float\x18\x08 \x03(\x0b\x32r.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry\x12\x91\x01\n\x16\x63ontent_dict_bool_bool\x18\t \x03(\x0b\x32q.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry\x12\x8f\x01\n\x15\x63ontent_dict_bool_str\x18\n \x03(\x0b\x32p.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry\x12\x91\x01\n\x16\x63ontent_dict_str_bytes\x18\x0b \x03(\x0b\x32q.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry\x12\x8d\x01\n\x14\x63ontent_dict_str_int\x18\x0c \x03(\x0b\x32o.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry\x12\x91\x01\n\x16\x63ontent_dict_str_float\x18\r \x03(\x0b\x32q.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry\x12\x8f\x01\n\x15\x63ontent_dict_str_bool\x18\x0e \x03(\x0b\x32p.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry\x12\x8d\x01\n\x14\x63ontent_dict_str_str\x18\x0f \x03(\x0b\x32o.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry\x1a:\n\x18\x43ontentDictIntBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictIntBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a:\n\x18\x43ontentDictBoolBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictStrBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xf4\x0b\n\x1cPerformative_Mt_Performative\x12"\n\x1a\x63ontent_union_1_type_bytes\x18\x01 \x01(\x0c\x12 \n\x18\x63ontent_union_1_type_int\x18\x02 \x01(\x05\x12"\n\x1a\x63ontent_union_1_type_float\x18\x03 \x01(\x02\x12!\n\x19\x63ontent_union_1_type_bool\x18\x04 \x01(\x08\x12 \n\x18\x63ontent_union_1_type_str\x18\x05 \x01(\t\x12\'\n\x1f\x63ontent_union_1_type_set_of_int\x18\x06 \x03(\x05\x12)\n!content_union_1_type_list_of_bool\x18\x07 \x03(\x08\x12\xa8\x01\n$content_union_1_type_dict_of_str_int\x18\x08 \x03(\x0b\x32z.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry\x12)\n!content_union_2_type_set_of_bytes\x18\t \x03(\x0c\x12\'\n\x1f\x63ontent_union_2_type_set_of_int\x18\n \x03(\x05\x12\'\n\x1f\x63ontent_union_2_type_set_of_str\x18\x0b \x03(\t\x12*\n"content_union_2_type_list_of_float\x18\x0c \x03(\x02\x12)\n!content_union_2_type_list_of_bool\x18\r \x03(\x08\x12*\n"content_union_2_type_list_of_bytes\x18\x0e \x03(\x0c\x12\xa8\x01\n$content_union_2_type_dict_of_str_int\x18\x0f \x03(\x0b\x32z.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry\x12\xac\x01\n&content_union_2_type_dict_of_int_float\x18\x10 \x03(\x0b\x32|.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry\x12\xae\x01\n\'content_union_2_type_dict_of_bool_bytes\x18\x11 \x03(\x0b\x32}.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry\x1a\x44\n"ContentUnion1TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x44\n"ContentUnion2TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x46\n$ContentUnion2TypeDictOfIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1aG\n%ContentUnion2TypeDictOfBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\xc7\x03\n\x1bPerformative_O_Performative\x12\x16\n\x0e\x63ontent_o_bool\x18\x01 \x01(\x08\x12\x1d\n\x15\x63ontent_o_bool_is_set\x18\x02 \x01(\x08\x12\x19\n\x11\x63ontent_o_set_int\x18\x03 \x03(\x05\x12 \n\x18\x63ontent_o_set_int_is_set\x18\x04 \x01(\x08\x12\x1c\n\x14\x63ontent_o_list_bytes\x18\x05 \x03(\x0c\x12#\n\x1b\x63ontent_o_list_bytes_is_set\x18\x06 \x01(\x08\x12\x8e\x01\n\x16\x63ontent_o_dict_str_int\x18\x07 \x03(\x0b\x32n.fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry\x12%\n\x1d\x63ontent_o_dict_str_int_is_set\x18\x08 \x01(\x08\x1a\x39\n\x17\x43ontentODictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a*\n(Performative_Empty_Contents_PerformativeB\x0e\n\x0cperformativeb\x06proto3'
+ '\n\x16t_protocol_no_ct.proto\x12\x1c\x61\x65\x61.fetchai.t_protocol_no_ct"\x84\x30\n\x14TProtocolNoCtMessage\x12\x82\x01\n\x1bperformative_empty_contents\x18\x05 \x01(\x0b\x32[.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Empty_Contents_PerformativeH\x00\x12j\n\x0fperformative_mt\x18\x06 \x01(\x0b\x32O.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_PerformativeH\x00\x12h\n\x0eperformative_o\x18\x07 \x01(\x0b\x32N.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_PerformativeH\x00\x12l\n\x10performative_pct\x18\x08 \x01(\x0b\x32P.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_PerformativeH\x00\x12l\n\x10performative_pmt\x18\t \x01(\x0b\x32P.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_PerformativeH\x00\x12j\n\x0fperformative_pt\x18\n \x01(\x0b\x32O.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_PerformativeH\x00\x1a\x8c\x01\n\x1cPerformative_Pt_Performative\x12\x15\n\rcontent_bytes\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63ontent_int\x18\x02 \x01(\x05\x12\x15\n\rcontent_float\x18\x03 \x01(\x02\x12\x14\n\x0c\x63ontent_bool\x18\x04 \x01(\x08\x12\x13\n\x0b\x63ontent_str\x18\x05 \x01(\t\x1a\xa8\x02\n\x1dPerformative_Pct_Performative\x12\x19\n\x11\x63ontent_set_bytes\x18\x01 \x03(\x0c\x12\x17\n\x0f\x63ontent_set_int\x18\x02 \x03(\x05\x12\x19\n\x11\x63ontent_set_float\x18\x03 \x03(\x02\x12\x18\n\x10\x63ontent_set_bool\x18\x04 \x03(\x08\x12\x17\n\x0f\x63ontent_set_str\x18\x05 \x03(\t\x12\x1a\n\x12\x63ontent_list_bytes\x18\x06 \x03(\x0c\x12\x18\n\x10\x63ontent_list_int\x18\x07 \x03(\x05\x12\x1a\n\x12\x63ontent_list_float\x18\x08 \x03(\x02\x12\x19\n\x11\x63ontent_list_bool\x18\t \x03(\x08\x12\x18\n\x10\x63ontent_list_str\x18\n \x03(\t\x1a\xb9\x17\n\x1dPerformative_Pmt_Performative\x12\x89\x01\n\x16\x63ontent_dict_int_bytes\x18\x01 \x03(\x0b\x32i.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry\x12\x85\x01\n\x14\x63ontent_dict_int_int\x18\x02 \x03(\x0b\x32g.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry\x12\x89\x01\n\x16\x63ontent_dict_int_float\x18\x03 \x03(\x0b\x32i.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry\x12\x87\x01\n\x15\x63ontent_dict_int_bool\x18\x04 \x03(\x0b\x32h.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry\x12\x85\x01\n\x14\x63ontent_dict_int_str\x18\x05 \x03(\x0b\x32g.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry\x12\x8b\x01\n\x17\x63ontent_dict_bool_bytes\x18\x06 \x03(\x0b\x32j.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry\x12\x87\x01\n\x15\x63ontent_dict_bool_int\x18\x07 \x03(\x0b\x32h.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry\x12\x8b\x01\n\x17\x63ontent_dict_bool_float\x18\x08 \x03(\x0b\x32j.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry\x12\x89\x01\n\x16\x63ontent_dict_bool_bool\x18\t \x03(\x0b\x32i.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry\x12\x87\x01\n\x15\x63ontent_dict_bool_str\x18\n \x03(\x0b\x32h.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry\x12\x89\x01\n\x16\x63ontent_dict_str_bytes\x18\x0b \x03(\x0b\x32i.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry\x12\x85\x01\n\x14\x63ontent_dict_str_int\x18\x0c \x03(\x0b\x32g.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry\x12\x89\x01\n\x16\x63ontent_dict_str_float\x18\r \x03(\x0b\x32i.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry\x12\x87\x01\n\x15\x63ontent_dict_str_bool\x18\x0e \x03(\x0b\x32h.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry\x12\x85\x01\n\x14\x63ontent_dict_str_str\x18\x0f \x03(\x0b\x32g.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry\x1a:\n\x18\x43ontentDictIntBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictIntBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictIntStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a;\n\x19\x43ontentDictBoolFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a:\n\x18\x43ontentDictBoolBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictBoolStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a:\n\x18\x43ontentDictStrFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a\x39\n\x17\x43ontentDictStrBoolEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x38\n\x16\x43ontentDictStrStrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xd4\x0b\n\x1cPerformative_Mt_Performative\x12"\n\x1a\x63ontent_union_1_type_bytes\x18\x01 \x01(\x0c\x12 \n\x18\x63ontent_union_1_type_int\x18\x02 \x01(\x05\x12"\n\x1a\x63ontent_union_1_type_float\x18\x03 \x01(\x02\x12!\n\x19\x63ontent_union_1_type_bool\x18\x04 \x01(\x08\x12 \n\x18\x63ontent_union_1_type_str\x18\x05 \x01(\t\x12\'\n\x1f\x63ontent_union_1_type_set_of_int\x18\x06 \x03(\x05\x12)\n!content_union_1_type_list_of_bool\x18\x07 \x03(\x08\x12\xa0\x01\n$content_union_1_type_dict_of_str_int\x18\x08 \x03(\x0b\x32r.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry\x12)\n!content_union_2_type_set_of_bytes\x18\t \x03(\x0c\x12\'\n\x1f\x63ontent_union_2_type_set_of_int\x18\n \x03(\x05\x12\'\n\x1f\x63ontent_union_2_type_set_of_str\x18\x0b \x03(\t\x12*\n"content_union_2_type_list_of_float\x18\x0c \x03(\x02\x12)\n!content_union_2_type_list_of_bool\x18\r \x03(\x08\x12*\n"content_union_2_type_list_of_bytes\x18\x0e \x03(\x0c\x12\xa0\x01\n$content_union_2_type_dict_of_str_int\x18\x0f \x03(\x0b\x32r.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry\x12\xa4\x01\n&content_union_2_type_dict_of_int_float\x18\x10 \x03(\x0b\x32t.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry\x12\xa6\x01\n\'content_union_2_type_dict_of_bool_bytes\x18\x11 \x03(\x0b\x32u.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry\x1a\x44\n"ContentUnion1TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x44\n"ContentUnion2TypeDictOfStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x46\n$ContentUnion2TypeDictOfIntFloatEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1aG\n%ContentUnion2TypeDictOfBoolBytesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x1a\xbf\x03\n\x1bPerformative_O_Performative\x12\x16\n\x0e\x63ontent_o_bool\x18\x01 \x01(\x08\x12\x1d\n\x15\x63ontent_o_bool_is_set\x18\x02 \x01(\x08\x12\x19\n\x11\x63ontent_o_set_int\x18\x03 \x03(\x05\x12 \n\x18\x63ontent_o_set_int_is_set\x18\x04 \x01(\x08\x12\x1c\n\x14\x63ontent_o_list_bytes\x18\x05 \x03(\x0c\x12#\n\x1b\x63ontent_o_list_bytes_is_set\x18\x06 \x01(\x08\x12\x86\x01\n\x16\x63ontent_o_dict_str_int\x18\x07 \x03(\x0b\x32\x66.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry\x12%\n\x1d\x63ontent_o_dict_str_int_is_set\x18\x08 \x01(\x08\x1a\x39\n\x17\x43ontentODictStrIntEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a*\n(Performative_Empty_Contents_PerformativeB\x0e\n\x0cperformativeb\x06proto3'
),
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Pt_Performative",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_bytes",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative.content_bytes",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative.content_bytes",
index=0,
number=1,
type=12,
@@ -52,7 +52,7 @@
),
_descriptor.FieldDescriptor(
name="content_int",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative.content_int",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative.content_int",
index=1,
number=2,
type=5,
@@ -70,7 +70,7 @@
),
_descriptor.FieldDescriptor(
name="content_float",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative.content_float",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative.content_float",
index=2,
number=3,
type=2,
@@ -88,7 +88,7 @@
),
_descriptor.FieldDescriptor(
name="content_bool",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative.content_bool",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative.content_bool",
index=3,
number=4,
type=8,
@@ -106,7 +106,7 @@
),
_descriptor.FieldDescriptor(
name="content_str",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative.content_str",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative.content_str",
index=4,
number=5,
type=9,
@@ -131,20 +131,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=813,
- serialized_end=953,
+ serialized_start=757,
+ serialized_end=897,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PCT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Pct_Performative",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_set_bytes",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_bytes",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_bytes",
index=0,
number=1,
type=12,
@@ -162,7 +162,7 @@
),
_descriptor.FieldDescriptor(
name="content_set_int",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_int",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_int",
index=1,
number=2,
type=5,
@@ -180,7 +180,7 @@
),
_descriptor.FieldDescriptor(
name="content_set_float",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_float",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_float",
index=2,
number=3,
type=2,
@@ -198,7 +198,7 @@
),
_descriptor.FieldDescriptor(
name="content_set_bool",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_bool",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_bool",
index=3,
number=4,
type=8,
@@ -216,7 +216,7 @@
),
_descriptor.FieldDescriptor(
name="content_set_str",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_str",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_set_str",
index=4,
number=5,
type=9,
@@ -234,7 +234,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_bytes",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_bytes",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_bytes",
index=5,
number=6,
type=12,
@@ -252,7 +252,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_int",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_int",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_int",
index=6,
number=7,
type=5,
@@ -270,7 +270,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_float",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_float",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_float",
index=7,
number=8,
type=2,
@@ -288,7 +288,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_bool",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_bool",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_bool",
index=8,
number=9,
type=8,
@@ -306,7 +306,7 @@
),
_descriptor.FieldDescriptor(
name="content_list_str",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_str",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative.content_list_str",
index=9,
number=10,
type=9,
@@ -331,20 +331,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=956,
- serialized_end=1252,
+ serialized_start=900,
+ serialized_end=1196,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBYTESENTRY = _descriptor.Descriptor(
name="ContentDictIntBytesEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry.key",
index=0,
number=1,
type=5,
@@ -362,7 +362,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry.value",
index=1,
number=2,
type=12,
@@ -387,20 +387,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3488,
- serialized_end=3546,
+ serialized_start=3312,
+ serialized_end=3370,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTINTENTRY = _descriptor.Descriptor(
name="ContentDictIntIntEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry.key",
index=0,
number=1,
type=5,
@@ -418,7 +418,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry.value",
index=1,
number=2,
type=5,
@@ -443,20 +443,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3548,
- serialized_end=3604,
+ serialized_start=3372,
+ serialized_end=3428,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTFLOATENTRY = _descriptor.Descriptor(
name="ContentDictIntFloatEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry.key",
index=0,
number=1,
type=5,
@@ -474,7 +474,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry.value",
index=1,
number=2,
type=2,
@@ -499,20 +499,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3606,
- serialized_end=3664,
+ serialized_start=3430,
+ serialized_end=3488,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBOOLENTRY = _descriptor.Descriptor(
name="ContentDictIntBoolEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry.key",
index=0,
number=1,
type=5,
@@ -530,7 +530,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry.value",
index=1,
number=2,
type=8,
@@ -555,20 +555,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3666,
- serialized_end=3723,
+ serialized_start=3490,
+ serialized_end=3547,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTSTRENTRY = _descriptor.Descriptor(
name="ContentDictIntStrEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry.key",
index=0,
number=1,
type=5,
@@ -586,7 +586,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry.value",
index=1,
number=2,
type=9,
@@ -611,20 +611,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3725,
- serialized_end=3781,
+ serialized_start=3549,
+ serialized_end=3605,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBYTESENTRY = _descriptor.Descriptor(
name="ContentDictBoolBytesEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry.key",
index=0,
number=1,
type=8,
@@ -642,7 +642,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry.value",
index=1,
number=2,
type=12,
@@ -667,20 +667,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3783,
- serialized_end=3842,
+ serialized_start=3607,
+ serialized_end=3666,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLINTENTRY = _descriptor.Descriptor(
name="ContentDictBoolIntEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry.key",
index=0,
number=1,
type=8,
@@ -698,7 +698,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry.value",
index=1,
number=2,
type=5,
@@ -723,20 +723,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3844,
- serialized_end=3901,
+ serialized_start=3668,
+ serialized_end=3725,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLFLOATENTRY = _descriptor.Descriptor(
name="ContentDictBoolFloatEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry.key",
index=0,
number=1,
type=8,
@@ -754,7 +754,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry.value",
index=1,
number=2,
type=2,
@@ -779,20 +779,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3903,
- serialized_end=3962,
+ serialized_start=3727,
+ serialized_end=3786,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBOOLENTRY = _descriptor.Descriptor(
name="ContentDictBoolBoolEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry.key",
index=0,
number=1,
type=8,
@@ -810,7 +810,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry.value",
index=1,
number=2,
type=8,
@@ -835,20 +835,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=3964,
- serialized_end=4022,
+ serialized_start=3788,
+ serialized_end=3846,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLSTRENTRY = _descriptor.Descriptor(
name="ContentDictBoolStrEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry.key",
index=0,
number=1,
type=8,
@@ -866,7 +866,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry.value",
index=1,
number=2,
type=9,
@@ -891,20 +891,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4024,
- serialized_end=4081,
+ serialized_start=3848,
+ serialized_end=3905,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBYTESENTRY = _descriptor.Descriptor(
name="ContentDictStrBytesEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry.key",
index=0,
number=1,
type=9,
@@ -922,7 +922,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry.value",
index=1,
number=2,
type=12,
@@ -947,20 +947,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4083,
- serialized_end=4141,
+ serialized_start=3907,
+ serialized_end=3965,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRINTENTRY = _descriptor.Descriptor(
name="ContentDictStrIntEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry.key",
index=0,
number=1,
type=9,
@@ -978,7 +978,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry.value",
index=1,
number=2,
type=5,
@@ -1003,20 +1003,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4143,
- serialized_end=4199,
+ serialized_start=3967,
+ serialized_end=4023,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRFLOATENTRY = _descriptor.Descriptor(
name="ContentDictStrFloatEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry.key",
index=0,
number=1,
type=9,
@@ -1034,7 +1034,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry.value",
index=1,
number=2,
type=2,
@@ -1059,20 +1059,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4201,
- serialized_end=4259,
+ serialized_start=4025,
+ serialized_end=4083,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBOOLENTRY = _descriptor.Descriptor(
name="ContentDictStrBoolEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry.key",
index=0,
number=1,
type=9,
@@ -1090,7 +1090,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry.value",
index=1,
number=2,
type=8,
@@ -1115,20 +1115,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4261,
- serialized_end=4318,
+ serialized_start=4085,
+ serialized_end=4142,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRSTRENTRY = _descriptor.Descriptor(
name="ContentDictStrStrEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry.key",
index=0,
number=1,
type=9,
@@ -1146,7 +1146,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry.value",
index=1,
number=2,
type=9,
@@ -1171,20 +1171,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4320,
- serialized_end=4376,
+ serialized_start=4144,
+ serialized_end=4200,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Pmt_Performative",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_dict_int_bytes",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_bytes",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_bytes",
index=0,
number=1,
type=11,
@@ -1202,7 +1202,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_int_int",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_int",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_int",
index=1,
number=2,
type=11,
@@ -1220,7 +1220,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_int_float",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_float",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_float",
index=2,
number=3,
type=11,
@@ -1238,7 +1238,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_int_bool",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_bool",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_bool",
index=3,
number=4,
type=11,
@@ -1256,7 +1256,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_int_str",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_str",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_int_str",
index=4,
number=5,
type=11,
@@ -1274,7 +1274,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_bytes",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_bytes",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_bytes",
index=5,
number=6,
type=11,
@@ -1292,7 +1292,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_int",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_int",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_int",
index=6,
number=7,
type=11,
@@ -1310,7 +1310,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_float",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_float",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_float",
index=7,
number=8,
type=11,
@@ -1328,7 +1328,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_bool",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_bool",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_bool",
index=8,
number=9,
type=11,
@@ -1346,7 +1346,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_bool_str",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_str",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_bool_str",
index=9,
number=10,
type=11,
@@ -1364,7 +1364,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_bytes",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_bytes",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_bytes",
index=10,
number=11,
type=11,
@@ -1382,7 +1382,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_int",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_int",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_int",
index=11,
number=12,
type=11,
@@ -1400,7 +1400,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_float",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_float",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_float",
index=12,
number=13,
type=11,
@@ -1418,7 +1418,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_bool",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_bool",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_bool",
index=13,
number=14,
type=11,
@@ -1436,7 +1436,7 @@
),
_descriptor.FieldDescriptor(
name="content_dict_str_str",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_str",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.content_dict_str_str",
index=14,
number=15,
type=11,
@@ -1477,20 +1477,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=1255,
- serialized_end=4376,
+ serialized_start=1199,
+ serialized_end=4200,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION1TYPEDICTOFSTRINTENTRY = _descriptor.Descriptor(
name="ContentUnion1TypeDictOfStrIntEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry.key",
index=0,
number=1,
type=9,
@@ -1508,7 +1508,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry.value",
index=1,
number=2,
type=5,
@@ -1533,20 +1533,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5620,
- serialized_end=5688,
+ serialized_start=5412,
+ serialized_end=5480,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFSTRINTENTRY = _descriptor.Descriptor(
name="ContentUnion2TypeDictOfStrIntEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry.key",
index=0,
number=1,
type=9,
@@ -1564,7 +1564,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry.value",
index=1,
number=2,
type=5,
@@ -1589,20 +1589,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5690,
- serialized_end=5758,
+ serialized_start=5482,
+ serialized_end=5550,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFINTFLOATENTRY = _descriptor.Descriptor(
name="ContentUnion2TypeDictOfIntFloatEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry.key",
index=0,
number=1,
type=5,
@@ -1620,7 +1620,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry.value",
index=1,
number=2,
type=2,
@@ -1645,20 +1645,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5760,
- serialized_end=5830,
+ serialized_start=5552,
+ serialized_end=5622,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFBOOLBYTESENTRY = _descriptor.Descriptor(
name="ContentUnion2TypeDictOfBoolBytesEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry.key",
index=0,
number=1,
type=8,
@@ -1676,7 +1676,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry.value",
index=1,
number=2,
type=12,
@@ -1701,20 +1701,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5832,
- serialized_end=5903,
+ serialized_start=5624,
+ serialized_end=5695,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Mt_Performative",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_union_1_type_bytes",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_bytes",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_bytes",
index=0,
number=1,
type=12,
@@ -1732,7 +1732,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_int",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_int",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_int",
index=1,
number=2,
type=5,
@@ -1750,7 +1750,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_float",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_float",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_float",
index=2,
number=3,
type=2,
@@ -1768,7 +1768,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_bool",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_bool",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_bool",
index=3,
number=4,
type=8,
@@ -1786,7 +1786,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_str",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_str",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_str",
index=4,
number=5,
type=9,
@@ -1804,7 +1804,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_set_of_int",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_set_of_int",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_set_of_int",
index=5,
number=6,
type=5,
@@ -1822,7 +1822,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_list_of_bool",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_list_of_bool",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_list_of_bool",
index=6,
number=7,
type=8,
@@ -1840,7 +1840,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_1_type_dict_of_str_int",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_dict_of_str_int",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_1_type_dict_of_str_int",
index=7,
number=8,
type=11,
@@ -1858,7 +1858,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_set_of_bytes",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_set_of_bytes",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_set_of_bytes",
index=8,
number=9,
type=12,
@@ -1876,7 +1876,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_set_of_int",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_set_of_int",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_set_of_int",
index=9,
number=10,
type=5,
@@ -1894,7 +1894,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_set_of_str",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_set_of_str",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_set_of_str",
index=10,
number=11,
type=9,
@@ -1912,7 +1912,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_list_of_float",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_list_of_float",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_list_of_float",
index=11,
number=12,
type=2,
@@ -1930,7 +1930,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_list_of_bool",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_list_of_bool",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_list_of_bool",
index=12,
number=13,
type=8,
@@ -1948,7 +1948,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_list_of_bytes",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_list_of_bytes",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_list_of_bytes",
index=13,
number=14,
type=12,
@@ -1966,7 +1966,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_dict_of_str_int",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_dict_of_str_int",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_dict_of_str_int",
index=14,
number=15,
type=11,
@@ -1984,7 +1984,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_dict_of_int_float",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_dict_of_int_float",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_dict_of_int_float",
index=15,
number=16,
type=11,
@@ -2002,7 +2002,7 @@
),
_descriptor.FieldDescriptor(
name="content_union_2_type_dict_of_bool_bytes",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_dict_of_bool_bytes",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.content_union_2_type_dict_of_bool_bytes",
index=16,
number=17,
type=11,
@@ -2032,20 +2032,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=4379,
- serialized_end=5903,
+ serialized_start=4203,
+ serialized_end=5695,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_O_PERFORMATIVE_CONTENTODICTSTRINTENTRY = _descriptor.Descriptor(
name="ContentODictStrIntEntry",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry.key",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry.key",
index=0,
number=1,
type=9,
@@ -2063,7 +2063,7 @@
),
_descriptor.FieldDescriptor(
name="value",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry.value",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry.value",
index=1,
number=2,
type=5,
@@ -2088,20 +2088,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6304,
- serialized_end=6361,
+ serialized_start=6088,
+ serialized_end=6145,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_O_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_O_Performative",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="content_o_bool",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_bool",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_bool",
index=0,
number=1,
type=8,
@@ -2119,7 +2119,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_bool_is_set",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_bool_is_set",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_bool_is_set",
index=1,
number=2,
type=8,
@@ -2137,7 +2137,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_set_int",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_set_int",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_set_int",
index=2,
number=3,
type=5,
@@ -2155,7 +2155,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_set_int_is_set",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_set_int_is_set",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_set_int_is_set",
index=3,
number=4,
type=8,
@@ -2173,7 +2173,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_list_bytes",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_list_bytes",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_list_bytes",
index=4,
number=5,
type=12,
@@ -2191,7 +2191,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_list_bytes_is_set",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_list_bytes_is_set",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_list_bytes_is_set",
index=5,
number=6,
type=8,
@@ -2209,7 +2209,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_dict_str_int",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_dict_str_int",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_dict_str_int",
index=6,
number=7,
type=11,
@@ -2227,7 +2227,7 @@
),
_descriptor.FieldDescriptor(
name="content_o_dict_str_int_is_set",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_dict_str_int_is_set",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.content_o_dict_str_int_is_set",
index=7,
number=8,
type=8,
@@ -2254,13 +2254,13 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=5906,
- serialized_end=6361,
+ serialized_start=5698,
+ serialized_end=6145,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_EMPTY_CONTENTS_PERFORMATIVE = _descriptor.Descriptor(
name="Performative_Empty_Contents_Performative",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Empty_Contents_Performative",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Empty_Contents_Performative",
filename=None,
file=DESCRIPTOR,
containing_type=None,
@@ -2273,20 +2273,20 @@
syntax="proto3",
extension_ranges=[],
oneofs=[],
- serialized_start=6363,
- serialized_end=6405,
+ serialized_start=6147,
+ serialized_end=6189,
)
_TPROTOCOLNOCTMESSAGE = _descriptor.Descriptor(
name="TProtocolNoCtMessage",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="performative_empty_contents",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_empty_contents",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_empty_contents",
index=0,
number=5,
type=11,
@@ -2304,7 +2304,7 @@
),
_descriptor.FieldDescriptor(
name="performative_mt",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_mt",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_mt",
index=1,
number=6,
type=11,
@@ -2322,7 +2322,7 @@
),
_descriptor.FieldDescriptor(
name="performative_o",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_o",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_o",
index=2,
number=7,
type=11,
@@ -2340,7 +2340,7 @@
),
_descriptor.FieldDescriptor(
name="performative_pct",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_pct",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_pct",
index=3,
number=8,
type=11,
@@ -2358,7 +2358,7 @@
),
_descriptor.FieldDescriptor(
name="performative_pmt",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_pmt",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_pmt",
index=4,
number=9,
type=11,
@@ -2376,7 +2376,7 @@
),
_descriptor.FieldDescriptor(
name="performative_pt",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_pt",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative_pt",
index=5,
number=10,
type=11,
@@ -2410,14 +2410,14 @@
oneofs=[
_descriptor.OneofDescriptor(
name="performative",
- full_name="fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative",
+ full_name="aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.performative",
index=0,
containing_type=None,
fields=[],
),
],
- serialized_start=65,
- serialized_end=6421,
+ serialized_start=57,
+ serialized_end=6205,
)
_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PT_PERFORMATIVE.containing_type = (
@@ -2657,7 +2657,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PT_PERFORMATIVE,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pt_Performative)
),
),
Performative_Pct_Performative=_reflection.GeneratedProtocolMessageType(
@@ -2666,7 +2666,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PCT_PERFORMATIVE,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pct_Performative)
),
),
Performative_Pmt_Performative=_reflection.GeneratedProtocolMessageType(
@@ -2679,7 +2679,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBYTESENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBytesEntry)
),
),
ContentDictIntIntEntry=_reflection.GeneratedProtocolMessageType(
@@ -2688,7 +2688,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTINTENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntIntEntry)
),
),
ContentDictIntFloatEntry=_reflection.GeneratedProtocolMessageType(
@@ -2697,7 +2697,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTFLOATENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntFloatEntry)
),
),
ContentDictIntBoolEntry=_reflection.GeneratedProtocolMessageType(
@@ -2706,7 +2706,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTBOOLENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntBoolEntry)
),
),
ContentDictIntStrEntry=_reflection.GeneratedProtocolMessageType(
@@ -2715,7 +2715,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTINTSTRENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictIntStrEntry)
),
),
ContentDictBoolBytesEntry=_reflection.GeneratedProtocolMessageType(
@@ -2724,7 +2724,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBYTESENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBytesEntry)
),
),
ContentDictBoolIntEntry=_reflection.GeneratedProtocolMessageType(
@@ -2733,7 +2733,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLINTENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolIntEntry)
),
),
ContentDictBoolFloatEntry=_reflection.GeneratedProtocolMessageType(
@@ -2742,7 +2742,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLFLOATENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolFloatEntry)
),
),
ContentDictBoolBoolEntry=_reflection.GeneratedProtocolMessageType(
@@ -2751,7 +2751,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLBOOLENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolBoolEntry)
),
),
ContentDictBoolStrEntry=_reflection.GeneratedProtocolMessageType(
@@ -2760,7 +2760,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTBOOLSTRENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictBoolStrEntry)
),
),
ContentDictStrBytesEntry=_reflection.GeneratedProtocolMessageType(
@@ -2769,7 +2769,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBYTESENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBytesEntry)
),
),
ContentDictStrIntEntry=_reflection.GeneratedProtocolMessageType(
@@ -2778,7 +2778,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRINTENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrIntEntry)
),
),
ContentDictStrFloatEntry=_reflection.GeneratedProtocolMessageType(
@@ -2787,7 +2787,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRFLOATENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrFloatEntry)
),
),
ContentDictStrBoolEntry=_reflection.GeneratedProtocolMessageType(
@@ -2796,7 +2796,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRBOOLENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrBoolEntry)
),
),
ContentDictStrStrEntry=_reflection.GeneratedProtocolMessageType(
@@ -2805,12 +2805,12 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE_CONTENTDICTSTRSTRENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative.ContentDictStrStrEntry)
),
),
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_PMT_PERFORMATIVE,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Pmt_Performative)
),
),
Performative_Mt_Performative=_reflection.GeneratedProtocolMessageType(
@@ -2823,7 +2823,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION1TYPEDICTOFSTRINTENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion1TypeDictOfStrIntEntry)
),
),
ContentUnion2TypeDictOfStrIntEntry=_reflection.GeneratedProtocolMessageType(
@@ -2832,7 +2832,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFSTRINTENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfStrIntEntry)
),
),
ContentUnion2TypeDictOfIntFloatEntry=_reflection.GeneratedProtocolMessageType(
@@ -2841,7 +2841,7 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFINTFLOATENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfIntFloatEntry)
),
),
ContentUnion2TypeDictOfBoolBytesEntry=_reflection.GeneratedProtocolMessageType(
@@ -2850,12 +2850,12 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE_CONTENTUNION2TYPEDICTOFBOOLBYTESENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative.ContentUnion2TypeDictOfBoolBytesEntry)
),
),
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_MT_PERFORMATIVE,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Mt_Performative)
),
),
Performative_O_Performative=_reflection.GeneratedProtocolMessageType(
@@ -2868,12 +2868,12 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_O_PERFORMATIVE_CONTENTODICTSTRINTENTRY,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative.ContentODictStrIntEntry)
),
),
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_O_PERFORMATIVE,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_O_Performative)
),
),
Performative_Empty_Contents_Performative=_reflection.GeneratedProtocolMessageType(
@@ -2882,12 +2882,12 @@
dict(
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE_PERFORMATIVE_EMPTY_CONTENTS_PERFORMATIVE,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Empty_Contents_Performative)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage.Performative_Empty_Contents_Performative)
),
),
DESCRIPTOR=_TPROTOCOLNOCTMESSAGE,
__module__="t_protocol_no_ct_pb2"
- # @@protoc_insertion_point(class_scope:fetchai.aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage)
+ # @@protoc_insertion_point(class_scope:aea.fetchai.t_protocol_no_ct.TProtocolNoCtMessage)
),
)
_sym_db.RegisterMessage(TProtocolNoCtMessage)
diff --git a/tests/data/hashes.csv b/tests/data/hashes.csv
index 7fe00a5120..7052a44c49 100644
--- a/tests/data/hashes.csv
+++ b/tests/data/hashes.csv
@@ -2,5 +2,7 @@ dummy_author/agents/dummy_aea,QmQRx5aPogjbzyV1GKFByfPpCENu7A1E1GGC9arXCKnzsD
dummy_author/skills/dummy_skill,QmQpimGAQ56nihemchgE29Mfan57YdGixj3kat69FGkrjK
fetchai/connections/dummy_connection,QmT7zw62fDK1mmwYqTvw4pWqFg8Fc1DYQHUxcxd7sqZiLu
fetchai/contracts/dummy_contract,QmQr6BLGQuj45r55S5Bo8xqP8ggr4hbmJBbHUJ14uh1qjD
+fetchai/protocols/t_protocol,QmPGP1dQWJ6U6vCDN3NU1z3RcEGiJCzP8Utti5nLTdgr88
+fetchai/protocols/t_protocol_no_ct,QmcNnuABiHcGoN3kBPsBGG1BW8kvN3Ypboh51p3ujVLVtL
fetchai/skills/dependencies_skill,QmaLBgnwTXdTzue7H3UbVuKmPxaqoK4Azpj85tKTdQi29j
fetchai/skills/exception_skill,QmT2RiM95EVbXTD31zU6pKKoERkrCLuyxpAJfkm3dTsTp2
diff --git a/tests/test_protocols/test_generator/test_generator.py b/tests/test_protocols/test_generator/test_generator.py
index 94f5b75b2e..2c8ba4296a 100644
--- a/tests/test_protocols/test_generator/test_generator.py
+++ b/tests/test_protocols/test_generator/test_generator.py
@@ -1204,7 +1204,7 @@ def test_protocol_buffer_schema_str(self):
print(proto_buff_schema_str)
expected = (
'syntax = "proto3";\n\n'
- "package fetchai.aea.some_author.some_name;\n\n"
+ "package aea.some_author.some_name;\n\n"
"message SomeNameMessage{\n\n"
" // Custom Types\n"
" message SomeCustomType{\n"
From 4dd68fa7c6c03b962655719f862b5b40c653e706 Mon Sep 17 00:00:00 2001
From: Lokman Rahmani
Date: Fri, 18 Sep 2020 14:10:06 +0100
Subject: [PATCH 025/155] [wip] all vars as placeholders
---
scripts/acn/k8s/deployment.yaml | 78 ++++++++++++++++++++++++++++++
scripts/acn/k8s/dns.yaml | 13 +++++
scripts/acn/k8s/istio.yaml | 49 +++++++++++++++++++
scripts/acn/k8s/secret.yaml | 7 +++
scripts/acn/k8s_deploy_acn_node.py | 34 +++++++++++++
5 files changed, 181 insertions(+)
create mode 100644 scripts/acn/k8s/deployment.yaml
create mode 100644 scripts/acn/k8s/dns.yaml
create mode 100644 scripts/acn/k8s/istio.yaml
create mode 100644 scripts/acn/k8s/secret.yaml
create mode 100644 scripts/acn/k8s_deploy_acn_node.py
diff --git a/scripts/acn/k8s/deployment.yaml b/scripts/acn/k8s/deployment.yaml
new file mode 100644
index 0000000000..26065b3c5d
--- /dev/null
+++ b/scripts/acn/k8s/deployment.yaml
@@ -0,0 +1,78 @@
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+ name: ph-deployment-name-here
+ namespace: ph-cluster-namespace-here
+ labels:
+ app: ph-deployment-name-here
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: ph-deployment-name-here
+ template:
+ metadata:
+ labels:
+ app: ph-deployment-name-here
+
+ spec:
+ initContainers:
+ - name: check-entry-peer
+ image: subfuzion/netcat
+ command: ['sh', '-c',
+ 'if [ -z "${LATEST_ENTRY_PEER_HOST}" ]; then exit 0; fi; until nc -w 2 -zv ${LATEST_ENTRY_PEER_HOST} ${LATEST_ENTRY_PEER_PORT}; do echo waiting for ${LATEST_ENTRY_PEER_HOST}:${LATEST_ENTRY_PEER_PORT} ; sleep 2; done;']
+ env:
+ - name: LATEST_ENTRY_PEER_HOST
+ value: ph-latest-entry-peer-host-here
+ - name: LATEST_ENTRY_PEER_PORT
+ value: ph-latest-entry-peer-port-here
+
+ containers:
+ - image: ph-gcr-image-with-tag-here
+ name: ph-container-name-here
+ ports:
+ - containerPort: ph-node-port-number-here
+ - containerPort: ph-node-delegate-port-number-here
+
+ resources:
+ requests:
+ memory: "64Mi"
+ cpu: "150m"
+ limits:
+ memory: "4000Mi"
+ cpu: "2000m"
+
+ env:
+ - name: AEA_P2P_ID
+ valueFrom:
+ secretKeyRef:
+ name: ph-node-priv-key-name-here
+ key: priv-key
+ - name: AEA_P2P_URI_PUBLIC
+ value: ph-node-external-uri-here
+ - name: AEA_P2P_URI
+ value: ph-node-local-uri-here
+ - name: AEA_P2P_DELEGATE_URI
+ value: ph-node-delegate-uri-here
+ - name: AEA_P2P_ENTRY_URIS
+ value: ph-node-entry-peers-list-here
+
+ restartPolicy: Always
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: ph-deployment-name-here
+ namespace: ph-cluster-namespace-here
+spec:
+ selector:
+ app: ph-deployment-name-here
+ ports:
+ - name: libp2p
+ protocol: TCP
+ port: ph-node-port-number-here
+ targetPort: ph-node-port-number-here
+ - name: tcp
+ protocol: TCP
+ port: ph-node-delegate-port-number-here
+ targetPort: ph-node-delegate-port-number-here
\ No newline at end of file
diff --git a/scripts/acn/k8s/dns.yaml b/scripts/acn/k8s/dns.yaml
new file mode 100644
index 0000000000..c8cd85ac6e
--- /dev/null
+++ b/scripts/acn/k8s/dns.yaml
@@ -0,0 +1,13 @@
+---
+apiVersion: externaldns.k8s.io/v1alpha1
+kind: DNSEndpoint
+metadata:
+ name: ph-deployment-name-here
+ namespace: ph-cluster-namespace-here
+spec:
+ endpoints:
+ - dnsName: ph-dnsname-here
+ recordTTL: 180
+ recordType: CNAME
+ targets:
+ - ph-dnsname-here
diff --git a/scripts/acn/k8s/istio.yaml b/scripts/acn/k8s/istio.yaml
new file mode 100644
index 0000000000..856efede51
--- /dev/null
+++ b/scripts/acn/k8s/istio.yaml
@@ -0,0 +1,49 @@
+---
+apiVersion: networking.istio.io/v1alpha3
+kind: Gateway
+metadata:
+ name: ph-deployment-name-here
+ namespace: ph-cluster-namspace-here
+spec:
+ selector:
+ app: istio-fetchpubig
+ istio: ingressgateway
+ servers:
+ - port:
+ name: libp2p
+ number: node-port-number-here
+ protocol: TCP
+ hosts:
+ - agents-p2p-dht.sandbox.fetch-ai.com
+ - port:
+ name: tcp
+ number: node-delegate-port-number-here
+ protocol: TCP
+ hosts:
+ - agents-p2p-dht.sandbox.fetch-ai.com
+---
+apiVersion: networking.istio.io/v1alpha3
+kind: VirtualService
+metadata:
+ name: ph-deployment-name-here
+ namespace: ph-cluster-namespace-here
+spec:
+ gateways:
+ - ph-deployment-name-here
+ hosts:
+ - agents-p2p-dht.sandbox.fetch-ai.com
+ tcp:
+ - match:
+ - port: node-port-number-here
+ route:
+ - destination:
+ host: ph-deployment-name-here
+ port:
+ number: node-port-number-here
+ - match:
+ - port: node-delegate-port-number-here
+ route:
+ - destination:
+ host: ph-deployment-name-here
+ port:
+ number: node-delegate-port-number-here
diff --git a/scripts/acn/k8s/secret.yaml b/scripts/acn/k8s/secret.yaml
new file mode 100644
index 0000000000..f9ee890243
--- /dev/null
+++ b/scripts/acn/k8s/secret.yaml
@@ -0,0 +1,7 @@
+apiVersion: v1
+kind: Secret
+metadata:
+ name: node-priv-key-name-here
+type: Opaque
+data:
+ priv-key: based64-encode-private-key-here
diff --git a/scripts/acn/k8s_deploy_acn_node.py b/scripts/acn/k8s_deploy_acn_node.py
new file mode 100644
index 0000000000..60e83a8c2d
--- /dev/null
+++ b/scripts/acn/k8s_deploy_acn_node.py
@@ -0,0 +1,34 @@
+# -*- coding: utf-8 -*-
+# ------------------------------------------------------------------------------
+#
+# Copyright 2018-2019 Fetch.AI Limited
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ------------------------------------------------------------------------------
+""" Deploy an ACN libp2p node to a kubernetes cluster """
+
+from typing import Dict
+
+k8s_deployment_name = "ph-deployment-name-here"
+k8s_cluster_namespace = "ph-cluster-namespace-here"
+k8s_check_listening_host = "ph-latest-entry-peer-host-here"
+k8s_check_listening_port = "ph-latest-entry-peer-port-here"
+k8s_docker_image_url = "ph-gcr-image-with-tag-here"
+k8s_docker_container_name = "ph-container-name-here"
+
+node_port_number = "ph-node-port-number-here"
+node_port_number_delegate = "ph-node-delegate-port-number-here"
+config : Dict[str, str] = {
+
+}
From 57ffb20d3681331c41f49e2870b432630bcac933 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Tue, 22 Sep 2020 17:04:42 +0200
Subject: [PATCH 026/155] fix linting checks
---
scripts/generate_all_protocols.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/generate_all_protocols.py b/scripts/generate_all_protocols.py
index 22b121ed35..077b9de953 100755
--- a/scripts/generate_all_protocols.py
+++ b/scripts/generate_all_protocols.py
@@ -19,6 +19,8 @@
# ------------------------------------------------------------------------------
"""
+Generate all the protocols from their specifications.
+
This script takes all the protocol specification (scraped from the protocol README)
and calls the `aea generate protocol` command.
@@ -28,6 +30,7 @@
It requires the `aea` package, `black` and `isort` tools.
"""
+
import logging
import operator
import os
From 50d53110450e241f45fdda294d808e4114683eac Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Tue, 22 Sep 2020 17:04:54 +0200
Subject: [PATCH 027/155] update language-agnostic protocol definitions with
new schema.
---
docs/language-agnostic-definition.md | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/docs/language-agnostic-definition.md b/docs/language-agnostic-definition.md
index 3b0d059ef9..a9fb0fea81 100644
--- a/docs/language-agnostic-definition.md
+++ b/docs/language-agnostic-definition.md
@@ -31,16 +31,15 @@ The format for the above fields, except `message`, is specified below. For those
``` proto
- // Meta fields
- int32 message_id = 1;
- string dialogue_starter_reference = 2;
- string dialogue_responder_reference = 3;
- int32 target = 4;
- oneof performative{
- ...
+ message DialogueMessage {
+ int32 message_id = 1;
+ string dialogue_starter_reference = 2;
+ string dialogue_responder_reference = 3;
+ int32 target = 4;
+ bytes content = 5;
}
```
- where `...` is replaced with the protocol specific performatives (see here for details).
+ where `content` is replaced with the protocol specific content (see here for details).
It MUST implement protocols according to their specification (see here for details).
@@ -84,11 +83,6 @@ message DefaultMessage{
}
- // Standard DefaultMessage fields
- int32 message_id = 1;
- string dialogue_starter_reference = 2;
- string dialogue_responder_reference = 3;
- int32 target = 4;
oneof performative{
Bytes_Performative bytes = 5;
Error_Performative error = 6;
From 8ec222a8ed414569ffe06390b391440443151807 Mon Sep 17 00:00:00 2001
From: MarcoFavorito
Date: Tue, 22 Sep 2020 17:37:01 +0200
Subject: [PATCH 028/155] fix linting and hashes
---
aea/protocols/base.py | 3 ++-
aea/protocols/default/__init__.py | 1 +
aea/protocols/default/message.py | 1 +
aea/protocols/default/protocol.yaml | 4 ++--
aea/protocols/signing/__init__.py | 1 +
aea/protocols/signing/message.py | 1 +
aea/protocols/signing/protocol.yaml | 4 ++--
aea/protocols/state_update/__init__.py | 1 +
aea/protocols/state_update/message.py | 1 +
aea/protocols/state_update/protocol.yaml | 4 ++--
aea/registries/base.py | 8 +++++--
.../fetchai/protocols/contract_api/README.md | 2 +-
.../protocols/contract_api/__init__.py | 1 +
.../fetchai/protocols/contract_api/message.py | 1 +
.../protocols/contract_api/protocol.yaml | 10 ++++-----
.../protocols/contract_api/serialization.py | 16 ++++++++------
packages/fetchai/protocols/fipa/__init__.py | 1 +
packages/fetchai/protocols/fipa/message.py | 1 +
packages/fetchai/protocols/fipa/protocol.yaml | 6 ++---
.../fetchai/protocols/fipa/serialization.py | 9 ++++----
packages/fetchai/protocols/gym/README.md | 2 +-
packages/fetchai/protocols/gym/__init__.py | 1 +
packages/fetchai/protocols/gym/message.py | 1 +
packages/fetchai/protocols/gym/protocol.yaml | 10 ++++-----
.../fetchai/protocols/gym/serialization.py | 6 ++---
packages/fetchai/protocols/http/__init__.py | 1 +
packages/fetchai/protocols/http/message.py | 1 +
packages/fetchai/protocols/http/protocol.yaml | 6 ++---
.../fetchai/protocols/http/serialization.py | 6 ++---
.../fetchai/protocols/ledger_api/__init__.py | 1 +
.../fetchai/protocols/ledger_api/message.py | 1 +
.../protocols/ledger_api/protocol.yaml | 6 ++---
.../protocols/ledger_api/serialization.py | 18 ++++++++-------
.../fetchai/protocols/ml_trade/__init__.py | 1 +
.../fetchai/protocols/ml_trade/message.py | 1 +
.../fetchai/protocols/ml_trade/protocol.yaml | 6 ++---
.../protocols/ml_trade/serialization.py | 9 ++++----
.../fetchai/protocols/oef_search/__init__.py | 1 +
.../fetchai/protocols/oef_search/message.py | 1 +
.../protocols/oef_search/protocol.yaml | 6 ++---
.../protocols/oef_search/serialization.py | 16 ++++++++------
packages/fetchai/protocols/tac/__init__.py | 1 +
packages/fetchai/protocols/tac/message.py | 1 +
packages/fetchai/protocols/tac/protocol.yaml | 6 ++---
.../fetchai/protocols/tac/serialization.py | 6 ++---
packages/hashes.csv | 22 +++++++++----------
scripts/generate_all_protocols.py | 1 +
tests/data/generator/t_protocol/protocol.yaml | 2 +-
.../generator/t_protocol/serialization.py | 3 ++-
.../generator/t_protocol_no_ct/protocol.yaml | 2 +-
.../t_protocol_no_ct/serialization.py | 3 ++-
tests/data/hashes.csv | 4 ++--
.../test_oef/test_communication.py | 3 ++-
53 files changed, 133 insertions(+), 98 deletions(-)
diff --git a/aea/protocols/base.py b/aea/protocols/base.py
index 50f86ee4f4..b942d88f21 100644
--- a/aea/protocols/base.py
+++ b/aea/protocols/base.py
@@ -34,7 +34,8 @@
from aea.configurations.base import ComponentType, ProtocolConfig, PublicId
from aea.configurations.loader import load_component_configuration
from aea.exceptions import enforce
-from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
+from aea.mail.base_pb2 import DialogueMessage
+from aea.mail.base_pb2 import Message as ProtobufMessage
logger = logging.getLogger(__name__)
diff --git a/aea/protocols/default/__init__.py b/aea/protocols/default/__init__.py
index 8b6776854d..84923b00ef 100644
--- a/aea/protocols/default/__init__.py
+++ b/aea/protocols/default/__init__.py
@@ -22,4 +22,5 @@
from aea.protocols.default.message import DefaultMessage
from aea.protocols.default.serialization import DefaultSerializer
+
DefaultMessage.serializer = DefaultSerializer
diff --git a/aea/protocols/default/message.py b/aea/protocols/default/message.py
index 547286e375..b6c2b75073 100644
--- a/aea/protocols/default/message.py
+++ b/aea/protocols/default/message.py
@@ -27,6 +27,7 @@
from aea.protocols.base import Message
from aea.protocols.default.custom_types import ErrorCode as CustomErrorCode
+
logger = logging.getLogger("aea.protocols.default.message")
DEFAULT_BODY_SIZE = 4
diff --git a/aea/protocols/default/protocol.yaml b/aea/protocols/default/protocol.yaml
index c8df1426cb..9a3b55535c 100644
--- a/aea/protocols/default/protocol.yaml
+++ b/aea/protocols/default/protocol.yaml
@@ -7,12 +7,12 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmP3q9463opixzdv17QXkCSQvgR8KJXgLAVkfUPpdHJzPv
- __init__.py: QmPMtKUrzVJp594VqNuapJzCesWLQ6Awjqv2ufG3wKNRmH
+ __init__.py: QmWpWuGcXu2SodVGUZiAdMrF8Tn7MAPDbiGh7vd9nEfEX6
custom_types.py: QmRcgwDdTxkSHyfF9eoMtsb5P5GJDm4oyLq5W6ZBko1MFU
default.proto: QmbbAXpav8jfU1r59afGbLAj3FpPXEwWuezPocAMyqcfax
default_pb2.py: QmT2nZidwAd5jkXyx3UWkapUpsiEfjwUr6a8DKboSujokt
dialogues.py: Qmc991snbS7DwFxo1cKcq1rQ2uj7y8ukp14kfe2zve387C
- message.py: QmeaadvKib9QqpjZgd7NiDUqGRpC2eZPVpgq1dY3PYacht
+ message.py: QmWzSGcSeRGaHERQg6E8QaYDiCqmeJYdFqE7rrwMBP7mP2
serialization.py: QmcRk22hZ49s2HLUNPXBYWTnUkFjuNnVwVWp3yfxfbaQDd
fingerprint_ignore_patterns: []
dependencies:
diff --git a/aea/protocols/signing/__init__.py b/aea/protocols/signing/__init__.py
index a64e961fd6..7fd69707d7 100644
--- a/aea/protocols/signing/__init__.py
+++ b/aea/protocols/signing/__init__.py
@@ -22,4 +22,5 @@
from aea.protocols.signing.message import SigningMessage
from aea.protocols.signing.serialization import SigningSerializer
+
SigningMessage.serializer = SigningSerializer
diff --git a/aea/protocols/signing/message.py b/aea/protocols/signing/message.py
index ea9ef07339..cf7cd943af 100644
--- a/aea/protocols/signing/message.py
+++ b/aea/protocols/signing/message.py
@@ -34,6 +34,7 @@
)
from aea.protocols.signing.custom_types import Terms as CustomTerms
+
logger = logging.getLogger("aea.protocols.signing.message")
DEFAULT_BODY_SIZE = 4
diff --git a/aea/protocols/signing/protocol.yaml b/aea/protocols/signing/protocol.yaml
index 00bdb60def..375594d1a5 100644
--- a/aea/protocols/signing/protocol.yaml
+++ b/aea/protocols/signing/protocol.yaml
@@ -7,10 +7,10 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmSoa5dnxz53GWpWT2VvcRG4asVbzA8JzguiVgwqiLtguM
- __init__.py: QmcCL3TTdvd8wxYKzf2d3cgKEtY9RzLjPCn4hex4wmb6h6
+ __init__.py: Qmd7JYjcrD95jdYfSZs6j7UX5TPZfPYXuTFrUzS3FHCxhS
custom_types.py: Qmc7sAyCQbAaVs5dZf9hFkTrB2BG8VAioWzbyKBAybrQ1J
dialogues.py: QmQ1WKs3Dn15oDSwpc4N8hdADLxrn76U4X5SiLAmyGiPPY
- message.py: QmWMUnBpZxBq1PDZ6JsR9vwaKdywBHvL5hghekWeph8j9B
+ message.py: QmP3La3Bh5Q8bbecXWpDHj25rp7Eiv6nuvVNMqURSp4Dn4
serialization.py: QmT4wm2vP8QUFYCCaCCNNe4kMGgPCsFqkBTvKJFUYDJC4S
signing.proto: QmZN9CmcfXCBiMQd9GTG81LadsbVQQ7j5pLFxEiQsQ4Sqk
signing_pb2.py: QmYQH8PDeC25ysrxeqh4nNv38bUL7jv9gRhta9gaNiXLL2
diff --git a/aea/protocols/state_update/__init__.py b/aea/protocols/state_update/__init__.py
index 0ede0392d3..7e271c83c4 100644
--- a/aea/protocols/state_update/__init__.py
+++ b/aea/protocols/state_update/__init__.py
@@ -22,4 +22,5 @@
from aea.protocols.state_update.message import StateUpdateMessage
from aea.protocols.state_update.serialization import StateUpdateSerializer
+
StateUpdateMessage.serializer = StateUpdateSerializer
diff --git a/aea/protocols/state_update/message.py b/aea/protocols/state_update/message.py
index fbec5d3797..29fb679368 100644
--- a/aea/protocols/state_update/message.py
+++ b/aea/protocols/state_update/message.py
@@ -26,6 +26,7 @@
from aea.exceptions import AEAEnforceError, enforce
from aea.protocols.base import Message
+
logger = logging.getLogger("aea.protocols.state_update.message")
DEFAULT_BODY_SIZE = 4
diff --git a/aea/protocols/state_update/protocol.yaml b/aea/protocols/state_update/protocol.yaml
index d6858c75bb..c996d46d8f 100644
--- a/aea/protocols/state_update/protocol.yaml
+++ b/aea/protocols/state_update/protocol.yaml
@@ -7,9 +7,9 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: Qmc12hnCshAE3TL9ba4vo6L8ZZhynyfhEUoStJggRrbimc
- __init__.py: Qma2opyN54gwTpkVV1E14jjeMmMfoqgE6XMM9LsvGuTdkm
+ __init__.py: QmUrvqDr24Ph1nnUqjTUPh9QoftuTsef3Dj3yzPUMY38fu
dialogues.py: Qmd59WgpFccLn1zhpLdwm3zDCmCsjSoQXVn6M7PgFwwkgR
- message.py: Qmc8mnCC1K7yb1CTY3t1RXbktmg54bZ3nXVqq1KQES8jJf
+ message.py: QmWiFo7D5szGwdvewzb7sfawH3k2i3NHfrAFfdSRvWRNJf
serialization.py: QmS3Tesi18wvwoxjgC4iiqkdJUMAsYSiz8Vq6oHNzr3kxh
state_update.proto: QmX1YJaiCeEdURVzu8qx5w2gq5gs2V9cy8dJ7jg79poQLs
state_update_pb2.py: QmUgSCEzb6gZZBBYyLqMXxZG2Awt8znjQXeHMuX7DDdTpE
diff --git a/aea/registries/base.py b/aea/registries/base.py
index 6daffeea9b..a8da064dba 100644
--- a/aea/registries/base.py
+++ b/aea/registries/base.py
@@ -142,13 +142,17 @@ def register( # pylint: disable=arguments-differ,unused-argument
raise ValueError(f"Item already registered with item id '{public_id}'")
self._public_id_to_item[public_id] = item
- def unregister(self, public_id: PublicId) -> None:
+ def unregister(
+ self, public_id: PublicId
+ ) -> None: # pylint: disable=arguments-differ,unused-argument
"""Unregister an item."""
if public_id not in self._public_id_to_item:
raise ValueError(f"No item registered with item id '{public_id}'")
self._public_id_to_item.pop(public_id)
- def fetch(self, public_id: PublicId) -> Optional[Item]:
+ def fetch(
+ self, public_id: PublicId
+ ) -> Optional[Item]: # pylint: disable=arguments-differ,unused-argument
"""
Fetch an item associated with a public id.
diff --git a/packages/fetchai/protocols/contract_api/README.md b/packages/fetchai/protocols/contract_api/README.md
index 19ea53f3d3..532ccff9b0 100644
--- a/packages/fetchai/protocols/contract_api/README.md
+++ b/packages/fetchai/protocols/contract_api/README.md
@@ -10,7 +10,7 @@ This is a protocol for contract APIs' requests and responses.
---
name: contract_api
author: fetchai
-version: 0.4.0
+version: 0.5.0
description: A protocol for contract APIs requests and responses.
license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
diff --git a/packages/fetchai/protocols/contract_api/__init__.py b/packages/fetchai/protocols/contract_api/__init__.py
index 4674ea494b..b93cfc3722 100644
--- a/packages/fetchai/protocols/contract_api/__init__.py
+++ b/packages/fetchai/protocols/contract_api/__init__.py
@@ -22,4 +22,5 @@
from packages.fetchai.protocols.contract_api.message import ContractApiMessage
from packages.fetchai.protocols.contract_api.serialization import ContractApiSerializer
+
ContractApiMessage.serializer = ContractApiSerializer
diff --git a/packages/fetchai/protocols/contract_api/message.py b/packages/fetchai/protocols/contract_api/message.py
index b6108ee30c..80add03ac4 100644
--- a/packages/fetchai/protocols/contract_api/message.py
+++ b/packages/fetchai/protocols/contract_api/message.py
@@ -35,6 +35,7 @@
)
from packages.fetchai.protocols.contract_api.custom_types import State as CustomState
+
logger = logging.getLogger("aea.packages.fetchai.protocols.contract_api.message")
DEFAULT_BODY_SIZE = 4
diff --git a/packages/fetchai/protocols/contract_api/protocol.yaml b/packages/fetchai/protocols/contract_api/protocol.yaml
index 0efae028e4..f7860f5672 100644
--- a/packages/fetchai/protocols/contract_api/protocol.yaml
+++ b/packages/fetchai/protocols/contract_api/protocol.yaml
@@ -1,19 +1,19 @@
name: contract_api
author: fetchai
-version: 0.4.0
+version: 0.5.0
type: protocol
description: A protocol for contract APIs requests and responses.
license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
- README.md: QmVR8NKCTfaoLCiepHWqPGPVRuhmbwaM4v9iheK4FzaWwj
- __init__.py: QmZodYjNqoMgGAGKfkCU4zU9t1Cx9MAownqSy4wyVdwaHF
+ README.md: QmPK5NcjfCiw3wnnaM18hdgHUTyU9YfxVgs9wsBZdrfhhF
+ __init__.py: QmcZFuqoBkEx1fYytpLr7142vtXf9qh8cpeRYVZcaWdmrD
contract_api.proto: QmSZpXyFMf2MNgVud8iPinaaerx1CManffgHNMx8FcD8jY
contract_api_pb2.py: QmeFTJRKNypwVgAs1h97aMr36xE3hjD8Vhqwo5Pf4dtjTy
custom_types.py: QmcMtzozPhcL2H9hDmnUd9bHDE3ihy7HQgvGKkhqxdAXf4
dialogues.py: QmTjXH8JUtziUFDawKsSTYE5dxn1n1FmMPeWexyxiPYd6k
- message.py: Qmd7r8Zf3jC1uwMRM1dhs1FTEqDMXreHHRiGgViAQkEMXc
- serialization.py: QmUKAwH9Jw66JnbZLwm5HZ4gvV8hmtFg8s2tfPkiKSnLir
+ message.py: QmV576x24NDmGN9XfCq3o3gKKwubD5awwobCggsTJo6NTo
+ serialization.py: QmPNTw6vXbdw9GMUwCCGyoHNxopVE1ipcp5DriSn3kGiB8
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/packages/fetchai/protocols/contract_api/serialization.py b/packages/fetchai/protocols/contract_api/serialization.py
index 12ff18ffb6..e653e24335 100644
--- a/packages/fetchai/protocols/contract_api/serialization.py
+++ b/packages/fetchai/protocols/contract_api/serialization.py
@@ -21,15 +21,17 @@
from typing import Any, Dict, cast
-from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
-from aea.protocols.base import Message
-from aea.protocols.base import Serializer
+from aea.mail.base_pb2 import DialogueMessage
+from aea.mail.base_pb2 import Message as ProtobufMessage
+from aea.protocols.base import Message, Serializer
from packages.fetchai.protocols.contract_api import contract_api_pb2
-from packages.fetchai.protocols.contract_api.custom_types import Kwargs
-from packages.fetchai.protocols.contract_api.custom_types import RawMessage
-from packages.fetchai.protocols.contract_api.custom_types import RawTransaction
-from packages.fetchai.protocols.contract_api.custom_types import State
+from packages.fetchai.protocols.contract_api.custom_types import (
+ Kwargs,
+ RawMessage,
+ RawTransaction,
+ State,
+)
from packages.fetchai.protocols.contract_api.message import ContractApiMessage
diff --git a/packages/fetchai/protocols/fipa/__init__.py b/packages/fetchai/protocols/fipa/__init__.py
index 51ed765862..84ca80bc01 100644
--- a/packages/fetchai/protocols/fipa/__init__.py
+++ b/packages/fetchai/protocols/fipa/__init__.py
@@ -22,4 +22,5 @@
from packages.fetchai.protocols.fipa.message import FipaMessage
from packages.fetchai.protocols.fipa.serialization import FipaSerializer
+
FipaMessage.serializer = FipaSerializer
diff --git a/packages/fetchai/protocols/fipa/message.py b/packages/fetchai/protocols/fipa/message.py
index 02328af938..57f781e3ac 100644
--- a/packages/fetchai/protocols/fipa/message.py
+++ b/packages/fetchai/protocols/fipa/message.py
@@ -31,6 +31,7 @@
)
from packages.fetchai.protocols.fipa.custom_types import Query as CustomQuery
+
logger = logging.getLogger("aea.packages.fetchai.protocols.fipa.message")
DEFAULT_BODY_SIZE = 4
diff --git a/packages/fetchai/protocols/fipa/protocol.yaml b/packages/fetchai/protocols/fipa/protocol.yaml
index 22ffacd9e0..e0b42d3a97 100644
--- a/packages/fetchai/protocols/fipa/protocol.yaml
+++ b/packages/fetchai/protocols/fipa/protocol.yaml
@@ -7,13 +7,13 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmRwxwzxfhotek7WUbyAeufBvoHpWbDwfUVMy3FKitiHKy
- __init__.py: QmZuv8RGegxunYaJ7sHLwj2oLLCFCAGF139b8DxEY68MRT
+ __init__.py: QmR6pcWX14FsQip4eYJRNeiQdrNMPj6y4m6Tsgd6hd7yU6
custom_types.py: Qmf72KRbkNsxxAHwMtkmJc5TRL23fU7AuzJAdSTftckwJQ
dialogues.py: QmWaciW35ZTVeTeLWeyp3hjehKkWB5ZY7Di8N8cDH8Mjwb
fipa.proto: Qmb19ojU7i5jUaRbURtnRSWQ6ENGniYuM3WtpRm6UYfpkU
fipa_pb2.py: QmTifDW1WQAgJevykfCQME5u3qQG5x74JMoLz1KYMTrfcU
- message.py: QmbFtigdnmqqmKZMTxjmk6JQJtcyhVY9a4mpEEcHmFJd24
- serialization.py: QmccPH6KqD3DhZr778GW1iGaFXJgDacCjMPuqostvkqEaG
+ message.py: QmSnzY8G89gUsgo21wF2TxnjZr7czba9a7HEfLpWg9tqQq
+ serialization.py: QmaFFxUczHpcoPosV3aKfUAwnr9347Cjnotqby4GMdiM2S
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/packages/fetchai/protocols/fipa/serialization.py b/packages/fetchai/protocols/fipa/serialization.py
index 1beccf58c1..01376fdca1 100644
--- a/packages/fetchai/protocols/fipa/serialization.py
+++ b/packages/fetchai/protocols/fipa/serialization.py
@@ -21,13 +21,12 @@
from typing import Any, Dict, cast
-from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
-from aea.protocols.base import Message
-from aea.protocols.base import Serializer
+from aea.mail.base_pb2 import DialogueMessage
+from aea.mail.base_pb2 import Message as ProtobufMessage
+from aea.protocols.base import Message, Serializer
from packages.fetchai.protocols.fipa import fipa_pb2
-from packages.fetchai.protocols.fipa.custom_types import Description
-from packages.fetchai.protocols.fipa.custom_types import Query
+from packages.fetchai.protocols.fipa.custom_types import Description, Query
from packages.fetchai.protocols.fipa.message import FipaMessage
diff --git a/packages/fetchai/protocols/gym/README.md b/packages/fetchai/protocols/gym/README.md
index 53f7d0095a..791f5a109b 100644
--- a/packages/fetchai/protocols/gym/README.md
+++ b/packages/fetchai/protocols/gym/README.md
@@ -10,7 +10,7 @@ This is a protocol for interacting with a gym connection.
---
name: gym
author: fetchai
-version: 0.5.0
+version: 0.6.0
description: A protocol for interacting with a gym connection.
license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
diff --git a/packages/fetchai/protocols/gym/__init__.py b/packages/fetchai/protocols/gym/__init__.py
index ce5eacc728..6e25f7d246 100644
--- a/packages/fetchai/protocols/gym/__init__.py
+++ b/packages/fetchai/protocols/gym/__init__.py
@@ -22,4 +22,5 @@
from packages.fetchai.protocols.gym.message import GymMessage
from packages.fetchai.protocols.gym.serialization import GymSerializer
+
GymMessage.serializer = GymSerializer
diff --git a/packages/fetchai/protocols/gym/message.py b/packages/fetchai/protocols/gym/message.py
index 2aaacf6386..8ecd875806 100644
--- a/packages/fetchai/protocols/gym/message.py
+++ b/packages/fetchai/protocols/gym/message.py
@@ -28,6 +28,7 @@
from packages.fetchai.protocols.gym.custom_types import AnyObject as CustomAnyObject
+
logger = logging.getLogger("aea.packages.fetchai.protocols.gym.message")
DEFAULT_BODY_SIZE = 4
diff --git a/packages/fetchai/protocols/gym/protocol.yaml b/packages/fetchai/protocols/gym/protocol.yaml
index 77145f0271..3ccf45d4d0 100644
--- a/packages/fetchai/protocols/gym/protocol.yaml
+++ b/packages/fetchai/protocols/gym/protocol.yaml
@@ -1,19 +1,19 @@
name: gym
author: fetchai
-version: 0.5.0
+version: 0.6.0
type: protocol
description: A protocol for interacting with a gym connection.
license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
- README.md: QmTCkz4cEUcwuPZVtvrVr8Np5qn1SMwm6foGSY9Y68DhZT
- __init__.py: QmWBvruqGuU2BVCq8cuP1S3mgvuC78yrG4TdtSvKhCT8qX
+ README.md: QmReTgjgH8mszRS1obqdxXDeA6f8sgkmfXHqZ1FSFeeZgX
+ __init__.py: QmQvogZ6FVrp15UX2GZ2YKqZASS9gamA72MGt79oieE2tq
custom_types.py: QmT3VKT86xZKR11RR1vQ3myRpmVZNdzY6ELd8HG9U2ngwa
dialogues.py: QmdCzcFfyPF43U2SoxwshG5p4hd6dK49m6GYKduDHbnNPo
gym.proto: QmbrGMjAwLXxg4vZTTsdNkbsudhJbSbvkG2mag9RP6ejEg
gym_pb2.py: QmQmbRXAdHQGF4oWk27deqHhMYqmUWviLrAkvnGAVAXpeE
- message.py: Qmc4wx56DVaSpLe6h7KSUBmxEWoHVFFAQQB4mpympggcTG
- serialization.py: QmSxsJYMNbowsrCeY5s14FbT8J1XJf2LkPDaGv7ZP5ea4e
+ message.py: QmcAD3wuFow6fvwdHiEyzEX4y7b19GxBAgSsSgYfAS1Myg
+ serialization.py: QmT2d4sLcJ96Yf2GEBoKqL3oq4pE518yQvK5WbeHaDXMSQ
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/packages/fetchai/protocols/gym/serialization.py b/packages/fetchai/protocols/gym/serialization.py
index 5322b19546..d005731d68 100644
--- a/packages/fetchai/protocols/gym/serialization.py
+++ b/packages/fetchai/protocols/gym/serialization.py
@@ -21,9 +21,9 @@
from typing import Any, Dict, cast
-from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
-from aea.protocols.base import Message
-from aea.protocols.base import Serializer
+from aea.mail.base_pb2 import DialogueMessage
+from aea.mail.base_pb2 import Message as ProtobufMessage
+from aea.protocols.base import Message, Serializer
from packages.fetchai.protocols.gym import gym_pb2
from packages.fetchai.protocols.gym.custom_types import AnyObject
diff --git a/packages/fetchai/protocols/http/__init__.py b/packages/fetchai/protocols/http/__init__.py
index 8159b9d27c..9ec736425a 100644
--- a/packages/fetchai/protocols/http/__init__.py
+++ b/packages/fetchai/protocols/http/__init__.py
@@ -22,4 +22,5 @@
from packages.fetchai.protocols.http.message import HttpMessage
from packages.fetchai.protocols.http.serialization import HttpSerializer
+
HttpMessage.serializer = HttpSerializer
diff --git a/packages/fetchai/protocols/http/message.py b/packages/fetchai/protocols/http/message.py
index 3c4841038a..e1facfecc5 100644
--- a/packages/fetchai/protocols/http/message.py
+++ b/packages/fetchai/protocols/http/message.py
@@ -26,6 +26,7 @@
from aea.exceptions import AEAEnforceError, enforce
from aea.protocols.base import Message
+
logger = logging.getLogger("aea.packages.fetchai.protocols.http.message")
DEFAULT_BODY_SIZE = 4
diff --git a/packages/fetchai/protocols/http/protocol.yaml b/packages/fetchai/protocols/http/protocol.yaml
index 7f67fbe894..15c9d118b8 100644
--- a/packages/fetchai/protocols/http/protocol.yaml
+++ b/packages/fetchai/protocols/http/protocol.yaml
@@ -7,12 +7,12 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmY7fxhyNBgwU7uc6LKtCN4aSQ4bym5BwqtwRAfwPokULN
- __init__.py: QmRWie4QPiFJE8nK4fFJ6prqoG3u36cPo7st5JUZAGpVWv
+ __init__.py: QmWzgWYrnS7PhjYrrx2mykLoaCbb7rDnVRcDqifsRukTy4
dialogues.py: QmdwTehjCppcxyDid8m6zuHY5YwprUhato88R9Zdm9aXaM
http.proto: QmXafGzyZC37aNn6RwSfBVXDU3dzvGfYtQRA43mgXPeUoq
http_pb2.py: QmeXYdCjWbwisjZ2MUswgHqgKmaauJyD1r96F1s1vWAUCT
- message.py: QmYSmd2xLU8TsLLorxxNnaHj1cVLztgrKtQnaqJ1USFkPY
- serialization.py: QmWHtnfKcgDyE3CBuP4LRVRToj8MBS4EoaoETDcV1Jdoe5
+ message.py: QmcZaEZbRbcx5U5KVEi2QTr6BVyHGDXcRrSqKhpngXRZ15
+ serialization.py: QmPEcehyD89SSmfrYVUTWRmAy9V8859FkcnJb3GuwNPdw3
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/packages/fetchai/protocols/http/serialization.py b/packages/fetchai/protocols/http/serialization.py
index 0bfb33d5a8..079dd23b04 100644
--- a/packages/fetchai/protocols/http/serialization.py
+++ b/packages/fetchai/protocols/http/serialization.py
@@ -21,9 +21,9 @@
from typing import Any, Dict, cast
-from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
-from aea.protocols.base import Message
-from aea.protocols.base import Serializer
+from aea.mail.base_pb2 import DialogueMessage
+from aea.mail.base_pb2 import Message as ProtobufMessage
+from aea.protocols.base import Message, Serializer
from packages.fetchai.protocols.http import http_pb2
from packages.fetchai.protocols.http.message import HttpMessage
diff --git a/packages/fetchai/protocols/ledger_api/__init__.py b/packages/fetchai/protocols/ledger_api/__init__.py
index 03712dc20d..99f0907397 100644
--- a/packages/fetchai/protocols/ledger_api/__init__.py
+++ b/packages/fetchai/protocols/ledger_api/__init__.py
@@ -22,4 +22,5 @@
from packages.fetchai.protocols.ledger_api.message import LedgerApiMessage
from packages.fetchai.protocols.ledger_api.serialization import LedgerApiSerializer
+
LedgerApiMessage.serializer = LedgerApiSerializer
diff --git a/packages/fetchai/protocols/ledger_api/message.py b/packages/fetchai/protocols/ledger_api/message.py
index 6b60d32682..ef64a3fcf8 100644
--- a/packages/fetchai/protocols/ledger_api/message.py
+++ b/packages/fetchai/protocols/ledger_api/message.py
@@ -40,6 +40,7 @@
TransactionReceipt as CustomTransactionReceipt,
)
+
logger = logging.getLogger("aea.packages.fetchai.protocols.ledger_api.message")
DEFAULT_BODY_SIZE = 4
diff --git a/packages/fetchai/protocols/ledger_api/protocol.yaml b/packages/fetchai/protocols/ledger_api/protocol.yaml
index 1685412d7c..8c2f6203f7 100644
--- a/packages/fetchai/protocols/ledger_api/protocol.yaml
+++ b/packages/fetchai/protocols/ledger_api/protocol.yaml
@@ -7,13 +7,13 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmSoo6ds8mKhtoG8CBbu9rb9yj7sqeeuBfcU7CLj584uRX
- __init__.py: Qmct8jVx6ndWwaa5HXJAJgMraVuZ8kMeyx6rnEeHAYHwDJ
+ __init__.py: QmX6ta6j6ust7qhVk1kZygzZK3gTTg7hSCBbSMKUxJgWgG
custom_types.py: QmWRrvFStMhVJy8P2WD6qjDgk14ZnxErN7XymxUtof7HQo
dialogues.py: QmRtWkAfR9WTvygMJ36R758RzdY2mGQs2fgtHCfjxmeaHy
ledger_api.proto: QmR7b3Mj4Jt4Y5ChZ7x42nxLtQrs2VBRvb2dqV3EaPW6B8
ledger_api_pb2.py: QmUMeo2X58acnBaVQuDpMhteNuzagbT79vf5mdtMJLk9VF
- message.py: QmcLuy4YcL22qs3jHf5KHZ7vZueiTDrEmbWjfRTbyzwc5m
- serialization.py: QmSarPknCq2LiKZx3PHgE9eXhrygPSyiu15WCS46W9BD3E
+ message.py: QmNnb5uwsWZjQizDnuTwCAw1sGmmiARLeesTVDE4nLJi7j
+ serialization.py: QmY894fJMbMERxid8wb6Jxoq3cdfPsFMuAiYNQWJpW6NY2
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/packages/fetchai/protocols/ledger_api/serialization.py b/packages/fetchai/protocols/ledger_api/serialization.py
index 88c13acd87..ec013ebdeb 100644
--- a/packages/fetchai/protocols/ledger_api/serialization.py
+++ b/packages/fetchai/protocols/ledger_api/serialization.py
@@ -21,16 +21,18 @@
from typing import Any, Dict, cast
-from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
-from aea.protocols.base import Message
-from aea.protocols.base import Serializer
+from aea.mail.base_pb2 import DialogueMessage
+from aea.mail.base_pb2 import Message as ProtobufMessage
+from aea.protocols.base import Message, Serializer
from packages.fetchai.protocols.ledger_api import ledger_api_pb2
-from packages.fetchai.protocols.ledger_api.custom_types import RawTransaction
-from packages.fetchai.protocols.ledger_api.custom_types import SignedTransaction
-from packages.fetchai.protocols.ledger_api.custom_types import Terms
-from packages.fetchai.protocols.ledger_api.custom_types import TransactionDigest
-from packages.fetchai.protocols.ledger_api.custom_types import TransactionReceipt
+from packages.fetchai.protocols.ledger_api.custom_types import (
+ RawTransaction,
+ SignedTransaction,
+ Terms,
+ TransactionDigest,
+ TransactionReceipt,
+)
from packages.fetchai.protocols.ledger_api.message import LedgerApiMessage
diff --git a/packages/fetchai/protocols/ml_trade/__init__.py b/packages/fetchai/protocols/ml_trade/__init__.py
index 84bc74eaac..bb602e2a47 100644
--- a/packages/fetchai/protocols/ml_trade/__init__.py
+++ b/packages/fetchai/protocols/ml_trade/__init__.py
@@ -22,4 +22,5 @@
from packages.fetchai.protocols.ml_trade.message import MlTradeMessage
from packages.fetchai.protocols.ml_trade.serialization import MlTradeSerializer
+
MlTradeMessage.serializer = MlTradeSerializer
diff --git a/packages/fetchai/protocols/ml_trade/message.py b/packages/fetchai/protocols/ml_trade/message.py
index f99abeaa98..7cf62d08ed 100644
--- a/packages/fetchai/protocols/ml_trade/message.py
+++ b/packages/fetchai/protocols/ml_trade/message.py
@@ -31,6 +31,7 @@
)
from packages.fetchai.protocols.ml_trade.custom_types import Query as CustomQuery
+
logger = logging.getLogger("aea.packages.fetchai.protocols.ml_trade.message")
DEFAULT_BODY_SIZE = 4
diff --git a/packages/fetchai/protocols/ml_trade/protocol.yaml b/packages/fetchai/protocols/ml_trade/protocol.yaml
index 91dbcdf221..3c51f9b988 100644
--- a/packages/fetchai/protocols/ml_trade/protocol.yaml
+++ b/packages/fetchai/protocols/ml_trade/protocol.yaml
@@ -7,13 +7,13 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmSRtzACMh3x3LSjYqWXWTpYpE4C7G8EHbW4zQQoMFFZ4K
- __init__.py: QmXZMVdsBXUJxLZvwwhWBx58xfxMSyoGxdYp5Aeqmzqhzt
+ __init__.py: QmcCS9uUQTTS2w85dTNiN5rQ14wyBhmBkr7pPPPcbLphcn
custom_types.py: QmPa6mxbN8WShsniQxJACfzAPRjGzYLbUFGoVU4N9DewUw
dialogues.py: QmVvP34aKWEtHrKmccNMvEdDnx5B7xpE5aEGzr6GU2u8UK
- message.py: QmZdRAScKbmJgKVbRJvDyMUNfRZKWCwWFYjGNDDBAq5fUT
+ message.py: QmZ8HzNw27TdxoZBHRf1YJheACo7kU6n1497DYgxjbCwZu
ml_trade.proto: QmXqDTBhno2kMLdAbNiZWcAHpjiJ95qXL4doUnhdmCNkhk
ml_trade_pb2.py: QmU1MrfXLsJMo91yenRNTdnGFUA9UDcxJsayHYqHN2uwjp
- serialization.py: QmTfLdYfJnA8VTxtat5vgsfms7dJJF4zwuxYGxh9pDRALr
+ serialization.py: QmNnEyqVdHuXXQLjAvbyibmdRbWBZG8tNEQy32s7SAVtcE
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/packages/fetchai/protocols/ml_trade/serialization.py b/packages/fetchai/protocols/ml_trade/serialization.py
index b67dfb5667..3b3c34ffd6 100644
--- a/packages/fetchai/protocols/ml_trade/serialization.py
+++ b/packages/fetchai/protocols/ml_trade/serialization.py
@@ -21,13 +21,12 @@
from typing import Any, Dict, cast
-from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
-from aea.protocols.base import Message
-from aea.protocols.base import Serializer
+from aea.mail.base_pb2 import DialogueMessage
+from aea.mail.base_pb2 import Message as ProtobufMessage
+from aea.protocols.base import Message, Serializer
from packages.fetchai.protocols.ml_trade import ml_trade_pb2
-from packages.fetchai.protocols.ml_trade.custom_types import Description
-from packages.fetchai.protocols.ml_trade.custom_types import Query
+from packages.fetchai.protocols.ml_trade.custom_types import Description, Query
from packages.fetchai.protocols.ml_trade.message import MlTradeMessage
diff --git a/packages/fetchai/protocols/oef_search/__init__.py b/packages/fetchai/protocols/oef_search/__init__.py
index b8296a656d..f130fc2c1b 100644
--- a/packages/fetchai/protocols/oef_search/__init__.py
+++ b/packages/fetchai/protocols/oef_search/__init__.py
@@ -22,4 +22,5 @@
from packages.fetchai.protocols.oef_search.message import OefSearchMessage
from packages.fetchai.protocols.oef_search.serialization import OefSearchSerializer
+
OefSearchMessage.serializer = OefSearchSerializer
diff --git a/packages/fetchai/protocols/oef_search/message.py b/packages/fetchai/protocols/oef_search/message.py
index 51190e1eee..824e80d505 100644
--- a/packages/fetchai/protocols/oef_search/message.py
+++ b/packages/fetchai/protocols/oef_search/message.py
@@ -37,6 +37,7 @@
)
from packages.fetchai.protocols.oef_search.custom_types import Query as CustomQuery
+
logger = logging.getLogger("aea.packages.fetchai.protocols.oef_search.message")
DEFAULT_BODY_SIZE = 4
diff --git a/packages/fetchai/protocols/oef_search/protocol.yaml b/packages/fetchai/protocols/oef_search/protocol.yaml
index 79f0409feb..39e476611e 100644
--- a/packages/fetchai/protocols/oef_search/protocol.yaml
+++ b/packages/fetchai/protocols/oef_search/protocol.yaml
@@ -7,13 +7,13 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmaGSTqxvQFKccBnLovhBbfSH3C3Sorrj7kFyZqW9qptLa
- __init__.py: QmRvTtynKcd7shmzgf8aZdcA5witjNL5cL2a7WPgscp7wq
+ __init__.py: Qmdr5ks5X4YtnpH6yKUcNu9uouyv3EGmrKFhyvNH7ZBjvT
custom_types.py: QmYAkKYj9gGHaij7uTejoJe9KRhNcsU4sJC1utMfhUYhg3
dialogues.py: QmQPLnW3jAs6tLLmhkX4C7texGRHM9bfdjs83dUH5TkJ4v
- message.py: QmU8jH94qxrcr9eUtXWn5PzqmHT7NBc62gs53HPXKVk1Ts
+ message.py: QmWFvjX7spNHQx6QQevBRXmFyJBuenyAPYAjxVLYvKdC7B
oef_search.proto: QmTUS3PAEi5kD6PxC2XQAtE2jbiA6WP3HjwtUxs5PRWTA9
oef_search_pb2.py: QmRmtzfGBbkJSneEF8qkUn4UjenbzBzzgwoGeSANCGktBz
- serialization.py: QmRjYYnHb9xUcCRBVdLeMGZKDUhQvN6qSxS4E81gBCr1Sc
+ serialization.py: QmcMQLbz6fkvZeqUXyE9WwH4TEJ3Dzy6pV4txLAVw9sdwb
fingerprint_ignore_patterns: []
dependencies:
protobuf: {}
diff --git a/packages/fetchai/protocols/oef_search/serialization.py b/packages/fetchai/protocols/oef_search/serialization.py
index cd7e3e7522..3d0348c1f7 100644
--- a/packages/fetchai/protocols/oef_search/serialization.py
+++ b/packages/fetchai/protocols/oef_search/serialization.py
@@ -21,15 +21,17 @@
from typing import Any, Dict, cast
-from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
-from aea.protocols.base import Message
-from aea.protocols.base import Serializer
+from aea.mail.base_pb2 import DialogueMessage
+from aea.mail.base_pb2 import Message as ProtobufMessage
+from aea.protocols.base import Message, Serializer
from packages.fetchai.protocols.oef_search import oef_search_pb2
-from packages.fetchai.protocols.oef_search.custom_types import AgentsInfo
-from packages.fetchai.protocols.oef_search.custom_types import Description
-from packages.fetchai.protocols.oef_search.custom_types import OefErrorOperation
-from packages.fetchai.protocols.oef_search.custom_types import Query
+from packages.fetchai.protocols.oef_search.custom_types import (
+ AgentsInfo,
+ Description,
+ OefErrorOperation,
+ Query,
+)
from packages.fetchai.protocols.oef_search.message import OefSearchMessage
diff --git a/packages/fetchai/protocols/tac/__init__.py b/packages/fetchai/protocols/tac/__init__.py
index 0563c30ca3..0dd910252c 100644
--- a/packages/fetchai/protocols/tac/__init__.py
+++ b/packages/fetchai/protocols/tac/__init__.py
@@ -22,4 +22,5 @@
from packages.fetchai.protocols.tac.message import TacMessage
from packages.fetchai.protocols.tac.serialization import TacSerializer
+
TacMessage.serializer = TacSerializer
diff --git a/packages/fetchai/protocols/tac/message.py b/packages/fetchai/protocols/tac/message.py
index 999a42bbf9..29a6c32f5c 100644
--- a/packages/fetchai/protocols/tac/message.py
+++ b/packages/fetchai/protocols/tac/message.py
@@ -28,6 +28,7 @@
from packages.fetchai.protocols.tac.custom_types import ErrorCode as CustomErrorCode
+
logger = logging.getLogger("aea.packages.fetchai.protocols.tac.message")
DEFAULT_BODY_SIZE = 4
diff --git a/packages/fetchai/protocols/tac/protocol.yaml b/packages/fetchai/protocols/tac/protocol.yaml
index 257b0eba06..cd0c86b600 100644
--- a/packages/fetchai/protocols/tac/protocol.yaml
+++ b/packages/fetchai/protocols/tac/protocol.yaml
@@ -8,11 +8,11 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmVhm6VBbggxjTe3PEhCBfTomWekNa5buYy3sY7YYN6Er6
- __init__.py: QmZYdAjm3o44drRiY3MT4RtG2fFLxtaL8h898DmjoJwJzV
+ __init__.py: QmSAC7PGra9fig8RhhF1j3XEVpgie9UZNNYPc2AB9Kx9xJ
custom_types.py: QmXQATfnvuCpt4FicF4QcqCcLj9PQNsSHjCBvVQknWpyaN
dialogues.py: QmTxHrcGujP1RUYvfJygZyQoUwmDg2GBWfmbR3tWUSbyop
- message.py: QmfNdmYk3wssDJvHwMsMxXaiWCjm3fSH9Su4KmsYDZJoWg
- serialization.py: QmZYhkHa6wW5T4fSUSHar67C76ascfKLsevWEfkff3uVvU
+ message.py: QmfNRtqEpLyAf4knnTecsiNxzehqwWjk8agfg9oe2XvCt3
+ serialization.py: Qmani4DjtVVNYF1DDUSWAnQu7pC2v1DPvEW6ZQwmp2nMSA
tac.proto: QmUXk2kwqp1vo22oZdvLbWKirojeqkXdGSmiz6r14bMqSE
tac_pb2.py: QmQYbDoEWt4cthXQTLYozRTAb5CFWEDMFptfvryze2Reqa
fingerprint_ignore_patterns: []
diff --git a/packages/fetchai/protocols/tac/serialization.py b/packages/fetchai/protocols/tac/serialization.py
index ff88894e90..559b5a6626 100644
--- a/packages/fetchai/protocols/tac/serialization.py
+++ b/packages/fetchai/protocols/tac/serialization.py
@@ -21,9 +21,9 @@
from typing import Any, Dict, cast
-from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
-from aea.protocols.base import Message
-from aea.protocols.base import Serializer
+from aea.mail.base_pb2 import DialogueMessage
+from aea.mail.base_pb2 import Message as ProtobufMessage
+from aea.protocols.base import Message, Serializer
from packages.fetchai.protocols.tac import tac_pb2
from packages.fetchai.protocols.tac.custom_types import ErrorCode
diff --git a/packages/hashes.csv b/packages/hashes.csv
index baf0ada175..d374e6e26d 100644
--- a/packages/hashes.csv
+++ b/packages/hashes.csv
@@ -34,18 +34,18 @@ fetchai/connections/tcp,QmQZBeN6EqH61GMLwuHqAw3LzdyKi7uj7zJtJ5ekYDpY4n
fetchai/connections/webhook,QmXLbSSUSbsgqk3Zwo7sfBob5nKL6MLA4MCTQ3BXA2Bex3
fetchai/contracts/erc1155,QmWu22zW9AVMBVySwF413JMiT5dcWsLsU2gk1KvFYWAwPq
fetchai/contracts/scaffold,QmTKkXifQKq5sTVdVKeD9UGnDwdJoEAoJDjY6qUPt9Bsv2
-fetchai/protocols/contract_api,QmcsrhjA8vkDP3LdatdMVQFMUKo4pkcBGifcxjba6H4RmE
-fetchai/protocols/default,QmQo4W57uVxayeTFRuQwKTimvrZ7qdTy4zaLeYgwEQWPfR
-fetchai/protocols/fipa,QmXpaxEero9KsakbhFwGSWNKvTXLYCdhTK71bBHHjoHV1N
-fetchai/protocols/gym,QmSmLKWgKNdbLa7GgJoiJYDfuY5FoMzbH25MwS7tyNhCJb
-fetchai/protocols/http,QmNiqrbyWjbZ55q5dJJzC6mVAwzjQb7GtPjEBfDaot7xzP
-fetchai/protocols/ledger_api,QmWddBtnoaQ636XoABZ3wu7bdzvRyGkgoFzebPsjVhcL5P
-fetchai/protocols/ml_trade,QmZny7NUmTp2xWmchdM2pSMU1goVRcnJ3JqMsvRn1sRpMD
-fetchai/protocols/oef_search,QmdesYmMQjQeq41Ndj8HhqqXkaDQVxWbgx1AJ2XsAyfD5z
+fetchai/protocols/contract_api,QmXHphJEQ96oMa9YLbJbruQ1X5KuueuSHuKoacpLswHMQC
+fetchai/protocols/default,QmZyeUajD4vsRkoVsFLBxFjPBHh1wrV4ehXg6R5X7n9ZRo
+fetchai/protocols/fipa,QmYbtjYwn82hPSVaLjEWnubeLbjp6LPoFSGSg7rXJJK8WE
+fetchai/protocols/gym,QmaUnM3hUMWRZzQWVv5XCWVHo7LRemF16sX8SNyf1vkv5k
+fetchai/protocols/http,QmV9XtG3X66KtUPTVBgwFMh7n4VQZXoSgoSVFU1TNhaJNy
+fetchai/protocols/ledger_api,QmZLntgokdUeLrjdwRBSBsPUq58Re3mNyfaCLWZrHcT4z2
+fetchai/protocols/ml_trade,QmTMN6SNwAthWdbaeTiEsmAYpb62nCGh3ZjKbyHciWE2fS
+fetchai/protocols/oef_search,QmVui31CtWdsaCKLqiANpVGkq1KnbEEFGRE9QoKPuXkTrk
fetchai/protocols/scaffold,QmaQJxMae5XaHKDc838pcGEKhhYSUyKHGWiMfU6zEcVHsy
-fetchai/protocols/signing,Qma6Gt1q62Q1WyfhDydKinTtSiXPdtzWnwoGxDtQRXosw1
-fetchai/protocols/state_update,QmVwGWzWC4APKBnLMyYo3dApBqUtyNnnsLvqnyRY9nT5Tn
-fetchai/protocols/tac,QmexcWQaNiFp9fhJ8XtwXnNvzV2DbjryVdoE4tByggbEXs
+fetchai/protocols/signing,QmczT3GE8A2hFzzK5fRz6hdgx626TgVZaz9VbLkLzDxwsB
+fetchai/protocols/state_update,QmfMJ3eCTnGTKVTFBMsnx9BZBnKAAFiTbbjQ4MH6RhkZWU
+fetchai/protocols/tac,QmaK8H98X6Np3AJbW6bQ92V4BTxkR3uZmoZPqUroDmZknu
fetchai/skills/aries_alice,QmXFSjt8FSHMnw4yjsmw4SVxKRj9N1i5aPcnmPpyoh3Bu1
fetchai/skills/aries_faber,QmX3k9N3VmUE8bYaZ4KCq1Ny3ANTVw7sN8nuCRLDZcTTZK
fetchai/skills/carpark_client,QmdfgS34Q7mo7yZ4uThZePudEoPgsmybC66YdVZAXYEybv
diff --git a/scripts/generate_all_protocols.py b/scripts/generate_all_protocols.py
index 077b9de953..2768e6d92a 100755
--- a/scripts/generate_all_protocols.py
+++ b/scripts/generate_all_protocols.py
@@ -47,6 +47,7 @@
from aea.configurations.base import ComponentType, ProtocolSpecification
from aea.configurations.loader import ConfigLoader, load_component_configuration
+
SPECIFICATION_REGEX = re.compile(r"(---\nname.*\.\.\.)", re.DOTALL)
CUSTOM_TYPE_MODULE_NAME = "custom_types.py"
README_FILENAME = "README.md"
diff --git a/tests/data/generator/t_protocol/protocol.yaml b/tests/data/generator/t_protocol/protocol.yaml
index 12cc33ce2a..8f77f13244 100644
--- a/tests/data/generator/t_protocol/protocol.yaml
+++ b/tests/data/generator/t_protocol/protocol.yaml
@@ -10,7 +10,7 @@ fingerprint:
custom_types.py: QmWg8HFav8w9tfZfMrTG5Uo7QpexvYKKkhpGPD18233pLw
dialogues.py: QmdpXJCUP6wV6StDxByraFGveMcTSjjFhDju74S4QVQpxf
message.py: QmcRwpGWsUccFQwyEbzTw3JByxr97RVAhCPHwCEGeM94kb
- serialization.py: QmUGoxXWXyiMZ7WDBUribmLev7A5g7i7xG2ikJg5mtNyHF
+ serialization.py: QmYJLfQ49vsqRSpC7GV1ukc3PnkVBuRMM3GBtGoCgDEv5z
t_protocol.proto: QmWdNaAJ9Mkf2SHF1RSZrsk2a5jZyXZtCD7XU5PHLCph5z
t_protocol_pb2.py: QmRr3b2hjbN2UshSQTr1wWSCpqeNgMfDfnVyBk8BQGdFn4
fingerprint_ignore_patterns: []
diff --git a/tests/data/generator/t_protocol/serialization.py b/tests/data/generator/t_protocol/serialization.py
index f84c8ec02e..2c6b422f86 100644
--- a/tests/data/generator/t_protocol/serialization.py
+++ b/tests/data/generator/t_protocol/serialization.py
@@ -21,7 +21,8 @@
from typing import Any, Dict, cast
-from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
+from aea.mail.base_pb2 import DialogueMessage
+from aea.mail.base_pb2 import Message as ProtobufMessage
from aea.protocols.base import Message, Serializer
from tests.data.generator.t_protocol import t_protocol_pb2
diff --git a/tests/data/generator/t_protocol_no_ct/protocol.yaml b/tests/data/generator/t_protocol_no_ct/protocol.yaml
index e921cc624e..88d7ea8e95 100644
--- a/tests/data/generator/t_protocol_no_ct/protocol.yaml
+++ b/tests/data/generator/t_protocol_no_ct/protocol.yaml
@@ -9,7 +9,7 @@ fingerprint:
__init__.py: QmaaZ7Je2PRTkcnqy8oLR58yBDVpcRQ4BcaRe3sd3fug3Z
dialogues.py: QmPHhh9wkKDG7Fiy9E2WkkggYULFhLrySihJpoBw3mRn2o
message.py: QmQDe3TJemYZak71buGCNmEvphuf1J35QgWdvY388DWeLF
- serialization.py: QmZHJLYhn7NCBmxc38KurTZWkF2Bae64iiHoLNpazE3qkd
+ serialization.py: QmPX4KzaEfK9JwbbHAmmB1rZp1guJTW5PgPan7ZGAp36DH
t_protocol_no_ct.proto: Qmc8KkKnWZ9utBxrbEyWhVDRdut87DkFvmHP3SYUg4J3EU
t_protocol_no_ct_pb2.py: QmPDVxuXLGrVes8nv66g2JFT3rqUN9AjzrMeCFyDK4rjyw
fingerprint_ignore_patterns: []
diff --git a/tests/data/generator/t_protocol_no_ct/serialization.py b/tests/data/generator/t_protocol_no_ct/serialization.py
index ce9436a14a..3e2752017a 100644
--- a/tests/data/generator/t_protocol_no_ct/serialization.py
+++ b/tests/data/generator/t_protocol_no_ct/serialization.py
@@ -21,7 +21,8 @@
from typing import Any, Dict, cast
-from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
+from aea.mail.base_pb2 import DialogueMessage
+from aea.mail.base_pb2 import Message as ProtobufMessage
from aea.protocols.base import Message, Serializer
from tests.data.generator.t_protocol_no_ct import t_protocol_no_ct_pb2
diff --git a/tests/data/hashes.csv b/tests/data/hashes.csv
index 0ca0689a13..7087bce7ed 100644
--- a/tests/data/hashes.csv
+++ b/tests/data/hashes.csv
@@ -2,7 +2,7 @@ dummy_author/agents/dummy_aea,QmeFNeXh5vk81YwPnPY9qmBA5wrHeH8VsHkDcv6TqHvmFn
dummy_author/skills/dummy_skill,QmQpimGAQ56nihemchgE29Mfan57YdGixj3kat69FGkrjK
fetchai/connections/dummy_connection,QmT7zw62fDK1mmwYqTvw4pWqFg8Fc1DYQHUxcxd7sqZiLu
fetchai/contracts/dummy_contract,QmPMs9VDGZGF8xJ8XBYLVb1xK5XAgiaJr5Gwcq7Vr3TUyu
-fetchai/protocols/t_protocol,QmPod6RijuWQYXiki9AAMwJ4CdN1sSSM5a9wYut9ypCbYT
-fetchai/protocols/t_protocol_no_ct,QmZ12agcGj6tLoLMTNSpXGnKMQCMGDQQg7JJkPory1YhFA
+fetchai/protocols/t_protocol,QmSrs4QTd1DXTcbYqmTVRn1QveHM9bRuard7fSaQuQ3UZ5
+fetchai/protocols/t_protocol_no_ct,QmRiMmpNhm8Bf79ikGW5skRponJEWRNdVBtw4ZTrDy1gHA
fetchai/skills/dependencies_skill,QmaLBgnwTXdTzue7H3UbVuKmPxaqoK4Azpj85tKTdQi29j
fetchai/skills/exception_skill,QmT2RiM95EVbXTD31zU6pKKoERkrCLuyxpAJfkm3dTsTp2
diff --git a/tests/test_packages/test_connections/test_oef/test_communication.py b/tests/test_packages/test_connections/test_oef/test_communication.py
index 011b13ad61..4b8a95a8eb 100644
--- a/tests/test_packages/test_connections/test_oef/test_communication.py
+++ b/tests/test_packages/test_connections/test_oef/test_communication.py
@@ -45,7 +45,8 @@
Query,
)
from aea.mail.base import Envelope
-from aea.mail.base_pb2 import DialogueMessage, Message as ProtobufMessage
+from aea.mail.base_pb2 import DialogueMessage
+from aea.mail.base_pb2 import Message as ProtobufMessage
from aea.multiplexer import Multiplexer
from aea.protocols.base import Message
from aea.protocols.default.message import DefaultMessage
From e7f71a04c6239844ee117f9a31184ed4b33b8467 Mon Sep 17 00:00:00 2001
From: Lokman Rahmani
Date: Wed, 23 Sep 2020 16:20:26 +0100
Subject: [PATCH 029/155] [wip] reinstialize deployment templates - Problem
with 2nd public dht nodes
---
scripts/acn/k8s/deployment.yaml | 11 +-
scripts/acn/k8s/dns.yaml | 8 +-
scripts/acn/k8s/istio.yaml | 16 +--
scripts/acn/k8s/secret.yaml | 4 +-
scripts/acn/k8s_deploy_acn_node.py | 136 +++++++++++++++++-
.../test_p2p_libp2p/test_public_dht.py | 12 +-
6 files changed, 163 insertions(+), 24 deletions(-)
diff --git a/scripts/acn/k8s/deployment.yaml b/scripts/acn/k8s/deployment.yaml
index 26065b3c5d..693173ca9d 100644
--- a/scripts/acn/k8s/deployment.yaml
+++ b/scripts/acn/k8s/deployment.yaml
@@ -2,7 +2,7 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: ph-deployment-name-here
- namespace: ph-cluster-namespace-here
+ namespace: agents-p2p-dht
labels:
app: ph-deployment-name-here
spec:
@@ -29,7 +29,7 @@ spec:
containers:
- image: ph-gcr-image-with-tag-here
- name: ph-container-name-here
+ name: agents-p2p-dht
ports:
- containerPort: ph-node-port-number-here
- containerPort: ph-node-delegate-port-number-here
@@ -56,6 +56,11 @@ spec:
value: ph-node-delegate-uri-here
- name: AEA_P2P_ENTRY_URIS
value: ph-node-entry-peers-list-here
+ - name: NODE_PRIV_KEY
+ valueFrom:
+ secretKeyRef:
+ name: ph-node-priv-key-name-here
+ key: priv-key
restartPolicy: Always
---
@@ -63,7 +68,7 @@ apiVersion: v1
kind: Service
metadata:
name: ph-deployment-name-here
- namespace: ph-cluster-namespace-here
+ namespace: agents-p2p-dht
spec:
selector:
app: ph-deployment-name-here
diff --git a/scripts/acn/k8s/dns.yaml b/scripts/acn/k8s/dns.yaml
index c8cd85ac6e..ca6239fbe1 100644
--- a/scripts/acn/k8s/dns.yaml
+++ b/scripts/acn/k8s/dns.yaml
@@ -2,12 +2,12 @@
apiVersion: externaldns.k8s.io/v1alpha1
kind: DNSEndpoint
metadata:
- name: ph-deployment-name-here
- namespace: ph-cluster-namespace-here
+ name: deployment-name-here
+ namespace: agents-p2p-dht
spec:
endpoints:
- - dnsName: ph-dnsname-here
+ - dnsName: agents-p2p-dht.sandbox.fetch-ai.com
recordTTL: 180
recordType: CNAME
targets:
- - ph-dnsname-here
+ - fetchpub.sandbox.fetch-ai.com
diff --git a/scripts/acn/k8s/istio.yaml b/scripts/acn/k8s/istio.yaml
index 856efede51..344fd79ac0 100644
--- a/scripts/acn/k8s/istio.yaml
+++ b/scripts/acn/k8s/istio.yaml
@@ -3,7 +3,7 @@ apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: ph-deployment-name-here
- namespace: ph-cluster-namspace-here
+ namespace: agents-p2p-dht
spec:
selector:
app: istio-fetchpubig
@@ -11,13 +11,13 @@ spec:
servers:
- port:
name: libp2p
- number: node-port-number-here
+ number: ph-node-port-number-here
protocol: TCP
hosts:
- agents-p2p-dht.sandbox.fetch-ai.com
- port:
name: tcp
- number: node-delegate-port-number-here
+ number: ph-node-delegate-port-number-here
protocol: TCP
hosts:
- agents-p2p-dht.sandbox.fetch-ai.com
@@ -26,7 +26,7 @@ apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: ph-deployment-name-here
- namespace: ph-cluster-namespace-here
+ namespace: agents-p2p-dht
spec:
gateways:
- ph-deployment-name-here
@@ -34,16 +34,16 @@ spec:
- agents-p2p-dht.sandbox.fetch-ai.com
tcp:
- match:
- - port: node-port-number-here
+ - port: ph-node-port-number-here
route:
- destination:
host: ph-deployment-name-here
port:
- number: node-port-number-here
+ number: ph-node-port-number-here
- match:
- - port: node-delegate-port-number-here
+ - port: ph-node-delegate-port-number-here
route:
- destination:
host: ph-deployment-name-here
port:
- number: node-delegate-port-number-here
+ number: ph-node-delegate-port-number-here
diff --git a/scripts/acn/k8s/secret.yaml b/scripts/acn/k8s/secret.yaml
index f9ee890243..edc357c481 100644
--- a/scripts/acn/k8s/secret.yaml
+++ b/scripts/acn/k8s/secret.yaml
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Secret
metadata:
- name: node-priv-key-name-here
+ name: ph-node-priv-key-name-here
type: Opaque
data:
- priv-key: based64-encode-private-key-here
+ priv-key: ph-based64-encoded-private-key-here
diff --git a/scripts/acn/k8s_deploy_acn_node.py b/scripts/acn/k8s_deploy_acn_node.py
index 60e83a8c2d..1a3772bf1e 100644
--- a/scripts/acn/k8s_deploy_acn_node.py
+++ b/scripts/acn/k8s_deploy_acn_node.py
@@ -18,7 +18,10 @@
# ------------------------------------------------------------------------------
""" Deploy an ACN libp2p node to a kubernetes cluster """
-from typing import Dict
+import argparse
+from pathlib import Path
+from tempfile import mkdtemp
+from typing import Dict, List, Optional
k8s_deployment_name = "ph-deployment-name-here"
k8s_cluster_namespace = "ph-cluster-namespace-here"
@@ -26,9 +29,136 @@
k8s_check_listening_port = "ph-latest-entry-peer-port-here"
k8s_docker_image_url = "ph-gcr-image-with-tag-here"
k8s_docker_container_name = "ph-container-name-here"
+k8s_dnsname = "ph-dnsname-here"
+k8s_dnsname_target = "ph-dnsname-target-here"
node_port_number = "ph-node-port-number-here"
node_port_number_delegate = "ph-node-delegate-port-number-here"
-config : Dict[str, str] = {
+node_private_key = "ph-node-priv-key-name-here"
+node_uri_external = "ph-node-external-uri-here"
+node_uri = "ph-node-local-uri-here"
+node_uri_delegate = "ph-node-delegate-uri-here"
+node_entry_peers = "ph-node-entry-peers-list-here"
+node_key_name = "ph-node-priv-key-name-here"
+node_key_encoded = "ph-base64-encoded-private-key-here"
-}
+
+config: Dict[str, str] = {}
+
+k8s_deployment_templates = [
+ "k8s/deployment.yaml",
+ "k8s/dns.yaml",
+ "k8s/secrect.yaml",
+ "k8s/istion.yaml",
+]
+
+
+class AcnK8sConfig:
+ """
+ """
+
+ def __init__(
+ self,
+ root_dir: str,
+ key_file: str,
+ port: int,
+ delegate_port: int,
+ entry_peers: Optional[List[str]],
+ enable_checks: bool = True,
+ ):
+ """
+ """
+ self.workdir = ""
+ self.root_dir = root_dir
+ self.port = port
+ self.port_delegate = delegate_port
+ self.entry_peers = entry_peers if entry_peers is not None else []
+
+ self.key = ""
+ with open(key_file, "r") as f:
+ self.key = f.read().strip()
+
+ self.deployment_files = []
+ self.template_files = [] # type: List[Path]
+ self._fetch_deployment_templates()
+
+ if enable_checks:
+ self._check_config()
+
+ def _fetch_deployment_templates(self):
+ for template in k8s_deployment_templates:
+ path = Path(self.root_dir, template)
+ if not path.is_file():
+ raise ValueError("Couldn't find deployment template file: {}".format(path))
+ self.template_files.append(path)
+
+ def generate_deployment(self):
+ """ """
+
+ self.workdir = mkdtemp()
+
+ for path in self.template_files:
+ with open(path, "r") as f:
+ content = f.read()
+
+ content = self._substitute_placeholders(content)
+
+ with open(self.workdir / path.name, "w") as f:
+ f.write(content)
+
+
+
+ def _check_config(self):
+
+
+
+def parse_commandline():
+ """ Parse script cl arguments """
+
+ # args:
+ # - scripts absolute path
+ # - private key file
+ # - port number / uri
+ # |__-> deployment name
+ # - delegate port number
+ # - entry peers list
+
+ parser = argparse.ArgumentParser()
+ parser.add_argument(
+ "--key-file",
+ action="store",
+ type=str,
+ dest="key",
+ help="node's private key file",
+ )
+ parser.add_argument(
+ "--port",
+ action="store",
+ type=str,
+ dest="port",
+ help="node's port number (both local and external)",
+ )
+ parser.add_argument(
+ "--port-delegate",
+ action="store",
+ type=str,
+ dest="delegate_port",
+ required=False,
+ help="node's delegate service port number (both local and external)",
+ )
+ parser.add_argument(
+ "--entry-peers-maddrs",
+ action="store",
+ nargs="*",
+ dest="entry_peers_maddrs",
+ help="node's entry peers in libp2p multiaddress format",
+ )
+
+ args = parser.parse_args()
+
+ return args
+
+
+if __name__ == "__main__":
+
+ args = parse_commandline()
diff --git a/tests/test_packages/test_connections/test_p2p_libp2p/test_public_dht.py b/tests/test_packages/test_connections/test_p2p_libp2p/test_public_dht.py
index 9b5fa01079..f2fdd4485a 100644
--- a/tests/test_packages/test_connections/test_p2p_libp2p/test_public_dht.py
+++ b/tests/test_packages/test_connections/test_p2p_libp2p/test_public_dht.py
@@ -42,8 +42,12 @@
)
DEFAULT_PORT = 10234
-PUBLIC_DHT_MADDRS = [PUBLIC_DHT_P2P_MADDR_1, PUBLIC_DHT_P2P_MADDR_2]
-PUBLIC_DHT_DELEGATE_URIS = [PUBLIC_DHT_DELEGATE_URI_1, PUBLIC_DHT_DELEGATE_URI_2]
+#PUBLIC_DHT_MADDRS = [PUBLIC_DHT_P2P_MADDR_1, PUBLIC_DHT_P2P_MADDR_2]
+PUBLIC_DHT_MADDRS = ["/dns4/agents-p2p-dht.sandbox.fetch-ai.com/tcp/9008/p2p/16Uiu2HAkxwwYLu5L1r9XXfdkKKmBT2NjF6HgndCQ2mB2PYefS2Q4", "/dns4/agents-p2p-dht.sandbox.fetch-ai.com/tcp/9009/p2p/16Uiu2HAmSFKTyFfuzRHhtb2m4rRdUFLweuonywTqZpuPZkF2aTWW"]
+#PUBLIC_DHT_MADDRS = ["/dns4/agents-p2p-dht.sandbox.fetch-ai.com/tcp/9008/p2p/16Uiu2HAkxwwYLu5L1r9XXfdkKKmBT2NjF6HgndCQ2mB2PYefS2Q4"]
+#PUBLIC_DHT_DELEGATE_URIS = [PUBLIC_DHT_DELEGATE_URI_1, PUBLIC_DHT_DELEGATE_URI_2]
+PUBLIC_DHT_DELEGATE_URIS = ["agents-p2p-dht.sandbox.fetch-ai.com:11008", "agents-p2p-dht.sandbox.fetch-ai.com:11009"]
+#PUBLIC_DHT_DELEGATE_URIS = ["agents-p2p-dht.sandbox.fetch-ai.com:11008"]
AEA_DEFAULT_LAUNCH_TIMEOUT = 15
AEA_LIBP2P_LAUNCH_TIMEOUT = 660 # may download up to ~66Mb
@@ -135,7 +139,7 @@ def test_communication_direct(self):
for mux in multiplexers:
mux.disconnect()
- def test_communication_indirect(self):
+ def skip_test_communication_indirect(self):
assert len(PUBLIC_DHT_MADDRS) > 1, "Test requires at least 2 public dht node"
for i in range(len(PUBLIC_DHT_MADDRS)):
@@ -278,7 +282,7 @@ def test_communication_direct(self):
for mux in multiplexers:
mux.disconnect()
- def test_communication_indirect(self):
+ def skip_test_communication_indirect(self):
assert (
len(PUBLIC_DHT_DELEGATE_URIS) > 1
), "Test requires at least 2 public dht node"
From ff30894ac0b744fa6e9d40d52baa124047686ba2 Mon Sep 17 00:00:00 2001
From: Lokman Rahmani
Date: Fri, 25 Sep 2020 10:02:30 +0100
Subject: [PATCH 030/155] [wip] Add initial files for monitoring
---
.../fetchai/connections/p2p_libp2p/aea/api.go | 57 +++++---
.../connections/p2p_libp2p/connection.py | 16 +++
.../p2p_libp2p/dht/dhtpeer/dhtpeer.go | 51 ++++++-
.../p2p_libp2p/dht/dhtpeer/options.go | 8 ++
.../p2p_libp2p/dht/monitoring/file.go | 125 ++++++++++++++++++
.../p2p_libp2p/dht/monitoring/prometheus.go | 89 +++++++++++++
.../p2p_libp2p/dht/monitoring/service.go | 51 +++++++
.../fetchai/connections/p2p_libp2p/go.mod | 1 +
.../fetchai/connections/p2p_libp2p/go.sum | 57 ++++++++
.../connections/p2p_libp2p/libp2p_node.go | 6 +
.../connections/p2p_libp2p/utils/utils.go | 8 ++
scripts/acn/run_acn_node_standalone.py | 24 +++-
12 files changed, 467 insertions(+), 26 deletions(-)
create mode 100644 packages/fetchai/connections/p2p_libp2p/dht/monitoring/file.go
create mode 100644 packages/fetchai/connections/p2p_libp2p/dht/monitoring/prometheus.go
create mode 100644 packages/fetchai/connections/p2p_libp2p/dht/monitoring/service.go
diff --git a/packages/fetchai/connections/p2p_libp2p/aea/api.go b/packages/fetchai/connections/p2p_libp2p/aea/api.go
index 15e9061099..c66ec0beab 100644
--- a/packages/fetchai/connections/p2p_libp2p/aea/api.go
+++ b/packages/fetchai/connections/p2p_libp2p/aea/api.go
@@ -58,23 +58,25 @@ type Pipe interface {
*/
type AeaApi struct {
- msgin_path string
- msgout_path string
- agent_addr string
- id string
- entry_peers []string
- host string
- port uint16
- host_public string
- port_public uint16
- host_delegate string
- port_delegate uint16
- pipe Pipe
- out_queue chan *Envelope
- closing bool
- connected bool
- sandbox bool
- standalone bool
+ msgin_path string
+ msgout_path string
+ agent_addr string
+ id string
+ entry_peers []string
+ host string
+ port uint16
+ host_public string
+ port_public uint16
+ host_delegate string
+ port_delegate uint16
+ host_monitoring string
+ port_monitoring uint16
+ pipe Pipe
+ out_queue chan *Envelope
+ closing bool
+ connected bool
+ sandbox bool
+ standalone bool
}
func (aea AeaApi) AeaAddress() string {
@@ -97,6 +99,10 @@ func (aea AeaApi) DelegateAddress() (string, uint16) {
return aea.host_delegate, aea.port_delegate
}
+func (aea AeaApi) MonitoringAddress() (string, uint16) {
+ return aea.host_monitoring, aea.port_monitoring
+}
+
func (aea AeaApi) EntryPeers() []string {
return aea.entry_peers
}
@@ -161,6 +167,7 @@ func (aea *AeaApi) Init() error {
uri := os.Getenv("AEA_P2P_URI")
uri_public := os.Getenv("AEA_P2P_URI_PUBLIC")
uri_delegate := os.Getenv("AEA_P2P_DELEGATE_URI")
+ uri_monitoring := os.Getenv("AEA_P2P_URI_MONITORING")
logger.Debug().Msgf("msgin_path: %s", aea.msgin_path)
logger.Debug().Msgf("msgout_path: %s", aea.msgout_path)
logger.Debug().Msgf("id: %s", aea.id)
@@ -237,6 +244,22 @@ func (aea *AeaApi) Init() error {
aea.port_delegate = 0
}
+ // parse monitoring uri
+ if uri_monitoring != "" {
+ parts = strings.SplitN(uri_monitoring, ":", -1)
+ if len(parts) < 2 {
+ err := errors.New("malformed Uri " + uri_monitoring)
+ logger.Error().Str("err", err.Error()).Msg("")
+ return err
+ }
+ aea.host_monitoring = parts[0]
+ port, _ = strconv.ParseUint(parts[1], 10, 16)
+ aea.port_monitoring = uint16(port)
+ } else {
+ aea.host_monitoring = ""
+ aea.port_monitoring = 0
+ }
+
// parse entry peers multiaddrs
if len(entry_peers) > 0 {
aea.entry_peers = strings.SplitN(entry_peers, ",", -1)
diff --git a/packages/fetchai/connections/p2p_libp2p/connection.py b/packages/fetchai/connections/p2p_libp2p/connection.py
index 67107f20ac..844f2cceda 100644
--- a/packages/fetchai/connections/p2p_libp2p/connection.py
+++ b/packages/fetchai/connections/p2p_libp2p/connection.py
@@ -197,6 +197,7 @@ def __init__(
uri: Optional[Uri] = None,
public_uri: Optional[Uri] = None,
delegate_uri: Optional[Uri] = None,
+ monitoring_uri: Optional[Uri] = None,
entry_peers: Optional[Sequence[MultiAddr]] = None,
log_file: Optional[str] = None,
env_file: Optional[str] = None,
@@ -212,6 +213,7 @@ def __init__(
:param uri: libp2p node ip address and port number in format ipaddress:port.
:param public_uri: libp2p node public ip address and port number in format ipaddress:port.
:param delegate_uri: libp2p node delegate service ip address and port number in format ipaddress:port.
+ :param monitoring_uri: libp2 node monitoring ip address and port in fromat ipaddress:port
:param entry_peers: libp2p entry peers multiaddresses.
:param log_file: the logfile path for the libp2p node
:param env_file: the env file path for the exchange of environment variables
@@ -233,6 +235,9 @@ def __init__(
# node delegate uri, optional
self.delegate_uri = delegate_uri
+ # node monitoring uri, optional
+ self.monitoring_uri = monitoring_uri
+
# entry peer
self.entry_peers = entry_peers if entry_peers is not None else []
@@ -318,6 +323,9 @@ async def start(self) -> None:
self._config += "AEA_P2P_DELEGATE_URI={}\n".format(
str(self.delegate_uri) if self.delegate_uri is not None else ""
)
+ self._config += "AEA_P2P_URI_MONITORING={}\n".format(
+ str(self.monitoring_uri) if self.monitoring_uri is not None else ""
+ )
env_file.write(self._config)
# run node
@@ -483,6 +491,9 @@ def __init__(self, **kwargs):
libp2p_delegate_uri = self.configuration.config.get(
"delegate_uri"
) # Optional[str]
+ libp2p_monitoring_uri = self.configuration.config.get(
+ "monitoring_uri"
+ ) # Optional[str]
libp2p_entry_peers = self.configuration.config.get("entry_peers")
if libp2p_entry_peers is None:
libp2p_entry_peers = []
@@ -512,6 +523,10 @@ def __init__(self, **kwargs):
if libp2p_delegate_uri is not None:
delegate_uri = Uri(libp2p_delegate_uri)
+ monitoring_uri = None
+ if libp2p_monitoring_uri is not None:
+ monitoring_uri = Uri(libp2p_monitoring_uri)
+
entry_peers = [MultiAddr(maddr) for maddr in libp2p_entry_peers]
# TOFIX(LR) Make sure that this node is reachable in the case where
# fetchai's public dht nodes are used as entry peer and public
@@ -551,6 +566,7 @@ def __init__(self, **kwargs):
uri,
public_uri,
delegate_uri,
+ monitoring_uri,
entry_peers,
log_file,
env_file,
diff --git a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/dhtpeer.go b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/dhtpeer.go
index 54ac7948b7..29d3317c27 100644
--- a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/dhtpeer.go
+++ b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/dhtpeer.go
@@ -50,6 +50,7 @@ import (
aea "libp2p_node/aea"
"libp2p_node/dht/dhtnode"
+ monitoring "libp2p_node/dht/monitoring"
utils "libp2p_node/utils"
)
@@ -71,6 +72,7 @@ const (
routingTableConnectionUpdateTimeout = 5 * time.Second
newStreamTimeout = 5 * time.Second
addressRegisterTimeout = 3 * time.Second
+ monitoringNamespace = "acn"
)
// DHTPeer A full libp2p node for the Agents Communication Network.
@@ -78,12 +80,13 @@ const (
// and can acts as a relay for `DHTClient`.
// Optionally, it provides delegate service for tcp clients.
type DHTPeer struct {
- host string
- port uint16
- publicHost string
- publicPort uint16
- delegatePort uint16
- enableRelay bool
+ host string
+ port uint16
+ publicHost string
+ publicPort uint16
+ delegatePort uint16
+ monitoringPort uint16
+ enableRelay bool
key crypto.PrivKey
publicKey crypto.PubKey
@@ -102,6 +105,7 @@ type DHTPeer struct {
tcpAddresses map[string]net.Conn
processEnvelope func(*aea.Envelope) error
+ monitor monitoring.MonitoringService
closing chan struct{}
goroutines *sync.WaitGroup
logger zerolog.Logger
@@ -262,9 +266,36 @@ func New(opts ...Option) (*DHTPeer, error) {
ready.Wait()
}
+ // setup monitoring
+ dhtPeer.setupMonitoring()
+ go dhtPeer.startMonitoring()
+
return dhtPeer, nil
}
+func (dhtPeer *DHTPeer) setupMonitoring() {
+ if dhtPeer.monitoringPort != 0 {
+ dhtPeer.monitor = monitoring.NewPrometheusMonitoring(monitoringNamespace, dhtPeer.monitoringPort)
+ } else {
+ dhtPeer.monitor = monitoring.NewFileMonitoring(monitoringNamespace)
+ }
+
+ dhtPeer.addMonitoringMetrics()
+}
+
+func (dhtPeer *DHTPeer) startMonitoring() {
+ _, _, linfo, _ := dhtPeer.getLoggers()
+ linfo().Msg("Starting monitoring service: " + dhtPeer.monitor.Info())
+ dhtPeer.monitor.Start()
+}
+
+func (dhtPeer *DHTPeer) addMonitoringMetrics() {
+ dhtPeer.monitor.NewGauge("delegate_connections_nbr",
+ "Number of active delagate connections")
+ dhtPeer.monitor.NewGauge("delegate_clients_total",
+ "Number of all delagate clients, connected or disconnected")
+}
+
func (dhtPeer *DHTPeer) setupLogger() {
fields := map[string]string{
"package": "DHTPeer",
@@ -375,6 +406,12 @@ func (dhtPeer *DHTPeer) handleDelegateService(ready *sync.WaitGroup) {
func (dhtPeer *DHTPeer) handleNewDelegationConnection(conn net.Conn) {
defer dhtPeer.goroutines.Done()
+ defer conn.Close()
+
+ nbrConns, _ := dhtPeer.monitor.GetGauge("delegate_connections_nbr")
+ nbrClients, _ := dhtPeer.monitor.GetGauge("delegate_clients_total")
+ nbrConns.Inc()
+ nbrClients.Inc()
lerror, _, linfo, _ := dhtPeer.getLoggers()
@@ -384,6 +421,7 @@ func (dhtPeer *DHTPeer) handleNewDelegationConnection(conn net.Conn) {
buf, err := utils.ReadBytesConn(conn)
if err != nil {
lerror(err).Msg("while receiving agent's Address")
+ nbrConns.Dec()
return
}
@@ -415,6 +453,7 @@ func (dhtPeer *DHTPeer) handleNewDelegationConnection(conn net.Conn) {
} else {
lerror(err).Msg("while reading envelope from client connection, aborting...")
}
+ nbrConns.Dec()
break
}
diff --git a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/options.go b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/options.go
index 6a5d89577a..5726af8999 100644
--- a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/options.go
+++ b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/options.go
@@ -110,3 +110,11 @@ func EnableRelayService() Option {
}
}
+
+// EnableMonitoring for dhtpeer.New
+func EnableMonitoring(port uint16) Option {
+ return func(dhtPeer *DHTPeer) error {
+ dhtPeer.monitoringPort = port
+ return nil
+ }
+}
diff --git a/packages/fetchai/connections/p2p_libp2p/dht/monitoring/file.go b/packages/fetchai/connections/p2p_libp2p/dht/monitoring/file.go
new file mode 100644
index 0000000000..d37db17363
--- /dev/null
+++ b/packages/fetchai/connections/p2p_libp2p/dht/monitoring/file.go
@@ -0,0 +1,125 @@
+/* -*- coding: utf-8 -*-
+* ------------------------------------------------------------------------------
+*
+* Copyright 2018-2019 Fetch.AI Limited
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+* ------------------------------------------------------------------------------
+ */
+
+package monitoring
+
+import (
+ "fmt"
+ "os"
+ "time"
+)
+
+type FileGauge struct {
+ value float64
+}
+
+func (fm *FileGauge) Set(value float64) {
+ fm.value = value
+}
+
+func (fm FileGauge) Get() float64 {
+ return fm.value
+}
+
+func (fm *FileGauge) Inc() {
+ fm.value += 1.
+}
+
+func (fm *FileGauge) Dec() {
+ fm.value -= 1.
+}
+
+func (fm *FileGauge) Add(count float64) {
+ fm.value += count
+}
+
+func (fm *FileGauge) Sub(count float64) {
+ fm.value -= count
+}
+
+type FileMonitoring struct {
+ Namespace string
+ gaugeDict map[string]*FileGauge
+
+ path string
+ closing chan struct{}
+}
+
+func NewFileMonitoring(namespace string) *FileMonitoring {
+ fm := &FileMonitoring{
+ Namespace: namespace,
+ }
+
+ fm.gaugeDict = map[string]*FileGauge{}
+ cwd, _ := os.Getwd()
+ fm.path = cwd + "/" + fm.Namespace + ".stats"
+
+ return fm
+}
+
+func (fm *FileMonitoring) NewGauge(name string, description string) (Gauge, error) {
+ gauge := &FileGauge{}
+ fm.gaugeDict[name] = gauge
+
+ return gauge, nil
+}
+
+func (fm *FileMonitoring) GetGauge(name string) (Gauge, bool) {
+ gauge, ok := fm.gaugeDict[name]
+ return gauge, ok
+}
+
+func (fm *FileMonitoring) Start() {
+ if fm.closing != nil {
+ return
+ }
+ fm.closing = make(chan struct{})
+
+ file, _ := os.OpenFile(fm.path, os.O_WRONLY|os.O_CREATE, 0666)
+ for {
+ select {
+ case <-fm.closing:
+ file.Close()
+ break
+ default:
+ file.Truncate(0)
+ file.Seek(0, 0)
+ file.WriteString(fm.getStats())
+ time.Sleep(5 * time.Second)
+ }
+ }
+}
+
+func (fm *FileMonitoring) Stop() {
+ close(fm.closing)
+}
+
+func (fm FileMonitoring) getStats() string {
+ var stats string
+ for name, value := range fm.gaugeDict {
+ strValue := fmt.Sprintf("%e", value.Get())
+ stats += fm.Namespace + "_" + name + " " + strValue + "\n"
+ }
+ return stats
+}
+
+func (fm *FileMonitoring) Info() string {
+ return "FileMonitoring on " + fm.path
+}
diff --git a/packages/fetchai/connections/p2p_libp2p/dht/monitoring/prometheus.go b/packages/fetchai/connections/p2p_libp2p/dht/monitoring/prometheus.go
new file mode 100644
index 0000000000..c6d73c20e4
--- /dev/null
+++ b/packages/fetchai/connections/p2p_libp2p/dht/monitoring/prometheus.go
@@ -0,0 +1,89 @@
+/* -*- coding: utf-8 -*-
+* ------------------------------------------------------------------------------
+*
+* Copyright 2018-2019 Fetch.AI Limited
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+* ------------------------------------------------------------------------------
+ */
+
+package monitoring
+
+import (
+ "net/http"
+ "strconv"
+
+ "github.com/prometheus/client_golang/prometheus"
+ "github.com/prometheus/client_golang/prometheus/promauto"
+ "github.com/prometheus/client_golang/prometheus/promhttp"
+)
+
+type PrometheusGauge struct {
+ gauge prometheus.Gauge
+}
+
+type PrometheusMonitoring struct {
+ Namespace string
+ Port uint16
+
+ running bool
+ httpServer http.Server
+ //gaugeDict map[string]PrometheusGauge
+ gaugeDict map[string]prometheus.Gauge
+}
+
+func NewPrometheusMonitoring(namespace string, port uint16) *PrometheusMonitoring {
+ pmts := &PrometheusMonitoring{
+ Namespace: namespace,
+ Port: port,
+ }
+ pmts.gaugeDict = map[string]prometheus.Gauge{}
+
+ return pmts
+}
+
+func (pmts *PrometheusMonitoring) NewGauge(name string, description string) (Gauge, error) {
+ gauge := promauto.NewGauge(prometheus.GaugeOpts{
+ Namespace: pmts.Namespace,
+ Name: name,
+ Help: description,
+ })
+ pmts.gaugeDict[name] = gauge
+
+ return gauge, nil
+}
+
+func (pmts *PrometheusMonitoring) GetGauge(name string) (Gauge, bool) {
+ gauge, ok := pmts.gaugeDict[name]
+ return gauge, ok
+}
+
+func (pmts *PrometheusMonitoring) Start() {
+ if pmts.running {
+ return
+ }
+ pmts.httpServer = http.Server{Addr: ":" + strconv.FormatInt(int64(pmts.Port), 10)}
+ http.Handle("/metrics", promhttp.Handler())
+
+ pmts.running = true
+ pmts.httpServer.ListenAndServe()
+}
+
+func (pmts *PrometheusMonitoring) Stop() {
+ pmts.httpServer.Close()
+}
+
+func (pmts *PrometheusMonitoring) Info() string {
+ return "Prometheus at " + strconv.FormatInt(int64(pmts.Port), 10)
+}
diff --git a/packages/fetchai/connections/p2p_libp2p/dht/monitoring/service.go b/packages/fetchai/connections/p2p_libp2p/dht/monitoring/service.go
new file mode 100644
index 0000000000..481df1ea70
--- /dev/null
+++ b/packages/fetchai/connections/p2p_libp2p/dht/monitoring/service.go
@@ -0,0 +1,51 @@
+/* -*- coding: utf-8 -*-
+* ------------------------------------------------------------------------------
+*
+* Copyright 2018-2019 Fetch.AI Limited
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+* ------------------------------------------------------------------------------
+ */
+
+package monitoring
+
+type Gauge interface {
+ Set(value float64)
+ Inc()
+ Dec()
+ Add(count float64)
+ Sub(count float64)
+}
+
+type Counter interface {
+ Inc()
+ Add(count float64)
+}
+
+type Histogram interface {
+ observe(value float64)
+}
+
+type Summary interface {
+ observe(value float64)
+}
+
+type MonitoringService interface {
+ NewGauge(name string, description string) (Gauge, error)
+ GetGauge(name string) (Gauge, bool)
+ //NewSummary(name string, description string, ) (Summary, error)
+ Start()
+ Stop()
+ Info() string
+}
diff --git a/packages/fetchai/connections/p2p_libp2p/go.mod b/packages/fetchai/connections/p2p_libp2p/go.mod
index 87a013b9c1..32dcfe257a 100644
--- a/packages/fetchai/connections/p2p_libp2p/go.mod
+++ b/packages/fetchai/connections/p2p_libp2p/go.mod
@@ -13,6 +13,7 @@ require (
github.com/libp2p/go-libp2p-kad-dht v0.7.11
github.com/multiformats/go-multiaddr v0.2.1
github.com/multiformats/go-multihash v0.0.13
+ github.com/prometheus/client_golang v1.7.1
github.com/rs/zerolog v1.19.0
google.golang.org/protobuf v1.25.0
)
diff --git a/packages/fetchai/connections/p2p_libp2p/go.sum b/packages/fetchai/connections/p2p_libp2p/go.sum
index dc5d14ae61..dbcdd0cd1c 100644
--- a/packages/fetchai/connections/p2p_libp2p/go.sum
+++ b/packages/fetchai/connections/p2p_libp2p/go.sum
@@ -6,7 +6,15 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03
github.com/Kubuxu/go-os-helper v0.0.1/go.mod h1:N8B+I7vPCT80IcP58r50u4+gEEcsZETFUpAzWW2ep1Y=
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII=
+github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
+github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
+github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
+github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
+github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
+github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
+github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
+github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/btcsuite/btcd v0.0.0-20190213025234-306aecffea32/go.mod h1:DrZx5ec/dmnfpw9KyYoQyYo7d0KEvTkk/5M/vbZjAr8=
github.com/btcsuite/btcd v0.0.0-20190523000118-16327141da8c/go.mod h1:3J08xEfcugPacsc34/LKRU2yO7YmuT8yt28J8k2+rrI=
github.com/btcsuite/btcd v0.0.0-20190824003749-130ea5bddde3/go.mod h1:3J08xEfcugPacsc34/LKRU2yO7YmuT8yt28J8k2+rrI=
@@ -21,7 +29,10 @@ github.com/btcsuite/snappy-go v0.0.0-20151229074030-0bdef8d06723/go.mod h1:8woku
github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtEyQwv5/p4Mg4C0fgbePVuGr935/5ddU9Z3TmDRY=
github.com/btcsuite/winsvc v1.0.0/go.mod h1:jsenWakMcC0zFBFurPLEAyrnc/teJEM1O46fmI40EZs=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
+github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko=
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
+github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY=
+github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk=
@@ -49,6 +60,12 @@ github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7
github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/go-check/check v0.0.0-20180628173108-788fd7840127/go.mod h1:9ES+weclKsC9YodN5RgxqK/VD9HM9JsCSh7rNhMZE98=
+github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
+github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
+github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
+github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk=
+github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
+github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4=
github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o=
github.com/gogo/protobuf v1.3.1 h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls=
@@ -78,6 +95,7 @@ github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMyw
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w=
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
+github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/gopacket v1.1.17 h1:rMrlX2ZY2UbvT+sdz3+6J+pp2z+msCq9MxTU6ymxbBY=
github.com/google/gopacket v1.1.17/go.mod h1:UdDNZ1OO62aGYVnPhxT1U6aI7ukYtA/kB8vaU0diBUM=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
@@ -159,6 +177,9 @@ github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJS
github.com/joho/godotenv v1.3.0 h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc=
github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg=
github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ=
+github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
+github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
+github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/kami-zh/go-capturer v0.0.0-20171211120116-e492ea43421d/go.mod h1:P2viExyCEfeWGU259JnaQ34Inuec4R38JCyBx2edgD0=
github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00=
@@ -167,6 +188,7 @@ github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/koron/go-ssdp v0.0.0-20191105050749-2e1c40ed0b5d h1:68u9r4wEvL3gYg2jvAOgROwZ3H+Y3hIDk4tbbmIjcYQ=
github.com/koron/go-ssdp v0.0.0-20191105050749-2e1c40ed0b5d/go.mod h1:5Ky9EC2xfoUKUor0Hjgi2BJhCSXJfMOFlmyYrVKGQMk=
+github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pretty v0.2.0 h1:s5hAObm+yFO5uHYt5dYjxi2rXrsnmRpJx4OYvIWUaQs=
github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
@@ -330,6 +352,8 @@ github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaO
github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ=
github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
+github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
+github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
github.com/miekg/dns v1.1.12/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
github.com/miekg/dns v1.1.28/go.mod h1:KNUDUusw/aVsxyTYZM1oqvCicbwhgbNgztCETuNZ7xM=
@@ -343,6 +367,10 @@ github.com/minio/sha256-simd v0.1.1 h1:5QHSlgo3nt5yKOJrC7W8w7X+NFl8cMPZm96iu8kKU
github.com/minio/sha256-simd v0.1.1/go.mod h1:B5e1o+1/KgNmWrSQK08Y6Z1Vb5pwIktudl0J58iy0KM=
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
+github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
+github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
+github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
github.com/mr-tron/base58 v1.1.0/go.mod h1:xcD2VGqlgYjBdcBLw+TuYLr8afG+Hj8g2eTVqeSzSU8=
github.com/mr-tron/base58 v1.1.1/go.mod h1:xcD2VGqlgYjBdcBLw+TuYLr8afG+Hj8g2eTVqeSzSU8=
github.com/mr-tron/base58 v1.1.2/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc=
@@ -388,6 +416,7 @@ github.com/multiformats/go-varint v0.0.1/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXS
github.com/multiformats/go-varint v0.0.2/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE=
github.com/multiformats/go-varint v0.0.5 h1:XVZwSo04Cs3j/jS0uAEPpT3JY6DzMcVLLoWOSnCxOjg=
github.com/multiformats/go-varint v0.0.5/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE=
+github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
@@ -402,18 +431,35 @@ github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFSt
github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU=
github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
+github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
+github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo=
+github.com/prometheus/client_golang v1.7.1 h1:NTGy1Ja9pByO+xAeH/qiWnLrKtr3hJPNjaVUwnjpdpA=
+github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M=
+github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
+github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
+github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M=
+github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
+github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
+github.com/prometheus/common v0.10.0 h1:RyRA7RzGXQZiW+tGMr7sxa85G1z0yOpM1qq5c8lNawc=
+github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo=
+github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
+github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
+github.com/prometheus/procfs v0.1.3 h1:F0+tqvhOksq22sc6iCHF5WGlWjdwj92p0udFh1VFBS8=
+github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ=
github.com/rs/zerolog v1.19.0 h1:hYz4ZVdUgjXTBUmrkrw55j1nHx68LfOKIQk5IYtyScg=
github.com/rs/zerolog v1.19.0/go.mod h1:IzD0RJ65iWH0w97OQQebJEvTZYvsCUm9WVLWBQrJRjo=
github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
+github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
github.com/smola/gocompat v0.2.0/go.mod h1:1B0MlxbmoZNo3h8guHp8HztB3BSYR5itql9qtVc0ypY=
github.com/spacemonkeygo/openssl v0.0.0-20181017203307-c2dcc5cca94a/go.mod h1:7AyxJNCJ7SBZ1MfVQCWD6Uqo2oubI2Eq2y2eqf+A5r0=
github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572 h1:RC6RW7j+1+HkWaX/Yh71Ee5ZHaHYt7ZP4sQgUrm6cDU=
@@ -493,22 +539,27 @@ golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73r
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181011144130-49bb7cea24b1/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190227160552-c95aed5357e7/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20190923162816-aa69164e4478 h1:l5EDrHhldLYb3ZRHDUhXF7Om7MvYXnkV9/iQNo1lX6g=
golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190423024810-112230192c58 h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190219092855-153ac476189d/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@@ -516,14 +567,18 @@ golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5h
golang.org/x/sys v0.0.0-20190228124157-a34e9553db1e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190405154228-4b34438f7a67/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190526052359-791d8a0f4d09/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae h1:/WDfKMnPU+m5M4xB+6x4kaepxRw6jWvR5iDRdvjHgy8=
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1 h1:ogLJMz+qpzav7lGMh10LMvAkM/fAoGlaiiHYiFYdm80=
+golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
@@ -570,6 +625,7 @@ google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2
google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c=
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
+gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo=
@@ -585,6 +641,7 @@ gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.4 h1:/eiJrUcujPVeJ3xlSWaiNi3uSVmDGBK1pDHUHAnao1I=
gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.1-2019.2.3 h1:3JgtbtFHMiCmsznwGVTUWbgGov+pVqnlf1dEJTNAXeM=
diff --git a/packages/fetchai/connections/p2p_libp2p/libp2p_node.go b/packages/fetchai/connections/p2p_libp2p/libp2p_node.go
index b24266726a..39438d28c3 100644
--- a/packages/fetchai/connections/p2p_libp2p/libp2p_node.go
+++ b/packages/fetchai/connections/p2p_libp2p/libp2p_node.go
@@ -80,6 +80,9 @@ func main() {
// node delegate service address, if set
_, nodePortDelegate := agent.DelegateAddress()
+ // node monitoring service address, if set
+ _, nodePortMonitoring := agent.MonitoringAddress()
+
// node private key
key := agent.PrivateKey()
@@ -112,6 +115,9 @@ func main() {
if aeaAddr != "" {
opts = append(opts, dhtpeer.RegisterAgentAddress(aeaAddr, agent.Connected))
}
+ if nodePortMonitoring != 0 {
+ opts = append(opts, dhtpeer.EnableMonitoring(nodePortMonitoring))
+ }
node, err = dhtpeer.New(opts...)
}
diff --git a/packages/fetchai/connections/p2p_libp2p/utils/utils.go b/packages/fetchai/connections/p2p_libp2p/utils/utils.go
index 250ed82fa3..28036f58dd 100644
--- a/packages/fetchai/connections/p2p_libp2p/utils/utils.go
+++ b/packages/fetchai/connections/p2p_libp2p/utils/utils.go
@@ -50,6 +50,10 @@ import (
"libp2p_node/aea"
)
+const (
+ maxMessageSizeDelegateConnection = 1024 * 1024 * 3 // 3Mb
+)
+
var logger zerolog.Logger = NewDefaultLogger()
/*
@@ -247,7 +251,11 @@ func ReadBytesConn(conn net.Conn) ([]byte, error) {
if err != nil {
return buf, err
}
+
size := binary.BigEndian.Uint32(buf)
+ if size > maxMessageSizeDelegateConnection {
+ return nil, errors.New("Expected message size larger than maximum allowed")
+ }
buf = make([]byte, size)
_, err = conn.Read(buf)
diff --git a/scripts/acn/run_acn_node_standalone.py b/scripts/acn/run_acn_node_standalone.py
index 5ab3e59de2..2fbe351bdf 100644
--- a/scripts/acn/run_acn_node_standalone.py
+++ b/scripts/acn/run_acn_node_standalone.py
@@ -37,6 +37,7 @@ class AcnNodeConfig:
URI = "AEA_P2P_URI"
EXTERNAL_URI = "AEA_P2P_URI_PUBLIC"
DELEGATE_URI = "AEA_P2P_DELEGATE_URI"
+ MONITORING_URI = "AEA_P2P_URI_MONITORING"
ENTRY_PEERS_MADDRS = "AEA_P2P_ENTRY_URIS"
IPC_IN = "AEA_TO_NODE"
IPC_OUT = "NODE_TO_AEA"
@@ -49,6 +50,7 @@ def __init__(
uri: str,
external_uri: Optional[str] = None,
delegate_uri: Optional[str] = None,
+ monitoring_uri: Optional[str] = None,
entry_peers_maddrs: Optional[List[str]] = None,
enable_checks: bool = True,
):
@@ -59,6 +61,7 @@ def __init__(
:param uri: node local uri to bind to
:param external_uri: node external uri, needed to be reached by others
:param delegate_uri: node local uri for delegate service
+ :param monitoring_uri: node monitoring uri
:param entry_peers_maddrs: multiaddresses of peers to join their network
:param enable_checks: to check if provided configuration is valid
"""
@@ -72,6 +75,9 @@ def __init__(
self.config[AcnNodeConfig.DELEGATE_URI] = (
delegate_uri if delegate_uri is not None else ""
)
+ self.config[AcnNodeConfig.MONITORING_URI] = (
+ monitoring_uri if monitoring_uri is not None else ""
+ )
entry_peers_maddrs_list = (
AcnNodeConfig.LIST_SEPARATOR.join(entry_peers_maddrs)
@@ -119,10 +125,11 @@ def from_file(cls, file_path: str, enable_checks: bool = True) -> "AcnNodeConfig
uri = config[AcnNodeConfig.URI]
external_uri = config.get(AcnNodeConfig.EXTERNAL_URI, None)
delegate_uri = config.get(AcnNodeConfig.DELEGATE_URI, None)
+ monitoring_uri = config.get(AcnNodeConfig.MONITORING_URI, None)
entry_peers = config.get(AcnNodeConfig.ENTRY_PEERS_MADDRS, "")
return cls(
- key, uri, external_uri, delegate_uri, entry_peers.split(","), enable_checks
+ key, uri, external_uri, delegate_uri, monitoring_uri, entry_peers.split(","), enable_checks
)
@staticmethod
@@ -142,6 +149,8 @@ def check_config(config: Dict[str, str]) -> None:
AcnNodeConfig._check_uri(config[AcnNodeConfig.EXTERNAL_URI])
if config[AcnNodeConfig.DELEGATE_URI] != "":
AcnNodeConfig._check_uri(config[AcnNodeConfig.DELEGATE_URI])
+ if config[AcnNodeConfig.MONITORING_URI] != "":
+ AcnNodeConfig._check_uri(config[AcnNodeConfig.MONITORING_URI])
maddrs = config[AcnNodeConfig.ENTRY_PEERS_MADDRS].split(
AcnNodeConfig.LIST_SEPARATOR
@@ -256,6 +265,14 @@ def parse_commandline():
required=False,
help="node's delegate service uri in format {ip_address:port}",
)
+ parser.add_argument(
+ "--uri-monitoring",
+ action="store",
+ type=str,
+ dest="monitoring_uri",
+ required=False,
+ help="node's monitoring service uri in format {ip_address:port}",
+ )
parser.add_argument(
"--entry-peers-maddrs",
action="store",
@@ -289,10 +306,11 @@ def parse_commandline():
uri = os.environ[AcnNodeConfig.URI]
external_uri = os.environ.get(AcnNodeConfig.EXTERNAL_URI)
delegate_uri = os.environ.get(AcnNodeConfig.DELEGATE_URI)
+ monitoring_uri = os.environ.get(AcnNodeConfig.MONITORING_URI)
entry_peers = os.environ.get(AcnNodeConfig.ENTRY_PEERS_MADDRS)
entry_peers_list = entry_peers.split(",") if entry_peers is not None else []
node_config = AcnNodeConfig(
- key, uri, external_uri, delegate_uri, entry_peers_list
+ key, uri, external_uri, delegate_uri, monitoring_uri, entry_peers_list
)
elif args.config_from_file is not None:
@@ -302,7 +320,7 @@ def parse_commandline():
with open(args.key, "r") as f:
key = f.read().strip()
node_config = AcnNodeConfig(
- key, args.uri, args.external_uri, args.delegate_uri, args.entry_peers_maddrs
+ key, args.uri, args.external_uri, args.delegate_uri, args.monitoring_uri, args.entry_peers_maddrs
)
node = AcnNodeStandalone(node_config, args.libp2p_node)
From de60080c686385968c6b8d369f602cd0817e9e49 Mon Sep 17 00:00:00 2001
From: Lokman Rahmani
Date: Wed, 7 Oct 2020 11:36:51 +0100
Subject: [PATCH 031/155] wip
---
scripts/acn/k8s/secret.yaml | 2 +-
scripts/acn/k8s_deploy_acn_node.py | 199 ++++++++++++++++++++-----
scripts/acn/run_acn_node_standalone.py | 15 +-
3 files changed, 176 insertions(+), 40 deletions(-)
diff --git a/scripts/acn/k8s/secret.yaml b/scripts/acn/k8s/secret.yaml
index edc357c481..3ce888236b 100644
--- a/scripts/acn/k8s/secret.yaml
+++ b/scripts/acn/k8s/secret.yaml
@@ -4,4 +4,4 @@ metadata:
name: ph-node-priv-key-name-here
type: Opaque
data:
- priv-key: ph-based64-encoded-private-key-here
+ priv-key: ph-base64-encoded-private-key-here
\ No newline at end of file
diff --git a/scripts/acn/k8s_deploy_acn_node.py b/scripts/acn/k8s_deploy_acn_node.py
index 1a3772bf1e..b69a342048 100644
--- a/scripts/acn/k8s_deploy_acn_node.py
+++ b/scripts/acn/k8s_deploy_acn_node.py
@@ -19,9 +19,15 @@
""" Deploy an ACN libp2p node to a kubernetes cluster """
import argparse
+import base64
+import os
+import subprocess # nosec
+from os import stat
from pathlib import Path
from tempfile import mkdtemp
-from typing import Dict, List, Optional
+from typing import Dict, List, Optional, Tuple, Type, Union
+
+from .run_acn_node_standalone import AcnNodeConfig
k8s_deployment_name = "ph-deployment-name-here"
k8s_cluster_namespace = "ph-cluster-namespace-here"
@@ -42,75 +48,194 @@
node_key_name = "ph-node-priv-key-name-here"
node_key_encoded = "ph-base64-encoded-private-key-here"
+def _execute_cmd(cmd: List[str]) -> str:
+ proc = subprocess.Popen(cmd, shell=False, stdout=subprocess.PIPE) # nosec
+ out, _ = proc.communicate()
+ try:
+ proc.wait()
+ except:
+ pass
+ return out.decode('ascii')
+
+class K8sPodDeployment:
+ """ """
+
+ def __init__(
+ self,
+ root_dir: str,
+ deployments_files: List[Path],
+ dockerfile_path: Union[Path, str],
+ docker_remote_image: str,
+ ):
+ """
+ """
+
+ self.deployment_files = deployments_files
+ self.dockerfile = dockerfile_path
+ self.docker_remote_image = docker_remote_image
+ self.root_dir = root_dir
+
+ @property
+ def yaml_files(self) -> List[Path]:
+ return self.deployment_files
-config: Dict[str, str] = {}
+ @property
+ def dockerfile(self) -> Path:
+ return Path(self.dockerfile)
-k8s_deployment_templates = [
- "k8s/deployment.yaml",
- "k8s/dns.yaml",
- "k8s/secrect.yaml",
- "k8s/istion.yaml",
-]
+ @property
+ def docker_remote_image(self) -> str:
+ return self.docker_remote_image
-class AcnK8sConfig:
+class AcnK8sPodConfig:
"""
+ Store, parse, and generate kubernetes deployment for ACN node
"""
+ K8S_DEPLOYMENT_NAME = "ph-deployment-name-here"
+ K8S_PUBLIC_DNS = "agents-p2p-dht.sandbox.fetch-ai.com" # TODO
+
+ DOCKER_IMAGE_REMOTE_WITH_TAG = "ph-gcr-image-with-tag-here"
+
+ NODE_PORT = "ph-node-port-number-here"
+ NODE_PORT_DELEGATE = "ph-node-delegate-port-number-here"
+ NODE_PORT_MONITORING = "ph-node-monitoring-port-number-here" # TODO
+ NODE_URI_EXTERNAL = "ph-node-external-uri-here"
+ NODE_URI = "ph-node-local-uri-here"
+ NODE_URI_DELEGATE = "ph-node-delegate-uri-here"
+ NODE_URI_MONITORING = "ph-node-monitoring-uri-here"
+ NODE_ENTRY_PEERS = "ph-node-entry-peers-list-here"
+ NODE_KEY_NAME = "ph-node-priv-key-name-here"
+ NODE_KEY_ENCODED = "ph-base64-encoded-private-key-here"
+ NODE_LAST_ENTRY_PEER_HOST = "ph-latest-entry-peer-host-here"
+ NODE_LAST_ENTRY_PEER_PORT = "ph-latest-entry-peer-port-here"
+
+ # TODO add the rest of placeholders
+
+ Defaults: Dict[str, str] = {
+ K8S_DEPLOYMENT_NAME: "agents-p2p-dht",
+ K8S_PUBLIC_DNS: "agents-p2p-dht.sandbox.fetch-ai.com",
+ DOCKER_IMAGE_REMOTE_WITH_TAG: "gcr.io/fetch-ai-sandbox/agents-p2p-dht",
+ }
+
def __init__(
self,
root_dir: str,
key_file: str,
port: int,
delegate_port: int,
+ monitoring_port: int,
entry_peers: Optional[List[str]],
enable_checks: bool = True,
+ dnsname: Optional[str] = None,
):
"""
+ Initialize a AcnK8sPodConfig, populate the config dict
+
+ :param :
"""
- self.workdir = ""
- self.root_dir = root_dir
- self.port = port
- self.port_delegate = delegate_port
- self.entry_peers = entry_peers if entry_peers is not None else []
- self.key = ""
+ config: Dict[str, str] = dict()
+ cls: Type[AcnK8sPodConfig] = AcnK8sPodConfig
+
+ config[cls.K8S_DEPLOYMENT_NAME] = "{}-{}".format(
+ cls.Defaults[cls.K8S_DEPLOYMENT_NAME], str(port)
+ )
+ config[cls.K8S_PUBLIC_DNS] = (
+ dnsname if dnsname is not None else cls.Defaults[cls.K8S_PUBLIC_DNS]
+ )
+
+ config[cls.DOCKER_IMAGE_REMOTE_WITH_TAG] = cls.Defaults[
+ cls.DOCKER_IMAGE_REMOTE_WITH_TAG
+ ]
+
+ config[cls.NODE_PORT] = port
+ config[cls.NODE_PORT_DELEGATE] = delegate_port
+ config[cls.NODE_PORT_MONITORING] = monitoring_port
+ config[cls.NODE_ENTRY_PEERS] = (
+ ",".join(entry_peers) if entry_peers is not None else ""
+ )
+ peer_host, peer_port = cls._parse_multiaddr_for_uri(
+ entry_peers[-1] if entry_peers is not None and len(entry_peers) > 0 else ""
+ )
+ config[cls.NODE_LAST_ENTRY_PEER_HOST] = peer_host
+ config[cls.NODE_LAST_ENTRY_PEER_PORT] = peer_port
+
+ config[cls.NODE_URI] = "0.0.0.0:{}".format(port)
+ config[cls.NODE_URI_DELEGATE] = "0.0.0.0:{}".format(delegate_port)
+ config[cls.NODE_URI_MONITORING] = "0.0.0.0:{}".format(monitoring_port)
+ config[cls.NODE_URI_EXTERNAL] = "{}:{}".format(
+ dnsname if dnsname is not None else cls.Defaults[cls.K8S_PUBLIC_DNS], port
+ )
+
with open(key_file, "r") as f:
- self.key = f.read().strip()
+ key = f.read().strip()
+ config[cls.NODE_KEY_ENCODED] = base64.b64encode(key.encode("ascii")).decode(
+ "ascii"
+ )
+
+ files: List[Path] = []
+ for path in [Path(p) for p in os.listdir(root_dir)]:
+ if path.is_file(path) and path.suffix == ".yaml":
+ files.append(path)
+ assert (
+ len(files) > 0
+ ), f"Couldn't find any template deployment file at {root_dir}"
- self.deployment_files = []
- self.template_files = [] # type: List[Path]
- self._fetch_deployment_templates()
+ self.config = config
+ self.template_files = files
+ self.dockerfile = root_dir / "Dockerfile"
if enable_checks:
- self._check_config()
-
- def _fetch_deployment_templates(self):
- for template in k8s_deployment_templates:
- path = Path(self.root_dir, template)
- if not path.is_file():
- raise ValueError("Couldn't find deployment template file: {}".format(path))
- self.template_files.append(path)
-
- def generate_deployment(self):
- """ """
+ cls._check_config(self.config)
+
+ @staticmethod
+ def _parse_multiaddr_for_uri(maddr: str) -> Tuple[str, str]:
+ if maddr != "":
+ parts = maddr.split("/")
+ if len(parts) == 7:
+ return parts[3], parts[5]
+ return "", ""
+
+ @staticmethod
+ def check_config(config: Dict[str, str]) -> None:
+ AcnNodeConfig(
+ base64.b64decode(
+ config[AcnK8sPodConfig.NODE_KEY_ENCODED].encode("ascii")
+ ).decode("ascii"),
+ config[AcnK8sPodConfig.NODE_URI],
+ config[AcnK8sPodConfig.NODE_URI_EXTERNAL],
+ config[AcnK8sPodConfig.NODE_URI_DELEGATE],
+ config[AcnK8sPodConfig.NODE_URI_MONITORING],
+ config[AcnK8sPodConfig.NODE_ENTRY_PEERS],
+ True,
+ )
+
+ def generate_deployment(self) -> K8sPodDeployment:
+ """
+ """
+
+ workdir = mkdtemp()
+ deployment_files: List[Path] = []
- self.workdir = mkdtemp()
-
for path in self.template_files:
with open(path, "r") as f:
content = f.read()
-
- content = self._substitute_placeholders(content)
- with open(self.workdir / path.name, "w") as f:
- f.write(content)
+ for placeholder, value in self.config.items():
+ content = content.replace(placeholder, value)
+ with open(workdir / path.name, "w") as f:
+ f.write(content)
+ deployment_files.append(workdir / path.name)
- def _check_config(self):
+ tag = _execute_cmd(["git", "describe", "--no-match", "--always", "--dirty"])
+ return K8sPodDeployment(workdir, deployment_files, self.dockerfile, "{}:{}".format(config[AcnK8sPodConfig.DOCKER_IMAGE_REMOTE_WITH_TAG]))
+
def parse_commandline():
""" Parse script cl arguments """
diff --git a/scripts/acn/run_acn_node_standalone.py b/scripts/acn/run_acn_node_standalone.py
index 2fbe351bdf..6e9cd9e746 100644
--- a/scripts/acn/run_acn_node_standalone.py
+++ b/scripts/acn/run_acn_node_standalone.py
@@ -129,7 +129,13 @@ def from_file(cls, file_path: str, enable_checks: bool = True) -> "AcnNodeConfig
entry_peers = config.get(AcnNodeConfig.ENTRY_PEERS_MADDRS, "")
return cls(
- key, uri, external_uri, delegate_uri, monitoring_uri, entry_peers.split(","), enable_checks
+ key,
+ uri,
+ external_uri,
+ delegate_uri,
+ monitoring_uri,
+ entry_peers.split(","),
+ enable_checks,
)
@staticmethod
@@ -320,7 +326,12 @@ def parse_commandline():
with open(args.key, "r") as f:
key = f.read().strip()
node_config = AcnNodeConfig(
- key, args.uri, args.external_uri, args.delegate_uri, args.monitoring_uri, args.entry_peers_maddrs
+ key,
+ args.uri,
+ args.external_uri,
+ args.delegate_uri,
+ args.monitoring_uri,
+ args.entry_peers_maddrs,
)
node = AcnNodeStandalone(node_config, args.libp2p_node)
From 32cbd19330f219872306440c692c6e28f7116eb5 Mon Sep 17 00:00:00 2001
From: Lokman Rahmani
Date: Fri, 9 Oct 2020 19:22:19 +0100
Subject: [PATCH 032/155] Add libp2p benchmark file
---
.../p2p_libp2p/dht/dhtpeer/benchmarks_test.go | 312 ++++++++++++++++++
.../p2p_libp2p/dht/dhtpeer/dhtpeer.go | 10 +
.../p2p_libp2p/dht/dhtpeer/dhtpeer_test.go | 10 +-
.../connections/p2p_libp2p/utils/utils.go | 6 +-
4 files changed, 334 insertions(+), 4 deletions(-)
create mode 100644 packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go
diff --git a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go
new file mode 100644
index 0000000000..b26f0a2c87
--- /dev/null
+++ b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go
@@ -0,0 +1,312 @@
+/* -*- coding: utf-8 -*-
+* ------------------------------------------------------------------------------
+*
+* Copyright 2018-2019 Fetch.AI Limited
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+* ------------------------------------------------------------------------------
+ */
+
+package dhtpeer
+
+import (
+ "bufio"
+ "net"
+ "os"
+ "testing"
+
+ "libp2p_node/aea"
+ "libp2p_node/utils"
+)
+
+// to run benchmark: go test -p 1 -count 20 libp2p_node/dht/dhtpeer/ -run=XXX -bench B -benchtime=20x
+
+/* **********************************
+ * baseline TCP connection benchmark
+ * ********************************** */
+
+func acceptAndEcho(server net.Listener) {
+ for {
+ conn, err := server.Accept()
+ if err != nil {
+ return
+ }
+ go func() {
+ for {
+ buf, err := utils.ReadBytesConn(conn)
+ if err != nil {
+ return
+ }
+ err = utils.WriteBytesConn(conn, buf)
+
+ }
+ }()
+ }
+}
+
+func connect(uri string, b *testing.B) net.Conn {
+ conn, err := net.Dial("tcp", uri)
+ if err != nil {
+ b.Fatal(err.Error())
+ }
+ return conn
+
+}
+func sendAndReceive(conn net.Conn, buf []byte, b *testing.B) {
+ err := utils.WriteBytesConn(conn, buf)
+ if err != nil {
+ b.Fatal(err.Error())
+ }
+ _, err = utils.ReadBytesConn(conn)
+}
+
+func connectAndSend(buf []byte, b *testing.B) {
+ conn := connect("localhost:12345", b)
+ sendAndReceive(conn, buf, b)
+ conn.Close()
+}
+
+func BenchmarkBaselineTCPEcho(b *testing.B) {
+
+ tcpServer, err := net.Listen("tcp", "localhost:12345")
+ if err != nil {
+ b.Fatal(err.Error())
+ }
+ go acceptAndEcho(tcpServer)
+ buf := make([]byte, 200)
+ conn := connect("localhost:12345", b)
+
+ for i := 0; i < b.N; i++ {
+ sendAndReceive(conn, buf, b)
+ }
+ b.StopTimer()
+ tcpServer.Close()
+ b.StartTimer()
+
+}
+
+func BenchmarkBaselineTCPConnectAndEcho(b *testing.B) {
+
+ tcpServer, err := net.Listen("tcp", "localhost:12345")
+ if err != nil {
+ b.Fatal(err.Error())
+ }
+ go acceptAndEcho(tcpServer)
+ buf := make([]byte, 200)
+
+ for i := 0; i < b.N; i++ {
+ //var elapsed time.Duration
+ //start := time.Now()
+ b.ResetTimer()
+ connectAndSend(buf, b)
+ b.StopTimer()
+ //elapsed = time.Since(start)
+ //fmt.Println("Elapsed ", elapsed.String())
+ b.StartTimer()
+ }
+ b.StopTimer()
+ tcpServer.Close()
+ b.StartTimer()
+
+}
+
+/* **********************************
+ * Peer DHT operations benchmark
+ * ********************************** */
+
+var keysFilePath = "/home/lokman/dev/aea/agents-aea/benchmark_keys.txt"
+var addrsFilePath = "/home/lokman/dev/aea/agents-aea/benchmark_addrs.txt"
+
+func getKeysAndAddrs(b *testing.B) (keys []string, addrs []string) {
+ keysFile, err := os.Open(keysFilePath)
+ if err != nil {
+ b.Fatal(err)
+ }
+ defer keysFile.Close()
+ addrsFile, err := os.Open(addrsFilePath)
+ if err != nil {
+ b.Fatal(err)
+ }
+ defer addrsFile.Close()
+
+ ksc := bufio.NewScanner(keysFile)
+ asc := bufio.NewScanner(addrsFile)
+
+ keys = []string{}
+ addrs = []string{}
+ for ksc.Scan() && asc.Scan() {
+ keys = append(keys, ksc.Text())
+ addrs = append(addrs, asc.Text())
+ }
+ return keys, addrs
+}
+
+func deployPeers(number uint16, b *testing.B) ([]*DHTPeer, []string) {
+ keys, addrs := getKeysAndAddrs(b)
+ peers := make([]*DHTPeer, 0, number)
+ for i := uint16(0); i < number; i++ {
+ entry := []string{}
+ if i > 0 {
+ entry = append(entry, peers[i-1].MultiAddr())
+ }
+ peer, _, err := SetupLocalDHTPeer(
+ keys[i], addrs[i], DefaultLocalPort+i, 0,
+ entry,
+ )
+ if err != nil {
+ b.Fatal("Failed to initialize DHTPeer:", err)
+ }
+ peers = append(peers, peer)
+ }
+ return peers, addrs
+}
+
+func closePeers(peers ...*DHTPeer) {
+ for _, peer := range peers {
+ peer.Close()
+ }
+}
+
+func benchmarkDHTPeerRegisterAddress(npeers uint16, b *testing.B) {
+ peers, addrs := deployPeers(npeers, b)
+ ensureAddressAnnounced(peers...)
+ defer closePeers(peers...)
+
+ peer, peerCleanup, err := SetupLocalDHTPeer(
+ FetchAITestKeys[1], "", DefaultLocalPort+npeers+1, 0,
+ []string{peers[0].MultiAddr()},
+ )
+ if err != nil {
+ b.Fatal(err.Error())
+ }
+ defer peerCleanup()
+
+ for i := 0; i < b.N; i++ {
+ b.ResetTimer()
+ peer.registerAgentAddress(addrs[len(addrs)-1-i%len(addrs)])
+ }
+}
+
+func BenchmarkDHTPeerRegisterAddress2(b *testing.B) { benchmarkDHTPeerRegisterAddress(2, b) }
+func BenchmarkDHTPeerRegisterAddress8(b *testing.B) { benchmarkDHTPeerRegisterAddress(8, b) }
+func BenchmarkDHTPeerRegisterAddress32(b *testing.B) { benchmarkDHTPeerRegisterAddress(32, b) }
+func BenchmarkDHTPeerRegisterAddress128(b *testing.B) { benchmarkDHTPeerRegisterAddress(128, b) }
+func BenchmarkDHTPeerRegisterAddress256(b *testing.B) { benchmarkDHTPeerRegisterAddress(256, b) }
+
+func benchmarkDHTPeerLookupAddress(npeers uint16, b *testing.B) {
+ peers, addrs := deployPeers(npeers, b)
+ ensureAddressAnnounced(peers...)
+ defer closePeers(peers...)
+
+ peer, peerCleanup, err := SetupLocalDHTPeer(
+ FetchAITestKeys[1], AgentsTestAddresses[1], DefaultLocalPort+npeers+1, 0,
+ []string{peers[len(peers)-1].MultiAddr()},
+ )
+ if err != nil {
+ b.Fatal(err.Error())
+ }
+ defer peerCleanup()
+ ensureAddressAnnounced(peer)
+
+ for i := 0; i < b.N; i++ {
+ b.ResetTimer()
+ peer.lookupAddressDHT(addrs[len(peers)-1-i%len(peers)])
+ }
+}
+
+func BenchmarkDHTPeerLookupAddress2(b *testing.B) { benchmarkDHTPeerLookupAddress(2, b) }
+func BenchmarkDHTPeerLookupAddress8(b *testing.B) { benchmarkDHTPeerLookupAddress(8, b) }
+func BenchmarkDHTPeerLookupAddress32(b *testing.B) { benchmarkDHTPeerLookupAddress(32, b) }
+func BenchmarkDHTPeerLookupAddress128(b *testing.B) { benchmarkDHTPeerLookupAddress(128, b) }
+func BenchmarkDHTPeerLookupAddress256(b *testing.B) { benchmarkDHTPeerLookupAddress(256, b) }
+
+func benchmarkDHTPeerJoin(npeers uint16, b *testing.B) {
+ peers, _ := deployPeers(npeers, b)
+ ensureAddressAnnounced(peers...)
+ defer closePeers(peers...)
+
+ for i := 0; i < b.N; i++ {
+ b.ResetTimer()
+ peer, peerCleanup, err := SetupLocalDHTPeer(
+ FetchAITestKeys[1], AgentsTestAddresses[1], DefaultLocalPort+npeers+1, 0,
+ []string{peers[i%len(peers)].MultiAddr()},
+ )
+ if err != nil {
+ b.Fatal(err.Error())
+ }
+ ensureAddressAnnounced(peer)
+ b.StopTimer()
+ peerCleanup()
+ b.StartTimer()
+ }
+}
+
+func BenchmarkDHTPeerJoin2(b *testing.B) { benchmarkDHTPeerJoin(2, b) }
+func BenchmarkDHTPeerJoin8(b *testing.B) { benchmarkDHTPeerJoin(8, b) }
+func BenchmarkDHTPeerJoin32(b *testing.B) { benchmarkDHTPeerJoin(32, b) }
+func BenchmarkDHTPeerJoin128(b *testing.B) { benchmarkDHTPeerJoin(128, b) }
+func BenchmarkDHTPeerJoin256(b *testing.B) { benchmarkDHTPeerJoin(256, b) }
+func setupEchoServicePeers(peers ...*DHTPeer) {
+ for _, peer := range peers {
+ peer.ProcessEnvelope(func(envel *aea.Envelope) error {
+ err := peer.RouteEnvelope(&aea.Envelope{
+ To: envel.Sender,
+ Sender: envel.To,
+ })
+ return err
+ })
+ }
+}
+
+func benchmarkDHTPeerEchoMessage(npeers uint16, b *testing.B) {
+ peers, addrs := deployPeers(npeers, b)
+ ensureAddressAnnounced(peers...)
+ defer closePeers(peers...)
+ setupEchoServicePeers(peers...)
+
+ peer, peerCleanup, err := SetupLocalDHTPeer(
+ FetchAITestKeys[1], AgentsTestAddresses[1], DefaultLocalPort+npeers+1, 0,
+ []string{peers[len(peers)-1].MultiAddr()},
+ )
+ if err != nil {
+ b.Fatal(err.Error())
+ }
+ defer peerCleanup()
+ ensureAddressAnnounced(peer)
+ rxPeer := make(chan *aea.Envelope, 10)
+ peer.ProcessEnvelope(func(envel *aea.Envelope) error {
+ rxPeer <- envel
+ return nil
+ })
+
+ for i := 0; i < b.N; i++ {
+ envel := &aea.Envelope{
+ To: addrs[len(peers)-1-i%len(peers)],
+ Sender: AgentsTestAddresses[1],
+ Message: make([]byte, 101),
+ }
+ b.ResetTimer()
+ err = peer.RouteEnvelope(envel)
+ if err != nil {
+ b.Error("Failed to RouteEnvelope from peer 2 to peer 1:", err)
+ }
+ <-rxPeer
+ }
+}
+
+func BenchmarkDHTPeerEchoMessage2(b *testing.B) { benchmarkDHTPeerEchoMessage(2, b) }
+func BenchmarkDHTPeerEchoMessage8(b *testing.B) { benchmarkDHTPeerEchoMessage(8, b) }
+func BenchmarkDHTPeerEchoMessage32(b *testing.B) { benchmarkDHTPeerEchoMessage(32, b) }
+func BenchmarkDHTPeerEchoMessage128(b *testing.B) { benchmarkDHTPeerEchoMessage(128, b) }
+func BenchmarkDHTPeerEchoMessage256(b *testing.B) { benchmarkDHTPeerEchoMessage(256, b) }
diff --git a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/dhtpeer.go b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/dhtpeer.go
index 54ac7948b7..32f006ffb9 100644
--- a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/dhtpeer.go
+++ b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/dhtpeer.go
@@ -818,6 +818,7 @@ func (dhtPeer *DHTPeer) handleAeaRegisterStream(stream network.Stream) {
func (dhtPeer *DHTPeer) registerAgentAddress(addr string) error {
_, _, linfo, _ := dhtPeer.getLoggers()
+ //_, lwarn, linfo, _ := dhtPeer.getLoggers()
addressCID, err := utils.ComputeCID(addr)
if err != nil {
@@ -831,7 +832,16 @@ func (dhtPeer *DHTPeer) registerAgentAddress(addr string) error {
linfo().Str("op", "register").
Str("addr", addr).
Msgf("Announcing address to the dht with cid key %s", addressCID.String())
+ //var elapsed time.Duration
+ //start := time.Now()
err = dhtPeer.dht.Provide(ctx, addressCID, true)
+ //elapsed = time.Since(start)
+
+ /*
+ lwarn().Str("op", "register").
+ Str("addr", addr).
+ Msgf("RegisterAddress %l", elapsed.Microseconds())
+ */
if err != context.DeadlineExceeded {
return err
}
diff --git a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/dhtpeer_test.go b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/dhtpeer_test.go
index 8808fd8461..70efa756a6 100644
--- a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/dhtpeer_test.go
+++ b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/dhtpeer_test.go
@@ -1322,12 +1322,18 @@ func SetupLocalDHTPeer(key string, addr string, dhtPort uint16, delegatePort uin
LocalURI(DefaultLocalHost, dhtPort),
PublicURI(DefaultLocalHost, dhtPort),
IdentityFromFetchAIKey(key),
- RegisterAgentAddress(addr, func() bool { return true }),
EnableRelayService(),
- EnableDelegateService(delegatePort),
BootstrapFrom(entry),
}
+ if addr != "" {
+ opts = append(opts, RegisterAgentAddress(addr, func() bool { return true }))
+ }
+
+ if delegatePort != 0 {
+ opts = append(opts, EnableDelegateService(delegatePort))
+ }
+
dhtPeer, err := New(opts...)
if err != nil {
return nil, nil, err
diff --git a/packages/fetchai/connections/p2p_libp2p/utils/utils.go b/packages/fetchai/connections/p2p_libp2p/utils/utils.go
index 250ed82fa3..b2f98dacef 100644
--- a/packages/fetchai/connections/p2p_libp2p/utils/utils.go
+++ b/packages/fetchai/connections/p2p_libp2p/utils/utils.go
@@ -50,6 +50,7 @@ import (
"libp2p_node/aea"
)
+var LoggerGlobalLevel zerolog.Level = zerolog.DebugLevel
var logger zerolog.Logger = NewDefaultLogger()
/*
@@ -69,7 +70,7 @@ func newConsoleLogger() zerolog.Logger {
func NewDefaultLogger() zerolog.Logger {
return newConsoleLogger().
With().Timestamp().
- Logger()
+ Logger().Level(LoggerGlobalLevel)
}
// NewDefaultLoggerWithFields zerolog console writer
@@ -79,7 +80,8 @@ func NewDefaultLoggerWithFields(fields map[string]string) zerolog.Logger {
for key, val := range fields {
logger = logger.Str(key, val)
}
- return logger.Logger()
+ return logger.Logger().Level(LoggerGlobalLevel)
+
}
/*
From 11f5459cb84f60e6cacf1f43ea30885e4b66dd25 Mon Sep 17 00:00:00 2001
From: Lokman Rahmani
Date: Fri, 9 Oct 2020 19:44:47 +0100
Subject: [PATCH 033/155] Update fingerprint
---
.../fetchai/agents/tac_controller_contract/aea-config.yaml | 4 ++--
.../agents/tac_participant_contract/aea-config.yaml | 4 ++--
packages/fetchai/connections/p2p_libp2p/connection.yaml | 7 ++++---
.../connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go | 4 ++--
packages/hashes.csv | 6 +++---
5 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/packages/fetchai/agents/tac_controller_contract/aea-config.yaml b/packages/fetchai/agents/tac_controller_contract/aea-config.yaml
index 4bad5ad035..9846c1d80b 100644
--- a/packages/fetchai/agents/tac_controller_contract/aea-config.yaml
+++ b/packages/fetchai/agents/tac_controller_contract/aea-config.yaml
@@ -37,8 +37,8 @@ default_routing:
fetchai/ledger_api:0.4.0: fetchai/ledger:0.6.0
fetchai/oef_search:0.7.0: fetchai/soef:0.9.0
---
-author: fetchai
name: soef
+author: fetchai
version: 0.9.0
type: connection
config:
@@ -47,8 +47,8 @@ config:
soef_addr: soef.fetch.ai
soef_port: 9002
---
-author: fetchai
name: tac_control
+author: fetchai
version: 0.8.0
type: skill
is_abstract: true
diff --git a/packages/fetchai/agents/tac_participant_contract/aea-config.yaml b/packages/fetchai/agents/tac_participant_contract/aea-config.yaml
index a1a2ff2688..32726f5f0d 100644
--- a/packages/fetchai/agents/tac_participant_contract/aea-config.yaml
+++ b/packages/fetchai/agents/tac_participant_contract/aea-config.yaml
@@ -34,12 +34,12 @@ default_routing:
fetchai/ledger_api:0.4.0: fetchai/ledger:0.6.0
fetchai/oef_search:0.7.0: fetchai/soef:0.9.0
---
-author: fetchai
name: tac_participation
+author: fetchai
version: 0.9.0
type: skill
---
-author: fetchai
name: tac_negotiation
+author: fetchai
version: 0.10.0
type: skill
diff --git a/packages/fetchai/connections/p2p_libp2p/connection.yaml b/packages/fetchai/connections/p2p_libp2p/connection.yaml
index 323a12b3e1..9133bb6435 100644
--- a/packages/fetchai/connections/p2p_libp2p/connection.yaml
+++ b/packages/fetchai/connections/p2p_libp2p/connection.yaml
@@ -21,14 +21,15 @@ fingerprint:
dht/dhtclient/options.go: QmPorj38wNrxGrzsbFe5wwLmiHzxbTJ2VsgvSd8tLDYS8s
dht/dhtnode/dhtnode.go: QmbyhgbCSAbQ1QsDw7FM7Nt5sZcvhbupA1jv5faxutbV7N
dht/dhtnode/streams.go: Qmc2JcyiU4wHsgDj6aUunMAp4c5yMzo2ixeqRZHSW5PVwo
- dht/dhtpeer/dhtpeer.go: QmScT5pyzFaDV7KWxe8AVzsU1jCi4TNKrkyh22ziXjMjcc
- dht/dhtpeer/dhtpeer_test.go: QmeCWUddyT8Bk9gXaafvksExj8ceMUmcdP8dLEcp7P2UFF
+ dht/dhtpeer/benchmarks_test.go: Qmc1G3aaEgR7TdrvbUMkDCP8aWrznBZKUYQwUUpwjU8azK
+ dht/dhtpeer/dhtpeer.go: QmReF7a4G9rADbiN43WJAiwdmSeWW7CibHoBu26UcNDgSF
+ dht/dhtpeer/dhtpeer_test.go: QmeWksk2g4hmQPNUeF9SbdAdmMmAL2RhkHLcNHrFcBeGby
dht/dhtpeer/options.go: QmVgL17zbVSU1DfV4TMd3NZQn8t3Qe4zqtCHMRfD4eCLd9
dht/dhttests/dhttests.go: QmZpYRCiVARGL1n4nDwqjhzHA95Y4ACNWoa3HSDnB6PitK
go.mod: QmacqAAxC3dkydmfbEyVWVkMDmZECTWKZcBoPyRSnheQzD
go.sum: Qmbu57aSPSqanJ1xHNmMHAqLL8nvCV61URknizsKJDvenG
libp2p_node.go: QmYczbp9C62ykF4pUG2onF8nkYvfKsEsqwWxcLWcWwcP9u
- utils/utils.go: QmSdLqVNwtupDKxvE2qbCEEoACCaRG2ccNPq6p34YtrDqA
+ utils/utils.go: QmaqHQATfcrhtzLqwEGGmkqSx2qucoKk4HMSK7NirnHzHT
fingerprint_ignore_patterns: []
protocols: []
class_name: P2PLibp2pConnection
diff --git a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go
index b26f0a2c87..5a461f94fb 100644
--- a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go
+++ b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go
@@ -125,8 +125,8 @@ func BenchmarkBaselineTCPConnectAndEcho(b *testing.B) {
* Peer DHT operations benchmark
* ********************************** */
-var keysFilePath = "/home/lokman/dev/aea/agents-aea/benchmark_keys.txt"
-var addrsFilePath = "/home/lokman/dev/aea/agents-aea/benchmark_addrs.txt"
+var keysFilePath = "/path/to/file/benchmark_keys.txt"
+var addrsFilePath = "/path/to/file/benchmark_addrs.txt"
func getKeysAndAddrs(b *testing.B) (keys []string, addrs []string) {
keysFile, err := os.Open(keysFilePath)
diff --git a/packages/hashes.csv b/packages/hashes.csv
index 076c12ab50..ca5546477e 100644
--- a/packages/hashes.csv
+++ b/packages/hashes.csv
@@ -12,9 +12,9 @@ fetchai/agents/ml_model_trainer,QmWnBK6TGFro2VrtcwwBq1eztiT5y4DV92DdeyHPQqGzcY
fetchai/agents/my_first_aea,QmYqeuaG7mkxqPZTM2qUHP2bMm1A7VsSDLi6BfW6SaFbuZ
fetchai/agents/simple_service_registration,QmY4oz8n2zjJnAa3vHRRDuzpZi8Taf8qsScX7NJoXrTk3u
fetchai/agents/tac_controller,QmWVvJemSdE5N5iyMuDt5ZHh1FA32oijHxBqq91zaNkdY3
-fetchai/agents/tac_controller_contract,QmUaxxECe2Zmftqwc5qT85S521mJuu5rBd9o8t8HSQfYLM
+fetchai/agents/tac_controller_contract,QmSZRM9QqFpZDosBuY1gCgX4Ho8icAMAnyh6VMti6UdwVE
fetchai/agents/tac_participant,QmRmswKxJ9mdQe6zFRqxr9U1ZpYTybQf3DKsrAySt39aVc
-fetchai/agents/tac_participant_contract,QmRhzdwU4rNWPnofhXtsCmQav5imfAyMm4GiDVZx7zfT8t
+fetchai/agents/tac_participant_contract,QmVuA9fJAM2jrJH6PCfcq12mgp6999LFCktwkLNjhHhsLz
fetchai/agents/thermometer_aea,QmT1GNUCcB6xqnmB1vv3jTs4HqeYM6tLnnL4TSjv5raHpk
fetchai/agents/thermometer_client,QmdWMJCb7Pkz8F3emJ8wKhNWpnEUXHpBFQTGcmJyziu6kH
fetchai/agents/weather_client,Qmd5iiwyqEuw7Fg8NkdLsNjkuZQRatNRADpXVXwG13BvtP
@@ -25,7 +25,7 @@ fetchai/connections/http_server,QmT6JV2sB1rv7XZgx1bEpMjfQJAtpq775D2n8yvzKzSXYK
fetchai/connections/ledger,QmPwbSbzK66j147Bjjxaqp3jRAR2ui59zthqFAqB5i7Uxy
fetchai/connections/local,QmNXMDuB7vfGrhv2Q4R8REDicSUgXfVPd7x1tAP3847jsr
fetchai/connections/oef,QmZ83PNJ8BfEii7EBrw4WPguEZXt3ZSXuUJDbx4Ehem8Zw
-fetchai/connections/p2p_libp2p,QmbPgTY8am7PgLoP3ksaHyuwZzfFGXN4cBrvjV9byramEh
+fetchai/connections/p2p_libp2p,QmW9jyBeqJX5eitWq7F5o2FWseNzW8SGLrcuhE91Dw6Q9U
fetchai/connections/p2p_libp2p_client,Qmbi1hU4hNeRms1BxYzAhLJMr3uPyr7uLnK3BAy2jozdYH
fetchai/connections/p2p_stub,QmecGYtXsb7HA2dSWrw2ARNTPFqZsKXAbVroBo57cdUQSG
fetchai/connections/scaffold,QmNUta43nLexAHaXLgmLQYEjntLXSV6MLNvc6Q2CTx7eBS
From 5a2bb78c669eacb55d39bff7c7a0fd3f4524bb9e Mon Sep 17 00:00:00 2001
From: Lokman Rahmani
Date: Sat, 10 Oct 2020 11:41:25 +0100
Subject: [PATCH 034/155] Disable peer logging for benchmark
---
.../connections/p2p_libp2p/connection.yaml | 8 +-
.../p2p_libp2p/dht/dhtpeer/benchmarks_test.go | 154 ++++++++++++------
.../p2p_libp2p/dht/dhtpeer/dhtpeer.go | 5 +
.../p2p_libp2p/dht/dhtpeer/options.go | 10 ++
.../connections/p2p_libp2p/utils/utils.go | 11 +-
packages/hashes.csv | 2 +-
6 files changed, 132 insertions(+), 58 deletions(-)
diff --git a/packages/fetchai/connections/p2p_libp2p/connection.yaml b/packages/fetchai/connections/p2p_libp2p/connection.yaml
index 9133bb6435..45a0090225 100644
--- a/packages/fetchai/connections/p2p_libp2p/connection.yaml
+++ b/packages/fetchai/connections/p2p_libp2p/connection.yaml
@@ -21,15 +21,15 @@ fingerprint:
dht/dhtclient/options.go: QmPorj38wNrxGrzsbFe5wwLmiHzxbTJ2VsgvSd8tLDYS8s
dht/dhtnode/dhtnode.go: QmbyhgbCSAbQ1QsDw7FM7Nt5sZcvhbupA1jv5faxutbV7N
dht/dhtnode/streams.go: Qmc2JcyiU4wHsgDj6aUunMAp4c5yMzo2ixeqRZHSW5PVwo
- dht/dhtpeer/benchmarks_test.go: Qmc1G3aaEgR7TdrvbUMkDCP8aWrznBZKUYQwUUpwjU8azK
- dht/dhtpeer/dhtpeer.go: QmReF7a4G9rADbiN43WJAiwdmSeWW7CibHoBu26UcNDgSF
+ dht/dhtpeer/benchmarks_test.go: QmVhWzMcvNvAYwdd7bUabymCidZR1SBqbqR1qP6QHrpXv5
+ dht/dhtpeer/dhtpeer.go: QmV4qpQXUV3e6hsgpxDWBDqKWHDJeTZMuHzrkGciZTBrZT
dht/dhtpeer/dhtpeer_test.go: QmeWksk2g4hmQPNUeF9SbdAdmMmAL2RhkHLcNHrFcBeGby
- dht/dhtpeer/options.go: QmVgL17zbVSU1DfV4TMd3NZQn8t3Qe4zqtCHMRfD4eCLd9
+ dht/dhtpeer/options.go: QmbZkL4x9N3WwMxibXR9gkcdanskRazXaq4LNXf1GwPao9
dht/dhttests/dhttests.go: QmZpYRCiVARGL1n4nDwqjhzHA95Y4ACNWoa3HSDnB6PitK
go.mod: QmacqAAxC3dkydmfbEyVWVkMDmZECTWKZcBoPyRSnheQzD
go.sum: Qmbu57aSPSqanJ1xHNmMHAqLL8nvCV61URknizsKJDvenG
libp2p_node.go: QmYczbp9C62ykF4pUG2onF8nkYvfKsEsqwWxcLWcWwcP9u
- utils/utils.go: QmaqHQATfcrhtzLqwEGGmkqSx2qucoKk4HMSK7NirnHzHT
+ utils/utils.go: QmWMTas6nMGL5R4MtEZcAq8XEse8e66AhcnW7hJV11dnki
fingerprint_ignore_patterns: []
protocols: []
class_name: P2PLibp2pConnection
diff --git a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go
index 5a461f94fb..933312ec51 100644
--- a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go
+++ b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go
@@ -28,14 +28,28 @@ import (
"libp2p_node/aea"
"libp2p_node/utils"
+
+ "github.com/rs/zerolog"
)
-// to run benchmark: go test -p 1 -count 20 libp2p_node/dht/dhtpeer/ -run=XXX -bench B -benchtime=20x
+/* **********
+* How to run
+* ***********
+
+ $ go test -p 1 -count 20 libp2p_node/dht/dhtpeer/ -run=XXX -bench . -benchtime=20x
+
+*/
+
+var keysFilePath = "/path/to/file/benchmark_keys.txt"
+var addrsFilePath = "/path/to/file/benchmark_addrs.txt"
+var tcpUri = "localhost:12345"
/* **********************************
* baseline TCP connection benchmark
* ********************************** */
+// helpers
+
func acceptAndEcho(server net.Listener) {
for {
conn, err := server.Accept()
@@ -72,20 +86,22 @@ func sendAndReceive(conn net.Conn, buf []byte, b *testing.B) {
}
func connectAndSend(buf []byte, b *testing.B) {
- conn := connect("localhost:12345", b)
+ conn := connect(tcpUri, b)
sendAndReceive(conn, buf, b)
conn.Close()
}
+// benchs
+
func BenchmarkBaselineTCPEcho(b *testing.B) {
- tcpServer, err := net.Listen("tcp", "localhost:12345")
+ tcpServer, err := net.Listen("tcp", tcpUri)
if err != nil {
b.Fatal(err.Error())
}
go acceptAndEcho(tcpServer)
buf := make([]byte, 200)
- conn := connect("localhost:12345", b)
+ conn := connect(tcpUri, b)
for i := 0; i < b.N; i++ {
sendAndReceive(conn, buf, b)
@@ -98,7 +114,7 @@ func BenchmarkBaselineTCPEcho(b *testing.B) {
func BenchmarkBaselineTCPConnectAndEcho(b *testing.B) {
- tcpServer, err := net.Listen("tcp", "localhost:12345")
+ tcpServer, err := net.Listen("tcp", tcpUri)
if err != nil {
b.Fatal(err.Error())
}
@@ -125,8 +141,7 @@ func BenchmarkBaselineTCPConnectAndEcho(b *testing.B) {
* Peer DHT operations benchmark
* ********************************** */
-var keysFilePath = "/path/to/file/benchmark_keys.txt"
-var addrsFilePath = "/path/to/file/benchmark_addrs.txt"
+// helpers
func getKeysAndAddrs(b *testing.B) (keys []string, addrs []string) {
keysFile, err := os.Open(keysFilePath)
@@ -152,6 +167,42 @@ func getKeysAndAddrs(b *testing.B) (keys []string, addrs []string) {
return keys, addrs
}
+func setupLocalDHTPeerForBench(key string, addr string, dhtPort uint16, delegatePort uint16, entry []string) (*DHTPeer, func(), error) {
+ /*
+ peer, peerCleanup, err := SetupLocalDHTPeer(key, addr, dhtPort, delegatePort, entry)
+ if err == nil {
+ peer.SetLogLevel(zerolog.Disabled)
+ utils.SetLoggerLevel(zerolog.Disabled)
+ }
+ return peer, peerCleanup, err
+ */
+
+ opts := []Option{
+ LocalURI(DefaultLocalHost, dhtPort),
+ PublicURI(DefaultLocalHost, dhtPort),
+ IdentityFromFetchAIKey(key),
+ EnableRelayService(),
+ BootstrapFrom(entry),
+ }
+
+ if addr != "" {
+ opts = append(opts, RegisterAgentAddress(addr, func() bool { return true }))
+ }
+
+ if delegatePort != 0 {
+ opts = append(opts, EnableDelegateService(delegatePort))
+ }
+
+ dhtPeer, err := New(opts...)
+ if err != nil {
+ return nil, nil, err
+ }
+
+ utils.SetLoggerLevel(zerolog.Disabled)
+
+ return dhtPeer, func() { dhtPeer.Close() }, nil
+}
+
func deployPeers(number uint16, b *testing.B) ([]*DHTPeer, []string) {
keys, addrs := getKeysAndAddrs(b)
peers := make([]*DHTPeer, 0, number)
@@ -160,7 +211,7 @@ func deployPeers(number uint16, b *testing.B) ([]*DHTPeer, []string) {
if i > 0 {
entry = append(entry, peers[i-1].MultiAddr())
}
- peer, _, err := SetupLocalDHTPeer(
+ peer, _, err := setupLocalDHTPeerForBench(
keys[i], addrs[i], DefaultLocalPort+i, 0,
entry,
)
@@ -178,12 +229,26 @@ func closePeers(peers ...*DHTPeer) {
}
}
-func benchmarkDHTPeerRegisterAddress(npeers uint16, b *testing.B) {
+func setupEchoServicePeers(peers ...*DHTPeer) {
+ for _, peer := range peers {
+ peer.ProcessEnvelope(func(envel *aea.Envelope) error {
+ err := peer.RouteEnvelope(&aea.Envelope{
+ To: envel.Sender,
+ Sender: envel.To,
+ })
+ return err
+ })
+ }
+}
+
+// benchs
+
+func benchmarkAgentRegistration(npeers uint16, b *testing.B) {
peers, addrs := deployPeers(npeers, b)
ensureAddressAnnounced(peers...)
defer closePeers(peers...)
- peer, peerCleanup, err := SetupLocalDHTPeer(
+ peer, peerCleanup, err := setupLocalDHTPeerForBench(
FetchAITestKeys[1], "", DefaultLocalPort+npeers+1, 0,
[]string{peers[0].MultiAddr()},
)
@@ -198,18 +263,12 @@ func benchmarkDHTPeerRegisterAddress(npeers uint16, b *testing.B) {
}
}
-func BenchmarkDHTPeerRegisterAddress2(b *testing.B) { benchmarkDHTPeerRegisterAddress(2, b) }
-func BenchmarkDHTPeerRegisterAddress8(b *testing.B) { benchmarkDHTPeerRegisterAddress(8, b) }
-func BenchmarkDHTPeerRegisterAddress32(b *testing.B) { benchmarkDHTPeerRegisterAddress(32, b) }
-func BenchmarkDHTPeerRegisterAddress128(b *testing.B) { benchmarkDHTPeerRegisterAddress(128, b) }
-func BenchmarkDHTPeerRegisterAddress256(b *testing.B) { benchmarkDHTPeerRegisterAddress(256, b) }
-
-func benchmarkDHTPeerLookupAddress(npeers uint16, b *testing.B) {
+func benchmarkAgentLookup(npeers uint16, b *testing.B) {
peers, addrs := deployPeers(npeers, b)
ensureAddressAnnounced(peers...)
defer closePeers(peers...)
- peer, peerCleanup, err := SetupLocalDHTPeer(
+ peer, peerCleanup, err := setupLocalDHTPeerForBench(
FetchAITestKeys[1], AgentsTestAddresses[1], DefaultLocalPort+npeers+1, 0,
[]string{peers[len(peers)-1].MultiAddr()},
)
@@ -225,20 +284,14 @@ func benchmarkDHTPeerLookupAddress(npeers uint16, b *testing.B) {
}
}
-func BenchmarkDHTPeerLookupAddress2(b *testing.B) { benchmarkDHTPeerLookupAddress(2, b) }
-func BenchmarkDHTPeerLookupAddress8(b *testing.B) { benchmarkDHTPeerLookupAddress(8, b) }
-func BenchmarkDHTPeerLookupAddress32(b *testing.B) { benchmarkDHTPeerLookupAddress(32, b) }
-func BenchmarkDHTPeerLookupAddress128(b *testing.B) { benchmarkDHTPeerLookupAddress(128, b) }
-func BenchmarkDHTPeerLookupAddress256(b *testing.B) { benchmarkDHTPeerLookupAddress(256, b) }
-
-func benchmarkDHTPeerJoin(npeers uint16, b *testing.B) {
+func benchmarkPeerJoin(npeers uint16, b *testing.B) {
peers, _ := deployPeers(npeers, b)
ensureAddressAnnounced(peers...)
defer closePeers(peers...)
for i := 0; i < b.N; i++ {
b.ResetTimer()
- peer, peerCleanup, err := SetupLocalDHTPeer(
+ peer, peerCleanup, err := setupLocalDHTPeerForBench(
FetchAITestKeys[1], AgentsTestAddresses[1], DefaultLocalPort+npeers+1, 0,
[]string{peers[i%len(peers)].MultiAddr()},
)
@@ -252,30 +305,13 @@ func benchmarkDHTPeerJoin(npeers uint16, b *testing.B) {
}
}
-func BenchmarkDHTPeerJoin2(b *testing.B) { benchmarkDHTPeerJoin(2, b) }
-func BenchmarkDHTPeerJoin8(b *testing.B) { benchmarkDHTPeerJoin(8, b) }
-func BenchmarkDHTPeerJoin32(b *testing.B) { benchmarkDHTPeerJoin(32, b) }
-func BenchmarkDHTPeerJoin128(b *testing.B) { benchmarkDHTPeerJoin(128, b) }
-func BenchmarkDHTPeerJoin256(b *testing.B) { benchmarkDHTPeerJoin(256, b) }
-func setupEchoServicePeers(peers ...*DHTPeer) {
- for _, peer := range peers {
- peer.ProcessEnvelope(func(envel *aea.Envelope) error {
- err := peer.RouteEnvelope(&aea.Envelope{
- To: envel.Sender,
- Sender: envel.To,
- })
- return err
- })
- }
-}
-
-func benchmarkDHTPeerEchoMessage(npeers uint16, b *testing.B) {
+func benchmarkPeerEcho(npeers uint16, b *testing.B) {
peers, addrs := deployPeers(npeers, b)
ensureAddressAnnounced(peers...)
defer closePeers(peers...)
setupEchoServicePeers(peers...)
- peer, peerCleanup, err := SetupLocalDHTPeer(
+ peer, peerCleanup, err := setupLocalDHTPeerForBench(
FetchAITestKeys[1], AgentsTestAddresses[1], DefaultLocalPort+npeers+1, 0,
[]string{peers[len(peers)-1].MultiAddr()},
)
@@ -305,8 +341,26 @@ func benchmarkDHTPeerEchoMessage(npeers uint16, b *testing.B) {
}
}
-func BenchmarkDHTPeerEchoMessage2(b *testing.B) { benchmarkDHTPeerEchoMessage(2, b) }
-func BenchmarkDHTPeerEchoMessage8(b *testing.B) { benchmarkDHTPeerEchoMessage(8, b) }
-func BenchmarkDHTPeerEchoMessage32(b *testing.B) { benchmarkDHTPeerEchoMessage(32, b) }
-func BenchmarkDHTPeerEchoMessage128(b *testing.B) { benchmarkDHTPeerEchoMessage(128, b) }
-func BenchmarkDHTPeerEchoMessage256(b *testing.B) { benchmarkDHTPeerEchoMessage(256, b) }
+func BenchmarkAgentRegistration2(b *testing.B) { benchmarkAgentRegistration(2, b) }
+func BenchmarkAgentRegistration8(b *testing.B) { benchmarkAgentRegistration(8, b) }
+func BenchmarkAgentRegistration32(b *testing.B) { benchmarkAgentRegistration(32, b) }
+func BenchmarkAgentRegistration128(b *testing.B) { benchmarkAgentRegistration(128, b) }
+func BenchmarkAgentRegistration256(b *testing.B) { benchmarkAgentRegistration(256, b) }
+
+func BenchmarkAgentLookup2(b *testing.B) { benchmarkAgentLookup(2, b) }
+func BenchmarkAgentLookup8(b *testing.B) { benchmarkAgentLookup(8, b) }
+func BenchmarkAgentLookup32(b *testing.B) { benchmarkAgentLookup(32, b) }
+func BenchmarkAgentLookup128(b *testing.B) { benchmarkAgentLookup(128, b) }
+func BenchmarkAgentLookup256(b *testing.B) { benchmarkAgentLookup(256, b) }
+
+func BenchmarkPeerJoin2(b *testing.B) { benchmarkPeerJoin(2, b) }
+func BenchmarkPeerJoin8(b *testing.B) { benchmarkPeerJoin(8, b) }
+func BenchmarkPeerJoin32(b *testing.B) { benchmarkPeerJoin(32, b) }
+func BenchmarkPeerJoin128(b *testing.B) { benchmarkPeerJoin(128, b) }
+func BenchmarkPeerJoin256(b *testing.B) { benchmarkPeerJoin(256, b) }
+
+func BenchmarkPeerEcho2(b *testing.B) { benchmarkPeerEcho(2, b) }
+func BenchmarkPeerEcho8(b *testing.B) { benchmarkPeerEcho(8, b) }
+func BenchmarkPeerEcho32(b *testing.B) { benchmarkPeerEcho(32, b) }
+func BenchmarkPeerEcho128(b *testing.B) { benchmarkPeerEcho(128, b) }
+func BenchmarkPeerEcho256(b *testing.B) { benchmarkPeerEcho(256, b) }
diff --git a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/dhtpeer.go b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/dhtpeer.go
index 32f006ffb9..63da0697f7 100644
--- a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/dhtpeer.go
+++ b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/dhtpeer.go
@@ -289,6 +289,11 @@ func (dhtPeer *DHTPeer) getLoggers() (func(error) *zerolog.Event, func() *zerolo
return lerror, lwarn, linfo, ldebug
}
+// SetLogLevel set utils logger level
+func (dhtPeer *DHTPeer) SetLogLevel(lvl zerolog.Level) {
+ dhtPeer.logger = dhtPeer.logger.Level(lvl)
+}
+
// Close stops the DHTPeer
func (dhtPeer *DHTPeer) Close() []error {
var err error
diff --git a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/options.go b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/options.go
index 6a5d89577a..9943fcc945 100644
--- a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/options.go
+++ b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/options.go
@@ -24,6 +24,7 @@ import (
"fmt"
"github.com/multiformats/go-multiaddr"
+ "github.com/rs/zerolog"
utils "libp2p_node/utils"
)
@@ -110,3 +111,12 @@ func EnableRelayService() Option {
}
}
+
+// LoggingLevel for dhtpeer.New
+func LoggingLevel(lvl zerolog.Level) Option {
+ return func(dhtPeer *DHTPeer) error {
+ dhtPeer.logger = dhtPeer.logger.Level(lvl)
+ return nil
+ }
+
+}
diff --git a/packages/fetchai/connections/p2p_libp2p/utils/utils.go b/packages/fetchai/connections/p2p_libp2p/utils/utils.go
index b2f98dacef..7488bd8d31 100644
--- a/packages/fetchai/connections/p2p_libp2p/utils/utils.go
+++ b/packages/fetchai/connections/p2p_libp2p/utils/utils.go
@@ -50,9 +50,14 @@ import (
"libp2p_node/aea"
)
-var LoggerGlobalLevel zerolog.Level = zerolog.DebugLevel
+var loggerGlobalLevel zerolog.Level = zerolog.DebugLevel
var logger zerolog.Logger = NewDefaultLogger()
+// SetLoggerLevel set utils logger level
+func SetLoggerLevel(lvl zerolog.Level) {
+ logger.Level(lvl)
+}
+
/*
Logging
*/
@@ -70,7 +75,7 @@ func newConsoleLogger() zerolog.Logger {
func NewDefaultLogger() zerolog.Logger {
return newConsoleLogger().
With().Timestamp().
- Logger().Level(LoggerGlobalLevel)
+ Logger().Level(loggerGlobalLevel)
}
// NewDefaultLoggerWithFields zerolog console writer
@@ -80,7 +85,7 @@ func NewDefaultLoggerWithFields(fields map[string]string) zerolog.Logger {
for key, val := range fields {
logger = logger.Str(key, val)
}
- return logger.Logger().Level(LoggerGlobalLevel)
+ return logger.Logger().Level(loggerGlobalLevel)
}
diff --git a/packages/hashes.csv b/packages/hashes.csv
index ca5546477e..f3ae7f135b 100644
--- a/packages/hashes.csv
+++ b/packages/hashes.csv
@@ -25,7 +25,7 @@ fetchai/connections/http_server,QmT6JV2sB1rv7XZgx1bEpMjfQJAtpq775D2n8yvzKzSXYK
fetchai/connections/ledger,QmPwbSbzK66j147Bjjxaqp3jRAR2ui59zthqFAqB5i7Uxy
fetchai/connections/local,QmNXMDuB7vfGrhv2Q4R8REDicSUgXfVPd7x1tAP3847jsr
fetchai/connections/oef,QmZ83PNJ8BfEii7EBrw4WPguEZXt3ZSXuUJDbx4Ehem8Zw
-fetchai/connections/p2p_libp2p,QmW9jyBeqJX5eitWq7F5o2FWseNzW8SGLrcuhE91Dw6Q9U
+fetchai/connections/p2p_libp2p,QmR2SGKjxK27WtoLD1irCUVNdjnPCAxfCj178m96AuFBaw
fetchai/connections/p2p_libp2p_client,Qmbi1hU4hNeRms1BxYzAhLJMr3uPyr7uLnK3BAy2jozdYH
fetchai/connections/p2p_stub,QmecGYtXsb7HA2dSWrw2ARNTPFqZsKXAbVroBo57cdUQSG
fetchai/connections/scaffold,QmNUta43nLexAHaXLgmLQYEjntLXSV6MLNvc6Q2CTx7eBS
From 4e8d7b684638056b59f58461c842004b3ebe223d Mon Sep 17 00:00:00 2001
From: Lokman Rahmani
Date: Mon, 12 Oct 2020 09:47:59 +0100
Subject: [PATCH 035/155] Address golang ci
---
.../connections/p2p_libp2p/connection.yaml | 2 +-
.../p2p_libp2p/dht/dhtpeer/benchmarks_test.go | 16 ++++++++++++++--
packages/hashes.csv | 2 +-
3 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/packages/fetchai/connections/p2p_libp2p/connection.yaml b/packages/fetchai/connections/p2p_libp2p/connection.yaml
index 45a0090225..2e75fa043e 100644
--- a/packages/fetchai/connections/p2p_libp2p/connection.yaml
+++ b/packages/fetchai/connections/p2p_libp2p/connection.yaml
@@ -21,7 +21,7 @@ fingerprint:
dht/dhtclient/options.go: QmPorj38wNrxGrzsbFe5wwLmiHzxbTJ2VsgvSd8tLDYS8s
dht/dhtnode/dhtnode.go: QmbyhgbCSAbQ1QsDw7FM7Nt5sZcvhbupA1jv5faxutbV7N
dht/dhtnode/streams.go: Qmc2JcyiU4wHsgDj6aUunMAp4c5yMzo2ixeqRZHSW5PVwo
- dht/dhtpeer/benchmarks_test.go: QmVhWzMcvNvAYwdd7bUabymCidZR1SBqbqR1qP6QHrpXv5
+ dht/dhtpeer/benchmarks_test.go: QmdeXy7w3SguH4LBFi2SmZWDyhiyVFATQeaoVF16k1o83v
dht/dhtpeer/dhtpeer.go: QmV4qpQXUV3e6hsgpxDWBDqKWHDJeTZMuHzrkGciZTBrZT
dht/dhtpeer/dhtpeer_test.go: QmeWksk2g4hmQPNUeF9SbdAdmMmAL2RhkHLcNHrFcBeGby
dht/dhtpeer/options.go: QmbZkL4x9N3WwMxibXR9gkcdanskRazXaq4LNXf1GwPao9
diff --git a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go
index 933312ec51..3a89a39687 100644
--- a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go
+++ b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go
@@ -63,6 +63,9 @@ func acceptAndEcho(server net.Listener) {
return
}
err = utils.WriteBytesConn(conn, buf)
+ if err != nil {
+ return
+ }
}
}()
@@ -83,6 +86,9 @@ func sendAndReceive(conn net.Conn, buf []byte, b *testing.B) {
b.Fatal(err.Error())
}
_, err = utils.ReadBytesConn(conn)
+ if err != nil {
+ b.Fatal(err.Error())
+ }
}
func connectAndSend(buf []byte, b *testing.B) {
@@ -259,7 +265,10 @@ func benchmarkAgentRegistration(npeers uint16, b *testing.B) {
for i := 0; i < b.N; i++ {
b.ResetTimer()
- peer.registerAgentAddress(addrs[len(addrs)-1-i%len(addrs)])
+ err = peer.registerAgentAddress(addrs[len(addrs)-1-i%len(addrs)])
+ if err != nil {
+ b.Fail()
+ }
}
}
@@ -280,7 +289,10 @@ func benchmarkAgentLookup(npeers uint16, b *testing.B) {
for i := 0; i < b.N; i++ {
b.ResetTimer()
- peer.lookupAddressDHT(addrs[len(peers)-1-i%len(peers)])
+ _, err = peer.lookupAddressDHT(addrs[len(peers)-1-i%len(peers)])
+ if err != nil {
+ b.Fail()
+ }
}
}
diff --git a/packages/hashes.csv b/packages/hashes.csv
index f3ae7f135b..7c87b2d03b 100644
--- a/packages/hashes.csv
+++ b/packages/hashes.csv
@@ -25,7 +25,7 @@ fetchai/connections/http_server,QmT6JV2sB1rv7XZgx1bEpMjfQJAtpq775D2n8yvzKzSXYK
fetchai/connections/ledger,QmPwbSbzK66j147Bjjxaqp3jRAR2ui59zthqFAqB5i7Uxy
fetchai/connections/local,QmNXMDuB7vfGrhv2Q4R8REDicSUgXfVPd7x1tAP3847jsr
fetchai/connections/oef,QmZ83PNJ8BfEii7EBrw4WPguEZXt3ZSXuUJDbx4Ehem8Zw
-fetchai/connections/p2p_libp2p,QmR2SGKjxK27WtoLD1irCUVNdjnPCAxfCj178m96AuFBaw
+fetchai/connections/p2p_libp2p,QmNbAnW4CjAmcqrLWNWQwKmbdateXSggJmqhGevVmbGvaV
fetchai/connections/p2p_libp2p_client,Qmbi1hU4hNeRms1BxYzAhLJMr3uPyr7uLnK3BAy2jozdYH
fetchai/connections/p2p_stub,QmecGYtXsb7HA2dSWrw2ARNTPFqZsKXAbVroBo57cdUQSG
fetchai/connections/scaffold,QmNUta43nLexAHaXLgmLQYEjntLXSV6MLNvc6Q2CTx7eBS
From 1e458f9b0b8c03942ef779e5c566a42312d9c28c Mon Sep 17 00:00:00 2001
From: Lokman Rahmani
Date: Thu, 15 Oct 2020 09:46:29 +0100
Subject: [PATCH 036/155] wip
---
.../connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go | 4 ++--
.../fetchai/connections/p2p_libp2p/dht/dhtpeer/options.go | 1 +
packages/fetchai/connections/p2p_libp2p/utils/utils.go | 8 ++++----
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go
index 3a89a39687..8d2a723665 100644
--- a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go
+++ b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/benchmarks_test.go
@@ -40,8 +40,8 @@ import (
*/
-var keysFilePath = "/path/to/file/benchmark_keys.txt"
-var addrsFilePath = "/path/to/file/benchmark_addrs.txt"
+var keysFilePath = "/home/lokman/dev/aea/agents-aea/benchmark_keys.txt"
+var addrsFilePath = "/home/lokman/dev/aea/agents-aea/benchmark_addrs.txt"
var tcpUri = "localhost:12345"
/* **********************************
diff --git a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/options.go b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/options.go
index 9943fcc945..d023314f05 100644
--- a/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/options.go
+++ b/packages/fetchai/connections/p2p_libp2p/dht/dhtpeer/options.go
@@ -116,6 +116,7 @@ func EnableRelayService() Option {
func LoggingLevel(lvl zerolog.Level) Option {
return func(dhtPeer *DHTPeer) error {
dhtPeer.logger = dhtPeer.logger.Level(lvl)
+ zerolog.SetGlobalLevel(lvl)
return nil
}
diff --git a/packages/fetchai/connections/p2p_libp2p/utils/utils.go b/packages/fetchai/connections/p2p_libp2p/utils/utils.go
index 7488bd8d31..469e6bca4e 100644
--- a/packages/fetchai/connections/p2p_libp2p/utils/utils.go
+++ b/packages/fetchai/connections/p2p_libp2p/utils/utils.go
@@ -55,7 +55,7 @@ var logger zerolog.Logger = NewDefaultLogger()
// SetLoggerLevel set utils logger level
func SetLoggerLevel(lvl zerolog.Level) {
- logger.Level(lvl)
+ //logger.Level(lvl)
}
/*
@@ -67,7 +67,7 @@ func newConsoleLogger() zerolog.Logger {
return zerolog.New(zerolog.ConsoleWriter{
Out: os.Stdout,
NoColor: false,
- TimeFormat: "15:04:05.000",
+ TimeFormat: time.RFC3339Nano,
})
}
@@ -75,7 +75,7 @@ func newConsoleLogger() zerolog.Logger {
func NewDefaultLogger() zerolog.Logger {
return newConsoleLogger().
With().Timestamp().
- Logger().Level(loggerGlobalLevel)
+ Logger() //.Level(loggerGlobalLevel)
}
// NewDefaultLoggerWithFields zerolog console writer
@@ -85,7 +85,7 @@ func NewDefaultLoggerWithFields(fields map[string]string) zerolog.Logger {
for key, val := range fields {
logger = logger.Str(key, val)
}
- return logger.Logger().Level(loggerGlobalLevel)
+ return logger.Logger().Level(zerolog.Disabled) //.Level(loggerGlobalLevel)
}
From 253f657f07c1c4705f91d18fdfbdce498cbef53d Mon Sep 17 00:00:00 2001
From: David Minarsch
Date: Sat, 17 Oct 2020 11:30:15 +0100
Subject: [PATCH 037/155] add public ids to all skills, remove hard coded ids
---
aea/aea.py | 4 +-
aea/aea_builder.py | 7 ++-
aea/cli/add.py | 8 +--
aea/cli/utils/package_utils.py | 16 ++---
aea/configurations/constants.py | 3 +-
aea/contracts/base.py | 1 +
aea/contracts/scaffold/contract.py | 3 +
aea/contracts/scaffold/contract.yaml | 2 +-
aea/skills/error/__init__.py | 5 ++
aea/skills/error/skill.yaml | 2 +-
aea/skills/scaffold/__init__.py | 5 ++
aea/skills/scaffold/skill.yaml | 2 +-
.../fetchai/connections/local/connection.py | 4 +-
.../fetchai/connections/local/connection.yaml | 2 +-
.../fetchai/connections/oef/connection.py | 2 +-
.../fetchai/connections/oef/connection.yaml | 2 +-
.../fetchai/connections/soef/connection.py | 2 +-
.../fetchai/connections/soef/connection.yaml | 2 +-
.../fetchai/contracts/erc1155/contract.py | 2 +
.../fetchai/contracts/erc1155/contract.yaml | 2 +-
.../fetchai/skills/aries_alice/__init__.py | 5 ++
.../fetchai/skills/aries_alice/skill.yaml | 2 +-
.../fetchai/skills/aries_faber/__init__.py | 5 ++
.../fetchai/skills/aries_faber/skill.yaml | 2 +-
.../fetchai/skills/carpark_client/__init__.py | 5 ++
.../fetchai/skills/carpark_client/skill.yaml | 2 +-
.../skills/carpark_detection/__init__.py | 5 ++
.../skills/carpark_detection/skill.yaml | 2 +-
packages/fetchai/skills/echo/__init__.py | 5 ++
packages/fetchai/skills/echo/skill.yaml | 2 +-
.../fetchai/skills/erc1155_client/__init__.py | 5 ++
.../fetchai/skills/erc1155_client/handlers.py | 2 +-
.../fetchai/skills/erc1155_client/skill.yaml | 6 +-
.../fetchai/skills/erc1155_client/strategy.py | 8 +++
.../fetchai/skills/erc1155_deploy/__init__.py | 5 ++
.../skills/erc1155_deploy/behaviours.py | 6 +-
.../fetchai/skills/erc1155_deploy/handlers.py | 2 +-
.../fetchai/skills/erc1155_deploy/skill.yaml | 8 +--
.../fetchai/skills/erc1155_deploy/strategy.py | 7 ++-
.../fetchai/skills/generic_buyer/__init__.py | 5 ++
.../fetchai/skills/generic_buyer/skill.yaml | 2 +-
.../fetchai/skills/generic_seller/__init__.py | 5 ++
.../fetchai/skills/generic_seller/skill.yaml | 2 +-
packages/fetchai/skills/gym/__init__.py | 5 ++
packages/fetchai/skills/gym/skill.yaml | 2 +-
packages/fetchai/skills/http_echo/__init__.py | 5 ++
packages/fetchai/skills/http_echo/skill.yaml | 2 +-
.../skills/ml_data_provider/__init__.py | 5 ++
.../skills/ml_data_provider/skill.yaml | 2 +-
packages/fetchai/skills/ml_train/__init__.py | 5 ++
packages/fetchai/skills/ml_train/skill.yaml | 2 +-
.../simple_service_registration/__init__.py | 5 ++
.../simple_service_registration/skill.yaml | 2 +-
.../fetchai/skills/tac_control/__init__.py | 5 ++
.../fetchai/skills/tac_control/parameters.py | 7 +++
.../fetchai/skills/tac_control/skill.yaml | 4 +-
.../skills/tac_control_contract/__init__.py | 5 ++
.../skills/tac_control_contract/behaviours.py | 6 +-
.../skills/tac_control_contract/skill.yaml | 4 +-
.../skills/tac_negotiation/__init__.py | 5 ++
.../fetchai/skills/tac_negotiation/skill.yaml | 4 +-
.../skills/tac_negotiation/strategy.py | 5 +-
.../skills/tac_participation/__init__.py | 5 ++
.../skills/tac_participation/skill.yaml | 2 +-
.../fetchai/skills/thermometer/__init__.py | 5 ++
.../fetchai/skills/thermometer/skill.yaml | 2 +-
.../skills/thermometer_client/__init__.py | 5 ++
.../skills/thermometer_client/skill.yaml | 2 +-
.../fetchai/skills/weather_client/__init__.py | 5 ++
.../fetchai/skills/weather_client/skill.yaml | 2 +-
.../skills/weather_station/__init__.py | 5 ++
.../fetchai/skills/weather_station/skill.yaml | 2 +-
packages/hashes.csv | 58 +++++++++----------
tests/test_cli/test_utils/test_utils.py | 8 +--
74 files changed, 252 insertions(+), 103 deletions(-)
diff --git a/aea/aea.py b/aea/aea.py
index 529e86f2ab..ca33a17b2c 100644
--- a/aea/aea.py
+++ b/aea/aea.py
@@ -38,7 +38,7 @@
from aea.agent import Agent
from aea.agent_loop import AsyncAgentLoop, BaseAgentLoop, SyncAgentLoop
from aea.configurations.base import PublicId
-from aea.configurations.constants import DEFAULT_SKILL
+from aea.configurations.constants import DEFAULT_SEARCH_SERVICE_ADDRESS, DEFAULT_SKILL
from aea.connections.base import Connection
from aea.context.base import AgentContext
from aea.crypto.wallet import Wallet
@@ -88,7 +88,7 @@ def __init__(
default_connection: Optional[PublicId] = None,
default_routing: Optional[Dict[PublicId, PublicId]] = None,
connection_ids: Optional[Collection[PublicId]] = None,
- search_service_address: str = "fetchai/soef:*",
+ search_service_address: str = DEFAULT_SEARCH_SERVICE_ADDRESS,
**kwargs,
) -> None:
"""
diff --git a/aea/aea_builder.py b/aea/aea_builder.py
index 40ab4c20fe..6ca48aba47 100644
--- a/aea/aea_builder.py
+++ b/aea/aea_builder.py
@@ -55,8 +55,11 @@
DEFAULT_CONNECTION,
DEFAULT_LEDGER,
DEFAULT_PROTOCOL,
- DEFAULT_SKILL,
)
+from aea.configurations.constants import (
+ DEFAULT_SEARCH_SERVICE_ADDRESS as _DEFAULT_SEARCH_SERVICE_ADDRESS,
+)
+from aea.configurations.constants import DEFAULT_SKILL
from aea.configurations.loader import ConfigLoader, load_component_configuration
from aea.configurations.pypi import is_satisfiable, merge_dependencies
from aea.crypto.helpers import verify_or_create_private_keys
@@ -286,7 +289,7 @@ class AEABuilder(WithLogger): # pylint: disable=too-many-public-methods
DEFAULT_CONNECTION_EXCEPTION_POLICY = ExceptionPolicyEnum.propagate
DEFAULT_LOOP_MODE = "async"
DEFAULT_RUNTIME_MODE = "threaded"
- DEFAULT_SEARCH_SERVICE_ADDRESS = "fetchai/soef:*"
+ DEFAULT_SEARCH_SERVICE_ADDRESS = _DEFAULT_SEARCH_SERVICE_ADDRESS
loader = ConfigLoader.from_configuration_type(PackageType.AGENT)
diff --git a/aea/cli/add.py b/aea/cli/add.py
index 9cd30a0861..38f5b997c5 100644
--- a/aea/cli/add.py
+++ b/aea/cli/add.py
@@ -34,9 +34,9 @@
find_item_locally,
get_item_id_present,
get_package_path,
+ is_distributed_item,
is_fingerprint_correct,
is_item_present,
- is_local_item,
register_item,
)
from aea.configurations.base import PublicId
@@ -115,11 +115,11 @@ def add_item(ctx: Context, item_type: str, item_public_id: PublicId) -> None:
ctx.clean_paths.append(dest_path)
- is_distributed_item = is_local_item(item_public_id)
- if is_local and is_distributed_item:
+ is_distributed = is_distributed_item(item_public_id)
+ if is_local and is_distributed:
source_path = find_item_in_distribution(ctx, item_type, item_public_id)
package_path = copy_package_directory(source_path, dest_path)
- elif is_local and not is_distributed_item:
+ elif is_local and not is_distributed:
source_path, _ = find_item_locally(ctx, item_type, item_public_id)
package_path = copy_package_directory(source_path, dest_path)
else:
diff --git a/aea/cli/utils/package_utils.py b/aea/cli/utils/package_utils.py
index b9726e5246..050b8acb83 100644
--- a/aea/cli/utils/package_utils.py
+++ b/aea/cli/utils/package_utils.py
@@ -43,7 +43,7 @@
from aea.configurations.constants import (
DEFAULT_CONNECTION,
DEFAULT_SKILL,
- LOCAL_PROTOCOLS,
+ DISTRIBUTED_PROTOCOLS,
)
from aea.configurations.loader import ConfigLoader
from aea.crypto.helpers import verify_or_create_private_keys
@@ -507,21 +507,21 @@ def get_items(agent_config: AgentConfig, item_type: str) -> Set[PublicId]:
return getattr(agent_config, item_type_plural)
-def is_local_item(item_public_id: PublicId) -> bool:
+def is_distributed_item(item_public_id: PublicId) -> bool:
"""
- Check whether the item public id correspond to a local package.
+ Check whether the item public id correspond to a package in the distribution.
If the provided item has version 'latest', only the prefixes are compared.
- Otherwise, the function will try to match the exact version occurrence among the local packages.
+ Otherwise, the function will try to match the exact version occurrence among the distributed packages.
"""
- local_packages: List[PublicId] = [
+ distributed_packages: List[PublicId] = [
DEFAULT_CONNECTION,
- *LOCAL_PROTOCOLS,
+ *DISTRIBUTED_PROTOCOLS,
DEFAULT_SKILL,
]
if item_public_id.package_version.is_latest:
- return any(item_public_id.same_prefix(other) for other in local_packages)
- return item_public_id in local_packages
+ return any(item_public_id.same_prefix(other) for other in distributed_packages)
+ return item_public_id in distributed_packages
def try_get_balance( # pylint: disable=unused-argument
diff --git a/aea/configurations/constants.py b/aea/configurations/constants.py
index 435a026a02..3a8ebd2b30 100644
--- a/aea/configurations/constants.py
+++ b/aea/configurations/constants.py
@@ -35,4 +35,5 @@
DEFAULT_LICENSE = DL
SIGNING_PROTOCOL = PublicId.from_str("fetchai/signing:0.5.0")
STATE_UPDATE_PROTOCOL = PublicId.from_str("fetchai/state_update:0.5.0")
-LOCAL_PROTOCOLS = [DEFAULT_PROTOCOL, SIGNING_PROTOCOL, STATE_UPDATE_PROTOCOL]
+DISTRIBUTED_PROTOCOLS = [DEFAULT_PROTOCOL, SIGNING_PROTOCOL, STATE_UPDATE_PROTOCOL]
+DEFAULT_SEARCH_SERVICE_ADDRESS = "fetchai/soef:*"
diff --git a/aea/contracts/base.py b/aea/contracts/base.py
index df55fb103c..c1e7b2d5f0 100644
--- a/aea/contracts/base.py
+++ b/aea/contracts/base.py
@@ -40,6 +40,7 @@
class Contract(Component):
"""Abstract definition of a contract."""
+ contract_id = None # type: ContractId
contract_interface: Any = None
def __init__(self, contract_config: ContractConfig, **kwargs):
diff --git a/aea/contracts/scaffold/contract.py b/aea/contracts/scaffold/contract.py
index a472786e28..e3da5378aa 100644
--- a/aea/contracts/scaffold/contract.py
+++ b/aea/contracts/scaffold/contract.py
@@ -21,6 +21,7 @@
from typing import Any, Dict
+from aea.configurations.base import PublicId
from aea.contracts.base import Contract
from aea.crypto.base import LedgerApi
@@ -28,6 +29,8 @@
class MyScaffoldContract(Contract):
"""The scaffold contract class for a smart contract."""
+ contract_id = PublicId.from_str("fetchai/scaffold:0.1.0")
+
@classmethod
def get_raw_transaction(
cls, ledger_api: LedgerApi, contract_address: str, **kwargs
diff --git a/aea/contracts/scaffold/contract.yaml b/aea/contracts/scaffold/contract.yaml
index 75d77014fe..d758cfd2da 100644
--- a/aea/contracts/scaffold/contract.yaml
+++ b/aea/contracts/scaffold/contract.yaml
@@ -7,7 +7,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
__init__.py: QmPBwWhEg3wcH1q9612srZYAYdANVdWLDFWKs7TviZmVj6
- contract.py: QmZ2b8pRckXaBpeSdw1nnEqy3dT4Gro7aijpYU9QKFTJdk
+ contract.py: QmQrasJcMjhnVS26sXNxPTNH7yBZhRm3ZcNSguTFLV9xaS
fingerprint_ignore_patterns: []
class_name: MyScaffoldContract
contract_interface_paths: {}
diff --git a/aea/skills/error/__init__.py b/aea/skills/error/__init__.py
index 96c80ac32c..23855eede3 100644
--- a/aea/skills/error/__init__.py
+++ b/aea/skills/error/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the error skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/error:0.7.0")
diff --git a/aea/skills/error/skill.yaml b/aea/skills/error/skill.yaml
index 92474217db..2cae39beee 100644
--- a/aea/skills/error/skill.yaml
+++ b/aea/skills/error/skill.yaml
@@ -6,7 +6,7 @@ description: The error skill implements basic error handling required by all AEA
license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
- __init__.py: QmYm7UaWVmRy2i35MBKZRnBrpWBJswLdEH6EY1QQKXdQES
+ __init__.py: QmPGDeDxEZR4Fk4gD5a9a8Pm54NVQepTaZaVtDEuSMRYeN
handlers.py: QmU5PviCqLGX7h9nSAAjcSMs1xsLc8TckSu4KcnbLPCaBG
fingerprint_ignore_patterns: []
contracts: []
diff --git a/aea/skills/scaffold/__init__.py b/aea/skills/scaffold/__init__.py
index 81d567366d..3ceb7ee7ef 100644
--- a/aea/skills/scaffold/__init__.py
+++ b/aea/skills/scaffold/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the default skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/scaffold:0.1.0")
diff --git a/aea/skills/scaffold/skill.yaml b/aea/skills/scaffold/skill.yaml
index 6fcdeb71ad..978e024636 100644
--- a/aea/skills/scaffold/skill.yaml
+++ b/aea/skills/scaffold/skill.yaml
@@ -6,7 +6,7 @@ description: The scaffold skill is a scaffold for your own skill implementation.
license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
- __init__.py: QmNkZAetyctaZCUf6ACxP5onGWsSxu2hjSNoFmJ3ta6Lta
+ __init__.py: QmYRssFqDqb3uWDvfoXy93avisjKRx2yf9SbAQXnkRj1QB
behaviours.py: QmNgDDAmBzWBeBF7e5gUCny38kdqVVfpvHGaAZVZcMtm9Q
handlers.py: QmUFLmnyph4sstd5vxq4Q7up8PVbVMctiiZi8EZMsK1Kj6
my_model.py: QmPaZ6G37Juk63mJj88nParaEp71XyURts8AmmX1axs24V
diff --git a/packages/fetchai/connections/local/connection.py b/packages/fetchai/connections/local/connection.py
index aec601bbf1..cb9a007cf4 100644
--- a/packages/fetchai/connections/local/connection.py
+++ b/packages/fetchai/connections/local/connection.py
@@ -26,7 +26,7 @@
from typing import Dict, List, Optional, Tuple, Type, cast
from aea.common import Address
-from aea.configurations.base import ProtocolId, PublicId
+from aea.configurations.base import PublicId
from aea.connections.base import Connection, ConnectionStates
from aea.exceptions import enforce
from aea.helpers.search.models import Description
@@ -222,7 +222,7 @@ async def _handle_envelope(self, envelope: Envelope) -> None:
:param envelope: the envelope
:return: None
"""
- if envelope.protocol_id == ProtocolId.from_str("fetchai/oef_search:0.8.0"):
+ if envelope.protocol_id == OefSearchMessage.protocol_id:
await self._handle_oef_message(envelope)
else:
OEFLocalConnection._ensure_valid_envelope_for_external_comms( # pylint: disable=protected-access
diff --git a/packages/fetchai/connections/local/connection.yaml b/packages/fetchai/connections/local/connection.yaml
index bff14c1dbe..53bb572da7 100644
--- a/packages/fetchai/connections/local/connection.yaml
+++ b/packages/fetchai/connections/local/connection.yaml
@@ -8,7 +8,7 @@ aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmbK7MtyAVqh2LmSh9TY6yBZqfWaAXURP4rQGATyP2hTKC
__init__.py: QmeeoX5E38Ecrb1rLdeFyyxReHLrcJoETnBcPbcNWVbiKG
- connection.py: QmbhmhzTKpHAd6Ea5yiueuboihMwdJ2xH1b1yYUj97Cfxd
+ connection.py: QmZfKAu1j8ZG56bXPUDmtvK4eCGFeLtZsx1x4Tj3dNWuQs
fingerprint_ignore_patterns: []
protocols:
- fetchai/oef_search:0.8.0
diff --git a/packages/fetchai/connections/oef/connection.py b/packages/fetchai/connections/oef/connection.py
index ed7f050cd4..821eb01819 100644
--- a/packages/fetchai/connections/oef/connection.py
+++ b/packages/fetchai/connections/oef/connection.py
@@ -413,7 +413,7 @@ def send(self, envelope: Envelope) -> None:
)
raise ValueError("Cannot send message.")
- if envelope.protocol_id == PublicId.from_str("fetchai/oef_search:0.8.0"):
+ if envelope.protocol_id == OefSearchMessage.protocol_id:
self.send_oef_message(envelope)
else:
self.send_default_message(envelope)
diff --git a/packages/fetchai/connections/oef/connection.yaml b/packages/fetchai/connections/oef/connection.yaml
index 022e06b0f3..6f06571364 100644
--- a/packages/fetchai/connections/oef/connection.yaml
+++ b/packages/fetchai/connections/oef/connection.yaml
@@ -9,7 +9,7 @@ aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmW6uQWyRnVh6nzz5Sdr6gk2ySShApPDC5GY73KgGPmEJt
__init__.py: QmUAen8tmoBHuCerjA3FSGKJRLG6JYyUS3chuWzPxKYzez
- connection.py: QmTLTfWnd4WpJprX9JUu5KWztJ4nqfA847r3AsDR7w2ZEi
+ connection.py: QmUNtBiXaVD2VJy4nfMYDfNxrrwQiDktJxJyRnNCvtLoA7
object_translator.py: QmZNGxNywRZJTfcd2GYzbxkrXqUFRFEs8wnL3NeBW78poe
fingerprint_ignore_patterns: []
protocols:
diff --git a/packages/fetchai/connections/soef/connection.py b/packages/fetchai/connections/soef/connection.py
index e8d0069078..5150fc6321 100644
--- a/packages/fetchai/connections/soef/connection.py
+++ b/packages/fetchai/connections/soef/connection.py
@@ -1114,7 +1114,7 @@ def __init__(self, **kwargs):
if kwargs.get("configuration") is None: # pragma: nocover
kwargs["excluded_protocols"] = kwargs.get("excluded_protocols") or []
kwargs["restricted_to_protocols"] = kwargs.get("excluded_protocols") or [
- PublicId.from_str("fetchai/oef_search:0.8.0")
+ OefSearchMessage.protocol_id
]
super().__init__(**kwargs)
diff --git a/packages/fetchai/connections/soef/connection.yaml b/packages/fetchai/connections/soef/connection.yaml
index 26db2bca90..a39e3841bc 100644
--- a/packages/fetchai/connections/soef/connection.yaml
+++ b/packages/fetchai/connections/soef/connection.yaml
@@ -8,7 +8,7 @@ aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmT6qSQHjBR8vsau6STwrNe7FjfrMt8a4dY5fkEowBYa4i
__init__.py: Qmd5VBGFJHXFe1H45XoUh5mMSYBwvLSViJuGFeMgbPdQts
- connection.py: QmcMhHBfiGWRubtM68mvBMnHbnfXWRsuKSmEW4N5M6FNUa
+ connection.py: QmV52yYKUpR7KNCpvSVdQExSKx6Mf3ZV6dVw2nUB4QoH1Z
fingerprint_ignore_patterns: []
protocols:
- fetchai/oef_search:0.8.0
diff --git a/packages/fetchai/contracts/erc1155/contract.py b/packages/fetchai/contracts/erc1155/contract.py
index a963fae707..0460513266 100644
--- a/packages/fetchai/contracts/erc1155/contract.py
+++ b/packages/fetchai/contracts/erc1155/contract.py
@@ -44,6 +44,8 @@
class ERC1155Contract(Contract):
"""The ERC1155 contract class which acts as a bridge between AEA framework and ERC1155 ABI."""
+ contract_id = PUBLIC_ID
+
@classmethod
def generate_token_ids(
cls, token_type: int, nb_tokens: int, starting_index: int = 0
diff --git a/packages/fetchai/contracts/erc1155/contract.yaml b/packages/fetchai/contracts/erc1155/contract.yaml
index c9f86588a9..9b267a27c6 100644
--- a/packages/fetchai/contracts/erc1155/contract.yaml
+++ b/packages/fetchai/contracts/erc1155/contract.yaml
@@ -10,7 +10,7 @@ fingerprint:
build/Migrations.json: QmfFYYWoq1L1Ni6YPBWWoRPvCZKBLZ7qzN3UDX537mCeuE
build/erc1155.json: Qma5n7au2NDCg1nLwYfYnmFNwWChFuXtu65w5DV7wAZRvw
build/erc1155.wasm: Qmc9gthbdwRSywinTHKjRVQdFzrKTxUuLDx2ryNfQp1xqf
- contract.py: QmfYL2igohC264LdKDHSXwTam3nME5GWDbErVjSMN2cgif
+ contract.py: Qmf9MjM4ANvNa1ateVeuMADERshzD1Wexpfmyt7qX2Y8f2
contracts/Migrations.sol: QmbW34mYrj3uLteyHf3S46pnp9bnwovtCXHbdBHfzMkSZx
contracts/erc1155.vy: QmXwob8G1uX7fDvtuuKW139LALWtQmGw2vvaTRBVAWRxTx
migrations/1_initial_migration.js: QmcxaWKQ2yPkQBmnpXmcuxPZQUMuUudmPmX3We8Z9vtAf7
diff --git a/packages/fetchai/skills/aries_alice/__init__.py b/packages/fetchai/skills/aries_alice/__init__.py
index 6e2baadb91..e9edd951b4 100644
--- a/packages/fetchai/skills/aries_alice/__init__.py
+++ b/packages/fetchai/skills/aries_alice/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the aries_alice skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/aries_alice:0.9.0")
diff --git a/packages/fetchai/skills/aries_alice/skill.yaml b/packages/fetchai/skills/aries_alice/skill.yaml
index 90afb606d5..87379d0192 100644
--- a/packages/fetchai/skills/aries_alice/skill.yaml
+++ b/packages/fetchai/skills/aries_alice/skill.yaml
@@ -8,7 +8,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmfS1ezD77No8WQkvrkPs4oSXHFbULRxatGzRhMbSMntSx
- __init__.py: Qma8qSTU34ADKWskBwQKQLGNpe3xDKNgjNQ6Q4MxUnKa3Q
+ __init__.py: QmcP4spDi6uMHASQD3nEMijNXfftvDyC4pGSvzjFsGAjtf
behaviours.py: QmTdJbrP1N3W1M6CLDyPFc6erfcrhnbRJtDNN6ZuY9eRUt
dialogues.py: QmbCkYZ9mQK6az3qWVMuYmpy5bapq2szYigUbVzE2GgiJi
handlers.py: QmTtqM5oWBEAZcHdTuwuPtbiZZGWontMNEtmDxcccS2u2Y
diff --git a/packages/fetchai/skills/aries_faber/__init__.py b/packages/fetchai/skills/aries_faber/__init__.py
index 9113cb0cf5..2791c94a2e 100644
--- a/packages/fetchai/skills/aries_faber/__init__.py
+++ b/packages/fetchai/skills/aries_faber/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the aries_faber skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/aries_faber:0.8.0")
diff --git a/packages/fetchai/skills/aries_faber/skill.yaml b/packages/fetchai/skills/aries_faber/skill.yaml
index a0ac4d52ed..d012e99f16 100644
--- a/packages/fetchai/skills/aries_faber/skill.yaml
+++ b/packages/fetchai/skills/aries_faber/skill.yaml
@@ -8,7 +8,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmdkSNCYx5dNGDAAveapQgoyM7Y7iYeQzR7KN2Sso3CJG4
- __init__.py: QmNPVQ6UajvJodqTLWbLvQZkKCfrNn1nYPrQXai3xdj6F7
+ __init__.py: QmRB8ZTyM23HnkV5yA81YgqaRvL8uCsSVqGksTt49YUh73
behaviours.py: QmQUmnhHmEFjGp9SvkLqcBrmCe2CSFngzqTHNadqJXQMgw
dialogues.py: Qmeynv4h5ArYBJ2wkQurW7VXdDP1VXNbg5GiADkgMPFqj3
handlers.py: QmXpCVgMTLyewXPmXMmPHUpnZhQZ35GFAhZtcpujAd3WZ8
diff --git a/packages/fetchai/skills/carpark_client/__init__.py b/packages/fetchai/skills/carpark_client/__init__.py
index 0fbd4aee20..7ccfd568b9 100644
--- a/packages/fetchai/skills/carpark_client/__init__.py
+++ b/packages/fetchai/skills/carpark_client/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the carpark client skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/carpark_client:0.13.0")
diff --git a/packages/fetchai/skills/carpark_client/skill.yaml b/packages/fetchai/skills/carpark_client/skill.yaml
index fbd6b83a4e..2aba660282 100644
--- a/packages/fetchai/skills/carpark_client/skill.yaml
+++ b/packages/fetchai/skills/carpark_client/skill.yaml
@@ -8,7 +8,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmeypYUvYR61ZD7qWQmeMnGq3ior9dQ6uuRpAduws65rFG
- __init__.py: QmPZ4bRmXpsDKD7ogCJHEMrtm67hpA5aqxvujgfQD1PtMd
+ __init__.py: QmR2Gxy4BQxWUaAK4mfFXqRn6ji2bvMTbEdA6W9ymbZGu7
behaviours.py: QmXw3wGKAqCT55MRX61g3eN1T2YVY4XC5z9b4Dg7x1Wihc
dialogues.py: QmcUgBjxeytE5aAx3VvPyna5EcBuqck9KazG3HygCWjawv
handlers.py: QmYx8WzeR2aCg2b2uiR1K2NHLn8DKhzAahLXoFnrXyDoDz
diff --git a/packages/fetchai/skills/carpark_detection/__init__.py b/packages/fetchai/skills/carpark_detection/__init__.py
index f5a7bc9ec1..adb31378fc 100644
--- a/packages/fetchai/skills/carpark_detection/__init__.py
+++ b/packages/fetchai/skills/carpark_detection/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the car park detection skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/carpark_detection:0.13.0")
diff --git a/packages/fetchai/skills/carpark_detection/skill.yaml b/packages/fetchai/skills/carpark_detection/skill.yaml
index 0080c53ecb..72785b8fb2 100644
--- a/packages/fetchai/skills/carpark_detection/skill.yaml
+++ b/packages/fetchai/skills/carpark_detection/skill.yaml
@@ -8,7 +8,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmcwNhv5N8m4ZtWvXY5eMDeL5ciivryDZPtGWXMFfTbYR7
- __init__.py: QmQoECB7dpCDCG3xCnBsoMy6oqgSdu69CzRcAcuZuyapnQ
+ __init__.py: QmYqCqpsdpPxFkvTZ4npTqCG9FBfhcZZmBE6tRtCTKS9iJ
behaviours.py: QmTNboU3YH8DehWnpZmoiDUCncpNmqoSVt1Yp4j7NsgY2S
database.py: Qma4Ydj8EQtWr4W9EgUvZs5AkZ5tKHjSgHaxQDfzrPm27N
dialogues.py: QmPXfUWDxnHDaHQqsgtVhJ2v9dEgGWLtvEHKFvvFcDXGms
diff --git a/packages/fetchai/skills/echo/__init__.py b/packages/fetchai/skills/echo/__init__.py
index faa2b86180..3715241ff8 100644
--- a/packages/fetchai/skills/echo/__init__.py
+++ b/packages/fetchai/skills/echo/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains an example of skill for an AEA."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/echo:0.9.0")
diff --git a/packages/fetchai/skills/echo/skill.yaml b/packages/fetchai/skills/echo/skill.yaml
index a2e60c681c..3b0c49c64e 100644
--- a/packages/fetchai/skills/echo/skill.yaml
+++ b/packages/fetchai/skills/echo/skill.yaml
@@ -7,7 +7,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: Qmd884WK35W5JuT6i1gXQFspxVPnCpeXv9kqWXnUaUAx4E
- __init__.py: QmTf1GCgHxu7qq4HvUNYiBwuGEL1DcsHQuWH7N7TB5TtoC
+ __init__.py: QmNN9MJRi8UcMHEipvRQaJui2vSfjNRRSHKX7QsGc11zRJ
behaviours.py: QmXARXRvJkpzuqnYNhJhv42Sk6J4KzRW2AKvC6FJWLU9JL
dialogues.py: QmbfLMqP1aScVV68rEUpenKiWA5KsnT1Zq48jVnk5jFmQ5
handlers.py: QmfD1dbce2WoPF54DNgu9DUNZrHeTucA5LyDoiFr8j5pTx
diff --git a/packages/fetchai/skills/erc1155_client/__init__.py b/packages/fetchai/skills/erc1155_client/__init__.py
index 04f1c2d3c3..2603ae9b10 100644
--- a/packages/fetchai/skills/erc1155_client/__init__.py
+++ b/packages/fetchai/skills/erc1155_client/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the erc-1155 client skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/erc1155_client:0.14.0")
diff --git a/packages/fetchai/skills/erc1155_client/handlers.py b/packages/fetchai/skills/erc1155_client/handlers.py
index aca31aa5d5..312f600c3c 100644
--- a/packages/fetchai/skills/erc1155_client/handlers.py
+++ b/packages/fetchai/skills/erc1155_client/handlers.py
@@ -154,7 +154,7 @@ def _handle_propose(
counterparty=LEDGER_API_ADDRESS,
performative=ContractApiMessage.Performative.GET_RAW_MESSAGE,
ledger_id=strategy.ledger_id,
- contract_id="fetchai/erc1155:0.11.0",
+ contract_id=strategy.contract_id,
contract_address=fipa_msg.proposal.values["contract_address"],
callable="get_hash_single",
kwargs=ContractApiMessage.Kwargs(
diff --git a/packages/fetchai/skills/erc1155_client/skill.yaml b/packages/fetchai/skills/erc1155_client/skill.yaml
index 590403c248..02961b9240 100644
--- a/packages/fetchai/skills/erc1155_client/skill.yaml
+++ b/packages/fetchai/skills/erc1155_client/skill.yaml
@@ -8,11 +8,11 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmZLsx2wJE762rqDqfeqLMg9RBczvALxy3H2U9kfRvgK3s
- __init__.py: QmRXXJsv5bfvb7qsyxQtVzXwn6PMLJKkbm6kg4DNkT1NtW
+ __init__.py: QmcHGjFj9XfbSWJcTfsy4auEX8AtLSy2M1YUCWVi1VRaVX
behaviours.py: QmTWQLqGHrZ8zG9cPnpXRjG6xnLUno1oGGw6nR297Rbync
dialogues.py: QmPb2odXbXxuY5Ygm9mfCufM2mtMZ23oapsAzsWHC2x2k4
- handlers.py: QmPxNz2wvcYi4wrBawdDMniFtbPqWpbt99mBSJjijuRaTT
- strategy.py: QmWm4KWhcqt2i4C8SnyHfDyjVK1HrbyiHTWN4thkfGzcrB
+ handlers.py: Qmc1yfcjDravS6KL8xrHmpHKNs1xtdoZ6XEPuLurwQmw3s
+ strategy.py: QmTdapKSrFEZJkpmqrVeVSqF6MyRgNA6NeLhPByoxRF1V9
fingerprint_ignore_patterns: []
contracts:
- fetchai/erc1155:0.11.0
diff --git a/packages/fetchai/skills/erc1155_client/strategy.py b/packages/fetchai/skills/erc1155_client/strategy.py
index 5904d79c32..9f1316df8f 100644
--- a/packages/fetchai/skills/erc1155_client/strategy.py
+++ b/packages/fetchai/skills/erc1155_client/strategy.py
@@ -24,6 +24,8 @@
from aea.helpers.search.models import Constraint, ConstraintType, Location, Query
from aea.skills.base import Model
+from packages.fetchai.contracts.erc1155.contract import PUBLIC_ID as CONTRACT_ID
+
DEFAULT_LOCATION = {"longitude": 51.5194, "latitude": 0.1270}
DEFAULT_SEARCH_QUERY = {
@@ -55,12 +57,18 @@ def __init__(self, **kwargs) -> None:
self._ledger_id = kwargs.pop("ledger_id", DEFAULT_LEDGER_ID)
super().__init__(**kwargs)
self.is_searching = True
+ self._contract_id = str(CONTRACT_ID)
@property
def ledger_id(self) -> str:
"""Get the ledger id."""
return self._ledger_id
+ @property
+ def contract_id(self) -> str:
+ """Get the contract id."""
+ return self._contract_id
+
def get_location_and_service_query(self) -> Query:
"""
Get the location and service query of the agent.
diff --git a/packages/fetchai/skills/erc1155_deploy/__init__.py b/packages/fetchai/skills/erc1155_deploy/__init__.py
index e65063d299..715cd4c90e 100644
--- a/packages/fetchai/skills/erc1155_deploy/__init__.py
+++ b/packages/fetchai/skills/erc1155_deploy/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the erc1155 deploy skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/erc1155_deploy:0.15.0")
diff --git a/packages/fetchai/skills/erc1155_deploy/behaviours.py b/packages/fetchai/skills/erc1155_deploy/behaviours.py
index 8e95711f01..2d66ddb279 100644
--- a/packages/fetchai/skills/erc1155_deploy/behaviours.py
+++ b/packages/fetchai/skills/erc1155_deploy/behaviours.py
@@ -131,7 +131,7 @@ def _request_contract_deploy_transaction(self) -> None:
counterparty=LEDGER_API_ADDRESS,
performative=ContractApiMessage.Performative.GET_DEPLOY_TRANSACTION,
ledger_id=strategy.ledger_id,
- contract_id="fetchai/erc1155:0.11.0",
+ contract_id=strategy.contract_id,
callable="get_deploy_transaction",
kwargs=ContractApiMessage.Kwargs(
{"deployer_address": self.context.agent_address}
@@ -157,7 +157,7 @@ def _request_token_create_transaction(self) -> None:
counterparty=LEDGER_API_ADDRESS,
performative=ContractApiMessage.Performative.GET_RAW_TRANSACTION,
ledger_id=strategy.ledger_id,
- contract_id="fetchai/erc1155:0.11.0",
+ contract_id=strategy.contract_id,
contract_address=strategy.contract_address,
callable="get_create_batch_transaction",
kwargs=ContractApiMessage.Kwargs(
@@ -187,7 +187,7 @@ def _request_token_mint_transaction(self) -> None:
counterparty=LEDGER_API_ADDRESS,
performative=ContractApiMessage.Performative.GET_RAW_TRANSACTION,
ledger_id=strategy.ledger_id,
- contract_id="fetchai/erc1155:0.11.0",
+ contract_id=strategy.contract_id,
contract_address=strategy.contract_address,
callable="get_mint_batch_transaction",
kwargs=ContractApiMessage.Kwargs(
diff --git a/packages/fetchai/skills/erc1155_deploy/handlers.py b/packages/fetchai/skills/erc1155_deploy/handlers.py
index 8066c226d5..4bcd8bf200 100644
--- a/packages/fetchai/skills/erc1155_deploy/handlers.py
+++ b/packages/fetchai/skills/erc1155_deploy/handlers.py
@@ -172,7 +172,7 @@ def _handle_accept_w_inform(
counterparty=LEDGER_API_ADDRESS,
performative=ContractApiMessage.Performative.GET_RAW_TRANSACTION,
ledger_id=strategy.ledger_id,
- contract_id="fetchai/erc1155:0.11.0",
+ contract_id=strategy.contract_id,
contract_address=strategy.contract_address,
callable="get_atomic_swap_single_transaction",
kwargs=ContractApiMessage.Kwargs(
diff --git a/packages/fetchai/skills/erc1155_deploy/skill.yaml b/packages/fetchai/skills/erc1155_deploy/skill.yaml
index dc799d7de1..fdf80179f7 100644
--- a/packages/fetchai/skills/erc1155_deploy/skill.yaml
+++ b/packages/fetchai/skills/erc1155_deploy/skill.yaml
@@ -8,11 +8,11 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmZYqboojbibXnPAXqDifnHkVrmGjLJV3HBCJWeRzRpKMh
- __init__.py: Qmbm3ZtGpfdvvzqykfRqbaReAK9a16mcyK7qweSfeN5pq1
- behaviours.py: Qmf2wxPHGU7PHwSnf3B9v7nK49u1at3JMkeGQiKkhP2fsD
+ __init__.py: QmaTpFZmGT85V55mHJy6KECxEpCvXPz3jmf8LXQee5dhFT
+ behaviours.py: QmdTzUWTqMNViB3Bz7FUpA5c8fohViUR95nWtRqcET4L6h
dialogues.py: QmcCbdxFM4SX3MgXDxxbsC66gp8QK3C4W2czniQ5oDNc7G
- handlers.py: Qmc3aHkjwoyveijSqFSjuQFoMYvGDNh5pQkRTGyPJbfmWL
- strategy.py: QmP3tbQasCnfJ2sYE3NqhfWrid4b9RiYNUzFYcntEVcFWd
+ handlers.py: QmUpgPoVkzPzo1A1Atrkgd79FzE72cyYg9EvuYRSctFPNJ
+ strategy.py: QmTqQAAMUUBmXUY5YWvgLrDLFBFQ781vbxVi9WXsPo9Vr2
fingerprint_ignore_patterns: []
contracts:
- fetchai/erc1155:0.11.0
diff --git a/packages/fetchai/skills/erc1155_deploy/strategy.py b/packages/fetchai/skills/erc1155_deploy/strategy.py
index cf1daff573..c53e84bd0d 100644
--- a/packages/fetchai/skills/erc1155_deploy/strategy.py
+++ b/packages/fetchai/skills/erc1155_deploy/strategy.py
@@ -101,7 +101,7 @@ def __init__(self, **kwargs) -> None:
}
super().__init__(**kwargs)
-
+ self._contract_id = str(ERC1155Contract.contract_id)
self.is_behaviour_active = True
self._is_contract_deployed = self._contract_address is not None
self._is_tokens_created = self._token_ids is not None
@@ -116,6 +116,11 @@ def ledger_id(self) -> str:
"""Get the ledger id."""
return self._ledger_id
+ @property
+ def contract_id(self) -> str:
+ """Get the contract id."""
+ return self._contract_id
+
@property
def mint_quantities(self) -> List[int]:
"""Get the list of mint quantities."""
diff --git a/packages/fetchai/skills/generic_buyer/__init__.py b/packages/fetchai/skills/generic_buyer/__init__.py
index 16f0917e52..391bfb5f1f 100644
--- a/packages/fetchai/skills/generic_buyer/__init__.py
+++ b/packages/fetchai/skills/generic_buyer/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the generic buyer skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/generic_buyer:0.13.0")
diff --git a/packages/fetchai/skills/generic_buyer/skill.yaml b/packages/fetchai/skills/generic_buyer/skill.yaml
index ab5afeff4c..5f27e247d5 100644
--- a/packages/fetchai/skills/generic_buyer/skill.yaml
+++ b/packages/fetchai/skills/generic_buyer/skill.yaml
@@ -7,7 +7,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmTR91jm7WfJpmabisy74NR5mc35YXjDU1zQAUKZeHRw8L
- __init__.py: QmaEDrNJBeHCJpbdFckRUhLSBqCXQ6umdipTMpYhqSKxSG
+ __init__.py: Qmb8QqKHNLY3G3jMk8FMcobatKCyJVEQXeLs32H4vaRRX8
behaviours.py: QmejRk9gBDRqrbnTirmqmsR8mH6KXxPMk6Ex6KsjYHB2aL
dialogues.py: QmY3uJpB2UpWsa9SipZQzMjYr7WtSycuF5YS3SLyCuh78N
handlers.py: QmZaDk7TrKXUeUvT7zEgYiNn4fiUZxGuFYw6TVfReCSDDG
diff --git a/packages/fetchai/skills/generic_seller/__init__.py b/packages/fetchai/skills/generic_seller/__init__.py
index 46646653e8..68234614fa 100644
--- a/packages/fetchai/skills/generic_seller/__init__.py
+++ b/packages/fetchai/skills/generic_seller/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the generic seller skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/generic_seller:0.14.0")
diff --git a/packages/fetchai/skills/generic_seller/skill.yaml b/packages/fetchai/skills/generic_seller/skill.yaml
index e2168157d1..b30c4f5172 100644
--- a/packages/fetchai/skills/generic_seller/skill.yaml
+++ b/packages/fetchai/skills/generic_seller/skill.yaml
@@ -8,7 +8,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmPb5kHYZyhUN87EKmuahyGqDGgqVdGPyfC1KpGC3xfmcP
- __init__.py: QmbfkeFnZVKppLEHpBrTXUXBwg2dpPABJWSLND8Lf1cmpG
+ __init__.py: QmQ3EL7VJ7GqFyz2vdfiB44tJBsjZgYqA6gDdojEPdXBut
behaviours.py: QmbZuzaKRw6rx5jthJV5cd4uwapNDEH6544TeLphZxPoqY
dialogues.py: QmfBWHVuKTzXu8vV5AkgWF6ZqMTZ3bs7SHEykoKXdmqvnH
handlers.py: QmQNoMFPtkqN4hzsxGXSifkK41BqrM6QRpHcQhmyduXbsM
diff --git a/packages/fetchai/skills/gym/__init__.py b/packages/fetchai/skills/gym/__init__.py
index faa2b86180..7246916cec 100644
--- a/packages/fetchai/skills/gym/__init__.py
+++ b/packages/fetchai/skills/gym/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains an example of skill for an AEA."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/gym:0.9.0")
diff --git a/packages/fetchai/skills/gym/skill.yaml b/packages/fetchai/skills/gym/skill.yaml
index c0b075fa9d..111b509a42 100644
--- a/packages/fetchai/skills/gym/skill.yaml
+++ b/packages/fetchai/skills/gym/skill.yaml
@@ -7,7 +7,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmUpD7PeLHS8nH7HJ48hBafSFhLn8Yrh571RCmxnStpNwq
- __init__.py: QmTf1GCgHxu7qq4HvUNYiBwuGEL1DcsHQuWH7N7TB5TtoC
+ __init__.py: QmShrVBQzJ8yKMLcyWZUJ2K9Y4SUiL9wxjL7ryww9jyddE
dialogues.py: QmTETCiWFK7vu8PMM9AaY64xHZhHivafmX33n4FXVKSub6
handlers.py: QmagqBdQaGuGbVS5dFqxFtEww2e1YF2NprBNPtt5pVA2hZ
helpers.py: QmQTSG8MeSPBWbBR5wuLR2L4jvAX1xEJZLJfv2LYGvsMj5
diff --git a/packages/fetchai/skills/http_echo/__init__.py b/packages/fetchai/skills/http_echo/__init__.py
index bc7c2c9805..c543cbce18 100644
--- a/packages/fetchai/skills/http_echo/__init__.py
+++ b/packages/fetchai/skills/http_echo/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the http echo skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/http_echo:0.8.0")
diff --git a/packages/fetchai/skills/http_echo/skill.yaml b/packages/fetchai/skills/http_echo/skill.yaml
index 92a9f725ec..dbe07d67bb 100644
--- a/packages/fetchai/skills/http_echo/skill.yaml
+++ b/packages/fetchai/skills/http_echo/skill.yaml
@@ -8,7 +8,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmYMHPsBX3wTMZZP89aKa7FzDCqGyvvue54ZBN8NZt4mNt
- __init__.py: QmaKik9dXg6cajBPG9RTDr6BhVdWk8aoR8QDNfPQgiy1kv
+ __init__.py: QmZEGhk4Jr1oZhvyGaMj1z92b46c5frAaCuPHVJC4bzgJt
dialogues.py: QmNWC7bEimPQUL1QbJD4uyZ16szPR6WsrKt3MuHZXKkwAH
handlers.py: QmdTuiao42XEvbp2wuqKP4U4noRqAVdec9rss51pswYCoe
fingerprint_ignore_patterns: []
diff --git a/packages/fetchai/skills/ml_data_provider/__init__.py b/packages/fetchai/skills/ml_data_provider/__init__.py
index ed15c864a9..01c02e7d24 100644
--- a/packages/fetchai/skills/ml_data_provider/__init__.py
+++ b/packages/fetchai/skills/ml_data_provider/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the ml train and predict skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/ml_data_provider:0.13.0")
diff --git a/packages/fetchai/skills/ml_data_provider/skill.yaml b/packages/fetchai/skills/ml_data_provider/skill.yaml
index bd81223e25..4cbe69003b 100644
--- a/packages/fetchai/skills/ml_data_provider/skill.yaml
+++ b/packages/fetchai/skills/ml_data_provider/skill.yaml
@@ -8,7 +8,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmakpsKWJrGRsoFaKR1Gf94KqcuPrkdXTYyciq5d4EhoFF
- __init__.py: QmbQigh7SV7dD2hLTGv3k9tnvpYWN1otG5yjiM7F3bbGEQ
+ __init__.py: QmUVi3aegUdVK1KVkRSWN7ncAxv5CnzeD5m8C9rBoN6YZD
behaviours.py: QmWgXU9qgahXwMKNqLLfDiGNYJozSXv2SVMkoPDQncC7ok
dialogues.py: QmUExSjdSxrtTDzMB8tZ5J9tFrgd78LhdMuvptpViSPfAW
handlers.py: QmbmS4C1GdumnVkA5dc7czWRkjb9HGzY7YeATrnuMVU2X9
diff --git a/packages/fetchai/skills/ml_train/__init__.py b/packages/fetchai/skills/ml_train/__init__.py
index ed15c864a9..f7d1d1ad81 100644
--- a/packages/fetchai/skills/ml_train/__init__.py
+++ b/packages/fetchai/skills/ml_train/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the ml train and predict skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/ml_train:0.13.0")
diff --git a/packages/fetchai/skills/ml_train/skill.yaml b/packages/fetchai/skills/ml_train/skill.yaml
index 26c8fb32c1..406aaf0d49 100644
--- a/packages/fetchai/skills/ml_train/skill.yaml
+++ b/packages/fetchai/skills/ml_train/skill.yaml
@@ -8,7 +8,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmeHcYRhDJi6gqAHpK29UJz3doiyaicoqeTrPddqM3gh64
- __init__.py: QmbQigh7SV7dD2hLTGv3k9tnvpYWN1otG5yjiM7F3bbGEQ
+ __init__.py: QmZj3RwyqJH2cTYMFQQkvqW5TnbHbn4Zr8fhGbnTREqs2w
behaviours.py: QmQiBzKV5rEFpMQbSjfjzAJ7SqwwGmso6TozWkjdytucLR
dialogues.py: QmPVJzrAKhfhG8n2JLhvycFYRReBFBj362LxH6s885rSQM
handlers.py: QmNpytwjcyJSFiJjETKu14MbVVNsthFpYpi1CpGfqsurzQ
diff --git a/packages/fetchai/skills/simple_service_registration/__init__.py b/packages/fetchai/skills/simple_service_registration/__init__.py
index 81d567366d..2da33423d0 100644
--- a/packages/fetchai/skills/simple_service_registration/__init__.py
+++ b/packages/fetchai/skills/simple_service_registration/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the default skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/simple_service_registration:0.11.0")
diff --git a/packages/fetchai/skills/simple_service_registration/skill.yaml b/packages/fetchai/skills/simple_service_registration/skill.yaml
index cbbc0186c9..7dd7c770cd 100644
--- a/packages/fetchai/skills/simple_service_registration/skill.yaml
+++ b/packages/fetchai/skills/simple_service_registration/skill.yaml
@@ -7,7 +7,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmPuD9EtLKV143FbAaGUht5ZVtemVWXnm1jYmQxyUNnZ9T
- __init__.py: QmNkZAetyctaZCUf6ACxP5onGWsSxu2hjSNoFmJ3ta6Lta
+ __init__.py: QmdHBxAVEUjLeBVxPiWdZw6SZaZiPrBVVbBXub9y8kUC6g
behaviours.py: QmbAQq8xchbxFu7QT3RofR1VX1ExQGUBemCQuNjc5bUnVA
dialogues.py: QmX8L6qMd4X6LHLyPmiXaQL2LA5Ca9Q6B77qYdfvfJ3aen
handlers.py: QmYNHtjuLNqNxuuMZmdGHCNAyJKvwaw3a2DPo8n4jPrZKD
diff --git a/packages/fetchai/skills/tac_control/__init__.py b/packages/fetchai/skills/tac_control/__init__.py
index c8773f9482..bbd0c2a355 100644
--- a/packages/fetchai/skills/tac_control/__init__.py
+++ b/packages/fetchai/skills/tac_control/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the tac control skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/tac_control:0.9.0")
diff --git a/packages/fetchai/skills/tac_control/parameters.py b/packages/fetchai/skills/tac_control/parameters.py
index d903d1ab20..a56d8e0893 100644
--- a/packages/fetchai/skills/tac_control/parameters.py
+++ b/packages/fetchai/skills/tac_control/parameters.py
@@ -26,6 +26,7 @@
from aea.helpers.search.models import Location
from aea.skills.base import Model
+from packages.fetchai.contracts.erc1155.contract import PUBLIC_ID as CONTRACT_ID
from packages.fetchai.skills.tac_control.helpers import (
generate_currency_id_to_name,
generate_good_id_to_name,
@@ -123,6 +124,7 @@ def __init__(self, **kwargs):
}
super().__init__(**kwargs)
+ self._contract_id = str(CONTRACT_ID)
self._currency_id_to_name = generate_currency_id_to_name(
self.nb_currencies, self.currency_ids
)
@@ -177,6 +179,11 @@ def contract_address(self, contract_address: str) -> None:
raise AEAEnforceError("Contract address already provided.")
self._contract_address = contract_address
+ @property
+ def contract_id(self) -> str:
+ """Get the contract id."""
+ return self._contract_id
+
@property
def is_contract_deployed(self) -> bool:
"""Check if there is a deployed instance of the contract."""
diff --git a/packages/fetchai/skills/tac_control/skill.yaml b/packages/fetchai/skills/tac_control/skill.yaml
index 4c76d11367..72202a46b4 100644
--- a/packages/fetchai/skills/tac_control/skill.yaml
+++ b/packages/fetchai/skills/tac_control/skill.yaml
@@ -8,13 +8,13 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmdWECpRXZXH5JPV6wVHqeUtvjBhieUFTEoT2e7EY16N8M
- __init__.py: Qme9YfgfPXymvupw1EHMJWGUSMTT6JQZxk2qaeKE76pgyN
+ __init__.py: QmbLvP4htsswaFrKXVXTUw8LFUrQx9rxEbcAiFwWpWj5Fo
behaviours.py: QmPtGBEFGEdQCzeXC3ZkJuNTrSe217JupP1wtP8DMnm6cK
dialogues.py: QmcVYVTZ95UKBnXzmKyGLo5LwSVcGYUTrifosQMSpzNnCX
game.py: QmWebcVRJvNYEi21hryWL1DXFexRE2bS3SiPjWkiFM9onH
handlers.py: QmVHZLJYva9WaXNFrzqh2HTsrWTLxqYdVrFiWPK4D3h7EP
helpers.py: QmbXAH6yUue1SJSpaXRVpmbACr6mSHbqf5kFc3AHhtedJD
- parameters.py: QmdNCew6YnAc4WoDnefR2xaTENmB8416AxqjUa3jMT6KTi
+ parameters.py: QmWDeVq1DFQ4xWU47JpYLU2JVuvayfzWqVQMqYoMouExT2
fingerprint_ignore_patterns: []
contracts:
- fetchai/erc1155:0.11.0
diff --git a/packages/fetchai/skills/tac_control_contract/__init__.py b/packages/fetchai/skills/tac_control_contract/__init__.py
index 8cbbb77fb9..193bc6ab43 100644
--- a/packages/fetchai/skills/tac_control_contract/__init__.py
+++ b/packages/fetchai/skills/tac_control_contract/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the tac control skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/tac_control_contract:0.10.0")
diff --git a/packages/fetchai/skills/tac_control_contract/behaviours.py b/packages/fetchai/skills/tac_control_contract/behaviours.py
index 5690c1ad1d..de3fdbd7b5 100644
--- a/packages/fetchai/skills/tac_control_contract/behaviours.py
+++ b/packages/fetchai/skills/tac_control_contract/behaviours.py
@@ -67,7 +67,7 @@ def _request_contract_deploy_transaction(self) -> None:
counterparty=LEDGER_API_ADDRESS,
performative=ContractApiMessage.Performative.GET_DEPLOY_TRANSACTION,
ledger_id=parameters.ledger_id,
- contract_id="fetchai/erc1155:0.11.0",
+ contract_id=parameters.contract_id,
callable=ContractApiDialogue.Callable.GET_DEPLOY_TRANSACTION.value,
kwargs=ContractApiMessage.Kwargs(
{"deployer_address": self.context.agent_address}
@@ -162,7 +162,7 @@ def _request_create_items_transaction(self, game: Game) -> None:
counterparty=LEDGER_API_ADDRESS,
performative=ContractApiMessage.Performative.GET_RAW_TRANSACTION,
ledger_id=parameters.ledger_id,
- contract_id="fetchai/erc1155:0.11.0",
+ contract_id=parameters.contract_id,
contract_address=parameters.contract_address,
callable=ContractApiDialogue.Callable.GET_CREATE_BATCH_TRANSACTION.value,
kwargs=ContractApiMessage.Kwargs(
@@ -209,7 +209,7 @@ def _request_mint_items_transaction(self, game: Game) -> None:
counterparty=LEDGER_API_ADDRESS,
performative=ContractApiMessage.Performative.GET_RAW_TRANSACTION,
ledger_id=parameters.ledger_id,
- contract_id="fetchai/erc1155:0.11.0",
+ contract_id=parameters.contract_id,
contract_address=parameters.contract_address,
callable=ContractApiDialogue.Callable.GET_MINT_BATCH_TRANSACTION.value,
kwargs=ContractApiMessage.Kwargs(
diff --git a/packages/fetchai/skills/tac_control_contract/skill.yaml b/packages/fetchai/skills/tac_control_contract/skill.yaml
index 1b72a47549..6a2a375899 100644
--- a/packages/fetchai/skills/tac_control_contract/skill.yaml
+++ b/packages/fetchai/skills/tac_control_contract/skill.yaml
@@ -8,8 +8,8 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmUiw6Dt97mXLzSizbnMNTsfLy3edGXKdYTNR5bke6sFsm
- __init__.py: QmW9WBy1sNYVKpymGnpJY2pW5MEqGgVga2kBFUT9S34Yt5
- behaviours.py: QmXpRURhxKtDBeDBfZr2ZBxVxriVSnAZss8dLWuAEEi8EM
+ __init__.py: QmS4D39GhiMcHPDqup4uhKEpDmz45RX3VSyY23LVm82AfX
+ behaviours.py: QmSkZLqgM52WgWnpY9AYWqdccpYFn4PoX3FjpCg5zdg2FW
dialogues.py: QmWvhTeUnDimhQQTzuSfJJ6d2ViqgBNooCMfRiVzvzApw3
game.py: QmQwskD5DBVNv1ouRpqGNLb3zQ5krLUcR6XXHUcJ5EVc8L
handlers.py: QmYeA8eruEeVmhRpE6T7tjWreW9KWtVdtRS9FSTbKk9hq9
diff --git a/packages/fetchai/skills/tac_negotiation/__init__.py b/packages/fetchai/skills/tac_negotiation/__init__.py
index 824d8fab6d..755bfde7b7 100644
--- a/packages/fetchai/skills/tac_negotiation/__init__.py
+++ b/packages/fetchai/skills/tac_negotiation/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the tac negotiation skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/tac_negotiation:0.11.0")
diff --git a/packages/fetchai/skills/tac_negotiation/skill.yaml b/packages/fetchai/skills/tac_negotiation/skill.yaml
index bb8227159f..a32e3d5e25 100644
--- a/packages/fetchai/skills/tac_negotiation/skill.yaml
+++ b/packages/fetchai/skills/tac_negotiation/skill.yaml
@@ -8,12 +8,12 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmZucue4N3TX7BPe9CDZybfMQc1zpYbRKEVXAUGYRpcUfD
- __init__.py: QmcgZLvHebdfocqBmbu6gJp35khs6nbdbC649jzUyS86wy
+ __init__.py: QmeFiTH6vHBd754rep2LrK96NMhZqKA4A9Qwfv9eZv6GzW
behaviours.py: QmcBCRFpM6ZtcuNZ12HUuwKgQKVdiAqQ6jDNMvzTGMpDdx
dialogues.py: QmXnRTML2HBWTX3CQ1xJ41tpq2VsgkQY4BoboE3AoMpb99
handlers.py: QmNcNs6sxdu4r97uGkGi8v5D82PgFzLwKHpMKhYZTd6pnu
helpers.py: QmTJbGL8V6CLhbVhLekqKkHbu7cJMfBcv8DtWLSpkKP5tk
- strategy.py: QmTwwJPiutCXNvU4GYmLXpK4x3muVcAGTRehfLXUGKzRSJ
+ strategy.py: QmUANbcuvYMiyrpdPbMS8xyAUb4h4LujyFtCzimSheVRJu
transactions.py: QmXdxq36sFqKUAiLri9QUPNhSa1ELN1EbAJKPWzHQVWtTW
fingerprint_ignore_patterns: []
contracts:
diff --git a/packages/fetchai/skills/tac_negotiation/strategy.py b/packages/fetchai/skills/tac_negotiation/strategy.py
index 9fb26b70db..03d737a512 100644
--- a/packages/fetchai/skills/tac_negotiation/strategy.py
+++ b/packages/fetchai/skills/tac_negotiation/strategy.py
@@ -42,7 +42,7 @@
from aea.helpers.transaction.base import Terms
from aea.skills.base import Model
-from packages.fetchai.contracts.erc1155.contract import PUBLIC_ID
+from packages.fetchai.contracts.erc1155.contract import PUBLIC_ID as CONTRACT_ID
from packages.fetchai.skills.tac_negotiation.dialogues import FipaDialogue
from packages.fetchai.skills.tac_negotiation.helpers import (
build_goods_description,
@@ -60,7 +60,6 @@
"constraint_type": "==",
}
DEFAULT_SEARCH_RADIUS = 5.0
-CONTRACT_ID = str(PUBLIC_ID)
class Strategy(Model):
@@ -111,7 +110,7 @@ def __init__(self, **kwargs) -> None:
}
self._radius = kwargs.pop("search_radius", DEFAULT_SEARCH_RADIUS)
- self._contract_id = CONTRACT_ID
+ self._contract_id = str(CONTRACT_ID)
super().__init__(**kwargs)
diff --git a/packages/fetchai/skills/tac_participation/__init__.py b/packages/fetchai/skills/tac_participation/__init__.py
index 726c112e48..98564fe4e3 100644
--- a/packages/fetchai/skills/tac_participation/__init__.py
+++ b/packages/fetchai/skills/tac_participation/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the tac participation skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/tac_participation:0.10.0")
diff --git a/packages/fetchai/skills/tac_participation/skill.yaml b/packages/fetchai/skills/tac_participation/skill.yaml
index 2b0fb9eea2..0c7ea07e52 100644
--- a/packages/fetchai/skills/tac_participation/skill.yaml
+++ b/packages/fetchai/skills/tac_participation/skill.yaml
@@ -8,7 +8,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmVNxdGy1pbosYrrvbXczbkJtU7f5ddrBPSNnFoJA9GJzg
- __init__.py: QmcVpVrbV54Aogmowu6AomDiVMrVMo9BUvwKt9V1bJpBwp
+ __init__.py: QmNeESxZMkW9JmsU8U1WU57K3nLYqED5s2iYn8YKsdAsaP
behaviours.py: QmX3UbuLohnPSLM2W6LrWcZyo4zXCr1YN5Bznu61v27SZC
dialogues.py: QmZrJ1d9mhtfkxRg5QfsKbbtVZFa6cKna4anRWHvzNTEdD
game.py: QmY5dV1SLK2Y1mreasZJRDXMDnJ82Un9XjR6TD8KdEhaLF
diff --git a/packages/fetchai/skills/thermometer/__init__.py b/packages/fetchai/skills/thermometer/__init__.py
index 81d567366d..eddd73c2c5 100644
--- a/packages/fetchai/skills/thermometer/__init__.py
+++ b/packages/fetchai/skills/thermometer/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the default skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/thermometer:0.13.0")
diff --git a/packages/fetchai/skills/thermometer/skill.yaml b/packages/fetchai/skills/thermometer/skill.yaml
index 2585d9ee3e..2b4d21bd40 100644
--- a/packages/fetchai/skills/thermometer/skill.yaml
+++ b/packages/fetchai/skills/thermometer/skill.yaml
@@ -7,7 +7,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmUH2RCKZZ3sKBptXtYZaFJTsJFyk5P1aeTNYYV1YPRNxP
- __init__.py: QmNkZAetyctaZCUf6ACxP5onGWsSxu2hjSNoFmJ3ta6Lta
+ __init__.py: QmNxJpBvfiVD7qkKxrtCgNkPgfbSk8mJE1V3vW3sYMYByT
behaviours.py: QmWgXU9qgahXwMKNqLLfDiGNYJozSXv2SVMkoPDQncC7ok
dialogues.py: QmPXfUWDxnHDaHQqsgtVhJ2v9dEgGWLtvEHKFvvFcDXGms
handlers.py: QmNujxh4FtecTar5coHTJyY3BnVnsseuARSpyTLUDmFmfX
diff --git a/packages/fetchai/skills/thermometer_client/__init__.py b/packages/fetchai/skills/thermometer_client/__init__.py
index 81d567366d..06f7fb3666 100644
--- a/packages/fetchai/skills/thermometer_client/__init__.py
+++ b/packages/fetchai/skills/thermometer_client/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the default skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/thermometer_client:0.12.0")
diff --git a/packages/fetchai/skills/thermometer_client/skill.yaml b/packages/fetchai/skills/thermometer_client/skill.yaml
index 65d8f0771e..29d56d467a 100644
--- a/packages/fetchai/skills/thermometer_client/skill.yaml
+++ b/packages/fetchai/skills/thermometer_client/skill.yaml
@@ -8,7 +8,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmSn1bh9J7RT241DGT4812rTNGe2S2YLpEvy8ApNqNNqjf
- __init__.py: QmNkZAetyctaZCUf6ACxP5onGWsSxu2hjSNoFmJ3ta6Lta
+ __init__.py: QmdKCsMU6G4ukcrWi8uUUkreD2aKHvDZqi33dhxRg9twEJ
behaviours.py: QmXw3wGKAqCT55MRX61g3eN1T2YVY4XC5z9b4Dg7x1Wihc
dialogues.py: QmcUgBjxeytE5aAx3VvPyna5EcBuqck9KazG3HygCWjawv
handlers.py: QmYx8WzeR2aCg2b2uiR1K2NHLn8DKhzAahLXoFnrXyDoDz
diff --git a/packages/fetchai/skills/weather_client/__init__.py b/packages/fetchai/skills/weather_client/__init__.py
index 81d567366d..cd542caf6d 100644
--- a/packages/fetchai/skills/weather_client/__init__.py
+++ b/packages/fetchai/skills/weather_client/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the default skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/weather_client:0.12.0")
diff --git a/packages/fetchai/skills/weather_client/skill.yaml b/packages/fetchai/skills/weather_client/skill.yaml
index fb603cf822..dfeb5a7175 100644
--- a/packages/fetchai/skills/weather_client/skill.yaml
+++ b/packages/fetchai/skills/weather_client/skill.yaml
@@ -7,7 +7,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: QmP5vjtJk1TirWqzFcgvQYTZeZwaV3Qs5HKVW1WNWgMTPM
- __init__.py: QmNkZAetyctaZCUf6ACxP5onGWsSxu2hjSNoFmJ3ta6Lta
+ __init__.py: QmUUAZ4ajMcfZGJrMpCT8RPtpu2BM4t6fz7b8khubUjHgq
behaviours.py: QmXw3wGKAqCT55MRX61g3eN1T2YVY4XC5z9b4Dg7x1Wihc
dialogues.py: QmcUgBjxeytE5aAx3VvPyna5EcBuqck9KazG3HygCWjawv
handlers.py: QmYx8WzeR2aCg2b2uiR1K2NHLn8DKhzAahLXoFnrXyDoDz
diff --git a/packages/fetchai/skills/weather_station/__init__.py b/packages/fetchai/skills/weather_station/__init__.py
index 81d567366d..82bba490bf 100644
--- a/packages/fetchai/skills/weather_station/__init__.py
+++ b/packages/fetchai/skills/weather_station/__init__.py
@@ -18,3 +18,8 @@
# ------------------------------------------------------------------------------
"""This module contains the implementation of the default skill."""
+
+from aea.configurations.base import PublicId
+
+
+PUBLIC_ID = PublicId.from_str("fetchai/weather_station:0.13.0")
diff --git a/packages/fetchai/skills/weather_station/skill.yaml b/packages/fetchai/skills/weather_station/skill.yaml
index aa62cc9a79..2fb45bcad8 100644
--- a/packages/fetchai/skills/weather_station/skill.yaml
+++ b/packages/fetchai/skills/weather_station/skill.yaml
@@ -8,7 +8,7 @@ license: Apache-2.0
aea_version: '>=0.6.0, <0.7.0'
fingerprint:
README.md: Qma72715sXAgDLggNNVkXQoVxCu9hyEEFKbyWTKSavEF2v
- __init__.py: QmNkZAetyctaZCUf6ACxP5onGWsSxu2hjSNoFmJ3ta6Lta
+ __init__.py: QmdBsQSN5gStoSgxqnmToX8m1u9MXc8NGoRoMy4SoLx9Yx
behaviours.py: QmfPE6zrMmY2QARQt3gNZ2oiV3uAqvAQXSvU3XWnFDUQkG
db_communication.py: QmSLm4jic8JbP2wz35WyWevc9H2ZxsEYfaBMWcEx4pzVcy
dialogues.py: QmPXfUWDxnHDaHQqsgtVhJ2v9dEgGWLtvEHKFvvFcDXGms
diff --git a/packages/hashes.csv b/packages/hashes.csv
index 1c9c2a4ca4..45a8134191 100644
--- a/packages/hashes.csv
+++ b/packages/hashes.csv
@@ -23,18 +23,18 @@ fetchai/connections/gym,QmaVjWPpipys1swkQy64GitynFjyTNZMaVRex4k2RiLnyy
fetchai/connections/http_client,QmPL4gBPPkJgX2s3ZpwgvA4LU7zad159nzS3MTTREPLWC3
fetchai/connections/http_server,Qmdc7MCZVmWk76k2pHB2zBwTJ9iokWpuZ8iqzzreBpVEgn
fetchai/connections/ledger,QmQz561g9MqeTviwbVRUKSY4m1rP5htevi23GKcMYfVwFb
-fetchai/connections/local,QmVw7RDiP5uBtUKodcvvS3uvojPYQGHKMjavUJ2iE7aNB4
-fetchai/connections/oef,QmUnHLMteyQvJKLg1EA5FgwugHz5rjZZFboAL5KB3NgeU1
+fetchai/connections/local,QmXjdBwfTZ7rfSuEsw5xEVTufTeuLKWA6qD1yYrg2pg1YD
+fetchai/connections/oef,Qmbx8qdne85FDfYRz6xgCqFizFZsvFvAT6ERc52pzX8EQR
fetchai/connections/p2p_libp2p,QmStTaRFFdh6nTm68A9C2XPh2wR1teBPM3k1y9mC9hVsiz
fetchai/connections/p2p_libp2p_client,QmV3Tp1d9sUMQpyvtYnsTQPudk1UMQrmaccWnPb5xGebss
fetchai/connections/p2p_stub,QmPstikxKerbMnnjUJrMsSHpEx2UXAhPDa6N5nzB3qeRJB
fetchai/connections/scaffold,QmNUta43nLexAHaXLgmLQYEjntLXSV6MLNvc6Q2CTx7eBS
-fetchai/connections/soef,QmcRKha58cJA15nGQYCamvt5rmAQgfFwsQYdWfJF5HvUSc
+fetchai/connections/soef,QmZgKwrw1myPWMmNNNr73PtMR68hn51Um1z5K3rDp8or2x
fetchai/connections/stub,QmUEv1bMiFqk3wSR3EnYpNDrufwmHckFdpWKwjtcRjdzjN
fetchai/connections/tcp,QmdiYVdNCHFvYWhNMGLhAnXweoB6DsiqdzG7i37FQApPew
fetchai/connections/webhook,QmRXxSvtwzvSdEXjY5UeUuoJBD4qzofMkQCzRxeoQUBmJH
-fetchai/contracts/erc1155,QmbqeTU1TDRVHfqdX6VNf9sWdoqjRAcC1i25ZaCwZXjntY
-fetchai/contracts/scaffold,QmTKkXifQKq5sTVdVKeD9UGnDwdJoEAoJDjY6qUPt9Bsv2
+fetchai/contracts/erc1155,QmV7NKfpXVxeVB4JamCUKypJA7YcJseKrgfYrUuKW7egkU
+fetchai/contracts/scaffold,QmWDtgrzdwC7jSpMNu6MLy3U1fM7wVwgpC3JbbaueKj81q
fetchai/protocols/contract_api,QmfHLj6VAmqCXzxZ11Vz7FLE3obni2UCLMnKxyqFA1iJCF
fetchai/protocols/default,QmWYLfSXcMkvwdAzKmdD3rweSRNVwX5UTgQaH8tECGBxv4
fetchai/protocols/fipa,QmdiRToU57bqkzD23fiz7LmtkyCDaeunzGFRdoSV9ZFZLw
@@ -49,27 +49,27 @@ fetchai/protocols/state_update,Qmdo6GidjoBnZgwYtH9QjdDJeAsjGzxSxxxWtbpHJyx9XG
fetchai/protocols/t_protocol,Qmb7pLnen3VmikYN12Fq6mWgRLanSTnxLtYpcP1g2NYz74
fetchai/protocols/t_protocol_no_ct,QmY5WNHZTDsQWqdRcW5TCBtvPd8j6pX7PgCBwEqfMMYufb
fetchai/protocols/tac,QmfAvonoD7oM7LBejz9QPbbhF9CbQXbQVkbaDhDwK5HUSS
-fetchai/skills/aries_alice,Qmb1BzZ9s5uRxPiqj5gT47JN36LZqGpe3uPP8zv4EiLNDZ
-fetchai/skills/aries_faber,QmWeJTouqVPJocuFJjDijwCdF1vNfvShFLPNdSSQQrxKD8
-fetchai/skills/carpark_client,Qmd1rUfLVA9MhJThhUCxeAMdcoRJAQZAmjiLZv58X6EQ2U
-fetchai/skills/carpark_detection,QmYnJmmKzhghbV4uXphQfCg1S4TEQBLg6dsGzJ4i8fj1yY
-fetchai/skills/echo,QmP1dwNe8WqnytCwU17bhpVnq8WkDGzryqMsjnbFAZUuu1
-fetchai/skills/erc1155_client,QmcvGurDx1BxExWqFc1gkJbo6LnVawNGeSS2TjpneqN1pa
-fetchai/skills/erc1155_deploy,QmTeJscJ5eDUbr4i8iVW9ij2a78vM23MuEBDq7btExhcft
-fetchai/skills/error,QmQdJfLrNxHxXMswvntbAqxJWwP5wWgaboWxMiT28pT3Rh
-fetchai/skills/generic_buyer,QmdUqBJTij8pJxYBRBasvPE56ST9j6houRomxj6TB5pJgn
-fetchai/skills/generic_seller,Qmaop7p743Wn911M11kgr3ek62MjC56iqihD26iByJ8L4m
-fetchai/skills/gym,QmVZPhjB6PQbYH5f5XNFqsdf63aEBxpLtW5Zb7kRUc4S9L
-fetchai/skills/http_echo,QmSrhSVBjR6EdYZ7d6pSqRexBk7jpqcfHqKs9xRegDLGqS
-fetchai/skills/ml_data_provider,QmSRCvaVQs6MDnpNb7bk2zqks9sVGXvxC3bEkBTxTLhftZ
-fetchai/skills/ml_train,QmRg6C7JSSZEheCyLkaMXVwgMkAcTtGHAjv6XWVcNVuQJw
-fetchai/skills/scaffold,QmWXsefztjMfLAsmHGAdLLAvZJb1WxGPpDfx3cS1FWSEFT
-fetchai/skills/simple_service_registration,QmREkUut9Xr2pwwkJ7EXxzpTC4M1ub9R18CwY9YA9J7QJb
-fetchai/skills/tac_control,QmQ1PPbuKfw4JJsYWmhQdU17y5yVZTJ1pxg2T9qVKqJ6SH
-fetchai/skills/tac_control_contract,QmWAEt7nH2sdzGec4LPByR7VrZLnN8n4ptoxgYP9Y9exhE
-fetchai/skills/tac_negotiation,QmditL1KuEmHt9T727Um7ZXU7geJ7GAqMDwK4ztzL1JTWv
-fetchai/skills/tac_participation,QmVExZCQgqsFAAYwLtNxFog7HoMuRVSS2hkMR9uukCCy5t
-fetchai/skills/thermometer,QmNd289PBg5qyDLjQexNoN1Y2dQDhP3jsT65AKiMwJFvzN
-fetchai/skills/thermometer_client,QmaPRBznjimpX18uRB7JbtEdU82cimMxXWDPnbk9T4VwQ6
-fetchai/skills/weather_client,QmewFx3nxrFqQpLutXY6fr8AMQtJfYoeK4uXA8sSHG883Z
-fetchai/skills/weather_station,QmcMJ6uFxd172cyPze87FMRECRxSZNtgShfZzEfFjKpt97
+fetchai/skills/aries_alice,QmXep2mZJZah7PwnP8u766y6wijXB6ikNpDuij4xzGMQiE
+fetchai/skills/aries_faber,QmX3j9MwMbvhBn5utr4Fi6pwRmaShibkAgmXn7C4oBgypU
+fetchai/skills/carpark_client,QmVCL6hPWHU3pZhWPmJm3wadSZ1ksLM31pzWTWyiEEYmQJ
+fetchai/skills/carpark_detection,QmVdJhKfpPYkM1vDbzVbHTymhrh6TCMgYhpz4CDtJw156H
+fetchai/skills/echo,QmbZcW8TwMyFknmA3JN9EsrJU5nWwzveXCH3WDxBkH2Xto
+fetchai/skills/erc1155_client,QmbtirnrV3KsFTvh9v6crPxf1sMyPNpqyKxMFkn92Hd4VL
+fetchai/skills/erc1155_deploy,QmRJeYfmZutbdkX74ChUz8Pwn3M1it9pSBvKsqr6u82R5k
+fetchai/skills/error,QmcxKbE763fRPNjoiXjGDNaza88h4aNMThcYoRgYDiPL2u
+fetchai/skills/generic_buyer,QmZBLhQvmx2WqXy7AK2tzjATEbdALZAqAtKvXg83YkMzDY
+fetchai/skills/generic_seller,QmQLTM4apR4WE7NYxysaW15iwJ8kiY2c28abHp7ccLbfyd
+fetchai/skills/gym,QmXuzQRc8MV7K73mMen5qscL1NkstKcNtQtpcFa5pyiTs3
+fetchai/skills/http_echo,QmfBSgkXqSRWkAeXBfqUVJaS6LFadZoJNrXkFgQK3TiRzm
+fetchai/skills/ml_data_provider,Qmb5w3ZroV5axM13QuAvwyWd23PCyAqZ7m9D3oQpNL8wSE
+fetchai/skills/ml_train,QmcEPUc8hTT57tWBAiBZTZMwKHYwh2hJpjArnYG2w7n4aW
+fetchai/skills/scaffold,QmaZaa8avpHmERmBup47hCup42YbvP9CYo5ogDfmLK16cP
+fetchai/skills/simple_service_registration,QmcGP9pSw1zZ7CBfq3obFWSUAzkbRVqz4hsnXqhFgLiQ1a
+fetchai/skills/tac_control,QmNriQvKvhMsxCZSnFxsYbcYGhVpnqCb9fmcmGax6ocxcR
+fetchai/skills/tac_control_contract,QmQGLkwNsU9wT8xsBhfjYuht2bwm7VN1XBfRqnDzP8UDYt
+fetchai/skills/tac_negotiation,QmTkdVwN4vT8p9E1AtszbQgrizxEL5JdKZjwcFdy5Bgrfq
+fetchai/skills/tac_participation,QmWnL3VVMwfoJDL3rmEcoiXxandy8ZgGgaXBhGoWnzF6xs
+fetchai/skills/thermometer,QmTKEhqRWAHhoom1ApipHnZ7VCVHGnjjCLPwHMjNALaR9Q
+fetchai/skills/thermometer_client,QmPcC3KzkoZihZxxCqkYwddzs9uwoFVk2Q7GTtShtJjZw1
+fetchai/skills/weather_client,QmUMhEGwCKsLtMfB9eXbkZCx7Bkx7xLLLAHGy7Hs6H2ABP
+fetchai/skills/weather_station,QmeLas4u8UVjyVWf9Uj7gZ4Ev4TkUjnWz1WDNAsXKtfbuL
diff --git a/tests/test_cli/test_utils/test_utils.py b/tests/test_cli/test_utils/test_utils.py
index f94cb08efe..5aa1ba7a08 100644
--- a/tests/test_cli/test_utils/test_utils.py
+++ b/tests/test_cli/test_utils/test_utils.py
@@ -42,9 +42,9 @@
find_item_locally,
get_package_path_unified,
get_wallet_from_context,
+ is_distributed_item,
is_fingerprint_correct,
is_item_present_unified,
- is_local_item,
try_get_balance,
try_get_item_source_path,
try_get_item_target_path,
@@ -462,9 +462,9 @@ def test_is_item_present_unified(mock_, vendor):
(STATE_UPDATE_PROTOCOL.to_latest(), True),
],
)
-def test_is_local_item(public_id, expected_outcome):
- """Test the 'is_local_item' CLI utility function."""
- assert is_local_item(public_id) is expected_outcome
+def test_is_distributed_item(public_id, expected_outcome):
+ """Test the 'is_distributed_item' CLI utility function."""
+ assert is_distributed_item(public_id) is expected_outcome
class TestGetWalletFromtx(AEATestCaseEmpty):
From 777ae59b643a5c78aeffa4bac3ffa83df8063ebe Mon Sep 17 00:00:00 2001
From: David Minarsch
Date: Sat, 17 Oct 2020 12:32:53 +0100
Subject: [PATCH 038/155] remove aliases of public id
---
aea/cli_gui/templates/home.html | 4 +-
aea/configurations/base.py | 6 ---
aea/contracts/base.py | 6 +--
aea/mail/base.py | 8 +--
aea/protocols/default/message.py | 4 +-
aea/protocols/default/protocol.yaml | 2 +-
aea/protocols/generator/base.py | 13 ++---
aea/protocols/scaffold/message.py | 4 +-
aea/protocols/scaffold/protocol.yaml | 2 +-
aea/protocols/signing/message.py | 4 +-
aea/protocols/signing/protocol.yaml | 2 +-
aea/protocols/state_update/message.py | 4 +-
aea/protocols/state_update/protocol.yaml | 2 +-
aea/registries/base.py | 42 +++++++--------
aea/registries/filter.py | 4 +-
aea/registries/resources.py | 33 +++++-------
aea/skills/base.py | 3 +-
aea/skills/error/handlers.py | 4 +-
aea/skills/error/skill.yaml | 2 +-
aea/skills/scaffold/handlers.py | 4 +-
aea/skills/scaffold/skill.yaml | 2 +-
docs/api/contracts/base.md | 2 +-
docs/api/mail/base.md | 6 +--
docs/api/registries/base.md | 24 ++++-----
docs/api/registries/filter.md | 2 +-
docs/api/registries/resources.md | 24 ++++-----
docs/decision-maker-transaction.md | 8 +--
docs/generic-skills-step-by-step.md | 18 +++----
docs/skill-guide.md | 4 +-
.../fetchai/protocols/contract_api/message.py | 4 +-
.../protocols/contract_api/protocol.yaml | 2 +-
packages/fetchai/protocols/fipa/message.py | 4 +-
packages/fetchai/protocols/fipa/protocol.yaml | 2 +-
packages/fetchai/protocols/gym/message.py | 4 +-
packages/fetchai/protocols/gym/protocol.yaml | 2 +-
packages/fetchai/protocols/http/message.py | 4 +-
packages/fetchai/protocols/http/protocol.yaml | 2 +-
.../fetchai/protocols/ledger_api/message.py | 4 +-
.../protocols/ledger_api/protocol.yaml | 2 +-
.../fetchai/protocols/ml_trade/message.py | 4 +-
.../fetchai/protocols/ml_trade/protocol.yaml | 2 +-
.../fetchai/protocols/oef_search/message.py | 4 +-
.../protocols/oef_search/protocol.yaml | 2 +-
packages/fetchai/protocols/tac/message.py | 4 +-
packages/fetchai/protocols/tac/protocol.yaml | 2 +-
.../fetchai/skills/aries_alice/handlers.py | 8 +--
.../fetchai/skills/aries_alice/skill.yaml | 2 +-
.../fetchai/skills/aries_faber/handlers.py | 6 +--
.../fetchai/skills/aries_faber/skill.yaml | 2 +-
.../fetchai/skills/erc1155_client/handlers.py | 12 ++---
.../fetchai/skills/erc1155_client/skill.yaml | 2 +-
.../fetchai/skills/erc1155_deploy/handlers.py | 12 ++---
.../fetchai/skills/erc1155_deploy/skill.yaml | 2 +-
.../fetchai/skills/generic_buyer/handlers.py | 10 ++--
.../fetchai/skills/generic_buyer/skill.yaml | 2 +-
.../fetchai/skills/generic_seller/handlers.py | 8 +--
.../fetchai/skills/generic_seller/skill.yaml | 2 +-
.../skills/ml_data_provider/handlers.py | 6 +--
.../skills/ml_data_provider/skill.yaml | 2 +-
packages/fetchai/skills/ml_train/handlers.py | 8 +--
packages/fetchai/skills/ml_train/skill.yaml | 2 +-
.../simple_service_registration/handlers.py | 4 +-
.../simple_service_registration/skill.yaml | 2 +-
.../skills/tac_control_contract/handlers.py | 8 +--
.../skills/tac_control_contract/skill.yaml | 2 +-
.../skills/tac_negotiation/handlers.py | 12 ++---
.../fetchai/skills/tac_negotiation/skill.yaml | 2 +-
packages/hashes.csv | 54 +++++++++----------
tests/common/utils.py | 4 +-
tests/data/generator/t_protocol/message.py | 4 +-
tests/data/generator/t_protocol/protocol.yaml | 2 +-
.../generator/t_protocol_no_ct/message.py | 4 +-
.../generator/t_protocol_no_ct/protocol.yaml | 2 +-
tests/test_cli/test_get_multiaddress.py | 6 +--
.../decision_maker_transaction.py | 4 +-
..._client_connection_to_aries_cloud_agent.py | 4 +-
.../test_ledger/test_ledger_api.py | 4 +-
.../test_generator/test_end_to_end.py | 6 +--
78 files changed, 239 insertions(+), 262 deletions(-)
diff --git a/aea/cli_gui/templates/home.html b/aea/cli_gui/templates/home.html
index 104c61a51e..622c67f09f 100644
--- a/aea/cli_gui/templates/home.html
+++ b/aea/cli_gui/templates/home.html
@@ -226,10 +226,10 @@
@@ -265,7 +265,7 @@ Once you see a message of the form `My libp2p addresses: ['SOME_ADDRESS']` take
In the fourth terminal, fetch **Faber_AEA** and move into its project folder:
``` bash
-aea fetch fetchai/aries_faber:0.11.0
+aea fetch fetchai/aries_faber:0.12.0
cd aries_faber
```
@@ -276,11 +276,11 @@ The following steps create **Faber_AEA** from scratch:
``` bash
aea create aries_faber
cd aries_faber
-aea add connection fetchai/p2p_libp2p:0.10.0
-aea add connection fetchai/soef:0.8.0
-aea add connection fetchai/http_client:0.8.0
-aea add connection fetchai/webhook:0.6.0
-aea add skill fetchai/aries_faber:0.6.0
+aea add connection fetchai/p2p_libp2p:0.11.0
+aea add connection fetchai/soef:0.10.0
+aea add connection fetchai/http_client:0.10.0
+aea add connection fetchai/webhook:0.8.0
+aea add skill fetchai/aries_faber:0.8.0
```
diff --git a/docs/assets/acn-tiers.png b/docs/assets/acn-tiers.png
new file mode 100644
index 0000000000000000000000000000000000000000..826f88c357677a97ddd68deddfe4a366b6010186
GIT binary patch
literal 42233
zcmeFZby!qg-#@wu1%na<1PMVzT1q+;0Tn5wTaYg47+_FPl+;`41_7nJhe5i#Q|TOf
z1{jz*d%*j-pXWXAd4Iq2&-vqAzkOX^vvse%_FCUwpU+x;R8vtTxlDH%005FFj~_h;
z03z^~V3znI_)~vx8VUYfdi_|}1puyG!~MY0bF!1a)#%EWN^fo9&~$AvYDQ=J;}ehT7MTyVwZCz;_r>a4
zl=Aw0jf=ItCG1+A`Q79;sdhSPyQqn{sZh+NU>=2{BMtKXkrESz(eaJFqTX@z25b~_
zn(gk?GhF)o??*BtW`TX+EnXUW3skZnzMLBacRld0z-Rrou6DoI*WFcnWwX**)BKdPmg7Zf2
z_AC=t_jsD#F>*;d#P+73g~pHkAAJ1LSV(J5o>belkC2VD-lS;5zFy2S-{6}7M-T5O
zHh)8^F+|6P4{ieqDw+UvS
zaB0nq^W*)>jx<&+*qG9c6SH%BaYyxOL~e~>7`?~S`vbmc(r-ss94YEY>aV4o`Oa6Z
zKu!9Q>DUXRVa_xAB@wzH?k-u=l*
zV;7$Fx}H0!nqCOCLE<}2OO>RrTFOaZ-JFJB1VSl3TyG4X;wq?1G8#Y9Lr!RxsOxRT(_yvr%NYp$OKC7YUh+Q1jJ6;M>!ur`M+&;KZkUyq;Ym}k_Tca{4(~rd$(mp{ata@6O_x2ykNB<%F(Z;WU%u&<=@?vn=TrXRMpZK
z=zq#gaMBw^kzr3G27@QJI1RUn6|Fv|?|@Cr#9rv9$=3H$(DtmSGUG6;FFgeA%;(FK&$J=S%(0qwv|M
z_P)9x)r~Wt)q}wT-FqU20=5bTt+~3W`Tgx`MVq={;#voTV&*F^rKNmr3RJ
zeWx1|D5sA;u|`^&-#r=TgRTZTkt{IMavs6%Z)MA@mGnf|`EZ_E&3}T0Lye5nSRGPWH1x}M3yyQ`
z)k7s1(NVKshkqf^qr$g|LywMXB8|7S6Q92{;1{Xj#i}SxulE;K&Xva>`|`X*Bq$Xt
z8mLZLMm{icwH|SFm+{0y*A#ml4@(o+T8w;_
zvFq37`ABVJncoL1k3v2P=hrZxI77v1mcy@Gcc0F#@}I1GkYMUC!XNgeiV;28zcq~K
zgV#T<2P4Y0$nj<(MozOB1IjT5z1frSD7SVk_YVUG;^$G&>Ppc~6W2s}%f9UPF9Tc>
z9tUC@po9iyeX&IBlG;_ZX2uMLM}Dt;Kc*B598Okj$?BCLK9{}(rS8{LD;AyUrENH|
z33HmJ=xW*xDdTRup`@vWPFV5gO2YnzW1W%@e5zW!6)W9QDD4FD6Zu0bLyMwP%QD-K
z+Z^H-xopXoKhpWQEE>A$`U$qsEOYUqZn%ALYCh4R*AC@)TRtZ&Zxscrc%t;Sr7|sm
zzxptE&ZsjQnY(Bd0`NDC(8FsR7~k+bJXf)-{s%S&)4>;oG3P^32`kU{a_gQ^QyZEB0*;vmDoCltu*HPj`5-QuXe_s14m{m>%N5bCL4KF>3BRu7_zW_<{}Dz
z-fBcavCFrIzn<-_o`)Kf`W{ISqi#orHb@7z__~8mamxB-)@MJ24YI$!6N8|#9C_g!
z5H|c|eaEBc)bGpFR`j^vKc~RRlh|DP#<}?OW!;oT;0p>rc`Gn*^uSmA=-bB9ScRi{
zyCj5I_Ze2IF0vq_xi5Afe0OoxY!TZg)x|b%SO1&3!Re*_&NsoY5g+zMMf1U1g{xNLj5I
zH_8^~{KCXKuSq-<>54><3ZN{<6t3yZ92zLf0_s*Nq4;AN29Wpe+)kTf$tfM<-=e5&8qT
ztM7JEfdTK^>Y6QM?a?=nKDm3O67WVr?J{6MZ@i!TsB_E@6+Hcn??2gG^7FhRYHaRH
z9=|ed*&kZUGc+dC)LsgEXKs;<87~pu${S-+pC{J0md0bo^$Z9-AarWZ;A8!6+hp|G
zmh)}WSU|p}!Hc33^TpkmyxaH_B=qZ)0D{NWoLWMbo=sdiWEy%v8W)17!ou&Lc(26&
zNfmL-$U3fUZ4ccHZFfYrjC)?7}w20vKT`IX*?~Ad+xZr&Y
zc0Zf)Pg0^xz@;B1y3}W|=sIrBiz-DM7CCp_;UsQ%wQ|O43JeoiCcG$Gd
zKB~vr#vGrepnGZ+GtQfrwnCY+5*za?G%@x3GWubk?8&}p1~tc7PX+Y*5_Q7tD{GMXt*bt9StEVT&zAt*-LG*yJ1
zT)(yM)cmKVLc+UeLX&eisVuT?tdwZ&PQtj{8q~tOx7ZzQ5;a|0KYfI7{
znmX8ILX^@5M5DXn#<$tLTO$OcyYHO)PzndwCTA&vAscn|ozAW^F3zjc$@tl|ZpQ0W
zEm*n&6B5PzNua{VrN6wqEB>-qLR-YLjMX?oyfyEPU5{d@e`~v%Py4ot5S2A8bxL>)
zn?H**pU&j=egX&7k_IIdX;^UBHOAmYrgb*Hm~9|sC)|(0=d;t9$jJI#<=5_hiV0DuC@CS
zP6ek{)6fp&R?ebq@W3+0p@RJ0RN<=!)NkcQ
zj2$6|@+;RL=n_7pXnW)t)hQS29cWB{U;5~$Ws;K~b!oHZs9Y#ti|z(tSJaQ%Q`>RI
z_eDO|s);rf3i7^bDymY)vLg?4sD2x7RE!}UY7t|8@2d{Io9#u0T{S7n6%uiQaXKmD
z6g_7YqE=9W81&>>yV*LUrt|#%5>JoB*r(WI+RX5?!Ch6DiKN0)3Di05@7S`=q@8z}
zEcckK;C)!Q0;>FmdWk+19W?@otodiDs}$fv6=+d=^m$HKcA@Os09DFFEJJ8IYVS
zXSbL*el6?t`g{VaIle>+2)Shx7}gv|)tJNaMYY$c;7&s?m~PbvY4vo=Ob}gogoR$j
zw1!ZMlSNY_)}hV-*j#Ok4|Tv|T1*6e-HAv8ocix2nHn`urTCSLEFW})y#_8pnl%T(
zftHWSY%0hBR9#ecw&dv_^Hn*=_Q6`-Bq1m#+Os!%G4J|hR&@3dxNJuqTzuzHAp_tN(rKZUn^
zmVRJR*wt5QN?UVcO2vIEE-t*AMd;Usrd9o(k4E*m9Ve1|gS|e=+ICknjj|o07t6`S
z+1JH-DJC>|e~vSurr`Pd45mHvj5k7kR)<$^!z_LdThC}hhb-$)+FG)_VZCWu1XXoO
zJ?aTW$IIV12AAs!w9fR|cf5Ow+%;!neLPX(2o-l-d5v2N3!9%rngu)6x~#mGYoY2?
z3ul5pjeC94t3kXpky=y2s1Sbhv$WSp?0Br-X?%2v_^7^lA{m3X2n^GL$eghpdiCXR
z_^88du>E{74gej076kzCf1srQpW$Y&V%oWbKAW*;vW4X5dh?Lw9<^WU9d@=W33tpW
z+IRJl2wPnFT`~B%(NS9p2b%%_h&7tf(@VX49(QjwLCCc0(1_1;fSnJ4k{@xlOOF6w
z8}jza315V=W5KkR9eRyFW`;V2AFP*(#8gvF~)>YZaWcm3hh?~!SRpBEb*pH1M
zQ=(L0QjRz|%v$Z9#^#2eHCJPd-@qHQ@Y~vt$jHgBdwAHIQoDzEV!gqUKA3#6E~8@B
z8m|8AtSJavn#7CEhdx=&6;$2a7r6Hrj>+;EL_)nq!f2(reUZjKdSYj&Cl2(qx7b~n
zRVvsLn^-kZA$8w^@JY0@`$3DH&p-$qKswp=EkgNm0k#DAbbN!~w9@9EC!c^%-eV{v
zWbGVcWfSW9R-Wt;Q8&BFmO?rwJ+a;Ov(&89d+`i+^}p5+&R`^Wc4C$7Y@k324ZiI8
z-TxA54J5t4)xd8(KJd=r9I!o`rLGXvA}jj53xA{k(I#=2n)v8@OVUgR{gIk;@FV5X
zAB+h&pJ&{Gz69(XBL?>WEDu3vH$7i&Tk&^B@#c!B45RY%j(u2hDh4fsD=cGVe%;Lh
zxO?ra6qcn-6yIsIMrcN7jv}{|WPI1lTz3!qrARG?YHtXWlzwidSMm*KTB(|aqO80f
zQ5e_#3de7#8F95iG2kxz+$g*pm?%|b*dek~T{W+txl_Z%a7Ne7Z`!oI?}+j7qvQAS
z^md<(w_cwS=_VAe5e-v<7(=hB05d1%`>IAm3z9;E?C<{EsmjxRDR!K$a
z3K^S3s5rcfZ1@WViV@#>6D-%6f$;NmAxpW?DU6Ug&fgWZ@}gk|ZsRfIUK48l-ME!W
z}W3_||`=8&WPs@fgPBCrT=>;`vwqSwfxJU}``&sBq-ud)z=v;p=?xE^ho!
z6hL{b{GO$|_j%|5R^I)cp8k#95a@dK+?^e29A+J`t}Q$Aj3wr=?5GSF5;8JT3%4A-8U&?IF(tg
zM`&x10simNhZpt+TP=IEt&Z)-KJ>2+30l627_GoY>^D%7aWVqH4JH5QdJQrcx%}pj
zPrRV9r|EP6K(`vIYJBU&Oie`sO*U9MKFZ1BT8X|dH3PPf}W;b*JP*TsIQcR5T1$f7LW}ec5rkwDR
z358N#V@G}heI1WEL&&a)mQrc@QHoDT6UXJtfUMlgSX$DF05bw7%aIUrijlBh$4*%g*p@FDK6ys3K+u_`Q3=f#&@$?CYr
zjmis}dFqIem{@yVfgGN(~FTJ8XJVygG#VVPH;u}5(2c7<2*T`YcX4LoiinI(n4|d(0-RB{->?u=nFC!NmCZ2~53bU6WoAf()
zUcJaQYxCywzAAgy6E2$ybYLnw5Qz8TH4oVVIG|VsnIajO@5(8oDphNs4(EP1Y>VUx
zv*+lsR3t&eQJ
zCGjr@E<$CplV#{idG0G8*vTxE?@CI;Uwpnsy7XNMvbJ9y)dM#r_l+vZ3oF9w=4=a2
z5Rb*(rh>lS#0{^y2D97wRDUQZzf$x{0*gj)$`5uF_Scwg5sl%^2(dRR=9koH{rOo{
zd#aBzZ_Z*1DuC^`CDk4PQab_tmy4n~3YM=;?_Zma0~htfTET_rTAyAXz%K2w}NKI=?c*SKTc$fB==MKfRji%f%Cwdj9Ya-)li2htj6#AP80W2tZ?s#v#t$9oYyFoK;6B*)rD?NYb
zgofs{`BK5MsU+D{i2!}N?`>Ol(5^$4dY{oJiH)tATU8U+1>e#P)Y+N(s1!h|ny#4i
z)i-eyI~wtt+d$04_4teKFqHmI&y5JB%!sF0`@J{WFLl$KER9^o$0&P}-n|`^`3l2q
z&!ZtXUkuGvi_Pa;%-qqdl~I-{w_7`>o!diZ@>He3OA^M@!Yk{vU7~tVLIv|vi*tCB
zj4`7xN@SO!3Vd>2mVIANxa!Uwrgk+sJIt(|q{7^|;AFDE^@3#;al;(H@9_|KW%eDU
zeCRK324h}fGITM@*Tx2^M`$DkgEL-)kTpA1oF0U+cWHADnf#>5?}&QKbMYs|!V;b%
z;TzcS-4^OwCEEq=QNTMq@0ZKJ9UOD1ZLXs(P8|>Y_VZN>G?sb?m8S@lr`6sdwJXJh
zUK?jW0)X?q09-8^8$+GVo{mW}siO|<1~>P%Fg~W*W6|Lr#12yvQYUr0Z~LdiKgt$P
z{*~i+^NGy(G4j(eP9**_(^03gP&*_6b_E&SlW{1B{1l?Ltdml>5$N*BlN|4fQ$&?b
z@Pn@MhriUUQ|7JMC~7yRJ(#a(o1R3DlK)l;&0b
zXI`Z}skgPpq~F-pjZ@)6bdZny&WxvYJ_mler|QX#2vJ3hn6BmYbsCWkIwBXc=Gvu~
z_ET4yU7A?yA|R|X`2x3Lr;{EYhGs=B_h?2LdRs*u98HMzEX0AA{w$w@&F}8jb2QX-
z6k0D0k>S@zqsQOfw_I9rm{law_nTQMtwCfvO+SR|gbP+9-aibq?{B8j9PWC9M{C)JMYzv_=%O*|D0`ql#gu2B{5BUB4WrW+W6K8+oM)0JPG?gY(bhphL!Fxv3;D4{Os
z_UzD?4mIq;OR4AL~6WzP|M8Zp-r!o%~Xr
zS)ZG?9u`T`hNR?FUbVT&ga_IW|HuX77?+1AJ?^R-bCouu6v-}#{U77#^cVRB=2}EH
z_fTpxi8L;nd0c`mH@Dj58bs^Hlxep@)+59%ray&X($>pF9U1o(4o5o@EAyTK!~x{D
zMv3rDP(9_uKXy+ypO4^qe(xmNM-r0`f*rt!|v;w8968Aqe>QFlOtu)qqgStbR4$E_DSEI
zSMkwFgQl)Bi&YoF$mC@u=zY$U4MNZXAAG+W6Rc!R9Z-b{gjTJ1b}~^QHM6G_3uy)J
zPqgGYdR)Oes|R%~iiM0a83xOPWJz6*%Y$a;G>U7~sMF5qhdk~e^^e;su<{6H?_IlC
zP+h>Zq?n~%ncZSe#;Wr{CEZn0V`bfiPB=WZ^k^A7ww@*L|22FxQzTD-{YUc>8#ec8
zbA4`>*}x8Ig@F_4-06{XGR&=fu|N~itE~#g-!v|MhU9{}DF3k0J+DMJb<|#y@Dds;
zul;I9_y(C0lr#w-zj&+RyD77~MJlAA5^D^N#&$(t?`Dd8XxlBs_<*~x+6`7Z^k_W-8z)^J7YUU`KNWDLD1V*s^x?3)sO>q8ZRybB|
znB4CBL0N*u;(BvWQ-^=P0QbgbnT=Ay5}HU0aTHBgxNnL0DIAgEfrRU#_V9sv{l;Ep
zjH3*P8;#tE2+)ke*k$U>2_msv2y}F@H+=Myx>Vs3yLGQE
zU%3VexZnxelR-s;wfz$dO83ey<&|M<7{&)wIBl-E5{-qW
z=j-JwHcu44m!(_llXX%md?1H(Dr1L+xJ3`ad^x=Q{Js1EouZ(!bb7fl;~K|?b)?vj
zWgR`kp|v*on{wWRD@RBp
zOW9quV*2k$>301H~g1_!t9?>Ay4t%A2-wUcz(lE$qG
zhg+=K8pAtmSFEdAwPL?`hi44SS6=^Z9O$RyP|36Iv)=2RaBx2ca@Y8B=|qy>aIcF`
zZ#^R-WU&=>8j{~H>M^uj&FA}aC0PAAzU=n^)5npUlO8@tJu45_?cp^~n=|AFcg%UY
zG}pc9Igg%a4QteCU6tlSE#%bp%oydACmR#`G_yTtW#(}|kq>&swGofQW$t~=ho2Nj
z6?hn@HdeI;yiG#7homq+{7B52)@hgWv)!b%|MKzWu44!ZXr2eON)nZ8!67B;3d_ch
z-g>+xNf*7z79q!)2>r2nuS_O%Lbr^B(@fePUo``(P&f>WsNBPDA|(m_RA3wX*Gj)>
z`=K5@*1VcjezK&d+?aP2mHp0_CSllxc+{#tRmc7rg}0Xb^!0#V9zM5%#z;X$ZIYF_
zs*XL$vdu)wa1P!#bkorkUmd2r3n!hrb?%%AeWqKC(Qp4%Ph_i60X0<SS0&5fJMF)y-VZpKB?ah%3Og$|Wsm79~
zl96a?2j5k-iXPaZx2-&}=ibRBUGkV@_PX%p;8FT54&DMfYEACbBd}~NkxBN(Bs#Qe
zU17r&+E)38FQKZ5$`rTdW5|C#<_^)}h*G%l${(sUUzs
zsitjxXmU5UKbB^6(h3)aS?_IKu3cP$4$dbu@8KMGe3YIEavTV`jbA5vr^k3hAQa6Z
z{)7v4@!Nfz<>>eoPdtw-a|aYYXj0*gR754jY4M<~kRN=v;;IP2;L>Uo%K8u
zuO5OeKl*iPOMkBk;~*To-qzUYsqsG1$*wl*d$G$s{6R^fu-?=5D1=g`RuV4R_%A_z
zB}Gn)!&rb1OuIBFyqt~j;Cn0${=^q{5h*|E+C=r*XMBm)+;OuZU{I21kH&;6jJc_Uc8WAV?+7dxR$*I42(dY#R1HA@Vl2_*A<3E
zq+>x(Ls$}iIPvvtHxFf*x|^niD)Gsl-)Gt4g&|JE%S7VgTG#NNIF6F18bI??HJ4u9
zGqYyr$9y*=G@)>ir_unw-`4$OhUtddOrF@YxusxXHnl?YO9+W2o(3KN+Z~Qml#CkI;S%r@V1^9&r;>o
z1P&)|F81F(@+eLzq6Jz|!{X%Y9MUokts*E`G_R=bqqzHCkF-6ei&SbG$H%;{NX?hk
zjBK^%bM^2qnlTwD2EH$PWs{KZ%rW%UZ7*zfq)d?0(WjqN{tiB(NPlwUPbSM8)iW@fo$JP1wKY|_awl=HLiHy@d`
zwTcwG(WNt?Oc>iMgMA+7)_-J(UTJnyAg3MGy-~fG7^5b)z6VZ^2`a^p>PJ92TVc
zuKK9?JvIhei%ffq4}yNnPz2v#;FIOM+-^mdqamv_GRG0Y;|i|8b5%t@7#G8MUCyEn
zolGr!9x^M6bmN;gP80~&>U&ytkFSsX3{d}1I64ZrfRls2^n#&Hz)Pl*V?jQ(#6MWu
zvD(yZ=*UZ>6mdLeT%$Aiv4qSQ%wZj5_VpOoy!KjIHzWXJO5k+{72V2nW?o994cHgI>wg37r7)3h&VuzbAQT9<1wqDxJHWTEq;S}1({m9;
zQh4IbI5rcUejho+2%`S-M?67|2j?9Cz?bbtG~jasZ+j5o2
zGHIAxv~L|b(Bi`bm|1~urD<2T4>ncxNx$MvmaI4Lhmg#^kOe=2=w|56q=6n2B>IEc
zG1SkCqSA42p23&^2p6;N*st2kkw?e8J{B7fm`D(CdP?Wk(S$?YB6GHT@Zb!3t9_Vh
z>(PSba+)guAm@OC3QJXu5>!qPuQnHK8;O5aQDN1$d6vhFnch7vzy|fe@87pc!p{6i
zW`)m0hTF|%qyctxBRgyEz54BDY^iB
zz@OUU&z7n)xER#Zxi~mZGb}vrPJ*8b
zPHlicY4Op=plV+Ck&Wg|5Jo*t`8V7gm-E5v4@c>LN2lENWwraRPzDjOrUHQY^~^i7
zVyGRiO&yXH#YESHR`s#P|
zCI5Lsf84+K-B$ENE9kwR&|OtkL7xiEeItv#cyXf*X~@AKmhF$jWzU*%D~4w(%ba>0
zw{3r3RlRfSCl2Wf6tZ5R9efbMayJ}uo6$0yF8*C>^i}L@@#9GmDiVKQByi3^aTr$K
z%d7Lqo5b}Lw=f*-o~hi3wX8mgkdEg)ZTn_NPKNMFT{8i}{k*lkvYWGQE+WT=?zE8f
z*4<^x1m6Z1_@qnWS`pyNivzMj{%T@76q|}Ov#;$};K#}n6_(KI6Jw*VEny5_W*~O@
z;y#Ddlm)M?4+>WjNqV&k6e8zs#ma}n9Yc!9e(PXRj>gK^!%mt(85pu=trfqoNF`3d
z7lF=%`*Q17s{xOvUorS|oG}=BGi@I!2U4dY&!_-k-~Nl#f3u|>H&5!$cEnim3=eLK
zpdF?CqtgEyCv$G2dJ{|RjB9i=x#J|WFkMg{4AT=k!>
ziGg!YMz7p8^^B_maNN}2J_eF5<%IpT-9`xtDhZ!RH)qTy@PHJi
zed0$$v_`usc^5UN)$7-bj}3ybB)tJxVe+5=YSM?|>fl
zKX^SZ0TtmK5G2B$tTw!}2J4(@9EaHV5Tu@T-0n%8(${@%tr*bp7O#tJdA`1LAT9z>
zT>{D8v?IYmFd(^m-@twR>HN?~CKZ>0Y9UxT)YyABaeDRJZ>F`K0gxM0A2b))^)&m@
zyAvRW>Yqjr_8V_K-GaHLWV(QhVq7Li`R+|g&xt?@{fCrB@K!`x!ExQc=R6naYK3Ba
zA-@{RAaUn({B6$Qhu@8ZCFq%F`lveVzkZCfHOeF)H+)$C8$z=rxxE3-K0Cp7Vpi|B
zHT2QCr?-6dP;n(_DbtFaMfRZmgN5B0eyr!N>w=GWgp~O
z|CrxD9K31F9Bz(zcA&*uFEm|R?L$Z{T}q+(Q&Qz!!~0j_>-fhhO)sg5w|pnjl%K!&u*0-0e3h~z73tKoJDP;w#
zA{v<~dQ^YOKs%Fjjke&+0kJ%h@6@lYu!#ME-jPfZ56Q{Z4B&2}ptP_2@nP4|TN#^c
z4}OK`tq6$G0e3d+2Q0qAn}|1F
zNSPt*z{yD9Px?BK*eO(h813#?_<);b*dwq>O2)s}LXYtF=RkT?DW{@9lLh!!NR0g-
zH*Mf{viu=?&CY01GF-nfFag_pgLStBg?L}CjHnE*Y}in@PATX&@a+z(GW$;Q!s)QS
zw7qcXYqO1alhtgUUGA@M2%Q;?7wvolvi9}BQO%d^#dlsjct
z9$kNj!8U|jrSn*1+V!UuyZM&Hc79!e!(wwq;=A`u
ziPsw5QBTGBQwAC5^nSUCI&6}bE@zVH6|D|{ni@6fBRcNyaUdIsYI7uH-@+3^^l
zXP@b;3$GPT4F=~E^6ey`m_)=*+rt0GhM1?0HPA*3yi8)@ezq#NdYq$`DRRFwlZnZX
z>k2`8YZyaLX2NpO=P#VNl1kPFyU;pdU*XU#o;`iya(L{Avroj@pchPvK`Y56Qr+|pux_j$4LqDx$$vJXalh&2~PUB!dk2SA5yY&aA
zXIG@MNOge&5fRG>blqe$<5ByY>bzk=xHtc_*C^})?GyXBmnyqze0y}a94cQOsP>?B
zbZGIIyG*NP3(CxO*K{gau3$RkM<))O&<&j6Sb?_jC_V#`8$wdsr%dM4<{3T3#PNvQ
zd9E+5O?z@OSb0O0pC2h5N4v-3&B2aU_nw;RSTLqm6Yp^{QCyy>L7`TE60i@ne2)3T3uV$C8~I!u*Ys4
zVTHU#)zKD0xr!z*TMqOWaWB0Ou?D;F*WE{~J&~9g<)R$=mC0uieL;nSQ@&5=3lY?F
zsZ6KkUby8>4CUSXO8yP_u#@AO)%v!>uTtyaDm}O}%CbPS8j~IQ!^}`g4>G=6n!WgT
zV^|b{(=ugm!c)ftPsg8T9rJWW39HA*>tCirDV!Ol{KTbpHhyeK8p9VG$EBitU|R<+
zJro7T(1Q-Un~SY2y{(>{t=C3#r_cop5LmRbAC`>3Y+Q_bz77xYpBsPOh#V@;73vC9+6YQcJ_Zh{wFZ9CcxOpkMrkct*)B6A;kG8!Hc^QN7gAVcgkJoTFvY8KTg3
zpUKOBHN5IHb9i~fkrqY$TTgP%FRMnO3S2A?-C?`}o89H-bGOG;Q93ciY;!wI2)L!d
z*SjBOT3PW!;IQ=>?zX!$zkB<7{XU1ocPG3U6hAkK&NFh>tj!(Oz>9dVd`8r+&&cP<
zC%F{&6)kY&yUbQ>#a-3tlz&VepAf^C
zCz(;t-B7MG;8Ko&^IXS!={ge`l-mDN$1hxTIf4ux$?!rv->1D-sPS65^+%ht*e1>L
zHJCJicl$1Wu+9X3^(WKupTuHwl}CYOJ0+`jqMCV1c15j4R4fZsn>ik;s}FN(gLGO1
zs`s;}<-0Ywj6PrJ@usk9;$GnqPcidZy2Yu=HEu9hZN@A
ze*2vmChgq*PFF|sIM!BX`uU!7q?bYZ?#)|0{BBpbUO_Q>9+L|*{*f%MTx6)Uk^-u=
zj1o8R?S9JDq|Im*X_3LIsJS}ZgJd*Zs(>F~?WW+Vz$KvmXrQ7-CU2u!;nbRw4D%Wr
znrKF$^XRVn1c7}%o+_aL#jkH0;=^*W%{N=0e}u$XU+S=fSG0l~!;{7lsdrt9$IO11
z=VlZNh+nn5%+>395z&j_in?uR1<;O$$qMFc=jjXP(~k!C@#ELVB4liY=55hruTVNw
zl6S+bW4-eD&=(crV1#a2X4AnOa!J-l?d(ahbdS5)s5Bdqgy9
zpsyFIdtg(fXv{e|Xn#jO_KR!MvU%e&*3|iG$>t^viqg=%=$VDlC=ZX9p7JWDLZb>h
zz&}{0MSZmgS(k!Y1p?)%A$U;|_Zy8oA|byFclsx=J6+%ym%o>*8o5q%->ybv!;-Sj
zJnJd+M?VfgG#N*`NK{O5BU?zXvt7Es=;xS%n6KDh*)^W
z{YgfjjL}ZiFa2!2E=v_^Tkf)nZEZ{ZBFm&iU&qEu2P1|L8S9KPn2FrhC}Y9u!%PU-
zP_+naSZ~&^PhUEGcb?uFn+RTp`*jA{R{t`np4+WdSQN9kvcs~HGsRc=L?yzr}!pEw#a$vfFcif_)FhMN5tb|zbF?JBi2
z0*$+8lTAdWm9t^Xm-VeThL@u@yn%(B&G}^IWX
zPCr@go8zM?q#BLkI0;dK7r0d@d+|2(eWp>(+WClLPeu>CKfwl6Q=xDOeEmt+P?69V
zOADQjd-z|*^m*~W5XWJV`HI1!>U#V
zl_VDfM!a9=LZ?>R%1_$pB4d)tZV`H?C!Wv|5o-;tc-}{aH#j|84ee24ToMl7vo7~N
z<=lFiNp~GAO>TDj$fwXwhiDrft+J8KrCB%`mvwP;H46-9^G#MufbR2-lEG15TrcZt
zj^u~ztNol37xq523Uf+OON?~;gxeJ4IU4gX_71*-dhtwGQI+9VM9eZJ?`~=vAFXbz
zKf`;r!AJA*3E{JT^ZT=>J=EgiEHOOyat;{5$nF(te(ULc-EsDKK-&scXyHA^D+gWU
zQbd!J%Ok^=N+^H^{72;OiXM|+Wx3wMcQfvC$z{_QNLA?HOWb5RG1@Z!5>e&aw&)br
z;bH(C?%3o%Cm%ijP`sX6AUths`v~5)h#Tb
r;I07v0n5Rol2VBun!^?y!WQ?9J9Rgoj`Bc6|
z8)MBp47qiW4)moHF4z@ySxDA_=F5?)adHBdR@q)Qpi{Z>wEPvfICpbLFvFz@*6K2N
zA%HD1)!@X(E6nuS-lbm-33pr#f+xUb4Dcy=(s5ectc?Qiv8#sshy6BH(uBR^L=PV}
z^zkn;RIeAb>gkmmit0^LT~r#~|C$Gb=Sh1zZ#}xscQn*8#G!S-SEd;Hd;YGW2m&3i
z`4%>?t{z~S%rjH>l_~-tx1ji~zR23}eHXSoFmAHi8Z;Z{K3nSx{#?7<(yMUqpbSyI
zLGebjYK1xX>b%95R$)JJA-^8YIU}Xz50HpGtw~G1w@uDY(-22=+bfh|=#MBiS=K2o
zno-`w^r=6Q;zV*k0G;XTEnny~IXfjeKD=L#g1V}(>juhDxXY{U_Q_ywM;CQj-jv^6
z`dHyo6O`7~?$i2LG_H_OwKDP?9
zxT1H0uk@@=5Y!qCjME-0-0rWmceHpRo!dL;@&5&)GC_m`TD`OP3uk@
z2inQH3MHjemI-LEP|Ivhk`}WiG7L7}-_qQfLBVvrN
zO1CMO8qa)@Ct+JRe>a$R-4&%)U7-_KJc5h2+^@L3INgx)qtnVFMk3>3H1i*pS(!u3
zcBy|_xKHPan4=}Mj6{%^4T9CGhq`tBwnCiX+;vy-E7wA#DGFHanXq=qlL-D2iwyo0#ixz+Iswy*8gSYZv=DO5MV{^&;6e_C9vh6#a@?re@gUIg=CPd^
zXtFZHLW#Pc0FRU0OAC76E~b5C&Ki26nTNJ5x^8|`UhSJ+42=#IksE*?+u;Cvo;Bl|
zpQjTiD82!@9ktR?v8gmIVa#|^K#(R84y9{rDo$EdvTQ*Wk^O25$zqQ_3GIP-vgJ4j+yo%29o9+eX$7%hs;;77J7Hi7K?Nr&A*4V*VgY7`qzIW
zK46r5&5{R2YEa|n!|c4uH!PpH9>aE)(BnzqLA~Z3u;cm@aB0}?hxk3Os7VgAMV>Dt
z9|ttfcN<-#*0mN>!+l=odn!omksIpC-%zBW`a!*Pfja06i@aNUs8(pMtRF|qAgB
zZcNqkAHezw9s%FXpWIb_)26Dhl}Y-gPZc
z#HUZup~VQ&gT9o~)6C~gY}eK~nciA*4$r7x0@l0g-h8&;d(h2N`bM&Lf8SpmU&x;Z
zYQaaf`x{0mYjo_6$_k2L(o_YQJvt-5DqM%J!gtezSJQ;GW6YK|tFXI`LdfiUH&Q5S
zcLroKq7^O2)h<=(swpWY&n_HVgnIK89va2=D)US?3+vhln`=iz;f1Nj31KvsQI%yVoC0FN{b
zY^#LBqNKEPt8eqvY|GuLZLsZ?(fz(d^}wgz(wND=m6tjf!5
z4U%g75$HRooqfJYwbCoD$&!#M;i^pZIfX6!5>u0^|ywmmj!~k=)W+9Ph820pYl+65NOZHLD^%
z>;D&11IXjXerg
zqN1AU`waWi7$T*F7c+zN{C|Unanb^T4325xCqX0tcPwgFGB(Pv`03B~W;DAB=WX0!
zn!cuLas3xt`HW{D7ge2sETW#O@=ALy!}c+bvl`F-KF|X`LU*sPLc#x~Ba_c}YkM}%AO;pQMKccdDiI3V8{mBnX>`LQ26Qts-dlyk{Kfr6?P
zR;Fb!af
zwy-MeGUy*eM|@bxM7oo#RiaYc<3g*yyQro`UkhJ^W0xZLJF!TE<7I8A$Y~KEly?@|
znPM=<{WUr4pwWpyZnQnoUXEpx2NlD`fwRuLLfCMS(u!jk0*!{dVd3A+vbYPh3fv_-
zPySz(cm5wFs9DJ=B2`EoL2tkjdR=E{;hr76mOAoh0N-1SW0O5MiIg`WKlahhtvqwa
zP-^D9*FIT7e>V$#55U
z836Z9_*9aD4@sJ?rGP)+)hFu;Jfx(*$*9UFCH3nMA4&3v2=ro+djscQ40d+;zxomY
zd{;TMd9V*5a@^DUuZXyBjX0lOi~GlC@nx+{|AdGN@DX_Zmk@#L{QNB4J8JY_<>%wQ
za~T}(zj%l97$Ez9wf7cKQFVRa@Brq8igXF6bW3*_lyrAUBPB6(+0xR@Al*pAPzE6_
z-Jo=jbPO|md(g}4j_1Cg`+e5;zH5EodXGz;b(nMZ*?a%@KYqX8*|=kh8F2MY-qMfX
zw|4snaDI;l8y2_#b6kA@(XraU8p7-S>piaAUp(YrUf{ob^8ey_Z=T)zUp)EyT=9z4
z$X$t3W#i<10=x}xyYVH*3AedO8sp5;E?1w3R_>8GE0O(%0mgy49Azc%D-g+b`SG9N
zBA+k2^|elp1}5LV*rwEdBmW;?PWd)=f;};p4QxqKbQ*-i5VaD5drHUO=2vXOu^?DC
zA+`E$-?s<%xAs=jTi*A`t@T0|RV%@WqOLb>2$
zygxG>n)s!^Uj|mTZt1|$K78nqK8MKgKaR8U>|~L$FhUoip1ZC#Q?8r}@n#0RZ+0Dl
zNG;B&@|NLhl_;>HS9w;R;Tc+|Cd94jb0{KC(HpKme)JMw4|t+-5lrf(C}S_L5BdR<
zKC^Q)iX(o0_m3Spky8YVh>W`{To#_4(Ti$5mBD(en|%c`zo5P*9#wo8-y=b?c;xTLh&-|tcaOo`;Rkvf
zcm?0Zbbi9_XCd`R())8T!N{
zO#pq1`S)~O5UD7pR)h7+MMT}yF5bi?H4K2LfB+U?(6BRo@sEcb`!vGYZ{NS@sI!f{
zMhVeT%aQmI96fK=`|&f&Wl3qw5Eu6h57rg5fib>vEu57BxTnxR^A-*ep|K?)X9tKv
zAB4+`>N3XUf1Z#e{wccpgMFXgUUwjtLAnhia2S-tu=IydFb<0Xkeyfo_r~EiMS;L^
z#XnC;5?~>PkpEh)gVl92pjlUF6-GxT8S3S}mkGRi3@+qL3ds2W3gIA%{(kk6;)`<>
zW*rlaVFF#o#FNi%E})VxKimC7UEDxf+yp3S0^k^_QQBM3eM?jD?L`yN``jP3?4J(FCY51ksJ&<
z->=ABezgrN$oll1*&-MdlWY4oL<0*-=iop>rE<3!M85=$-luF3OSs0_L{-
zPgjhg$1&jqxME2MkXH}`8Ecw!L!DQD*#2I}dC0ud|GHT3Q#z=9~26Sf15
z_k%P?@y74u1q{J0PB5{L|9N7;YQY>7Z+;U~KToK<{59CYzH<7*6rh#5Pk>41|1X&I
zoBwvM!6NbpiO^Gejp?6x>0p-FMZ6?IjH2Oh5`lTkCmse|zziRQwIw0ubCTB!6n*?*Ug0FEQuQjhNvyyvXb@}n$84IIIlXST7y6vY?`PLx^I*M(h
zF}~y4KRT*2)kna+e>=N>Q(IV@0`nPrH3yNZfDY(^w@x5;E`piX;5f^Dod<@-^5ent
z@vTk`MS;Rx`^-&(HXThe|H(PpFMpYC|K5_C1sojoxBBGiS+$YvIzmUq5ALKgf=Rgk
zPxbWQ+VQ!7uU%kJ2jrFUJTR<3cx;?fu=Q5$%Br2F0vLV@PzIfmwxpm4!4!6XmlA^5
z1}=HY4+7cz57S;CZ%z|FOB2CaOj?Nzd0BD#m5UHZKDWM(VdXtoMDpI(sQH~RPU_Dg
zcwG-7Q2{+@`tKvrKTa#QB)BU$tZ)8{NOWf0;0tHTsN^l+jQRJ(PNUnO(x-z$G7Y`)
z6Bux0zyd41+wO^n=-$SD+`Vng3@3u?{{0MNOM2pB8Yt+xPR}YcYkbU{OKgCpzeRAufMm*xZ3>BwGya4D9*$k
zG{wOEo=x6aZfy72Dd09H5_|rAB>qol7V9RauV5_SE}U)5!<)|*kL`unSmMUZG)
zo^893?NgKL^8r&$K)VUj&T7g3BM}LLamSz-2bs_Rnb`Z^`eRGVu%FQ{^ggh{TJjsz
z+CNv%FIW=eGlc)PMh0W1`4fZq=Y&f3Gf3`V_pgSdZSSEEeCtuSN)XnN<;M6dY|7O
zY5(cL;c4nLwXg2pH_=hJjs2=OnmOzBKP`^;7jK5jAGX~Cs1k#3@fxCko48=`3|k3+
z-};>u^VI=Ris8iUUT1?YzK$N^hoDG%E9yuRH-&HNG}&GOvsnLAM}+0UVRhK
zcGxH*?Cc>2uWqRFW-hS0-im--issaFdD#Gvif^Li7zpgs@8lc=^liMq;*<}h+-EWwHxH4(!
z>^%G2b@y-u{1sUVv{FuBSiPrhWlM2`T0j>J2j4P?D^!23{)azPq|B;t|EjUhuS8mv
z25*IjE6u~#N{kZrsr*re-^9llCB^Lno2gdanr?0!MZlp}QY
z7S9E>QG<7`ifimV;Td)8xaYy5fu!k9Iq$^oerfcF`Ldr^%p;OSb$3UV43%5??U}*>
z5?n4LX8lU&saGb>^`3IrwFciFh@O6IRv47EUq;JV@W|kWKL#2;-uhmxKn~oz1}3W4
z8zQN&cuUxgYdEG*q0{SVnnQGW*=CuVmF^2gjAWwSZ1xBP-*VVOXPYOWJo}ajgt;=p
zknf`2cJuQ>;g`-g9eknb(cRt|SFVodfS9N@zg~OozujbE+$mvw5fX4)r{Oq#x4SHD
z<(>aYd$a}p9I~zn>Q5s1a>Aiute&0Q1-pd-^5U7W(AM25gmLXMcF2MxR^mtW{kATi
zvrIgVrFtxCc+E9?<=FO?+
zbpFV4%BF~I4D+r*4HtnOBC=2iv((gM{x`+8qi}f82C9p6C8dxhf}gpexQV0l93hPY
zv*Zh>34S9{d#i86R-fUQE}H4~F{X;~mCQ=LC4D;WI$Z6~+
zieN6pJ9j-lcnN`Sg;y*9xm1e#RGoF@7Z)WGVUlkK;5BXRB#uE=#2+C&wIc8dOG6S~
zVQdVKUU>gW@vN2QAE()M(l%^dJ=w^9HLnhwz7VmqMTL+LdVdw@*A4DONFyB4M|W76s6TUOUYbW8&Ui
z=nn5UJ#Z1kVMie?#~By&p%!E)ccn~7QhXO!L=GD(-a(yfdtLYU06~>--f_#vbs^@p
zyVFVETuwRaylrJxVKC=|xEV8A#&QI0Kt0e_sbhc9Vc2c6I^YPgxZ7Dmlk$v~c*-~C
zqlv{69inRcI<6G2g3l5h<%j>xOFz{)7Pn|e1GA`L
zsG*Ybtea*+or1;Ad0+IJd$Y^GYgBTSwotdJS)a}?tW=dui_r%Fjm`vmaj{UoWL%8M
zLMhgi?W@AMfG4R_I{5Ejh8s9Pg6|KotAA>^v~hbfNz`)hrTVk-(cluIdPQmpXKoSg
zb5FBifjh%+B5Q*t(aGQ^#YE_rmsY8LcAKM7$lLR*fl7_rkUPbO;;p>h{b^E$XqUDs
zP9hVcmV+iV${)b5gUpz8-d(`
z{1VvYAvs!ac<)H*@K0bKn8cgys~xB!mvqmW$An*6XZhTOzzb1a2`QKqC@Cv1ri1_J
zh`H!mdHAOyhNW)rwmDniNJku7sCRz7-vW&N^m4S_RD~7>&RjIXQ0tu9FVuz}RO{8O
z*p28ErPH$QhvDKAbi1XrP_(I093OEO7_sj!%Ujv1D}u$s_oZG^6;wUfn#)pR?&@1C
zO_r9W6-{;$_ZkBc45dG8k`U59H(*{=*OtZg9H!;t+jqt
zzKgJI?g>Aqtm5LK0?rQV$~R%}btt&Q!qb@d!;`u(qLc1HW^FaE1|Ph}70`RN=Uuo&
zFX<)E=q3R1_40d@Cn~Y+k;{8ZlbYC^Hde+dqS_ADs(os*%c9+vyQN&|rFBT>YG%vE
zPlvX4OBnm(I`_FldRj(h?lgOLw5bm+NPPZ`q*l(E_R4_JGFJ_eB7;F~1-a8O_9?~H
zt*QDy?(Ux4LFWh&%HrDMtt-vj@3J6w
zQmzvBo(u3dxHh;A1O8tD6Q+DD0M?qlCSwi3G(loJjIVx}MrbH}v(Wc{%lk
zwG@TaUxW;te_MV&APdO^WsiN-A)CS_526#v93DKFvK*dRf6N?jtt
zQg==0X0+}wyCHQ)-$ZNeY-GuBf5>1<=BmeFeG45aPUH`%D>c(RJ`=Ev!S^~eQyt+u
zBNU=qVF$+rr(_U4bh#6VV*+Q;`s3kWpu@91jVhn-@cin!g;t&tJkbYM
z*Kb>llQMeE5@R#VrN|YgG<0SY8Cw4>ao8kt>?6Hy(gLT}|QU|G_wYUd4
z#ugCkBW1970v7Qf4S`*_SiKdNK7qL4@8QIE$wfygH6JOTai#wWbf-jM%<=f{c~zF!=ft
zaX+8KBDPB*JMM+H3C^2rH+}Xs__H6IvC-ICq}hPSV7f2`@*1|6%d7B>f*FPC884Tr
zWHVQHDS?p;Ad|l)x^E8L>#lcQcg3IuA5RJ^yU7hHe6y5I>W2sWK=;fygHe*+GQ;YD
zek9iRb@I!DEJ*>u7_Xpc@nN}+=ax)=oA^%2A7ZVR(B6IdoO1yOndEREj!V1kt*cqj@c`7g>b{Uh4eDh(3=CL<}^u`t)Ko81f5=D?O11Gh=
znZrRNu?H9Wu_Agiy8?_sS5g45i6d+uN!
z>{fcC2x*u^RffPSC%SY7D{Ozi0LbdUDj*WYbAF&uF?@=7h{RE#{8W8oe229|FeptH
zyomi?FgDND_ZKby2f#iicft1ta~<9Ny$%mmG3YSZd_4DKvwlVg2wnh6Fa#v!)s@|L
z0Y$c2Pf%fE6cR)L@$ZS!Au0T&wg9N93Jz5OZ|1>_H)Dg?aalV(X^H4g%{`1~ho}g+
zLi*qPop$ipXil^Zl;JjXCp1;doU!*RcLnjP9Q2ZoQ~e*VJo+#2)&3gr67*2UYxavB
z^`Q-bmu>lm`a|#{AQGWGT9~^BNN4foV^{+@jP#~F?ww_+`$PfQF*A7BAVSNif`Q%m
zR&uWEs=fDwW}=5JZ^Qmc6h?^|#CHc=P4N&TNpzzY_Zw^mZ;cRLny
zcgRG0vFCQ>V7-&zU77{S|cYHbcq2})w
zbe{g)Ii9IvG_K;ersZsu!Pmg?k8JI~Mdtw)H=hH*T0USDj{)uTpMbUNXBv#Z5f(rK
zR?h{12pWwy5`{Mk?vz%n3rG(gu+q**4-7#6lk@<{JcjhR1}G~Y(CeS5Dd@G9n_&h9
zB6j^Z$n@EM|0>o%|B|ZrH<
z5CDm1-%fM7^c%lYF#(8qHkgw%X$%nmxh)*fd;lK4dG<|!zy2p|e%jk#>%U|E13{l5
z07*}Oy<;N~1pzpzCBL9(s=eSfPYe_-e^xmEJ1F{}8vmD|^cn7~m{-mSG=m5HkUy+2
zSnc_L#%jTm{L=mHM~x{M%|Rx=Tkar^U;x@4g0z1ry!fd?AkzDtBP1|^$$5%_oql{5
z2E)U99m8?}>ZtdOD0my-(SNF9DgdV}${{l$`DP+6ir3<8Av3jxwOcZoIW>C!y&qc6&eRzhiS
z>){i87raa#k*g{nWF94xR#N;f)24r1l7TK@tgL#ve5PF*g_a=dR!9LF7d4Y-+Znb5v>=6|SiyClnQO*+%Z>eukJWpC{r(Y$
zD56WZ1luHN>gdCc5}=+WrMPH&Ne{#_;gEoFImj;$7OaC&=Rx8hmvXEGjnKe=>XJtZ
zSe=H+xto~L1h2@x!4J6e*|edG=46Ko?DoK7?}N~fq&!8@q}+(Vo?#1;A%wdhN~}Hf
z6k*##2a$$gtH4}(g{AF56B@4VZ4&W5c6%%NxRBhGb0(iBz1pg+8h%NMmhb+4=4Ofj
z(AWo!310*|ZXKy@EV#OX{7+ZPZhG!!*L!eR2DzSN6X&_5rbTW@cF(?}_+sXVa|<#f
zbkd_>?e~*zHnsu4njUbO_M1N6JYz7VwW{b_@4?!pbWFz+uq*x?8cgTF{?>0HXXzN&
zO@-?`@FkEtL#BrP#3d5qo+~R>$r$e*`u{qRCAaF_#X}6CO8L
zMOq@p2Enk#yMA;Eu&F>Lg$w;0_D@s4+y3rp)#F7BQD5)5nCk8Y8exHN?HJ29)*x;T
zorer6VZVQ>1v6RHl6If%rHY7k`k{N7a&>20o-Xuar&Vet*NP&bf1%2HnvDm@1cKG7Zp{49>5rTA5Et_Zip9Fq<0sp=68@2@0U_({C{DU?
z(RvvvwSuKoKT)Cmy@IHWFp;}0+|e0vG^zD-_MK5E%=tFuO=WcW<8vmd;3-djwA0YziJdfAM&S6GcAW-u!acGyF-qOsa`8D=kxCOGAg&iICaZm&YgH*Jf^mZ
z+qXYoQ=WF-b!wjo(~W6F$Z%4tnL*gzLhRD&fI4q##iBD@Da?PsroFE~N#UBYoB8oL
zurhToNq2D-be2;xqMGx0gFgY1Ah2o4Z`;H9hs+GCFW%rSg3hh9Pb)d7d)x3i(8B&=
zyW!lNSCcOd0yzUc4tm)nv6peGuvv$gSiu2Cb%*sDwFkeD>vB$eAZwVCzn{gzta{)ZnM=O}}G+I7~zB7)dwqnF13eihG
zcHmwz6%R}X+0Q4(r}M}r0ZkZhX-Z_j4{VU#aDSnxVXi3~Pu+4OmlSalx1E9Z@HDlN
zo0d>SaxWt(-yO^?5$TX#&encORftgM6}tk1=!zWc>c`<@VtJ
zegZ-BukiW*4oHEua*J1wS41HHNd
zJ%QP+3RYR6pCpxE{h$#Eu?sApIoh8;X4lpfj-NX4XB<0d_NS{uAeG8?DC=14)wTSF
zE<7xGr5H_a5uU%=ctuUwo5qK3%=gqiYN84uyM{}KYNX&rSJ3ZA>(*|Mntw(P(_1yI
zZM3gOO~)4s%?;L~8c#*qKR)lJ_udze9F91=9~Fv3Uf!UW=4KC?VdN$?I7IrEG}VNG
zlp?!-Ms8n0fa{I$4Y%Fx`7b>F;<|3fNs*tGbrNnkZLbZe8T&22Ztpb`jIQ549B5Z=
zLZRk|P`&w%5EC{!h?UClitopxwSfzrl_OK}{N~FQB}Gw}I-Wgogw2?586R5$+apj=peF3z~JPkfEsb>yZ@2z3%Ko>GWqB$w=oO-Y8tZbADtG)Ggs
zQC3(=?MH3X=&j2&&9`qQjj&^pWe8%WU8aNR7Z!fD8_J*S&mqn*W9OvcxOh!eWQ+5M
z2x2@&X-_kIw5DcbKc&6VS9z!r&tk8_YcFtxu1ER(+W5rk<=Sp8<)?H+`j2VAwyfUdNt*2%
z^V3`Jk8>r>M2Q~69aAQL@Wf7I#`HwrO4qes%51lzlXFG(iByg|uN}h?ooR`=UMZpY
z#(SF2jnIOeqKT@UtF=CJo6kbm=ppZ(*@R2T<9nyy&l}An+EXnoI4tyFC!jg<4OIF(
zYIG%iCGiL9MLQv_&9gUBM|4If4HJo3Yc2!+i-fNg7=al+m@SDv@!oQ5siWlI0|c$btUXqzjQ-yt7flhCfOJfmm!Ge>#1ve`HuG=oiow=JUQX{
z++aYn1?Bm%_3DbA`0~k{tI?>twgc2A*1)vV8p<^68gDq_%g4D>bM-bf)nSJIKyOgyT-m^M
zbS#b0)T!O}_Ggz2qB+DIOAgcOoiN0k>g2bvab3zV3R;G_(fnxqbnyW%VN^HO0`OSq
zeqZLW=5;MAt_`cIePi_Ak1iUAHMm4Za<$VSbp8Gy)WG&N>^(Qi{f2h*>GpkPil={k
z%d1L%#E7M1$h%uyf8s7LbFtOdh8BIYXM6f~`Sr&hYU
zP#>jgjs*nr?_sD4EcdDXLm_&}!BvMlAXI
zfeA^|;_zt!`pE}6#0JakPP(Eh@0UsnDE^4I?k8UP2lPAbMII(xb*Ck@o2_B+b^dNk
zr)ZDC-kURwR?J{}=E{Npgho@frhnz
zfqO!0N~|fd&>O4bj?h79wYgPQc!X#u+;5Z9O#>bViTBHfSoD!1jnv1w63gJoc$mp
z$#3hC!H9#ZA&jso-1*pWXY16RQ`N8f+}$yBh_LSw-KuT~8>6&R&g`We55ad#G$rsN
zd>!5u@49>zqz3)IrY;WG^v+1NpXIIZq;fT6_^H*kKc2`62eE6r(V@K*r^Ys1cE+in
zH^a7=7(7ksG^uW{xU3`WnG|mmw|HwA?LB>|>WGS_j|>VsE^^=X?PXeMwsrEcXm6?)
z%*I3ssto$zrV>5n2negvh+ef*O10{$@M>}VNvE{VVmCec4A1Z}mWgu+gl?=Fkr(z*
z$G1N)h9%4Rq9!E~rAiBd#V5&UXcH}LZfJjaxnG3qxXG3Js9Ie4+p&Lz1m40-Quzy>?K^CSH-UBcE>~Lcs
zu1^#-`?;ogDjhDq1f04q5pH^6iu*>QM593V0D5n2z9H8N
z&(r10zv)Fn+wvv5J$t=7Qrc-c=yHw^rD^Z<Ua-}4&rMcZ$}EzSHt*oe9k#{DNy$pCU=UmLjOiSL
z+LPiP%C1FpwKKMvYG{QR1ve{l!wLhm9EzlLvrNyk8%
zVoZ^Xssir=T4rPA7CvUv{AdMUc=|g`@Wu_z8)X>AX_w|3RFxLcH4~$FlkNCO?<%2x
zB8m5Ktn1=PCG}WtEBW*Eopq3NO!Z+AXWYDPa=%K^FR0Ul9X1)X
zk%}r85#DF)5Vv&c-}2l#a8fug+_S^qA;cP1);01d`rwncJMf`UI%dc~H&I$wy+=^#
zAz|p6={6^Y?9nTYQd&;$XH85^O0sJ41i4|{@Icg*&lYi{zohnD$lX%Kv4N$Qu&;88
zkEH8DcE-C4)?9)Xnoql@(Eii#qJu#w7YhS2@P%aGdpx(81Pw7|R<1~gvOe2{lgdct
zM2!?QPr{D|u{TN8Q$}7z(gb;eVpdz@;TKtU7NybbN?&7Qh%?aK5r-XZU3TzJpR&jC
zc@jBOHKuP52W}kEseK8**%>?%6jZm~#p{Q9;0h$m~<@v4B>()$IXgRPty^xcu|
zouD;#lFmRl(*(>zOuoLQw}!xAPSi0YxqQ~mV&G}(rRMdV5wBnf?`!-3mAm^Dj~m}<
z*y(IAyPh)-3Z3-1pO5La^lsWfGFG`oGMBYXoKmliXMUM&DgcRUq{iCizHgQhynAZSbOc>i~g#(p^tGeCW&%6{2XkPaH
zb&$78l~~x8uvI#>-o(3kC*Nr6QSyj`ks(Z-EyuX9laT}-xH6sYA}DTaaJgD;u$)Xz
zy~Q^<^lOJSD$6!+fk6Fv2&7A4cDgu!#x=2JhO`7_8dx`uHTh8wCRIDO}4yf%3t-M6u1;g*uqg|DkwF%1KBV|Y*Kd2IR8M;UlAg1Dq@&^;<1
z?MSf4Cf%>W1?QB9wDRdIpj-Gvzd%LXK|sS%k7WvC7B@pR%{B-l*+?`Ay!*a*<9>@q}w=bTIzo5bcngA=jm~IMecFB^{3_xOTe0dT
z$sJipPfa(Cn7=A*{zM|gHAvbMeR)bJ-tVil6_tggdbirin6I%_n;IQ|M>YvZ(BYGb
zBG`%t6y<1Opr3sGdAt^geVN5maPb@+rRL|4hLLdVfg`HZFhRBbo9c#g&*X-H`4G0)
zQ6AaS4P$i~w>cSV^I>uZKlQgHIk}VS@lVZFO^amK*8~i$Phi(+={lQ*-sGvj_IVOXo}j);PI{YrORk(&zTv%0
zZg1nDZX-e#lbIkl%FNpykuAiDr?;IIzCqV6vEuE0y}?wCE0#DawKVgdk>3k*)h%H9
zv>)S?Ul9|!;^VzC=Ae
zb4q)$tl-tTn6?9VyCHk32H7jcf=h8Eey>pVe%V{~Ql^|q(>#7bYfP=sgGuAfWe_Md
z&ZpIax?O{JUc7E0KkSt`ua*L|FwAag&W&zs(kx`*uoL~BeqiIyaD%Ay|)
z*Smtl3XKk&Cl6YbssS)k2yJS6
zAqvx7EU~
zh+>x1XQRNDD$t^e9nBpm5-?1%o2v4C)OYB?!aoxq
zdfY8w35F#*0?3S9)moMVeA={!J&6un_cM`+JW6t~XPjXd-r%czRv;ghS2tA|R5x6!
zEZbdugBJyNTRTp!@z0p!_xI6vgflc0mtUK%Ip7?vc~^0byJclJJxW00k8I=DP)>`3
zF*>ssWJ01`&MObnOYHPI?vC(MFExne*Pw$(d?%l`=%h|@QtkctM!T|h^gvg19{<1_
zo!XfDb~MPotoILXBXk|rf|2)B=nBkfW@*kcHacYFBK?J{GAAoUmp_mh#whQb%Qecb
zn`hMZLr0Xn2ht-RZ>63Pz1>2~GAu;BXhToG+I88sASN^_RV0iQDutDZqV=5Fq_e0F
zE-q!Y9jp$xApPeP!0)TfOCY1tRfr_U1l`zjpD9kaLHB5Ni_q5GiMu%;lUsL4ES94D
zN*!hVm%o1Et+b%kDtdJJ>otM^cCE^YcrjgL_vaQQ1};-e!qO}cG72ZgiP}#z_>Nlb
z)YQrE*f+ykW_2Vy$A(r=sR)B0??z)^sf%B0q-B-NuCTa~NTbZ5uKRToqQkwGC#ylf
z2H68Ou53KKrRSPVBGNZkQ>VB`njycP($lx1e}hk5a|mgt20XkLs9C~m9Cj`zcBRom
z*6OR<-pxQ~Y#CnL7T0l2i5Fz}4cJQi8u7rs$v>37+Io6<>=bvaHsVSrLO;5}>`k6v
zOWNaR*!1m)?Maa9Mu{EKnb1{vg`QJbjAD-nVfOl7a2kKZ?^8$EyjDrs?T&6lN+@>ehXtn!o%pqp;%KLBr+(o3tyT#jZ%$8%|AO|AJ|&s1STpb3W5~
zS7s$|@-5r1Yo$Hjbq**3{Zi$I&4~5J;_dg^^^DU=L&kJ^aq0pOn!P(a60{-?gM2pyw%Nm&3CyRm
zzuc%ucF34medwh)=NW8U)&WfzQjPJwXmU)BCHOr35wUuFbK;d28$B|E!AGuYt?KZW
z6_b8O4FKJaUtb$yDg-_mduypOXWq;!+vAz==Ft#iO3fW#%|UtB?e#I_m*!2RP4L|<
z@XLDKKDO@RA_-s(ZKt|L{0cttgO&OtOXlj$Ez!`Uyv6hrF+A~ct|EPbzK?Y~#fB@W
z2%4Ap;EjVVaxN)DKbF43WYd&u&M-x8={IM1rG@e%c<(ISUULZQIKnJ0A}{J7Xl3Zt
zU_sk=p>}`nAkN4Q>Sds+wC?V9L)GoZeY)5nxld%eu{8Ko_KDrOb!*iIl|K+GNWRcdN(By-7+C_<)5CnYNc@zdxP3BW
zjP6He)&WDBnuM4RwjR3}QT9cJE;5(jI%qV1(f0uS{DU2afDPaZTAAHeud*0eZh;$*
zMZ>tZIkV4)=B;hdieb2!=iC@BIz+cnIYt><3x7?e<@jv7F&sGZji#f=1Wf@zs>op8
zX!O(h`5{JzoK$D$nO;GUAGPz!rzeZ^C5`*;J($P26M~?`km!U284xqE50zHQkxIyf
zz&yzVu`LbwqH!S}nVcl}Ucjv>_CLw?4X1AAkCG1-?s2
zBL`S*d1q8?fn@^=1#6FC@@K)guMD&5JAuk~#1+FMW^pR+m*}|ei_D~=IsC@&tz$#d
z@<7m4;Qhkyzk4$O?c-7;t9Yfwa6v}t>|~2jhzt1=(YU0~1C89*7Ul%bOyhFIDmOW}qPu62zSQcBS^)$=(@n0TAv8^R+k!*xssj{e;6z!aCqER)j)x
zRNu8X=eXg+(u_3C%tI6cVVbPrDdRjh#U))7w~=~79{hPVjBZ$vuMYrd2k_v~m5)aL
zpS8g#=$Wlm)xJ8A+F2q=eCYF-X6y3mKouFYxFk>a@c~~cE+im30+NisHdD>vtLHRB
zcp4#ID=X4m8{z_YUMO85to{06R$U}eStXpmRdx$2vF+zYi2c3s)-71hk>(4L3c#tR)u
zF%lu;Q%X`!(J`{n20PU~9mJzH!#a5JkqR4a<{F*dcs!beLcwC9b*WIo%J4WWjoSD;&ZDFlF6IsAt3n(^+iGba^@hX8cfMuV
z&v{gM?5^$pj`3voeP)BOVONImu9~M?d{ESwLjAlkM!zMCvE_NF2vXSi`zk}DL
z_5unD`K%<2vpBp;F$i0Wj@bv3r}&I+Bpvw_y%z$#p{+#^Fc$O(SdiqfV31M@OUhs$
zQxL4zq4x1R)#yO~Hf7#;aS$a9JN1Q{E_w47W9+3EMr>i|d4%9NPNu6)L!PG;pwsqw
zEI)o{O{=vM*2rcb0Od6E)sxo6DXQ`H>3RCRH!Eem^mL2xYQt!wf}J}mRzh!7eC>^~
zh_QAl3NTJO;|cs7RSAOGqe~wCi63&`$_Ch!5^XW#XY@;e&VimO#*oz>e3T(Yrz-c;
zEN`P#&D7M?*+^*8gf5^OV^>HRZzqsRIL)*jyiowQWIZYW_~aV%*_;7;GU+DI$-GET
ztC(Nk4|fw}+zBl$G!qlfIav42oMY}?_6WM5
z6HOVK3xI{`Eu=M3>p;vHlHb^;B|R+H&!QP^scbE6HL@67vJUsZmcct1S>jp;3Is+t(~+3~w7fNYK6Ua}HZjd2=F}
zqvs)#>N+@2E)*K_9K4vjIS`deH3u8-=c+V3As+vp
zhFME=+WLcK39(4q{TnX)FYzL_CYoakN7h0&N?5^$_R&I|1o(!#RBQzGxe2YSVYME-Q+l!HuH?^g+F>&W>Sh==flTP|9^dSs^B{M5l|wrazL%QW)9-*Dzu3kQ&J-NSxz
zVSdCeH~;W~hblj+^VI>=@rD#m{)BqE?rSw4r6xwXxq~ruGOBn)c%;{FiBp?{c7Fjd
zd`da5m>pn>r~UG7^=r6ob&MkcA$Aqvfw#sK=-B{>HySb`1;x2pU{oX<{HJZZS74}83XB!=-QUepD
z3bZ?p_A5ImYF8|egjQ%X(+c;R!9*w$cP0)f4daL?JdYT~GA7sM`r`9B{eq}|H0;}q
z+IuHx;84Uqq{2)d%ZBB(t9xH%qmBgy~qBYEjD>E#j`+2^I13e~ws5>MOK2VLR
zq}sk(1)`2^r6l_;9Zf!_RkW_R={S%=#L
zRk_Dx6Fffg5?pDJMue2HccsHIt07SJj+u0*oF}x^G(hfpHRc@`f&jKML?AjtG4>%^
zt}9>J!Y#^PVs-rL*s(z=$uMv}nY89wu-(?(-osiDK@*Uu6WK&~)k|I8ZcI-CnE4+o
zbR_NTTv4HOz=GTf#`rqdZ^of$kQ&v5tXa8)k+6e@sB?)ghn)kP(*F7
z2DJdcem|wu8tf-WrH1k2fbIo;oQXV>uy)3Kq{p55st60czJK;AT+4Q(i?7VIJ5RyQ
zU<~0En4@W?SaNcE!+Y`I(cUWIYvEV