struct

Protobuf::CodeGeneratorResponse

Inherits JSON::Serializable < Protobuf::Message < Struct < Value < Object

Constants

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)
Fields = {} of String => Field

Constructors

new(buf : Protobuf::Buffer)
new(file : Array(CodeGeneratorResponse::File) | Nil = nil)
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
[]=(key : String, val)
[]?(key : String)
file
file=(file : Array(CodeGeneratorResponse::File) | Nil)
file=(file : Array(CodeGeneratorResponse::File) | Nil)
to_hash
to_protobuf(io : IO, embedded = false)
to_protobuf

Nested types