@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, address_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regionCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, regionCode_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(3, getLatLng());
    }
    if (java.lang.Double.doubleToRawLongBits(distanceInMiles_) != 0) {
      output.writeDouble(4, distanceInMiles_);
    }
    if (telecommutePreference_
        != com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference
            .TELECOMMUTE_PREFERENCE_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(5, telecommutePreference_);
    }
    if (negated_ != false) {
      output.writeBool(6, negated_);
    }
    getUnknownFields().writeTo(output);
  }
<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