Documentation ¶
Overview ¶
Package timeofday is a generated protocol buffer package.
It is generated from these files:
google/type/timeofday.proto
It has these top-level messages:
TimeOfDay
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimeOfDay ¶
type TimeOfDay struct { // 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. Hours int32 `protobuf:"varint,1,opt,name=hours" json:"hours,omitempty"` // Minutes of hour of day. Must be from 0 to 59. Minutes int32 `protobuf:"varint,2,opt,name=minutes" json:"minutes,omitempty"` // 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. Seconds int32 `protobuf:"varint,3,opt,name=seconds" json:"seconds,omitempty"` // Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. Nanos int32 `protobuf:"varint,4,opt,name=nanos" json:"nanos,omitempty"` }
Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may chose to allow leap seconds. Related types are [google.type.Date][google.type.Date] and `google.protobuf.Timestamp`.
func (*TimeOfDay) Descriptor ¶
func (*TimeOfDay) GetMinutes ¶
func (*TimeOfDay) GetSeconds ¶
func (*TimeOfDay) ProtoMessage ¶
func (*TimeOfDay) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.