UNPKG

@confluentinc/schemaregistry

Version:
43 lines (42 loc) 1.46 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Timestamp } from "@bufbuild/protobuf/wkt"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file google/type/interval.proto. */ export declare const file_google_type_interval: GenFile; /** * 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. * * @generated from message google.type.Interval */ export type Interval = Message<"google.type.Interval"> & { /** * Optional. Inclusive start of the interval. * * If specified, a Timestamp matching this interval will have to be the same * or after the start. * * @generated from field: google.protobuf.Timestamp start_time = 1; */ startTime?: Timestamp; /** * Optional. Exclusive end of the interval. * * If specified, a Timestamp matching this interval will have to be before the * end. * * @generated from field: google.protobuf.Timestamp end_time = 2; */ endTime?: Timestamp; }; /** * Describes the message google.type.Interval. * Use `create(IntervalSchema)` to create a new message. */ export declare const IntervalSchema: GenMessage<Interval>;