Index: third_party/protobuf/src/google/protobuf/util/internal/testdata/books.proto |
diff --git a/third_party/protobuf/src/google/protobuf/util/internal/testdata/books.proto b/third_party/protobuf/src/google/protobuf/util/internal/testdata/books.proto |
index 82b8176066f4c546ff70a66360bc1da2ca39a5a6..1cbbba4781f04997e03cde5baeb18e38136dda08 100644 |
--- a/third_party/protobuf/src/google/protobuf/util/internal/testdata/books.proto |
+++ b/third_party/protobuf/src/google/protobuf/util/internal/testdata/books.proto |
@@ -56,6 +56,13 @@ message Book { |
optional Publisher publisher = 9; |
repeated Label labels = 10; |
+ enum Type { |
+ FICTION = 1; |
+ KIDS = 2; |
+ ACTION_AND_ADVENTURE = 3; |
+ } |
+ optional Type type = 11; |
+ |
extensions 200 to 499; |
} |
@@ -169,3 +176,12 @@ message NestedBook { |
message BadNestedBook { |
repeated uint32 book = 1 [packed=true]; // Packed to optional message. |
} |
+ |
+// A recursively defined message. |
+message Cyclic { |
+ optional int32 m_int = 1; |
+ optional string m_str = 2; |
+ optional Book m_book = 3; |
+ repeated Author m_author = 5; |
+ optional Cyclic m_cyclic = 4; |
+} |