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

    if (hasGcsDestination() != other.hasGcsDestination()) return false;
    if (hasGcsDestination()) {
      if (!getGcsDestination().equals(other.getGcsDestination())) return false;
    }
    if (getBatchSize() != other.getBatchSize()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
The max number of response protos to put into each output JSON file on
Google Cloud Storage.
The valid range is [1, 100]. If not specified, the default value is 20.

For example, for one pdf file with 100 pages, 100 response protos will
be generated. If `batch_size` = 20, then 5 json files each
containing 20 response protos will be written under the prefix
`gcs_destination`.`uri`.

Currently, batch_size only applies to GcsDestination, with potential future
support for other output configurations.
</pre>

<code>int32 batch_size = 2;</code>

@return The batchSize.
java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/OutputConfig.java