@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.cloud.vision.v1.AnnotateFileResponse)) { return super.equals(obj); } com.google.cloud.vision.v1.AnnotateFileResponse other = (com.google.cloud.vision.v1.AnnotateFileResponse) obj; boolean result = true; result = result && (hasInputConfig() == other.hasInputConfig()); if (hasInputConfig()) { result = result && getInputConfig().equals(other.getInputConfig()); } result = result && getResponsesList().equals(other.getResponsesList()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.cloud.vision.v1.AsyncAnnotateFileRequest)) { return super.equals(obj); } com.google.cloud.vision.v1.AsyncAnnotateFileRequest other = (com.google.cloud.vision.v1.AsyncAnnotateFileRequest) obj; boolean result = true; result = result && (hasInputConfig() == other.hasInputConfig()); if (hasInputConfig()) { result = result && getInputConfig().equals(other.getInputConfig()); } result = result && getFeaturesList().equals(other.getFeaturesList()); result = result && (hasImageContext() == other.hasImageContext()); if (hasImageContext()) { result = result && getImageContext().equals(other.getImageContext()); } result = result && (hasOutputConfig() == other.hasOutputConfig()); if (hasOutputConfig()) { result = result && getOutputConfig().equals(other.getOutputConfig()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.cloud.vision.v1.AnnotateFileResponse)) { return super.equals(obj); } com.google.cloud.vision.v1.AnnotateFileResponse other = (com.google.cloud.vision.v1.AnnotateFileResponse) obj; boolean result = true; result = result && (hasInputConfig() == other.hasInputConfig()); if (hasInputConfig()) { result = result && getInputConfig().equals(other.getInputConfig()); } result = result && getResponsesList().equals(other.getResponsesList()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.cloud.vision.v1.AsyncAnnotateFileRequest)) { return super.equals(obj); } com.google.cloud.vision.v1.AsyncAnnotateFileRequest other = (com.google.cloud.vision.v1.AsyncAnnotateFileRequest) obj; boolean result = true; result = result && (hasInputConfig() == other.hasInputConfig()); if (hasInputConfig()) { result = result && getInputConfig().equals(other.getInputConfig()); } result = result && getFeaturesList().equals(other.getFeaturesList()); result = result && (hasImageContext() == other.hasImageContext()); if (hasImageContext()) { result = result && getImageContext().equals(other.getImageContext()); } result = result && (hasOutputConfig() == other.hasOutputConfig()); if (hasOutputConfig()) { result = result && getOutputConfig().equals(other.getOutputConfig()); } result = result && unknownFields.equals(other.unknownFields); return result; }