struct Protobuf::CodeGeneratorResponse::File

Included Modules

Defined in:

protobuf/generator.cr

Constant Summary

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

Class Method Summary

Instance Method Summary

Instance methods inherited from module Protobuf::Message

==(other : Protobuf::Message) ==

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(name : String | Nil = nil, content : String | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def content : String | Nil #

def content=(content : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #