Hi,
Currently I encounter the behavior of JsonFormater.printer printing the
long(int64) value as String to JSON.
Is there a way to set the JsonFormater.printer not to do this conversion
(Long(int64) -> String in Json)?
In my use case, the JSON is not consumed by javascript app, representing
the
Hi,
I am currently writing the java code to check the number of messages in a
protocol buffer file *.pb
I would like to know if there is meta-data or header that contains the
information of number of messages in the protobuf file? I am looping
through the whole file, and I think there should
Figured out this is because the protobuf version is different between
hadoop (2.5.0) and the one I used (3.6.1) to generate the java files.
Once I downgrade the protoc to re-generate the java files, the issue
resolved.
Thanks
David
On Wednesday, September 12, 2018 at 3:28:49 PM UTC-7, David Yu
eDelimitedFrom(input)) !=
null) {
recordCount++;
}
It works fine. =(
On Wednesday, September 12, 2018 at 3:28:49 PM UTC-7, David Yu wrote:
>
> Hi,
> I am working on the project to count the record in the protobuf file
> but I get the excepti
Hi,
I am working on the project to count the record in the protobuf file
but I get the exception
Exception in thread "main" java.lang.NoSuchMethodError:
com.google.protobuf.CodedInputStream.shouldDiscardUnknownFields()Z
at
On Mon, Nov 6, 2017 at 3:28 AM, Andrey Dotsenko
wrote:
> Hi again!
>
> I'm trying to write library for C with minimal memory allocations and I've
> encounted that protocol is not as perfect as I thought. My aim is embedded
> systems but with compatibility mode with Protocol
ers" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to protobuf+u...@googlegroups.com.
>>>> To post to this group, send email to prot...@googlegroups.com.
>>>> Visit this group at https://gr
+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.
--
When the cat is away, the mouse is alone.
- David Yu
--
You received
to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.
--
When the cat is away, the mouse is alone.
- David Yu
--
You
://groups.google.com/group/protobuf?hl=en.
--
When the cat is away, the mouse is alone.
- David Yu
--
You received this message because you are subscribed to the Google Groups
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group
@googlegroups.com.
To unsubscribe from this group, send email to
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.
--
When the cat is away, the mouse is alone.
- David Yu
--
You received this message because you are subscribed
?hl=en.
--
When the cat is away, the mouse is alone.
- David Yu
--
You received this message because you are subscribed to the Google Groups
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to
protobuf
On Wed, Feb 23, 2011 at 2:29 AM, Kenton Varda ken...@google.com wrote:
On Tue, Feb 8, 2011 at 4:14 AM, David Yu david.yu@gmail.com wrote:
Hmm, so protoc doesn't handle cyclic imports as well.
Are there plans to support it in the near future?
No, cyclic imports are not likely
to
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.
--
When the cat is away, the mouse is alone.
- David Yu
--
You received this message because you are subscribed to the Google Groups
Protocol Buffers group.
To post
to
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.
--
When the cat is away, the mouse is alone.
- David Yu
--
You received this message because you are subscribed to the Google Groups
Protocol Buffers group
from this group, send email to
protobuf+unsubscr...@googlegroups.comprotobuf%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.
--
When the cat is away, the mouse is alone.
- David Yu
--
You received this message because
options, visit this group at
http://groups.google.com/group/protobuf?hl=en.
--
When the cat is away, the mouse is alone.
- David Yu
--
You received this message because you are subscribed to the Google Groups
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.
--
When the cat is away, the mouse is alone.
- David Yu
--
You received this message because you are subscribed to the Google Groups
Protocol Buffers group.
To post to this group, send email to proto
email to
protobuf+unsubscr...@googlegroups.comprotobuf%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.
--
When the cat is away, the mouse is alone.
- David Yu
--
You received this message because you are subscribed
, the mouse is alone.
- David Yu
--
You received this message because you are subscribed to the Google Groups
Protocol Buffers group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to
protobuf+unsubscr...@googlegroups.com.
For more options
...@googlegroups.com.
To unsubscribe from this group, send email to
protobuf+unsubscr...@googlegroups.comprotobuf%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.
--
When the cat is away, the mouse is alone.
- David Yu
--
You received
at
http://groups.google.com/group/protobuf?hl=en.
--
When the cat is away, the mouse is alone.
- David Yu
--
You received this message because you are subscribed to the Google Groups
Protocol Buffers group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from
to
protobuf+unsubscr...@googlegroups.comprotobuf%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.
--
When the cat is away, the mouse is alone.
- David Yu
--
You received this message because you are subscribed to the Google
?hl=en.
--
When the cat is away, the mouse is alone.
- David Yu
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email t
When writing to the CodedOutputStream, it will be written as 0 length
delimited (0)bytes.
The Builder's setFoo(String foo) fails to protect it.
On Fri, Jan 8, 2010 at 7:50 AM, Kenton Varda ken...@google.com wrote:
On Thu, Jan 7, 2010 at 3:34 PM, David Yu david.yu@gmail.com wrote:
Just
Oh ok, didn't think it was normal to write delimited data with 0 length and
no data.
But I guess that is how the empty string is passed around.
Thanks.
On Fri, Jan 8, 2010 at 8:00 AM, Kenton Varda ken...@google.com wrote:
On Thu, Jan 7, 2010 at 3:53 PM, David Yu david.yu@gmail.com wrote
.
- David Yu
--
You received this message because you are subscribed to the Google Groups
Protocol Buffers group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group
On Wed, Dec 23, 2009 at 12:21 PM, Kenton Varda ken...@google.com wrote:
On Tue, Dec 22, 2009 at 8:18 PM, David Yu david.yu@gmail.com wrote:
On Wed, Dec 23, 2009 at 11:14 AM, Kenton Varda ken...@google.com wrote:
On Tue, Dec 22, 2009 at 7:06 PM, David Yu david.yu@gmail.comwrote
not entirely sure how I can
contribute at the moment)
-Bjørn
--
When the cat is away, the mouse is alone.
- David Yu
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Protocol Buffers group.
To post
I do agree that this should not be applied for LITE_RUNTIME because of the
lite runtime goal.
However an extra option could be added where these equals() and hashCode()
are implemented.
LITE_RUNTIME_EXTRA maybe. (any name is fine)
Those 2 methods are definitely needed in most cases.
Cheers
On
On Sun, Aug 16, 2009 at 9:37 PM, FiveTwelve cape...@gmail.com wrote:
I have an application that already has a ton of Soap web services that
basically serve up JPA entities. I use this to communicate data to a
Silverlight application.
Soap is horribly slow, one of our messages is 10MB!!! The
31 matches
Mail list logo