public MessageDescriptorBuilder <T> FloatArray(int fieldNum, Func <T, IEnumerable <float> > valueGetter, Action <T, float> oneValueSetter, Func <T, bool> hasValueFunc = null, bool canReadPacked = true) { return(Add(FieldSetting <T> .CreateFloatArray(fieldNum, valueGetter, oneValueSetter, hasValueFunc, canReadPacked))); }