struct

Orc::Proto::DecimalStatistics

Inherits Protobuf::Message < Struct < Value < Object

Constants

FIELDS = {1 => {name: :minimum, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :maximum, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :sum, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

new(buf : Protobuf::Buffer)
new(minimum : String | Nil = nil, maximum : String | Nil = nil, sum : String | Nil = nil)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
maximum
maximum=(maximum : String | Nil)
minimum
minimum=(minimum : String | Nil)
sum
sum=(sum : String | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf