Interface TimeOfDayOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
TimeOfDay, TimeOfDay.Builder

@Generated public interface TimeOfDayOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Hours of a day in 24 hour format.
    int
    Minutes of an hour.
    int
    Fractions of seconds, in nanoseconds.
    int
    Seconds of a minute.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getHours

      int getHours()
       Hours of a day in 24 hour format. Must be greater than or equal to 0 and
       typically must be less than or equal 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 an hour. Must be greater than or equal to 0 and less than or
       equal to 59.
       
      int32 minutes = 2 [json_name = "minutes"];
      Returns:
      The minutes.
    • getSeconds

      int getSeconds()
       Seconds of a minute. Must be greater than or equal to 0 and typically must
       be less than or equal 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 greater than or equal to 0
       and less than or equal to 999,999,999.
       
      int32 nanos = 4 [json_name = "nanos"];
      Returns:
      The nanos.