public boolean hasRoadTraffic() {
    return trafficOptionCase_ == 5;
  }
<pre>
Specifies the traffic density to use when calculating commute time.
</pre>

<code>.google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5;</code>

@return Whether the roadTraffic field is set.
java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilter.java