struct

Protobuf::CodeGeneratorRequest::FieldOptions

Inherits Protobuf::Message / Struct / Value / Object

Constants

FIELDS = {2 => {name: :packed, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

new(buf : Protobuf::Buffer)
new(packed : Bool | Nil = nil)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
packed
packed=(packed : Bool | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf