struct Apps::Google::EnumDescriptorProto
- Apps::Google::EnumDescriptorProto
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Apps/descriptor.pb.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: :value, pb_type: EnumValueDescriptorProto, crystal_type: EnumValueDescriptorProto, cast_type: Array(EnumValueDescriptorProto)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :options, pb_type: EnumOptions, crystal_type: EnumOptions, cast_type: EnumOptions?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(name : String | Nil = nil, value : Array(EnumValueDescriptorProto) | Nil = nil, options : EnumOptions | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #name : String | Nil
- #name=(name : String | Nil)
- #options : EnumOptions | Nil
- #options=(options : EnumOptions | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #value : Array(EnumValueDescriptorProto) | Nil
- #value=(value : Array(EnumValueDescriptorProto) | Nil)
Constructor Detail
def self.new(name : String | Nil = nil, value : Array(EnumValueDescriptorProto) | Nil = nil, options : EnumOptions | Nil = nil)
#