struct Apps::Google::EnumValueDescriptorProto
- Apps::Google::EnumValueDescriptorProto
- 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: :number, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :options, pb_type: EnumValueOptions, crystal_type: EnumValueOptions, cast_type: EnumValueOptions?, 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, number : Int32 | Nil = nil, options : EnumValueOptions | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #name : String | Nil
- #name=(name : String | Nil)
- #number : Int32 | Nil
- #number=(number : Int32 | Nil)
- #options : EnumValueOptions | Nil
- #options=(options : EnumValueOptions | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(name : String | Nil = nil, number : Int32 | Nil = nil, options : EnumValueOptions | Nil = nil)
#