Orc::Proto::EncryptionVariant
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)
Class methods
from_protobuf(io)
Instance methods
[](key : String)
encrypted_key
file_statistics
key
root
stripe_statistics
to_protobuf(io : IO, embedded = false)
to_protobuf