@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasDescription()) { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); } if (hasAttributes()) { hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + getAttributes().hashCode(); } 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.TimeEvent.Annotation)) { return super.equals(obj); } com.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation other = (com.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation) obj; boolean result = true; result = result && (hasDescription() == other.hasDescription()); if (hasDescription()) { result = result && getDescription().equals(other.getDescription()); } result = result && (hasAttributes() == other.hasAttributes()); if (hasAttributes()) { result = result && getAttributes().equals(other.getAttributes()); } 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 (hasDescription()) { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); } if (hasAttributes()) { hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + getAttributes().hashCode(); } 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.TimeEvent.Annotation)) { return super.equals(obj); } com.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation other = (com.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation) obj; boolean result = true; result = result && (hasDescription() == other.hasDescription()); if (hasDescription()) { result = result && getDescription().equals(other.getDescription()); } result = result && (hasAttributes() == other.hasAttributes()); if (hasAttributes()) { result = result && getAttributes().equals(other.getAttributes()); } result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom( com.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation other) { if (other == com.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation.getDefaultInstance()) return this; if (other.hasDescription()) { mergeDescription(other.getDescription()); } if (other.hasAttributes()) { mergeAttributes(other.getAttributes()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom( com.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation other) { if (other == com.google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation.getDefaultInstance()) return this; if (other.hasDescription()) { mergeDescription(other.getDescription()); } if (other.hasAttributes()) { mergeAttributes(other.getAttributes()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }