@java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (enablePeopleCounting_ != false) {
      size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enablePeopleCounting_);
    }
    if (enableVehicleCounting_ != false) {
      size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enableVehicleCounting_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<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