From de800540183195751c80f551c665f6ed228bbd97 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Thu, 15 Oct 2020 15:44:19 -0700 Subject: [PATCH] Make required fields optional for benchmarking. --- tests/descriptor.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/descriptor.proto b/tests/descriptor.proto index 58aeadafce..a95371d4da 100644 --- a/tests/descriptor.proto +++ b/tests/descriptor.proto @@ -731,8 +731,8 @@ message UninterpretedOption { // E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents // "foo.(bar.baz).qux". message NamePart { - required string name_part = 1; - required bool is_extension = 2; + optional string name_part = 1; + optional bool is_extension = 2; } repeated NamePart name = 2;