struct Orc::Proto::EncryptionVariant
- Orc::Proto::EncryptionVariant
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
orc/definition/orc.pb.crConstant Summary
-
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 Method Summary
Instance Method Summary
- #[](key : String)
- #encrypted_key : Slice(UInt8) | Nil
- #encrypted_key=(encrypted_key : Slice(UInt8) | Nil)
- #file_statistics : Slice(UInt8) | Nil
- #file_statistics=(file_statistics : Slice(UInt8) | Nil)
- #key : UInt32 | Nil
- #key=(key : UInt32 | Nil)
- #root : UInt32 | Nil
- #root=(root : UInt32 | Nil)
- #stripe_statistics : Array(Stream) | Nil
- #stripe_statistics=(stripe_statistics : Array(Stream) | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.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)
#