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

    if (getEnablePeopleCounting() != other.getEnablePeopleCounting()) return false;
    if (getEnableVehicleCounting() != other.getEnableVehicleCounting()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<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