Goby v2
option_extensions.proto
1 
2 import "google/protobuf/descriptor.proto";
3 
4 package goby;
5 
6 extend .google.protobuf.FieldOptions
7 {
8  // Email from liujisi@google.com on 7.22.2011: Please use 1009 for all types
9  // of options.
10  // --------------------------------
11  // Project: Goby Underwater Autonomy Project
12  // Contact: Toby Schneider <tes@mit.edu>
13  // Web site: https://launchpad.net/goby
14  // Extensions: 1009 (all types)
15  // --------------------------------
16  optional GobyFieldOptions field = 1009;
17 }
18 
19 extend .google.protobuf.MessageOptions
20 {
21  optional GobyMessageOptions msg = 1009;
22 }
23 
24 message GobyFieldOptions
25 {
26  optional string description = 100;
27  optional string example = 101;
28 
29  // used in goby_moos_app.proto
30  optional string moos_global = 102;
31 
32  message ConfigurationOptions
33  {
34  optional string cli_short = 1;
35  enum ConfigAction
36  {
37  ALWAYS = 1;
38  NEVER = 2;
39  ADVANCED = 3;
40  }
41  optional ConfigAction action = 2 [default = ALWAYS];
42  }
43  optional ConfigurationOptions cfg = 200;
44 }
45 
46 message GobyMessageOptions
47 {
48 }