[protobuf] Re: How to update docs?

2019-10-28 Thread schopenhauer zhang
update what? this page has wrong code? i want to get help . you can see my page:https://groups.google.com/forum/#!topic/protobuf/Y1MrMGG_Ic4 在 2019年10月27日星期日 UTC+8上午2:24:16,shayegan hooshyari写道: > > Hi, > I want to update docs for this page: >

[protobuf] Re: Can you Serialize the iframe tag to binary data?

2019-10-28 Thread schopenhauer zhang
python 3.7 proto 2 openrtb 2.5 在 2019年10月28日星期一 UTC+8下午2:53:18,schopenhauer zhang写道: > > > > proto file : > syntax = "proto2"; > option java_outer_classname = "OpenRtb"; > package com.google.openrtb; > message Person { > required string name = 1; > required int32 id = 2; > repeated Phone number =

[protobuf] Can you Serialize the iframe tag to binary data?

2019-10-28 Thread schopenhauer zhang
proto file : syntax = "proto2"; option java_outer_classname = "OpenRtb"; package com.google.openrtb; message Person { required string name = 1; required int32 id = 2; repeated Phone number = 3; } message Phone{ required string id = 5; } person_pb2.py: # -*- coding: utf-8 -*- # Generated

[protobuf] Can you check my protobuf data , I am right ?

2019-10-28 Thread schopenhauer zhang
import person_pb2 import json from google.protobuf import json_format bidResponse = person_pb2.Person() bidResponse.name = "https://play.google.com\;>"" bidResponse.id = 123 bid_resp_bid = bidResponse.number.add() bid_resp_bid.id = 'zhehsi' p1 = bidResponse.SerializeToString() print(p1) ##

Re: [protobuf] How to update docs?

2019-10-28 Thread 'Adam Cozzette' via Protocol Buffers
Sorry but unfortunately we are not set up to take external contributions to those docs. Hopefully at some point in the future we will get them on GitHub so that we can take contributions. But let us know if the documentation needs particular fixes and we can make those fixes. On Sat, Oct 26, 2019