@java.lang.Override
  public boolean hasExportCustomRoutes() {
    return ((bitField0_ & 0x00000004) != 0);
  }
<pre>
Optional. True if custom routes are exported to the peered network;
false otherwise. The default value is true.
</pre>

<code>optional bool export_custom_routes = 8 [(.google.api.field_behavior) = OPTIONAL];</code>

@return Whether the exportCustomRoutes field is set.
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkPeering.java