Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Tag: Protobuf

Protobuf complete analysis – the company’s most common data interactive agreement

Google Protocol Buffer (Protobuf for short) is a lightweight and efficient structured data storage format that is platform-independent, language-independent, and extensible. It can be used in field

October 1, 2021By Simo Micro Services Agreement, common, company, complete, data, interaction, Protobuf, ResolutionLeave a Comment

Protocol-buffers – maximum serial Protobuf message size

Is there a way to get the maximum size of a protobuf message after serialization?

I am referring to messages that do not contain “duplicate” elements.

Please note that I am not referrin

October 1, 2021By Simo Micro Services Buffers, chemical, max, Message, Protobuf, protocol, Sequence, SizeLeave a Comment

PROTOBUF text format analysis map

This answer clearly shows some examples of raw text parsing, but no examples of maps.

If a prototype has:

map aToB I guess it is like this:

aToB {
123 : “foo”
} But it doesn’t wo

October 1, 2021By Simo Micro Services Format, Map, Protobuf, Resolution, TextLeave a Comment

Protobuf3: String verification using regular expressions

I have been using Protobuf3 to define PB messages:

syntax = “proto3”;
package vioozer_protobuf ;
message Update
{
string sensor_id = 1;
…
} In my system, The sensor has a unique id format

October 1, 2021By Simo Micro Services expression, Protobuf, Protobuf3, regular, string, use, verificationLeave a Comment

Nanopb protobuf learning

Install tool software:

$ sudo apt-get install protoc // Generate .pb file from proto
$ sudo apt-get install python // Use official python The script generates the c and h files that can be us

October 1, 2021By Simo Micro Services learning, Nanopb, Protobuf, useLeave a Comment

How to use Dart-Protobuf

I am considering using dart-protobuf instead of JSON in one of my projects. The problem is that the library does not provide any examples of how to use it, and the tests did not really help.

October 1, 2021By Simo Micro Services DART, how to use, ProtobufLeave a Comment

Why is my Protobuf message (in Python) ignore zero value?

I have been working on implementing IPC’s protobufs for the project. For some reason, the value of 0 is not set/serialized. For the context, the .proto file contains the following message:

sy

October 1, 2021By Simo Micro Services ignoring, Message, my, Protobuf, python, why, zero valueLeave a Comment

Rest – Can PROTOBUF FIELD MASK can be applied to GRPC unique?

Let’s take this example from the official doc:

// Updates a book.
rpc UpdateBook (UpdateBookRequest) returns (Book) {
// Update maps to HTTP PATCH. Resource name is mapped to a URL path.
//

October 1, 2021By Simo Micro Services Field, GRPC, Mask, Protobuf, REST, Unique, YesLeave a Comment

Protocol-buffers – Protobuf3: How to describe the mapping of repeating strings?

Official documentation about map type says:

map map_field = N ;

…where the key_type can be any integral or string type (so, any
scalar type except for floating point types and bytes).

October 1, 2021By Simo Micro Services Buffers, Description, How, Mapping, Protobuf, Protobuf3, protocol, repetition, stringLeave a Comment
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress