Suppose I have the .proto
file:
message Bar { }
message Foo {
repeated Bar bars = 1;
}
How can you delete all of the elements in the field bar
?
Suppose I have the .proto
file:
message Bar { }
message Foo {
repeated Bar bars = 1;
}
How can you delete all of the elements in the field bar
?
Use a combination of
del
and[:]
: