struct

Protobuf::CodeGeneratorResponse::File

Inherits Protobuf::Message / Struct / Value / Object

Constants

FIELDS = {1 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :content, 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)
new(name : String | Nil = nil, content : String | Nil = nil)

Class methods

from_protobuf(io)

Instance methods

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