UnsupportedTypeProtoAdapter

Stub ProtoAdapter for Wire types which are typeliased to java.time types on the JVM such as Duration and Instant. This proto adapter is used when the corresponding java.time type is missing from the JVM classpath.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
actual val identity: Nothing?
Link copied to clipboard
actual val sourceFile: String?
Link copied to clipboard
actual val syntax: Syntax
Link copied to clipboard
actual val type: KClass<*>?
Link copied to clipboard
actual val typeUrl: String?

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun decode(stream: InputStream): Nothing
actual fun decode(bytes: ByteArray): Nothing
actual fun decode(source: BufferedSource): Nothing
actual fun decode(bytes: ByteString): Nothing
open override fun decode(reader: ProtoReader): Nothing
Link copied to clipboard

Read an encoded message from data.

Link copied to clipboard
actual fun encode(value: Nothing): ByteArray
fun encode(stream: OutputStream, value: Nothing)
actual fun encode(sink: BufferedSink, value: Nothing)
open override fun encode(writer: ProtoWriter, value: Nothing): Nothing
open override fun encode(writer: ReverseProtoWriter, value: Nothing): Nothing
Link copied to clipboard
actual fun encodeByteString(value: Nothing): ByteString
Link copied to clipboard
open override fun encodedSize(value: Nothing): Nothing
Link copied to clipboard
actual open fun encodedSizeWithTag(tag: Int, value: Nothing?): Int
Link copied to clipboard
actual open fun encodeWithTag(writer: ProtoWriter, tag: Int, value: Nothing?)
actual open fun encodeWithTag(writer: ReverseProtoWriter, tag: Int, value: Nothing?)
Link copied to clipboard
open override fun redact(value: Nothing): Nothing
Link copied to clipboard
actual open fun toString(value: Nothing): String
Link copied to clipboard
actual fun tryDecode(reader: ProtoReader, destination: MutableList<Nothing>)