@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (enablePeopleCounting_ != false) {
      output.writeBool(1, enablePeopleCounting_);
    }
    if (enableVehicleCounting_ != false) {
      output.writeBool(2, enableVehicleCounting_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Whether to count the appearances of vehicles, output counts will have
'vehicle' as the key.
</pre>

<code>bool enable_vehicle_counting = 2;</code>

@return The enableVehicleCounting.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/PersonVehicleDetectionConfig.java