Definitely not.  Use application-level validation not wireformat.
Am 26.07.2013 13:03 schrieb "juliusv" <notifications@github.com>:

> In config/config.proto:
>
> > +// You may obtain a copy of the License at
> > +//
> > +// http://www.apache.org/licenses/LICENSE-2.0
> > +//
> > +// Unless required by applicable law or agreed to in writing, software
> > +// distributed under the License is distributed on an "AS IS" BASIS,
> > +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> > +// See the License for the specific language governing permissions and
> > +// limitations under the License.
> > +
> > +package io.prometheus.alert_manager;
> > +
> > +// A regex-based label filter used in aggregations.
> > +message Filter {
> > +  // The regex matching the label name.
> > +  required string name_re = 1;
>
> I thought for config files required is ok (in contrast to stored data or
> communication protocols).
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/prometheus/alert_manager/pull/7/files#r5420417>
> .
>