struct Apps::Google::EnumValueDescriptorProto

Included Modules

Defined in:

pb-Apps/descriptor.pb.cr

Constant 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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(name : String | Nil = nil, number : Int32 | Nil = nil, options : EnumValueOptions | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def name : String | Nil #

def name=(name : String | Nil) #

def number : Int32 | Nil #

def number=(number : Int32 | Nil) #

def options : EnumValueOptions | Nil #

def options=(options : EnumValueOptions | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #