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

    if (hasInputConfig() != other.hasInputConfig()) return false;
    if (hasInputConfig()) {
      if (!getInputConfig().equals(other.getInputConfig())) return false;
    }
    if (!getResponsesList().equals(other.getResponsesList())) return false;
    if (getTotalPages() != other.getTotalPages()) return false;
    if (hasError() != other.hasError()) return false;
    if (hasError()) {
      if (!getError().equals(other.getError())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
If set, represents the error message for the failed request. The
`responses` field will not be set in this case.
</pre>

<code>.google.rpc.Status error = 4;</code>
java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/AnnotateFileResponse.java