struct Protobuf::CodeGeneratorResponse
- Protobuf::CodeGeneratorResponse
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
protobuf/generator.crConstant 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)
-
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(file : Array(CodeGeneratorResponse::File) | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #file : Array(CodeGeneratorResponse::File) | Nil
- #file=(file : Array(CodeGeneratorResponse::File) | Nil)
- #file=(file : Array(CodeGeneratorResponse::File) | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf