Interface Extension<E, V>

interface Extension<E, V> {
    extendee: MessageType<E>;
    field: FieldInfo;
    runtime: ProtoRuntime;
    typeName: string;
}

Type Parameters

Properties

extendee: MessageType<E>

The message extended by this extension.

field: FieldInfo

Field information for this extension. Note that required fields, maps, oneof are not allowed in extensions. Behavior of "localName" property is undefined and must not be relied upon.

runtime: ProtoRuntime

Provides serialization and other functionality.

typeName: string

The fully qualified name of the extension.