struct Google::Protobuf::DescriptorProto::ExtensionRange
- Google::Protobuf::DescriptorProto::ExtensionRange
- Struct
- Value
- Object
Included Modules
Defined in:
protobufs/descriptor.pb.crConstant Summary
-
FIELDS =
{1 => {name: :start, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :end, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :options, pb_type: ExtensionRangeOptions, crystal_type: ExtensionRangeOptions, cast_type: ExtensionRangeOptions?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : ::Protobuf::Buffer)
- .new(start : Int32 | Nil = nil, end __arg0 : Int32 | Nil = nil, options : ExtensionRangeOptions | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #end : Int32 | Nil
- #end=(end __arg0 : Int32 | Nil)
- #options : ExtensionRangeOptions | Nil
- #options=(options : ExtensionRangeOptions | Nil)
- #start : Int32 | Nil
- #start=(start : Int32 | 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(start : Int32 | Nil = nil, end __arg0 : Int32 | Nil = nil, options : ExtensionRangeOptions | Nil = nil)
#