struct Apps::Google::FileOptions
- Apps::Google::FileOptions
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Apps/descriptor.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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 Summary
Instance Method Summary
- #[](key : String)
- #cc_enable_arenas : Bool | Nil
- #cc_enable_arenas=(cc_enable_arenas : Bool | Nil)
- #cc_generic_services : Bool | Nil
- #cc_generic_services=(cc_generic_services : Bool | Nil)
- #csharp_namespace : String | Nil
- #csharp_namespace=(csharp_namespace : String | Nil)
- #deprecated : Bool | Nil
- #deprecated=(deprecated : Bool | Nil)
- #go_package : String | Nil
- #go_package=(go_package : String | Nil)
- #java_generate_equals_and_hash : Bool | Nil
- #java_generate_equals_and_hash=(java_generate_equals_and_hash : Bool | Nil)
- #java_generic_services : Bool | Nil
- #java_generic_services=(java_generic_services : Bool | Nil)
- #java_multiple_files : Bool | Nil
- #java_multiple_files=(java_multiple_files : Bool | Nil)
- #java_outer_classname : String | Nil
- #java_outer_classname=(java_outer_classname : String | Nil)
- #java_package : String | Nil
- #java_package=(java_package : String | Nil)
- #java_string_check_utf8 : Bool | Nil
- #java_string_check_utf8=(java_string_check_utf8 : Bool | Nil)
- #objc_class_prefix : String | Nil
- #objc_class_prefix=(objc_class_prefix : String | Nil)
- #optimize_for : FileOptions::OptimizeMode | Nil
- #optimize_for=(optimize_for : FileOptions::OptimizeMode | Nil)
- #py_generic_services : Bool | Nil
- #py_generic_services=(py_generic_services : Bool | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #uninterpreted_option : Array(UninterpretedOption) | Nil
- #uninterpreted_option=(uninterpreted_option : Array(UninterpretedOption) | Nil)
Constructor Detail
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)
#