ProtocolVersion

data class ProtocolVersion(val majorVersion: Int = 0, val minorVersion: Int = 0, val unknownFields: Map<Int, UnknownField> = emptyMap()) : Message

Constructors

Link copied to clipboard
constructor(majorVersion: Int = 0, minorVersion: Int = 0, unknownFields: Map<Int, UnknownField> = emptyMap())

Types

Link copied to clipboard
object Companion : Message.Companion<ProtocolVersion>

Properties

Link copied to clipboard
open override val descriptor: MessageDescriptor<ProtocolVersion>
Link copied to clipboard
val majorVersion: Int = 0
Link copied to clipboard
val minorVersion: Int = 0
Link copied to clipboard
open override val protoSize: Int
Link copied to clipboard
open override val unknownFields: Map<Int, UnknownField>

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun plus(other: Message?): ProtocolVersion