Scalar

sealed class Scalar

The Scalar class represents a scalar value that can have different data types.

Parameters

The type parameter specifying the data type of the scalar value. It contains types corresponding to ProtoBuf types that ProtoBuf considers to be "Scalar Value Types", even though some of them arguably do not conform to other definitions of what a scalar is. Source: https://developers.google.com/protocol-buffers/docs/overview#scalar

Inheritors

Types

Link copied to clipboard
class BoolListValue(val value: List<Boolean>) : Scalar
Link copied to clipboard
class BoolValue(val value: Boolean) : Scalar
Link copied to clipboard
class BytesListValue(val value: List<ByteArray>) : Scalar
Link copied to clipboard
class BytesValue(val value: ByteArray) : Scalar
Link copied to clipboard
class DoubleListValue(val value: List<Double>) : Scalar
Link copied to clipboard
class DoubleValue(val value: Double) : Scalar
Link copied to clipboard
class SInt64ListValue(val value: List<Long>) : Scalar
Link copied to clipboard
class SInt64Value(val value: Long) : Scalar
Link copied to clipboard
class StringListValue(val value: List<String>) : Scalar
Link copied to clipboard
class StringValue(val value: String) : Scalar