explicitDefaultValue

The explicitly declared default value for this field.

Descriptor.swift:1178

This declaration has been renamed to FieldDescriptor.defaultValue.

This declaration is deprecated.

var explicitDefaultValue: String? { get }

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.