@java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.cloud.talent.v4.Company.DerivedInfo)) {
        return super.equals(obj);
      }
      com.google.cloud.talent.v4.Company.DerivedInfo other =
          (com.google.cloud.talent.v4.Company.DerivedInfo) obj;

      if (hasHeadquartersLocation() != other.hasHeadquartersLocation()) return false;
      if (hasHeadquartersLocation()) {
        if (!getHeadquartersLocation().equals(other.getHeadquartersLocation())) return false;
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
A structured headquarters location of the company, resolved from
[Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address]
if provided.
</pre>

<code>.google.cloud.talent.v4.Location headquarters_location = 1;</code>
java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java