Index: third_party/protobuf/src/google/protobuf/descriptor.proto |
diff --git a/third_party/protobuf/src/google/protobuf/descriptor.proto b/third_party/protobuf/src/google/protobuf/descriptor.proto |
index bd3cb96efaa589b05d5d881a8c2ee3bc8e2573e2..1f956befbc8dab986b08edda9ba31f2009de500d 100644 |
--- a/third_party/protobuf/src/google/protobuf/descriptor.proto |
+++ b/third_party/protobuf/src/google/protobuf/descriptor.proto |
@@ -260,7 +260,7 @@ message FileOptions { |
// reserializing a message will retain them. This is the default behaviour |
// unless LITE_RUNTIME is specified. Therefore, this option only makes sense |
// when LITE_RUNTIME is in use. |
- optional bool retain_unknown_fields = 11 [default=false]; |
+ optional bool retain_unknown_fields = 11 [default=true]; |
// If set true, then the Java code generator will generate equals() and |
// hashCode() methods for all messages defined in the .proto file. This is |
@@ -275,7 +275,7 @@ message FileOptions { |
CODE_SIZE = 2; // Use ReflectionOps to implement these methods. |
LITE_RUNTIME = 3; // Generate code using MessageLite and the lite runtime. |
} |
- optional OptimizeMode optimize_for = 9 [default=SPEED]; |
+ optional OptimizeMode optimize_for = 9 [default=LITE_RUNTIME]; |