defaultValue

    The explicitly declared default value for this field.

    Descriptor.swift:1141
    let defaultValue: String?

    This is the raw string value from the .proto file that was listed as the default, it is up to the consumer to convert it correctly for the type of this field. The C++ FieldDescriptor does offer some apis to help with that, but at this time, that is not provided here.

    Other members in extension

    Instance members

    Show obsolete interfaces (5)

    Hide obsolete interfaces