code: public java.lang.String getLocality() {
      java.lang.Object ref = locality_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        locality_ = s;
        return s;
      }
    }
docs: <pre>
  Optional. Generally refers to the city/town portion of the address.
  Examples: US city, IT comune, UK post town.
  In regions of the world where localities are not well defined or do not fit
  into this structure well, leave locality empty and use address_lines.
  </pre>
  
  <code>string locality = 7;</code>