struct Protobuf::CodeGeneratorRequest::EnumValueDescriptorProto
- Protobuf::CodeGeneratorRequest::EnumValueDescriptorProto
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
protobuf/generator.crConstant Summary
-
FIELDS =
{1 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :number, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
-
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(name : String | Nil = nil, number : Int32 | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #name : String | Nil
- #name=(name : String | Nil)
- #number : Int32 | Nil
- #number=(number : Int32 | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf