KeyValue

class KeyValue(val key: String = "", val v_type: ValueType = ValueType.STRING, val v_str: String = "", val v_bool: Boolean = false, val v_int64: Long = 0, val v_float64: Double = 0.0, val v_binary: ByteString = ByteString.EMPTY, unknownFields: ByteString = ByteString.EMPTY) : Message<KeyValue, Nothing>

Constructors

Link copied to clipboard
constructor(key: String = "", v_type: ValueType = ValueType.STRING, v_str: String = "", v_bool: Boolean = false, v_int64: Long = 0, v_float64: Double = 0.0, v_binary: ByteString = ByteString.EMPTY, unknownFields: ByteString = ByteString.EMPTY)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val adapter: ProtoAdapter<KeyValue>
Link copied to clipboard
val key: String
Link copied to clipboard
val unknownFields: ByteString
Link copied to clipboard
val v_binary: ByteString
Link copied to clipboard
val v_bool: Boolean = false
Link copied to clipboard
val v_float64: Double = 0.0
Link copied to clipboard
val v_int64: Long = 0
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun copy(key: String = this.key, v_type: ValueType = this.v_type, v_str: String = this.v_str, v_bool: Boolean = this.v_bool, v_int64: Long = this.v_int64, v_float64: Double = this.v_float64, v_binary: ByteString = this.v_binary, unknownFields: ByteString = this.unknownFields): KeyValue
Link copied to clipboard
fun encode(stream: OutputStream)
fun encode(sink: BufferedSink)
Link copied to clipboard
fun encodeByteString(): ByteString
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard