package strikt.protobuf

Methods

isEmpty

fun Builder<com.google.protobuf.Any>.isEmpty()

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

Receiver

Name Description
Builder<com.google.protobuf.Any>

ReturnValue

Name Description
Unit

unpacksTo

fun <T> Builder<com.google.protobuf.Any>.unpacksTo(): Builder<com.google.protobuf.Any>

Asserts that the subject is a message of type T.

Receiver

Name Description
Builder<com.google.protobuf.Any>

ReturnValue

Name Description
Builder<com.google.protobuf.Any>

unpack

fun <T> Builder<com.google.protobuf.Any>.unpack(): Builder<T>

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

Receiver

Name Description
Builder<com.google.protobuf.Any>

ReturnValue

Name Description
Builder<T>