final case class TimeOfDay(hours: Int = 0, minutes: Int = 0, seconds: Int = 0, nanos: Int = 0, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[TimeOfDay] with Product with Serializable
Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are [google.type.Date][google.type.Date] and google.protobuf.Timestamp.
- hours
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.
- minutes
Minutes of hour of day. Must be from 0 to 59.
- seconds
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.
- nanos
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- TimeOfDay
- Product
- Equals
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
TimeOfDay(hours: Int = 0, minutes: Int = 0, seconds: Int = 0, nanos: Int = 0, unknownFields: UnknownFieldSet = ...)
- hours
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.
- minutes
Minutes of hour of day. Must be from 0 to 59.
- seconds
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.
- nanos
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: TimeOfDay.type
- Definition Classes
- TimeOfDay → GeneratedMessage
- def discardUnknownFields: TimeOfDay
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- TimeOfDay → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- TimeOfDay → GeneratedMessage
- val hours: Int
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val minutes: Int
- val nanos: Int
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val seconds: Int
-
def
serializedSize: Int
- Definition Classes
- TimeOfDay → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- TimeOfDay → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[TimeOfDay, TimeOfDay]) ⇒ Mutation[TimeOfDay]*): TimeOfDay
- Definition Classes
- Updatable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withHours(__v: Int): TimeOfDay
- def withMinutes(__v: Int): TimeOfDay
- def withNanos(__v: Int): TimeOfDay
- def withSeconds(__v: Int): TimeOfDay
- def withUnknownFields(__v: UnknownFieldSet): TimeOfDay
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- TimeOfDay → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage