(<code>-</code>)</li><li>Proto <code>message</code>s map to objects; in YAML objects are field names all at the same indentation level</li><li>YAML is whitespace sensitive and must use spaces; tabs are never allowed</li></ul><h3 id="map-and-message-fields"><code>map</code> and <code>message</code> fields</h3><table><tbody><tr><th>Proto</th><th>YAML</th></tr><tr><td><pre>
message Metric {
        string descriptor_name = 1;
        string value = 2;
        map&lt;string, string&gt; labels = 3;
}
</pre></td>