Provides convenient access to field information of a oneof.

interface OneofInfo {
    default: undefined;
    delimited?: undefined;
    fields: readonly FieldInfo[];
    kind: "oneof";
    localName: string;
    name: string;
    opt: false;
    packed: false;
    repeated: false;
    findField(localName): undefined | FieldInfo;
}

Properties

default: undefined
delimited?: undefined
fields: readonly FieldInfo[]
kind: "oneof"
localName: string
name: string
opt: false
packed: false
repeated: false

Methods

  • Return field information by local name.

    Parameters

    • localName: string

    Returns undefined | FieldInfo

Generated using TypeDoc