struct

Orc::Proto::EncryptionVariant

Inherits Protobuf::Message < Struct < Value < Object

Constants

FIELDS = {1 => {name: :root, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :key, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :encrypted_key, pb_type: :bytes, crystal_type: Slice(UInt8), cast_type: Slice(UInt8)?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :stripe_statistics, pb_type: Stream, crystal_type: Stream, cast_type: Array(Stream)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 5 => {name: :file_statistics, pb_type: :bytes, crystal_type: Slice(UInt8), cast_type: Slice(UInt8)?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

new(buf : Protobuf::Buffer)
new(root : UInt32 | Nil = nil, key : UInt32 | Nil = nil, encrypted_key : Slice(UInt8) | Nil = nil, stripe_statistics : Array(Stream) | Nil = nil, file_statistics : Slice(UInt8) | Nil = nil)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
encrypted_key
encrypted_key=(encrypted_key : Slice(UInt8) | Nil)
file_statistics
file_statistics=(file_statistics : Slice(UInt8) | Nil)
key
key=(key : UInt32 | Nil)
root
root=(root : UInt32 | Nil)
stripe_statistics
stripe_statistics=(stripe_statistics : Array(Stream) | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf