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