.fame.protobuf.1.5.0.source-code.Contract.proto Maven / Gradle / Ivy
/* SPDX-FileCopyrightText: 2024 German Aerospace Center
*
* SPDX-License-Identifier: Apache-2.0 */
syntax = "proto2";
package communication;
import "Field.proto";
option java_package = "de.dlr.gitlab.fame.protobuf";
option java_outer_classname = "Contracts";
message ProtoContract {
required int64 senderId = 1;
required int64 receiverId = 2;
required string productName = 3;
required int64 firstDeliveryTime = 4;
required int64 deliveryIntervalInSteps = 5;
optional int64 expirationTime = 6 [default = 9223372036854775807]; //Long.MAX_VALUE
repeated iobinary.NestedField field = 7;
optional string metadata = 8;
}