Duration

com.google.protobuf.duration.Duration
See theDuration companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait JavaProtoSupport[Duration, Duration]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Duration.type

Members list

Type members

Classlikes

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

Attributes

Supertypes
class ObjectLens[UpperPB, Duration]
trait Lens[UpperPB, Duration]
trait Serializable
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type ValueType = A

Attributes

Inherited from:
GeneratedMessageCompanion

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]
def fromJavaProto(javaPbSource: Duration): Duration
def javaDescriptor: Descriptor

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

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

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

def toJavaProto(scalaPbSource: Duration): Duration

Inherited methods

def apply(jtDuration: Duration): Duration

Attributes

Inherited from:
DurationCompanionMethods
final def checkValid(duration: Duration): Duration

Attributes

Inherited from:
DurationCompanionMethods
def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def fromAscii(s: String): A

Attributes

Inherited from:
GeneratedMessageCompanion
final def isValid(duration: Duration): Boolean

Attributes

Inherited from:
DurationCompanionMethods
final def isValid(seconds: Long, nanos: Int): Boolean

Attributes

Inherited from:
DurationCompanionMethods
def merge(a: Duration, input: CodedInputStream): A

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

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

Attributes

Inherited from:
GeneratedMessageCompanion
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: InputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: CodedInputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(s: Array[Byte]): A

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(input: InputStream): A

Attributes

Inherited from:
GeneratedMessageCompanion
def streamFromDelimitedInput(input: InputStream): Stream[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def toByteArray(a: Duration): Array[Byte]

Attributes

Inherited from:
GeneratedMessageCompanion
def validate(s: Array[Byte]): Try[A]

Attributes

Inherited from:
GeneratedMessageCompanion
def validateAscii(s: String): Either[TextFormatError, A]

Attributes

Inherited from:
GeneratedMessageCompanion

Inherited fields

final val DURATION_SECONDS_MAX: Long

Attributes

Inherited from:
DurationCompanionMethods
final val DURATION_SECONDS_MIN: Long

Attributes

Inherited from:
DurationCompanionMethods

Implicits

Implicits

final implicit def DurationLens[UpperPB](_l: Lens[UpperPB, Duration]): DurationLens[UpperPB]
implicit def messageReads: Reads[Duration]

Inherited implicits

final implicit val ordering: Ordering[Duration]

Attributes

Inherited from:
DurationCompanionMethods