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

    if (!getAddress().equals(other.getAddress())) return false;
    if (!getRegionCode().equals(other.getRegionCode())) return false;
    if (hasLatLng() != other.hasLatLng()) return false;
    if (hasLatLng()) {
      if (!getLatLng().equals(other.getLatLng())) return false;
    }
    if (java.lang.Double.doubleToLongBits(getDistanceInMiles())
        != java.lang.Double.doubleToLongBits(other.getDistanceInMiles())) return false;
    if (telecommutePreference_ != other.telecommutePreference_) return false;
    if (getNegated() != other.getNegated()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Whether to apply negation to the filter so profiles matching the filter
are excluded.
</pre>

<code>bool negated = 6;</code>

@return The negated.
java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java