Skip to content
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

GeneratedMessageV3 and GeneratedMessage #87

Open
roshitjain opened this issue Oct 19, 2021 · 0 comments
Open

GeneratedMessageV3 and GeneratedMessage #87

roshitjain opened this issue Oct 19, 2021 · 0 comments

Comments

@roshitjain
Copy link

Sir, this is a not a bug but explanation request.

Package com.google.protobuf has 2 classes GeneratedMessageV3 and GeneratedMessage.
Can you tell me what is the difference between the two?

Is it possible to force the generation of classes such that they extend from GeneratedMessage instead of GeneratedMessageV3?

protocArtifactId - com.google.protobuf:protoc:3.0.0-beta-1 & pluginArtifact - io.grpc:protoc-gen-grpc-java:0.9.1 used to generate classes which extend GeneratedMessage whereas

protocArtifactId - com.google.protobuf:protoc:3.0.0 & pluginArtifact - io.grpc:protoc-gen-grpc-java:1.1.1 generates classes which extend GeneratedMessageV3.

Is it possible to force the classes to extend from GeneratedMessage?

Thanks in advance.
I hope you get time to answer this tiny question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant