proto3 scalar fields have no distinction by default between not being present and being set to the field's default value. The optional keyword is used for cases where that distinction is necessary.
The protobuf definitions in this repo appear to be instead following proto2 conventions of indicating the optional keyword for any singular field.