Add kotlin/proto level message processing.

This commit is contained in:
Cody Henthorne
2023-03-30 11:45:13 -04:00
committed by Alex Hart
parent 28f27915c5
commit 2e45bd719a
43 changed files with 4505 additions and 84 deletions

View File

@@ -17,3 +17,7 @@ fun <E> Optional<E>.isAbsent(): Boolean {
fun <E : Any> E?.toOptional(): Optional<E> {
return Optional.ofNullable(this)
}
fun <E> Optional<E>.orNull(): E? {
return orElse(null)
}