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

    if (!getDestRange().equals(other.getDestRange())) return false;
    if (type_ != other.type_) return false;
    if (!getNextHopRegion().equals(other.getNextHopRegion())) return false;
    if (getPriority() != other.getPriority()) return false;
    if (getImported() != other.getImported()) return false;
    if (direction_ != other.direction_) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Output only. Direction of the routes exchanged with the peer network, from
the VMware Engine network perspective:

* Routes of direction `INCOMING` are imported from the peer network.
* Routes of direction `OUTGOING` are exported from the intranet VPC network
of the VMware Engine network.
</pre>

<code>
.google.cloud.vmwareengine.v1.PeeringRoute.Direction direction = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

@return The direction.
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/PeeringRoute.java