What's needed?
Interval and Lifetime are basically the same message, except that Lifetime uses an older field name style (_timestamp vs _time). We should avoid having 2 messages that are exactly the same
Proposed solution
Replace uses of Lifetime with Interval and mark Lifetime as deprecated.
Additionally we could rename Interval as TimeInterval to make it more specific, as an interval could be of other types too.
Additional context
This change is backwards compatible at the wire level, as both messages have the same type and tag number for the fields, it would only be a breaking change for generated bindings.
What's needed?
IntervalandLifetimeare basically the same message, except thatLifetimeuses an older field name style (_timestampvs_time). We should avoid having 2 messages that are exactly the sameProposed solution
Replace uses of
LifetimewithIntervaland markLifetimeas deprecated.Additionally we could rename
IntervalasTimeIntervalto make it more specific, as an interval could be of other types too.Additional context
This change is backwards compatible at the wire level, as both messages have the same type and tag number for the fields, it would only be a breaking change for generated bindings.