...
1// Copyright 2019 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5syntax = "proto2";
6
7package go_annotation;
8
9import "google/protobuf/descriptor.proto";
10
11option go_package = "google.golang.org/protobuf/internal/testprotos/annotation";
12
13extend google.protobuf.MessageOptions {
14 // Setting this on a message enables tracking of which fields in the message
15 // a specific binary might access. As a consequence, it also disables the use
16 // of the message accessor methods to satisfy interfaces: they can only be
17 // called directly.
18 optional bool track_field_use = 37383685;
19}
View as plain text