main.resources.AgentMessage.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 dataTypeId = 1;
repeated bool boolValue = 2;
repeated int32 intValue = 3 [packed = true];
repeated int64 longValue = 4 [packed = true];
repeated float floatValue = 5 [packed = true];
repeated double doubleValue = 6 [packed = true];
repeated string stringValue = 7;
}
message NestedItem {
required int32 dataTypeId = 1;
repeated bool boolValue = 2;
repeated int32 intValue = 3 [packed = true];
repeated int64 longValue = 4 [packed = true];
repeated float floatValue = 5 [packed = true];
repeated double doubleValue = 6 [packed = true];
repeated string stringValue = 7;
repeated int32 timeSeriesId = 8 [packed = true];
repeated NestedItem component = 9;
}
message ProtoMessage {
required int64 senderId = 1;
required int64 receiverId = 2;
repeated ProtoDataItem dataItem = 3;
repeated NestedItem nestedItem = 4;
}