struct

Orc::Proto::IntegerStatistics

Inherits Protobuf::Message < Struct < Value < Object

Constants

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

Constructors

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

Class methods

from_protobuf(io)

Instance methods

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