To start with you need to use the qualify with the package as
google.protobuf.DescriptorProto. See the section on Name Resolution:
https://developers.google.com/protocol-buffers/docs/proto#packages
Assuming your paths are set up correctly it should work after that.
On Fri, Sep 28, 2012 at 2:19 AM
Hi,
My "message" is an UDP packet header and I have to ignore the rest of the
packet. How can I express that in .proto syntax?
Note that the header length is fixed (70B), but the packet length is
not
Also, would it be possible to validate that those first 70B really conform
to the message
Hi,
I am trying to compile my .proto file using protoc compiler and generate
java classes for the same.
Below is my Job.proto file
*import "google/protobuf/descriptor.proto";
option java_package = "com.myfile.test";
option java_outer_classname = "JobProto";
message Job{
required string com
Hi.
You can write your own parser, the structure to follow it is not difficult.
You can download the source code for protobuffer and you will have the
compiler/cpp, compiler/java and compiler/python parsers to "copy".
I wrote the first version of parser to generate code for fitnesse in two
day
I've read the suggestion about first writing the size of each message
followed by the message in order to workaround the issue that protocol
buffer parsers don't know where 1 message ends and another begins. Could
someone show example code on how to do this for a C# client sending a
message to
I assumed that the type/value errors are no longer valid in Python 3, so I
removed the 3 checks in reflection_test.testStringUTF8Encoding(). All unit
tests now pass!
On Tuesday, September 25, 2012 1:47:09 PM UTC-7, Charles Law wrote:
>
> I thought about this a little, and realized that both un
Comment #3 on issue 389 by alexande...@mail.ru: Patch: for VC11 need set
preprocessor definition _VARIADIC_MAX=10;
http://code.google.com/p/protobuf/issues/detail?id=389
Ok, but also need add in gtest, gtest-lite and test_plugin
--
You received this message because you are subscribed to the