struct Apps::Google::FileOptions

Included Modules

Defined in:

pb-Apps/descriptor.pb.cr

Constant Summary

FIELDS = {1 => {name: :java_package, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :java_outer_classname, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :java_multiple_files, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: false, packed: false}, 20 => {name: :java_generate_equals_and_hash, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: false, packed: false}, 27 => {name: :java_string_check_utf8, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: false, packed: false}, 9 => {name: :optimize_for, pb_type: FileOptions::OptimizeMode, crystal_type: FileOptions::OptimizeMode, cast_type: FileOptions::OptimizeMode?, native: false, optional: true, repeated: false, default: FileOptions::OptimizeMode::SPEED, packed: false}, 11 => {name: :go_package, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :cc_generic_services, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: false, packed: false}, 17 => {name: :java_generic_services, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: false, packed: false}, 18 => {name: :py_generic_services, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: false, packed: false}, 23 => {name: :deprecated, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: false, packed: false}, 31 => {name: :cc_enable_arenas, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: false, packed: false}, 36 => {name: :objc_class_prefix, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 37 => {name: :csharp_namespace, pb_type: :string, crystal_type: String, cast_type: String?, 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(java_package : String | Nil = nil, java_outer_classname : String | Nil = nil, java_multiple_files : Bool | Nil = false.as(Bool), java_generate_equals_and_hash : Bool | Nil = false.as(Bool), java_string_check_utf8 : Bool | Nil = false.as(Bool), optimize_for : FileOptions::OptimizeMode | Nil = FileOptions::OptimizeMode::SPEED.as(FileOptions::OptimizeMode), go_package : String | Nil = nil, cc_generic_services : Bool | Nil = false.as(Bool), java_generic_services : Bool | Nil = false.as(Bool), py_generic_services : Bool | Nil = false.as(Bool), deprecated : Bool | Nil = false.as(Bool), cc_enable_arenas : Bool | Nil = false.as(Bool), objc_class_prefix : String | Nil = nil, csharp_namespace : String | Nil = nil, uninterpreted_option : Array(UninterpretedOption) | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def cc_enable_arenas : Bool | Nil #

def cc_enable_arenas=(cc_enable_arenas : Bool | Nil) #

def cc_generic_services : Bool | Nil #

def cc_generic_services=(cc_generic_services : Bool | Nil) #

def csharp_namespace : String | Nil #

def csharp_namespace=(csharp_namespace : String | Nil) #

def deprecated : Bool | Nil #

def deprecated=(deprecated : Bool | Nil) #

def go_package : String | Nil #

def go_package=(go_package : String | Nil) #

def java_generate_equals_and_hash : Bool | Nil #

def java_generate_equals_and_hash=(java_generate_equals_and_hash : Bool | Nil) #

def java_generic_services : Bool | Nil #

def java_generic_services=(java_generic_services : Bool | Nil) #

def java_multiple_files : Bool | Nil #

def java_multiple_files=(java_multiple_files : Bool | Nil) #

def java_outer_classname : String | Nil #

def java_outer_classname=(java_outer_classname : String | Nil) #

def java_package : String | Nil #

def java_package=(java_package : String | Nil) #

def java_string_check_utf8 : Bool | Nil #

def java_string_check_utf8=(java_string_check_utf8 : Bool | Nil) #

def objc_class_prefix : String | Nil #

def objc_class_prefix=(objc_class_prefix : String | Nil) #

def optimize_for : FileOptions::OptimizeMode | Nil #

def optimize_for=(optimize_for : FileOptions::OptimizeMode | Nil) #

def py_generic_services : Bool | Nil #

def py_generic_services=(py_generic_services : 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) #