@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.cloud.speech.v1.RecognizeRequest)) { return super.equals(obj); } com.google.cloud.speech.v1.RecognizeRequest other = (com.google.cloud.speech.v1.RecognizeRequest) obj; boolean result = true; result = result && (hasConfig() == other.hasConfig()); if (hasConfig()) { result = result && getConfig().equals(other.getConfig()); } result = result && (hasAudio() == other.hasAudio()); if (hasAudio()) { result = result && getAudio().equals(other.getAudio()); } 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.speech.v1.LongRunningRecognizeRequest)) { return super.equals(obj); } com.google.cloud.speech.v1.LongRunningRecognizeRequest other = (com.google.cloud.speech.v1.LongRunningRecognizeRequest) obj; boolean result = true; result = result && (hasConfig() == other.hasConfig()); if (hasConfig()) { result = result && getConfig().equals(other.getConfig()); } result = result && (hasAudio() == other.hasAudio()); if (hasAudio()) { result = result && getAudio().equals(other.getAudio()); } result = result && unknownFields.equals(other.unknownFields); return result; }