Don't we need to add protoc compiler in gradle file? How did it compile proto file and convert it into java? In my case, it compiled but there is a compile time error in generated java class.
I am not able to build the gradle project after adding plugin n dependency. Any idea on this? * Exception is: org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'TestGRPC'. at org.gradle.configuration.project.LifecycleProjectEvaluator.wrapException(LifecycleProjectEvaluator.java:75) aused by: org.gradle.api.artifacts.UnknownConfigurationException: Configuration with name 'compile' not found. at org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.createNotFoundException(DefaultConfigurationContainer.java:161)
Thankyou for your video . its useful . Actually how to write spring rest services and it will receive protobuf as input . do we have any spring and proto buf example video . if yes please post it . Thankyou
Why did you download protoc and compile the proto file in console when, at the end, you use a gradle plugin to do the same again? Couldn't you just have copy-pasted the generated file instead of using the gradle plugin to generate it?
Appreciate if you can show how the generated class can implement a custom interface. It seems next to impossible from the documentations where they talk about Plugin Insertion Points but no proper examples are available!!
@@MaxMautner Was going through Akka Persistence (Typed) where there was a need for Command and Event Interfaces (as Markers) and the implementations would need to be serialized.
I was struggling using Protobuf in Java, thank you so much!
Don't we need to add protoc compiler in gradle file? How did it compile proto file and convert it into java? In my case, it compiled but there is a compile time error in generated java class.
Thank you very much for this video!
I am not able to build the gradle project after adding plugin n dependency. Any idea on this?
* Exception is:
org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'TestGRPC'.
at org.gradle.configuration.project.LifecycleProjectEvaluator.wrapException(LifecycleProjectEvaluator.java:75)
aused by: org.gradle.api.artifacts.UnknownConfigurationException: Configuration with name 'compile' not found.
at org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.createNotFoundException(DefaultConfigurationContainer.java:161)
Thankyou for your video . its useful . Actually how to write spring rest services and it will receive protobuf as input . do we have any spring and proto buf example video . if yes please post it . Thankyou
Very helpful thank you very much
You’re very welcome-glad that it helped you 🙏
Thank you sir! Really appreciate the tutorial
thanks for the clear tutorial! Are there any special steps for Android for using protobufs?
Nope, nothing different I can think of
Helped me a lot. Thanks!
Why did you download protoc and compile the proto file in console when, at the end, you use a gradle plugin to do the same again? Couldn't you just have copy-pasted the generated file instead of using the gradle plugin to generate it?
Showing that there is more than one way to do things matey
What should I do if it shows "mkdir: /Users/goeimacbook/scratch: No such file or directory" error message when I run mkdir ~/scratch/protobuftest ?
Try “mkdir -P ~/scratch/protobuftest” instead
Appreciate if you can show how the generated class can implement a custom interface. It seems next to impossible from the documentations where they talk about Plugin Insertion Points but no proper examples are available!!
Can you elaborate on why you need to do that?
@@MaxMautner Was going through Akka Persistence (Typed) where there was a need for Command and Event Interfaces (as Markers) and the implementations would need to be serialized.
Well done thank you
need increase sound volume and source code.
that is an absolutely absurd amount of tabs open
That’s just how we roll 🤘😎