struct Protobuf::CodeGeneratorRequest::UninterpretedOption::NamePart
- Protobuf::CodeGeneratorRequest::UninterpretedOption::NamePart
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
protobuf/generator.crConstant Summary
-
FIELDS =
{1 => {name: :name_part, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :is_extension, pb_type: :bool, crystal_type: Bool, cast_type: Bool, native: true, optional: false, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
-
Fields =
{} of String => Field
Constructors
- .new(name_part : String, is_extension : Bool)
- .new(buf : Protobuf::Buffer)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #is_extension : Bool
- #is_extension=(is_extension : Bool)
- #name_part : String
- #name_part=(name_part : String)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf