On Wed, Jun 1, 2011 at 3:45 PM, aara aara.cool...@gmail.com wrote:
I actually have 3 questions.
1.When we specify default values for optional fields,the default value
gets assigned automatically when we ourselves dont assign it a value.
But why doesnt the has_member field get set to 1??? It
I am working on a C code base... INIT functions are used in this case
instead of a constructor in C++.
Thanks for your reply.
On Thu, Jun 2, 2011 at 3:33 PM, Pherl Liu liuj...@google.com wrote:
On Wed, Jun 1, 2011 at 3:45 PM, aara aara.cool...@gmail.com wrote:
I actually have 3 questions.
Yes, you can. See:
http://code.google.com/apis/protocolbuffers/docs/proto.html#generating
On Wed, Jun 1, 2011 at 2:39 PM, jonason jonason...@hotmail.com wrote:
can I set multi proto_path?
--
You received this message because you are subscribed to the Google Groups
Protocol Buffers group.
We also have another internal thread talking about the restriction support
for protobuf. Basically we think the restriction or value validation
function of protobuf should be implemented in the upper layer due to various
concerns..
On Mon, May 30, 2011 at 6:54 PM, Marco Tedone
That one will parse from binary encoded data. Looks like your
sample_message.txt is in ASCII format. In short:
Binary format:
serialize: msg.writeTo() / msg.toByteArray()
parsing: MyMessage.parseFrom() / builder.mergeFrom()
ASCII format:
serialize: msg.toString() / TextFormat.printToString()
You can probably use sub-builders in this case: e.g.
myBuilder.getPriceBuilder().setValue(123);
See
http://code.google.com/apis/protocolbuffers/docs/reference/java-generated.html#messagein
sub builders section.
On Thu, May 26, 2011 at 2:58 PM, veaven vea...@gmail.com wrote:
Hi,
What's the
Comment #2 on issue 296 by george.c...@gmail.com: Deploy protobuf-java
2.4.1 JAR to Maven Repository
http://code.google.com/p/protobuf/issues/detail?id=296
protobuf 2.4.1 came out at the end of April. Is there an issue with the
Java package that's holding up a corresponding Maven release?
Comment #3 on issue 296 by sergei.s...@gmail.com: Deploy protobuf-java
2.4.1 JAR to Maven Repository
http://code.google.com/p/protobuf/issues/detail?id=296
Hardly surprising, given that maven ecosystem is systematically neglected
by protobuf team. Protoc maven plugin is effectively
Updates:
Cc: f...@google.com
Comment #1 on issue 294 by liuj...@google.com: PyIter_Next returns a New
Reference so you must Py_DECREF it when done
http://code.google.com/p/protobuf/issues/detail?id=294
Thanks for reporting this. Adding Frank to take a look.
--
You received this
Comment #5 on issue 296 by sergei.s...@gmail.com: Deploy protobuf-java
2.4.1 JAR to Maven Repository
http://code.google.com/p/protobuf/issues/detail?id=296
Please have a look at the following guide:
http://maven.apache.org/guides/mini/guide-central-repository-upload.html
You may want to
On Thu, Jun 2, 2011 at 5:55 PM, Wenbo Zhu wen...@google.com wrote:
On Thu, Jun 2, 2011 at 3:41 AM, Pherl Liu liuj...@google.com wrote:
We also have another internal thread talking about the restriction
support for protobuf. Basically we think the restriction or value validation
function of
You can use custom field options to support validation of this type.
Take a look at extending com.google.FieldOptions
You can create an option field like max_inclusive and then access it
at run-time from the FieldDescriptor and use the information for
validation.
Unfortunately this is still
12 matches
Mail list logo