struct Apps::Google::MessageOptions

Included Modules

Defined in:

pb-Apps/descriptor.pb.cr

Constant Summary

FIELDS = {1 => {name: :message_set_wire_format, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: false, packed: false}, 2 => {name: :no_standard_descriptor_accessor, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: false, packed: false}, 3 => {name: :deprecated, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: false, packed: false}, 7 => {name: :map_entry, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 999 => {name: :uninterpreted_option, pb_type: UninterpretedOption, crystal_type: UninterpretedOption, cast_type: Array(UninterpretedOption)?, native: false, optional: true, repeated: true, 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(message_set_wire_format : Bool | Nil = false.as(Bool), no_standard_descriptor_accessor : Bool | Nil = false.as(Bool), deprecated : Bool | Nil = false.as(Bool), map_entry : Bool | Nil = nil, uninterpreted_option : Array(UninterpretedOption) | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def deprecated : Bool | Nil #

def deprecated=(deprecated : Bool | Nil) #

def map_entry : Bool | Nil #

def map_entry=(map_entry : Bool | Nil) #

def message_set_wire_format : Bool | Nil #

def message_set_wire_format=(message_set_wire_format : Bool | Nil) #

def no_standard_descriptor_accessor : Bool | Nil #

def no_standard_descriptor_accessor=(no_standard_descriptor_accessor : Bool | Nil) #

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

def to_protobuf #

def uninterpreted_option : Array(UninterpretedOption) | Nil #

def uninterpreted_option=(uninterpreted_option : Array(UninterpretedOption) | Nil) #