@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getLinkCount() > 0) { hash = (37 * hash) + LINK_FIELD_NUMBER; hash = (53 * hash) + getLinkList().hashCode(); } hash = (37 * hash) + DROPPED_LINKS_COUNT_FIELD_NUMBER; hash = (53 * hash) + getDroppedLinksCount(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.devtools.cloudtrace.v2.Span.Links)) { return super.equals(obj); } com.google.devtools.cloudtrace.v2.Span.Links other = (com.google.devtools.cloudtrace.v2.Span.Links) obj; boolean result = true; result = result && getLinkList().equals(other.getLinkList()); result = result && (getDroppedLinksCount() == other.getDroppedLinksCount()); 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.cloudtrace.v2.Span.Links)) { return super.equals(obj); } com.google.devtools.cloudtrace.v2.Span.Links other = (com.google.devtools.cloudtrace.v2.Span.Links) obj; boolean result = true; result = result && getLinkList().equals(other.getLinkList()); result = result && (getDroppedLinksCount() == other.getDroppedLinksCount()); 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 (getLinkCount() > 0) { hash = (37 * hash) + LINK_FIELD_NUMBER; hash = (53 * hash) + getLinkList().hashCode(); } hash = (37 * hash) + DROPPED_LINKS_COUNT_FIELD_NUMBER; hash = (53 * hash) + getDroppedLinksCount(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }