Interval

@SerialVersionUID(0L) final case
class Interval(startTime: Option[Timestamp], endTime: Option[Timestamp], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Interval]

Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).

The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.

Value Params
endTime

Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.

startTime

Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.

Companion
object
trait Updatable[Interval]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getEndTime: Timestamp
def getField(`__field`: FieldDescriptor): PValue
def getFieldByNumber(`__fieldNumber`: Int): Any
def getStartTime: Timestamp
override
Definition Classes
GeneratedMessage
def toProtoString: String
def withEndTime(`__v`: Timestamp): Interval
def withStartTime(`__v`: Timestamp): Interval
def withUnknownFields(`__v`: UnknownFieldSet): Interval
def writeTo(`_output__`: CodedOutputStream): Unit

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
final
def toByteArray: Array[Byte]

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

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

Inherited from
GeneratedMessage
final
def toByteString: ByteString

Serializes the messgae and returns a ByteString containing its raw bytes

Serializes the messgae and returns a ByteString containing its raw bytes

Inherited from
GeneratedMessage
final
def toPMessage: PMessage
Inherited from
GeneratedMessage
def update(ms: Lens[Interval, Interval] => () => Interval*): Interval
Inherited from
Updatable
final
def writeDelimitedTo(output: OutputStream): Unit
Inherited from
GeneratedMessage
final
def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Inherited from
GeneratedMessage