struct

Orc::Proto::Stream

Inherits Protobuf::Message < Struct < Value < Object

Constants

FIELDS = {1 => {name: :kind, pb_type: Stream::Kind, crystal_type: Stream::Kind, cast_type: Stream::Kind?, native: false, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :column, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :length, 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(kind : Stream::Kind | Nil = nil, column : UInt32 | Nil = nil, length : UInt64 | Nil = nil)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
column
column=(column : UInt32 | Nil)
kind
kind=(kind : Stream::Kind | Nil)
length
length=(length : UInt64 | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf

Nested types