UNPKG

@sisyphus.js/google

Version:

Precompiled google common protos by sisyphus protobuf compiler

29 lines 958 B
import { Timestamp } from '@sisyphus.js/runtime/lib/google/protobuf/timestamp'; /** * Represents a time interval, encoded as a Timestamp start (inclusive) and a * Timestamp end (exclusive). * * The start must be less than or equal to the end. * When the start equals the end, the interval is empty (matches no time). * When both start and end are unspecified, the interval matches any time. */ export interface Interval { /** * Optional. Inclusive start of the interval. * * If specified, a Timestamp matching this interval will have to be the same * or after the start. */ startTime?: Timestamp; /** * Optional. Exclusive end of the interval. * * If specified, a Timestamp matching this interval will have to be before the * end. */ endTime?: Timestamp; } export declare namespace Interval { const name = "google.type.Interval"; } //# sourceMappingURL=interval.d.ts.map