@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.devtools.cloudtrace.v2.StackTrace)) { return super.equals(obj); } com.google.devtools.cloudtrace.v2.StackTrace other = (com.google.devtools.cloudtrace.v2.StackTrace) obj; boolean result = true; result = result && (hasStackFrames() == other.hasStackFrames()); if (hasStackFrames()) { result = result && getStackFrames().equals(other.getStackFrames()); } result = result && (getStackTraceHashId() == other.getStackTraceHashId()); 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 (hasStackFrames()) { hash = (37 * hash) + STACK_FRAMES_FIELD_NUMBER; hash = (53 * hash) + getStackFrames().hashCode(); } hash = (37 * hash) + STACK_TRACE_HASH_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStackTraceHashId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.devtools.cloudtrace.v2.StackTrace other) { if (other == com.google.devtools.cloudtrace.v2.StackTrace.getDefaultInstance()) return this; if (other.hasStackFrames()) { mergeStackFrames(other.getStackFrames()); } if (other.getStackTraceHashId() != 0L) { setStackTraceHashId(other.getStackTraceHashId()); } 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.cloudtrace.v2.StackTrace)) { return super.equals(obj); } com.google.devtools.cloudtrace.v2.StackTrace other = (com.google.devtools.cloudtrace.v2.StackTrace) obj; boolean result = true; result = result && (hasStackFrames() == other.hasStackFrames()); if (hasStackFrames()) { result = result && getStackFrames().equals(other.getStackFrames()); } result = result && (getStackTraceHashId() == other.getStackTraceHashId()); 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 (hasStackFrames()) { hash = (37 * hash) + STACK_FRAMES_FIELD_NUMBER; hash = (53 * hash) + getStackFrames().hashCode(); } hash = (37 * hash) + STACK_TRACE_HASH_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStackTraceHashId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.devtools.cloudtrace.v2.StackTrace other) { if (other == com.google.devtools.cloudtrace.v2.StackTrace.getDefaultInstance()) return this; if (other.hasStackFrames()) { mergeStackFrames(other.getStackFrames()); } if (other.getStackTraceHashId() != 0L) { setStackTraceHashId(other.getStackTraceHashId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }