@confluentinc/schemaregistry
Version:
Node.js client for Confluent Schema Registry
48 lines (47 loc) • 1.57 kB
TypeScript
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file google/type/timeofday.proto.
*/
export declare const file_google_type_timeofday: GenFile;
/**
* Represents a time of day. The date and time zone are either not significant
* or are specified elsewhere. An API may choose to allow leap seconds. Related
* types are [google.type.Date][google.type.Date] and
* `google.protobuf.Timestamp`.
*
* @generated from message google.type.TimeOfDay
*/
export type TimeOfDay = Message<"google.type.TimeOfDay"> & {
/**
* Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
* to allow the value "24:00:00" for scenarios like business closing time.
*
* @generated from field: int32 hours = 1;
*/
hours: number;
/**
* Minutes of hour of day. Must be from 0 to 59.
*
* @generated from field: int32 minutes = 2;
*/
minutes: number;
/**
* Seconds of minutes of the time. Must normally be from 0 to 59. An API may
* allow the value 60 if it allows leap-seconds.
*
* @generated from field: int32 seconds = 3;
*/
seconds: number;
/**
* Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
*
* @generated from field: int32 nanos = 4;
*/
nanos: number;
};
/**
* Describes the message google.type.TimeOfDay.
* Use `create(TimeOfDaySchema)` to create a new message.
*/
export declare const TimeOfDaySchema: GenMessage<TimeOfDay>;