Questions tagged [Protocol buffers] (18)

1
answer

Protobuf Support why not find the proto files?

Work in intellij IDEA. Created .proto file, and it is not what is highlighted, proposed the idea to put the plug-in Protobuf Support, I put. File found and indexed as a type of proto. But then popped up some clue, I don't read to the end hit "Revert" and the file is again not highlighted. Tried to reinstall plugin, restart ...
Ladarius.Boy asked April 3rd 20 at 18:22
0
answer

How to fix the error "Invalid wire type" in ProtoBuf?

Hello! In General, use ProtoBuf in your project. There is a classpublic class Sport { public int IDSport { get; set; } // id of sports public string Name { get; set; } // the name of the sport } Serializing this class. After if I add to this class another fieldpublic class Sport { public int IDSport { get; set; } // id ...
dario_Pouros asked March 25th 20 at 12:54
2
answers

How to organize a sub-message in protobuf?

Good day! I need to read the message type and, depending on its type already parsing go I would have done sotype Message strcut { string typeMessage Body interface {}// Court I can put anything and protobuf would like } or an example of JSONvar msg { typeMsg: user_info, body: user{ id : 564, name:dwadswa }, } as a ...
Marcelo.Legros asked March 13th 20 at 14:24
5
answers

Has anyone tried Protobuf Thift, Avro?

You must implement the communication of the mobile client with the server. Implementation of a communication client with the server two: 1. HTTP. the client acts as a web client and communicates with the server by exchanging JSON. the server runs Apache2 or Nginx – the simple implementation 2. TCP. the client and server com...
golda_Mil asked October 7th 19 at 19:15
3
answers

Node.JS for large Enterprise projects?

Actually the question in the title. Node.JS as frontend for a business server on a statically typed language. Nginx (or IIS) before Node.JS. Don't want to take Python and Ruby for some personnel-political reasons. As the transport, bundle ZeroMQ + Protobuf Google. All this should work on Linux and Windows. Dreams?
cecelia_Johnston asked October 7th 19 at 18:01
1
answer

How to use Protobuf?

Because of their ignorance of English are faced with a problem, I can not understand what to do next with the created java file, and where to get the required libraries.
christina.Bayer asked September 30th 19 at 22:43
1
answer

How to convert a Protobuf Descriptor to .proto?

How to convert this code:DESCRIPTOR = descriptor.FileDescriptor( name='addressbook.proto', package='tutorial', serialized_pb='\n\x11\x61\x64\x64ressbook.proto\x12\x08tutorial\"\xda \x01\n\x06Person\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\n\n\x02id \x18\x02 \x02(\x05\x12\r\n\x05\x65mail\x18\x03 \x03(\t\x12+\n\x05phone \x18\x04...
deontae asked September 30th 19 at 11:42
2
answers

How to ensure better interaction of the executable and database for the web site?

Colleagues, please help me with the architecture of the software solution. There is the following problem: There is some website with a database. Upon user request on specific data from the database of the website will be done some mathematical calculations, and the results should promptly be transmitted to the user. To en...
jabari93 asked September 28th 19 at 02:00
1
answer

How to accelerate the work of Protobuf in Python e?

Hi all. Tell me, maybe someone knows how to accelerate the work of Protobuf in Python e ? All measurements turned out to be the brake conversion functions messages (SerializeToString and ParseFromString). They run 10-20 times longer than the rest of the code. It is noticed that in GO it's all happening nearly 100 times fast...
xzavier asked September 27th 19 at 20:25
1
answer

What hub to put the topic about google protocol buffers and my bike for them?

Colleagues, I want to share with the community another "bike". This command-line utility to search for files with google protocol buffers messages. Please help me to decide two questions: 1. It is generally someone who needs it, or not to clog the InfoSphere? 2. If so, what hub to choose? (A separate hub for protobuf I have...
Davonte.Rodriguez asked September 27th 19 at 00:49