Package strikt.protobuf

Methods

fun Builder.isEmpty()

Asserts that a com.google.protobuf.Any is empty and does not contain an object of any kind.

Parameters:
  • No parameters
inline fun <T> Builder.unpacksTo(): Builder

Asserts that the subject is a message of type T.

Parameters:
  • No parameters
inline fun <T> Builder.unpack(): Builder

Maps an assertion on com.google.protobuf.Any to an assertion on an unpacked message of type T.

Parameters:
  • No parameters