Skip to content

Commit

Permalink
use well known type "duration" to represent a value in seconds at nan…
Browse files Browse the repository at this point in the history
…osecond resolution
  • Loading branch information
pstaeck committed Oct 12, 2023
1 parent 8114c02 commit 2161319
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/t2iapi/operation/operation_requests.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ syntax = "proto3";
package t2iapi.operation;

import "t2iapi/operation/types.proto";
import "google/protobuf/duration.proto";

option java_package = "com.draeger.medical.t2iapi.operation";
option java_outer_classname = "OperationRequests";
Expand All @@ -29,7 +30,7 @@ that is less than or equal to the requested threshold.
message SetInvocationEffectiveTimeoutLteToThresholdRequest {
string handle = 1; // handle of the pm:AbstractOperationDescriptor for which the @InvocationEffectiveTimeout
// shall be set
string threshold = 2; // threshold value for which applies that the @InvocationEffectiveTimeout is less than or
// equal to this threshold value
// threshold shall be of type xsd:duration
google.protobuf.Duration threshold = 2; // threshold value in seconds at nanosecond resolution for which applies
// that the @InvocationEffectiveTimeout is less than or equal to this
// threshold value
}

0 comments on commit 2161319

Please sign in to comment.