Protobuf::CodeGeneratorRequest::UninterpretedOption::NamePart
Inherits Protobuf::Message / Struct / Value / Object
Constants
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)
Constructors
new(name_part : String, is_extension : Bool)
new(buf : Protobuf::Buffer)
Class methods
from_protobuf(io)
Instance methods
[](key : String)
is_extension
is_extension=(is_extension : Bool)
name_part
name_part=(name_part : String)
to_protobuf(io : IO, embedded = false)
to_protobuf