struct

Orc::Proto::PostScript

Inherits Protobuf::Message < Struct < Value < Object

Constants

FIELDS = {1 => {name: :footer_length, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :compression, pb_type: CompressionKind, crystal_type: CompressionKind, cast_type: CompressionKind?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :compression_block_size, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :version, pb_type: :uint32, crystal_type: UInt32, cast_type: Array(UInt32)?, native: true, optional: true, repeated: true, default: nil, packed: true}, 5 => {name: :metadata_length, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :writer_version, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :stripe_statistics_length, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8000 => {name: :magic, 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)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
compression
compression=(compression : CompressionKind | Nil)
compression_block_size
compression_block_size=(compression_block_size : UInt64 | Nil)
magic
magic=(magic : String | Nil)
metadata_length
metadata_length=(metadata_length : UInt64 | Nil)
stripe_statistics_length
stripe_statistics_length=(stripe_statistics_length : UInt64 | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf
version
version=(version : Array(UInt32) | Nil)
writer_version
writer_version=(writer_version : UInt32 | Nil)