Package com.google.type
Interface TimeOfDayOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
TimeOfDay
,TimeOfDay.Builder
public interface TimeOfDayOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getHours
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 [json_name = "hours"];
- Returns:
- The hours.
-
getMinutes
int getMinutes()Minutes of hour of day. Must be from 0 to 59.
int32 minutes = 2 [json_name = "minutes"];
- Returns:
- The minutes.
-
getSeconds
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 [json_name = "seconds"];
- Returns:
- The seconds.
-
getNanos
int getNanos()Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
int32 nanos = 4 [json_name = "nanos"];
- Returns:
- The nanos.
-