Skip to content

Commit

Permalink
descriptor: switched required -> optional to newly added fields
Browse files Browse the repository at this point in the history
Change-Id: Id5bdeb9c633fcd3ba4c9b4f4ea08b884d261de46
  • Loading branch information
LalitMaganti committed Sep 26, 2023
1 parent df737f6 commit e901af6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions protos/perfetto/common/descriptor.proto
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ message UninterpretedOption {
// E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
// "foo.(bar.baz).moo".
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;

Expand Down
4 changes: 2 additions & 2 deletions protos/perfetto/trace/perfetto_trace.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5244,8 +5244,8 @@ message UninterpretedOption {
// E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
// "foo.(bar.baz).moo".
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;

Expand Down
Binary file modified python/perfetto/trace_processor/trace_processor.descriptor
Binary file not shown.

0 comments on commit e901af6

Please sign in to comment.