struct

Orc::Proto::CollectionStatistics

Inherits Protobuf::Message < Struct < Value < Object

Constants

FIELDS = {1 => {name: :min_children, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :max_children, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :total_children, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

new(buf : Protobuf::Buffer)
new(min_children : UInt64 | Nil = nil, max_children : UInt64 | Nil = nil, total_children : UInt64 | Nil = nil)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
max_children
max_children=(max_children : UInt64 | Nil)
min_children
min_children=(min_children : UInt64 | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf
total_children
total_children=(total_children : UInt64 | Nil)