@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.devtools.clouderrorreporting.v1beta1.ErrorContext)) { return super.equals(obj); } com.google.devtools.clouderrorreporting.v1beta1.ErrorContext other = (com.google.devtools.clouderrorreporting.v1beta1.ErrorContext) obj; boolean result = true; result = result && (hasHttpRequest() == other.hasHttpRequest()); if (hasHttpRequest()) { result = result && getHttpRequest().equals(other.getHttpRequest()); } result = result && getUser().equals(other.getUser()); result = result && (hasReportLocation() == other.hasReportLocation()); if (hasReportLocation()) { result = result && getReportLocation().equals(other.getReportLocation()); } 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.devtools.clouderrorreporting.v1beta1.ErrorContext)) { return super.equals(obj); } com.google.devtools.clouderrorreporting.v1beta1.ErrorContext other = (com.google.devtools.clouderrorreporting.v1beta1.ErrorContext) obj; boolean result = true; result = result && (hasHttpRequest() == other.hasHttpRequest()); if (hasHttpRequest()) { result = result && getHttpRequest().equals(other.getHttpRequest()); } result = result && getUser().equals(other.getUser()); result = result && (hasReportLocation() == other.hasReportLocation()); if (hasReportLocation()) { result = result && getReportLocation().equals(other.getReportLocation()); } result = result && unknownFields.equals(other.unknownFields); return result; }