//protobuf-kotlin/com.google.protobuf.kotlin/unpack

unpack

[JVM]
Content
inline fun <T : Message> Any.unpack(): T

Returns the message of type T encoded in this com.google.protobuf.Any.

Throws

                                                                                                                            |     |

——————————————————————————————————————————- | — InvalidProtocolBufferException |

if this com.google.protobuf.Any does not contain a T message.