FYI i m using proto3
On Thursday, December 13, 2018 at 10:32:52 AM UTC-8, Shibha Malik wrote:
>
> Hi Team,
>
> i am getting IOException while deserializing a proto which contains a
> repeated Data and Data has a string type set ( works for repeated Data and
> Data has the same with int type set )
>
> I have a proto which has the following structure :
>
> message XYZData
> {
> ABCId abc_id = 1;
> DEF def= 2;
> google.protobuf.Timestamp ghi= 3;
> repeated JKL jkl = 4;
> MNO mno = 5;
> }
>
> where JKL is
> message JKL
> {
> Culprit culprit = 1;
> PQR pqr = 2;
> }
> where Culprit is
> message Culprit
> {
> oneof culprit
> {
> int32 int_culprit = 1;
> string string_culprit = 2;
> }
> }
>
> When i use the int_culprit and use GZIP compression. it serializes and
> deserializes fine.
> BUT when i use the string_culprit and use GZIP compression. it serializes
> fine and deserialization gives me IOException.
>
>
> PLEASE help us on this as this is blocking a major deliverable for us.
>
> Thanks,
> Shibha
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.