Skip to content

Commit 88fea58

Browse files
committed
deploy: f840bb3
1 parent 24b8644 commit 88fea58

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed
167 KB
Loading

overview/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
self-description. That is, you cannot fully interpret one without access to
9191
its corresponding <code>.proto</code> file.</li><li>Protocol buffers are not a formal standard of any organization. This makes
9292
them unsuitable for use in environments with legal or other requirements to
93-
build on top of standards.</li></ul><h2 id=who-uses>Who Uses Protocol Buffers?</h2><p>Many projects use protocol buffers, including the following:</p><ul><li><a href=https://grpc.io>gRPC</a></li><li><a href=https://cloud.google.com>Google Cloud</a></li><li><a href=https://www.envoyproxy.io>Envoy Proxy</a></li></ul><h2 id=work>How do Protocol Buffers Work?</h2><p>The following diagram shows how you use protocol buffers to work with your data.</p><p><img src=/images/protocol-buffers-concepts.png alt><br><strong>Figure 1. Protocol buffers workflow</strong></p><p>The code generated by protocol buffers provides utility methods to retrieve data
93+
build on top of standards.</li></ul><h2 id=who-uses>Who Uses Protocol Buffers?</h2><p>Many projects use protocol buffers, including the following:</p><ul><li><a href=https://grpc.io>gRPC</a></li><li><a href=https://cloud.google.com>Google Cloud</a></li><li><a href=https://www.envoyproxy.io>Envoy Proxy</a></li></ul><h2 id=work>How do Protocol Buffers Work?</h2><p>The following diagram shows how you use protocol buffers to work with your data.</p><p><img src=/images/protocol-buffers-concepts.png alt="Compilation workflow showing the creation of a proto file, generated code, and compiled classes"><br><strong>Figure 1. Protocol buffers workflow</strong></p><p>The code generated by protocol buffers provides utility methods to retrieve data
9494
from files and streams, extract individual values from the data, check if data
9595
exists, serialize data back to a file or stream, and other useful functions.</p><p>The following code samples show you an example of this flow in Java. As shown
9696
earlier, this is a <code>.proto</code> definition:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-proto data-lang=proto><span style=display:flex><span><span style=color:#204a87;font-weight:700>message</span> <span style=color:#000>Person</span> <span style=color:#000;font-weight:700>{</span><span style=color:#a40000>

0 commit comments

Comments
 (0)