struct

Protobuf::CodeGeneratorRequest

Inherits Protobuf::Message / Struct / Value / Object

Constants

FIELDS = {1 => {name: :file_to_generate, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :parameter, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :proto_file, pb_type: CodeGeneratorRequest::FileDescriptorProto, crystal_type: CodeGeneratorRequest::FileDescriptorProto, cast_type: Array(CodeGeneratorRequest::FileDescriptorProto)?, native: false, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

new(buf : Protobuf::Buffer)
new(file_to_generate : Array(String) | Nil = nil, parameter : String | Nil = nil, proto_file : Array(CodeGeneratorRequest::FileDescriptorProto) | Nil = nil)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
file_to_generate
file_to_generate=(file_to_generate : Array(String) | Nil)
parameter
parameter=(parameter : String | Nil)
proto_file
proto_file=(proto_file : Array(CodeGeneratorRequest::FileDescriptorProto) | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf

Nested types