<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cipepser</author_name>
  <author_url>https://blog.hatena.ne.jp/cipepser/</author_url>
  <blog_title>逆さまにした</blog_title>
  <blog_url>https://cipepser.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Protocol Buffers(以下、protobuf)におけるboolのcompatibilityは、Language Guideで以下のように述べられています。 int32, uint32, int64, uint64, and bool are all compatible これを読むと、もともとboolだったMessage Typeをint32にアップデートできるように思えます。 本記事では、実際に起こりそうな例で、boolからint32へのアップデートを試してみた結果をまとめます。 ストーリー 今回は、一般ユーザnormalとプレミアムユーザpremiumが存在するシステムに、追加…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcipepser.hatenablog.com%2Fentry%2Fprotobuf-bool&quot; title=&quot;protobufのboolはどこまでcompatibleなのか - 逆さまにした&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-07-28 14:36:55</published>
  <title>protobufのboolはどこまでcompatibleなのか</title>
  <type>rich</type>
  <url>https://cipepser.hatenablog.com/entry/protobuf-bool</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
