struct

Protobuf::CodeGeneratorRequest::EnumDescriptorProto

Inherits Protobuf::Message / Struct / Value / Object

Constants

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: :value, pb_type: CodeGeneratorRequest::EnumValueDescriptorProto, crystal_type: CodeGeneratorRequest::EnumValueDescriptorProto, cast_type: Array(CodeGeneratorRequest::EnumValueDescriptorProto)?, native: false, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

new(buf : Protobuf::Buffer)
new(name : String | Nil = nil, value : Array(CodeGeneratorRequest::EnumValueDescriptorProto) | Nil = nil)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
name
name=(name : String | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf
value
value=(value : Array(CodeGeneratorRequest::EnumValueDescriptorProto) | Nil)