Package com.google.type
Interface TimeOfDayOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TimeOfDay
,TimeOfDay.Builder
public interface TimeOfDayOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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;
- Returns:
- The hours.
-
getMinutes
int getMinutes()Minutes of hour of day. Must be from 0 to 59.
int32 minutes = 2;
- 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;
- Returns:
- The seconds.
-
getNanos
int getNanos()Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
int32 nanos = 4;
- Returns:
- The nanos.
-