Index: third_party/protobuf/python/google/protobuf/internal/file_options_test.proto |
diff --git a/third_party/protobuf/python/google/protobuf/internal/any_test.proto b/third_party/protobuf/python/google/protobuf/internal/file_options_test.proto |
similarity index 87% |
copy from third_party/protobuf/python/google/protobuf/internal/any_test.proto |
copy to third_party/protobuf/python/google/protobuf/internal/file_options_test.proto |
index cd641ca0b8efaab4d60767f359490946f90400fb..4eceeb07f4857b1b00974ded3b773896bc679a15 100644 |
--- a/third_party/protobuf/python/google/protobuf/internal/any_test.proto |
+++ b/third_party/protobuf/python/google/protobuf/internal/file_options_test.proto |
@@ -28,15 +28,16 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Author: jieluo@google.com (Jie Luo) |
+syntax = "proto2"; |
-syntax = "proto3"; |
+import "google/protobuf/descriptor.proto"; |
-package google.protobuf.internal; |
+package google.protobuf.python.internal; |
-import "google/protobuf/any.proto"; |
+message FooOptions { |
+ optional string foo_name = 1; |
+} |
-message TestAny { |
- google.protobuf.Any value = 1; |
- int32 int_value = 2; |
+extend .google.protobuf.FileOptions { |
+ optional FooOptions foo_options = 120436268; |
} |