public long getHdfsMetricsOrDefault(java.lang.String key, long defaultValue) {
    if (key == null) {
      throw new java.lang.NullPointerException();
    }
    java.util.Map<java.lang.String, java.lang.Long> map = internalGetHdfsMetrics().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
public long getHdfsMetricsOrDefault ( java . lang . String key , long defaultValue ) { if ( key == null ) { throw new java . lang . NullPointerException ( ) ; } java . util . Map < java . lang . String , java . lang . Long > map = internalGetHdfsMetrics ( ) . getMap ( ) ; return map . containsKey ( key ) ? map . get ( key ) : defaultValue ; }
<pre>
The HDFS metrics.
</pre>

<code>map&lt;string, int64&gt; hdfs_metrics = 1;</code>