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
In case that message field (top level one) is specified as repeated and added as field in option (google.api.method_signature) then generated RPC call method argument is T (instead of Iterable or vararg) and it's set in the builder of the message as set* method (which have for collections 2 arguments - index & single item) instead of addAll* method.
The text was updated successfully, but these errors were encountered:
To-da
changed the title
Method signature options with repeated field is not supported
Method signature options with repeated field are not supported
Jun 24, 2020
In case that message field (top level one) is specified as repeated and added as field in option (google.api.method_signature) then generated RPC call method argument is T (instead of Iterable or vararg) and it's set in the builder of the message as set* method (which have for collections 2 arguments - index & single item) instead of addAll* method.
Example:
Generated code (which of course cannot be compiled):
The text was updated successfully, but these errors were encountered: