main.resources.input_file.proto Maven / Gradle / Ivy
/* SPDX-FileCopyrightText: 2024 German Aerospace Center
*
* SPDX-License-Identifier: Apache-2.0 */
syntax = "proto2";
package iobinary;
import "contract.proto";
import "field.proto";
option java_package = "de.dlr.gitlab.fame.protobuf";
option java_outer_classname = "Input";
message InputData {
message SimulationParam {
required int64 start_time = 1;
required int64 stop_time = 2;
required int64 random_seed = 3;
}
message TimeSeriesDao {
required int32 series_id = 1;
optional string series_name = 2;
repeated int64 time_steps = 4 [packed = true];
repeated double values = 5 [packed = true];
reserved 3;
}
message AgentDao {
required int64 id = 1;
required string class_name = 2;
repeated NestedField fields = 3;
optional string metadata = 4;
}
message StringSetDao {
message StringSetEntry {
required string name = 1;
optional string metadata = 2;
}
required string name = 1;
repeated StringSetEntry values = 2;
optional string metadata = 3;
}
required int64 run_id = 1;
required SimulationParam simulation = 2;
repeated TimeSeriesDao time_series = 4;
repeated AgentDao agents = 5;
repeated communication.ProtoContract contracts = 6;
optional string schema = 8;
repeated StringSetDao string_sets = 9;
reserved 3, 7;
}