struct Protobuf::CodeGeneratorResponse

Included Modules

Defined in:

protobuf/generator.cr

Constant Summary

FIELDS = {15 => {name: :file, pb_type: CodeGeneratorResponse::File, crystal_type: CodeGeneratorResponse::File, cast_type: Array(CodeGeneratorResponse::File)?, native: false, optional: true, repeated: true, 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) ==

Macros inherited from module Protobuf::Message

_add_field(tag, name, pb_type, options = {} of Symbol => Bool) _add_field, _generate_decoder(pbVer) _generate_decoder, _generate_encoder(pbVer) _generate_encoder, _generate_getters_setters _generate_getters_setters, _generate_hash_getters _generate_hash_getters, contract(&blk) contract, contract_of(syntax, &blk) contract_of, extensions(range) extensions, optional(name, type, tag, default = nil, repeated = false, packed = false) optional, repeated(name, type, tag, packed = false) repeated, required(name, type, tag, default = nil) required

Constructor Detail

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

def self.new(file : Array(CodeGeneratorResponse::File) | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def file : Array(CodeGeneratorResponse::File) | Nil #

def file=(file : Array(CodeGeneratorResponse::File) | Nil) #

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

def to_protobuf #