TimeOfDay

com.google.type.timeofday.TimeOfDay
See theTimeOfDay companion object
final case class TimeOfDay(hours: Int, minutes: Int, seconds: Int, nanos: Int, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[TimeOfDay]

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.

Attributes

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.

nanos

Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.

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.

Companion:
object
Source:
TimeOfDay.scala
Graph
Supertypes
trait Updatable[TimeOfDay]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Attributes

Source:
TimeOfDay.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source:
TimeOfDay.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source:
TimeOfDay.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
TimeOfDay.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns:

human-readable representation of this message.

Source:
TimeOfDay.scala
def withHours(`__v`: Int): TimeOfDay

Attributes

Source:
TimeOfDay.scala

Attributes

Source:
TimeOfDay.scala
def withNanos(`__v`: Int): TimeOfDay

Attributes

Source:
TimeOfDay.scala

Attributes

Source:
TimeOfDay.scala
def withUnknownFields(`__v`: UnknownFieldSet): TimeOfDay

Attributes

Source:
TimeOfDay.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source:
TimeOfDay.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
def update(ms: Lens[TimeOfDay, TimeOfDay] => () => TimeOfDay*): A

Attributes

Inherited from:
Updatable
Source:
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala