Duration

Companion
class
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any

Type members

Classlikes

class DurationLens[UpperPB](_l: Lens[UpperPB, Duration]) extends ObjectLens[UpperPB, Duration]

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror
type ValueType = A

Value members

Concrete methods

def javaDescriptor: Descriptor
def of(seconds: Long, nanos: Int): Duration
def parseFrom(`_input__`: CodedInputStream): Duration

Inherited methods

def apply(jtDuration: Duration): Duration
final def checkValid(duration: Duration): Duration
def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]
def fromAscii(s: String): Duration
final def isValid(duration: Duration): Boolean
final def isValid(seconds: Long, nanos: Int): Boolean
def merge(a: Duration, input: CodedInputStream): Duration

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Inherited from
GeneratedMessageCompanion
def parseDelimitedFrom(input: InputStream): Option[Duration]
def parseDelimitedFrom(input: CodedInputStream): Option[Duration]
def parseFrom(s: Array[Byte]): Duration
def parseFrom(input: InputStream): Duration
@nowarn("cat=deprecation")
def streamFromDelimitedInput(input: InputStream): Stream[Duration]
def toByteArray(a: Duration): Array[Byte]
def validate(s: Array[Byte]): Try[Duration]
def validateAscii(s: String): Either[TextFormatError, Duration]

Inherited fields

final val DURATION_SECONDS_MAX: Long
final val DURATION_SECONDS_MIN: Long

Implicits

Inherited implicits

final implicit val ordering: Ordering[Duration]