You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the generated Message.Builders in java, the following methods are available for manipulating repeated values:
addX(xtype x)
setX(int index, xtype x)
clearX()
I would like to see the following method added:
removeX(int index)
Currently, it appears the only way to remove an element from the list is to copy the list to a new list, call clearX(), and then call addX(x) for all but the excluded elements. This is an expensive procedure.
The text was updated successfully, but these errors were encountered:
This PR adds a new option to IParseOptions, alternateCommentMode. When enabled, this activates an alternate comment parsing mode that preserves double-slash comments.
For the generated
Message.Builder
s in java, the following methods are available for manipulating repeated values:addX(xtype x)
setX(int index, xtype x)
clearX()
I would like to see the following method added:
removeX(int index)
Currently, it appears the only way to remove an element from the list is to copy the list to a new list, call
clearX()
, and then calladdX(x)
for all but the excluded elements. This is an expensive procedure.The text was updated successfully, but these errors were encountered: