[protobuf] Re: How to control the output size of GzipOutputStream?

2011-05-23 Thread Shin
There is another problem. If I use FileOutputStream, the message would not be flush whether Flush() is be used or not. It would be flush until the file descriptor is closed. It is still the EOF's problem? if yes, it looks not suitable for socket programing. I have seem the same problem on

[protobuf] Issue 296 in protobuf: Deploy protobuf-java 2.4.1 JAR to Maven Repository

2011-05-23 Thread protobuf
Status: New Owner: liuj...@google.com Labels: Type-Defect Priority-Medium New issue 296 by bimsc...@googlemail.com: Deploy protobuf-java 2.4.1 JAR to Maven Repository http://code.google.com/p/protobuf/issues/detail?id=296 What steps will reproduce the problem? 1. 2. 3. What is the expected

[protobuf] Re: Issue 296 in protobuf: Deploy protobuf-java 2.4.1 JAR to Maven Repository

2011-05-23 Thread protobuf
Comment #1 on issue 296 by bimsc...@googlemail.com: Deploy protobuf-java 2.4.1 JAR to Maven Repository http://code.google.com/p/protobuf/issues/detail?id=296 Sorry, I've hit enter before filling out the text... Currently the 2.4.1 JAR is missing on both Maven Central and the deprecated

[protobuf] Re: Issue 293 in protobuf: About Objective-C

2011-05-23 Thread protobuf
Comment #1 on issue 293 by jens.knu...@gmail.com: About Objective-C http://code.google.com/p/protobuf/issues/detail?id=293 FWIW, there's another implementation that's actively maintained here: https://github.com/booyah/protobuf-objc I've tried it and I like it so far -- HTH. -- You received

[protobuf] FindFileByName fails

2011-05-23 Thread Patrick LeGresley
Hi all, I have an application that was originally doing all of the Protocol Buffer access in Python but I'm in the process of moving a performance critical part to C++. Most of the Protocol Buffer access code remains in Python with just one part in C++ right now. Most of the time everything

[protobuf] Message.getField(FieldDescriptor) and enum values.

2011-05-23 Thread Jim Mayer
In the Java protocol buffer binding, is there a way to get the Java enum value using protocol buffer reflection? Specifically, I'd like to be able to write something like the following: Object getFieldValue(MessageOrBuilder source, FieldDescriptor field) { Object value =

[protobuf] protobuf-2.4.1 (java) build problems

2011-05-23 Thread bogl
Hello I'm trying to create generated-sources and generated-test-sources files for protobuf-2.4.1 (java), but getting an error message: [INFO] [ERROR] BUILD FAILURE [INFO]

[protobuf] Re: Message.getField(FieldDescriptor) and enum values.

2011-05-23 Thread Ben Wright
Assuming you know the Java Enum Type for which the EnumValueDescriptor is describing a type of... MyJavaEnum.valueOf((EnumValueDescriptor)value) will return the appropriate java enum value. On May 23, 1:42 pm, Jim Mayer j...@pentastich.org wrote: In the Java protocol buffer binding, is there a

Re: [protobuf] Re: Message.getField(FieldDescriptor) and enum values.

2011-05-23 Thread Jim Mayer
That's exactly the problem. We don't. This issue first came up for us when writing code to copy data from one subtree to another of a protocol buffer. By passing in a field descriptor we were able to eliminate a LOT of duplicated code. In that case, we only needed the field access to write and