~statik/ubuntu/maverick/protobuf/A

« back to all changes in this revision

Viewing changes to src/google/protobuf/descriptor.proto

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2010-02-11 11:13:19 UTC
  • mfrom: (2.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100211111319-zdn8hmw0gh8s4cf8
Tags: 2.2.0a-0.1ubuntu1
* Merge from Debian testing.
* Remaining Ubuntu changes:
  - Don't use python2.4.
* Ubuntu changes dropped:
  - Disable death tests on Itanium, fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
247
247
 
248
248
  // Generated classes can be optimized for speed or code size.
249
249
  enum OptimizeMode {
250
 
    SPEED = 1;      // Generate complete code for parsing, serialization, etc.
251
 
    CODE_SIZE = 2;  // Use ReflectionOps to implement these methods.
 
250
    SPEED = 1;        // Generate complete code for parsing, serialization,
 
251
                      // etc.
 
252
    CODE_SIZE = 2;    // Use ReflectionOps to implement these methods.
 
253
    LITE_RUNTIME = 3; // Generate code using MessageLite and the lite runtime.
252
254
  }
253
255
  optional OptimizeMode optimize_for = 9 [default=SPEED];
254
256
 
282
284
  // the protocol compiler.
283
285
  optional bool message_set_wire_format = 1 [default=false];
284
286
 
 
287
  // Disables the generation of the standard "descriptor()" accessor, which can
 
288
  // conflict with a field of the same name.  This is meant to make migration
 
289
  // from proto1 easier; new code should avoid fields named "descriptor".
 
290
  optional bool no_standard_descriptor_accessor = 2 [default=false];
 
291
 
285
292
  // The parser stores options it doesn't recognize here. See above.
286
293
  repeated UninterpretedOption uninterpreted_option = 999;
287
294