-
Notifications
You must be signed in to change notification settings - Fork 15.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ruby: Convert Descriptor to DescriptorProto #12044
Comments
It would be relatively trivial to add |
This has come up a few times for Ruby. There's an ugly workaround described here: googleapis/google-cloud-ruby#19093 but we should provide a real solution. |
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment. This issue is labeled |
Still an issue, bot :) |
This would be fairly straightforward to contribute, but I'm not able to prioritize it myself. |
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment. This issue is labeled |
Still an issue. |
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment. This issue is labeled |
Yes, bot. |
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment. This issue is labeled |
Yes bot. |
Currently having this issue and the workaround mentioned in googleapis/google-cloud-ruby#19093 doesn't appear to work any longer (no build method?) |
What language does this apply to?
Ruby, proto2 in particular.
Describe the problem you are trying to solve.
Exactly the same as #9425 for C#, we need to send a DescriptorProto to use the BigQuery Storage write streaming API. The Ruby bindings allow us to generate the message class and get it as a Descriptor, but there doesn't seem to be an API to convert this to a DescriptorProto as required for the proto2 writer_schema argument.
Describe the solution you'd like
Just like #9426 for C#.
Describe alternatives you've considered
Manually constructing a Descriptor that is identical to the message class's fields.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: