.fame.protobuf.2.0.1.source-code.agent_message.proto Maven / Gradle / Ivy
/* SPDX-FileCopyrightText: 2024 German Aerospace Center
*
* SPDX-License-Identifier: Apache-2.0 */
syntax = "proto2";
package communication;
option java_package = "de.dlr.gitlab.fame.protobuf";
option java_outer_classname = "Agent";
message ProtoDataItem {
required int32 data_type_id = 1;
repeated bool bool_values = 2;
repeated int32 int_values = 3 [packed = true];
repeated int64 long_values = 4 [packed = true];
repeated float float_values = 5 [packed = true];
repeated double double_values = 6 [packed = true];
repeated string string_values = 7;
}
message NestedItem {
required int32 data_type_id = 1;
repeated bool bool_values = 2;
repeated int32 int_values = 3 [packed = true];
repeated int64 long_values = 4 [packed = true];
repeated float float_values = 5 [packed = true];
repeated double double_values = 6 [packed = true];
repeated string string_values = 7;
repeated int32 time_series_ids = 8 [packed = true];
repeated NestedItem components = 9;
}
message ProtoMessage {
required int64 sender_id = 1;
required int64 receiver_id = 2;
repeated ProtoDataItem data_items = 3;
repeated NestedItem nested_items = 4;
}