@java.lang.Override
  public com.google.cloud.vmwareengine.v1.PeeringRoute.Type getType() {
    com.google.cloud.vmwareengine.v1.PeeringRoute.Type result =
        com.google.cloud.vmwareengine.v1.PeeringRoute.Type.forNumber(type_);
    return result == null
        ? com.google.cloud.vmwareengine.v1.PeeringRoute.Type.UNRECOGNIZED
        : result;
  }
<pre>
Output only. Type of the route in the peer VPC network.
</pre>

<code>
.google.cloud.vmwareengine.v1.PeeringRoute.Type type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

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