struct Protobuf::Message::Field

Defined in:

protobuf/message.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, type : String, pb_type : String, native : Bool, optional : Bool, repeated : Bool, packed : Bool) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(name _name = @name, type _type = @type, pb_type _pb_type = @pb_type, native _native = @native, optional _optional = @optional, repeated _repeated = @repeated, packed _packed = @packed) #

[View source]
def name : String #

def native : Bool #

def optional : Bool #

def packed : Bool #

def pb_type : String #

def repeated : Bool #

def type : String #