public interface TimeOfDayOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getHours()
Hours of day in 24 hour format.
|
int |
getMinutes()
Minutes of hour of day.
|
int |
getNanos()
Fractions of seconds in nanoseconds.
|
int |
getSeconds()
Seconds of minutes of the time.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
int getHours()
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.
int32 hours = 1;
int getMinutes()
Minutes of hour of day. Must be from 0 to 59.
int32 minutes = 2;
int getSeconds()
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.
int32 seconds = 3;
int getNanos()
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
int32 nanos = 4;