@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 int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHttpRequest()) { hash = (37 * hash) + HTTP_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getHttpRequest().hashCode(); } hash = (37 * hash) + USER_FIELD_NUMBER; hash = (53 * hash) + getUser().hashCode(); if (hasReportLocation()) { hash = (37 * hash) + REPORT_LOCATION_FIELD_NUMBER; hash = (53 * hash) + getReportLocation().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.devtools.clouderrorreporting.v1beta1.ErrorContext other) { if (other == com.google.devtools.clouderrorreporting.v1beta1.ErrorContext.getDefaultInstance()) return this; if (other.hasHttpRequest()) { mergeHttpRequest(other.getHttpRequest()); } if (!other.getUser().isEmpty()) { user_ = other.user_; onChanged(); } if (other.hasReportLocation()) { mergeReportLocation(other.getReportLocation()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@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 int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHttpRequest()) { hash = (37 * hash) + HTTP_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getHttpRequest().hashCode(); } hash = (37 * hash) + USER_FIELD_NUMBER; hash = (53 * hash) + getUser().hashCode(); if (hasReportLocation()) { hash = (37 * hash) + REPORT_LOCATION_FIELD_NUMBER; hash = (53 * hash) + getReportLocation().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.devtools.clouderrorreporting.v1beta1.ErrorContext other) { if (other == com.google.devtools.clouderrorreporting.v1beta1.ErrorContext.getDefaultInstance()) return this; if (other.hasHttpRequest()) { mergeHttpRequest(other.getHttpRequest()); } if (!other.getUser().isEmpty()) { user_ = other.user_; onChanged(); } if (other.hasReportLocation()) { mergeReportLocation(other.getReportLocation()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }