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
What version of protobuf and what language are you using?
Version: 3.13.0
Language: Ruby
What operating system (Linux, Windows, ...) and version?
Debian 5.7.17-1rodete3 (2020-09-16) x86_64 GNU/Linux
What runtime / compiler are you using (e.g., python version or gcc version)
ruby 2.6.5
What did you do?
Steps to reproduce the behavior:
Checkout https://github.com/googleapis/googleapis/blob/master/google/cloud/bigquery/storage/v1beta2/protobuf.proto
(( the message that cause an issue is:
message ProtoSchema {
// Descriptor for input message. The descriptor has to be self contained,
// including all the nested types, excepted for proto buffer well known types
// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf).
google.protobuf.DescriptorProto proto_descriptor = 1;
}
run protoc --ruby_out=/tmp/foo protobuf.proto
see error --ruby_out: protobuf.proto: proto3 message field google.cloud.bigquery.storage.v1beta2.ProtoSchema.proto_descriptor in file google/protobuf/descriptor.proto has a dependency on a type from proto2 file google/protobuf/descriptor.proto. Ruby doesn't support proto2 yet, so we must fail.
What did you expect to see
ruby code generated at the target directory
What did you see instead?
an error
--ruby_out: protobuf.proto: proto3 message field google.cloud.bigquery.storage.v1beta2.ProtoSchema.proto_descriptor in file google/protobuf/descriptor.proto has a dependency on a type from proto2 file google/protobuf/descriptor.proto. Ruby doesn't support proto2 yet, so we must fail.`
Anything else we should know about your project / environment
The text was updated successfully, but these errors were encountered:
What version of protobuf and what language are you using?
Version: 3.13.0
Language: Ruby
What operating system (Linux, Windows, ...) and version?
Debian 5.7.17-1rodete3 (2020-09-16) x86_64 GNU/Linux
What runtime / compiler are you using (e.g., python version or gcc version)
ruby 2.6.5
What did you do?
Steps to reproduce the behavior:
https://github.com/googleapis/googleapis/blob/master/google/cloud/bigquery/storage/v1beta2/protobuf.proto
(( the message that cause an issue is:
protoc --ruby_out=/tmp/foo protobuf.proto
--ruby_out: protobuf.proto: proto3 message field google.cloud.bigquery.storage.v1beta2.ProtoSchema.proto_descriptor in file google/protobuf/descriptor.proto has a dependency on a type from proto2 file google/protobuf/descriptor.proto. Ruby doesn't support proto2 yet, so we must fail.
What did you expect to see
ruby code generated at the target directory
What did you see instead?
an error
--ruby_out: protobuf.proto: proto3 message field google.cloud.bigquery.storage.v1beta2.ProtoSchema.proto_descriptor in file google/protobuf/descriptor.proto has a dependency on a type from proto2 file google/protobuf/descriptor.proto. Ruby doesn't support proto2 yet, so we must fail.`
Anything else we should know about your project / environment
The text was updated successfully, but these errors were encountered: