Extension class
A single protobuf extension field.
Mirrors the information the descriptor bridge records for an extend field:
the extendeeFullName it extends, its number, its protobuf type (e.g.
TYPE_STRING, TYPE_MESSAGE), the bracketed fieldKey under which the
runtime stores its value in the extendee's backing map, and — for message
extensions — the embedded field descriptor.
Constructors
Properties
-
descriptor
→ List<
Map< ?String, Object?> > -
For a
TYPE_MESSAGEextension, the embedded message's field descriptor list;nullfor scalar/enum extensions.final - extendeeFullName → String
-
Fully-qualified name of the extended message (stripped FQN, no leading
dot), e.g.
acme.User.final - fieldKey → String
-
The extension field's storage key in the extendee's backing map: the
bracketed fully-qualified extension name, e.g.
[acme.user_email]. This is the exact key the descriptor bridge writes.final - fullName → String
-
The fully-qualified extension name without the surrounding brackets, e.g.
acme.user_emailfor a fieldKey of[acme.user_email].no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- number → int
-
The extension's field number.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
The extension's protobuf type (e.g.
TYPE_STRING,TYPE_MESSAGE).final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited