struct Google::Protobuf::GeneratedCodeInfo::Annotation
- Google::Protobuf::GeneratedCodeInfo::Annotation
- Struct
- Value
- Object
Included Modules
Defined in:
protobufs/descriptor.pb.crConstant Summary
-
FIELDS =
{1 => {name: :path, pb_type: :int32, crystal_type: Int32, cast_type: Array(Int32)?, native: true, optional: true, repeated: true, default: nil, packed: true}, 2 => {name: :source_file, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :begin, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :end, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : ::Protobuf::Buffer)
- .new(path : Array(Int32) | Nil = nil, source_file : String | Nil = nil, begin __arg0 : Int32 | Nil = nil, end __arg1 : Int32 | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #begin : Int32 | Nil
- #begin=(begin __arg0 : Int32 | Nil)
- #end : Int32 | Nil
- #end=(end __arg0 : Int32 | Nil)
- #path : Array(Int32) | Nil
- #path=(path : Array(Int32) | Nil)
- #source_file : String | Nil
- #source_file=(source_file : String | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Instance methods inherited from module Protobuf::Message
to_slice : Bytes
to_slice
Constructor Detail
def self.new(path : Array(Int32) | Nil = nil, source_file : String | Nil = nil, begin __arg0 : Int32 | Nil = nil, end __arg1 : Int32 | Nil = nil)
#