@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.devtools.cloudtrace.v2.Module)) { return super.equals(obj); } com.google.devtools.cloudtrace.v2.Module other = (com.google.devtools.cloudtrace.v2.Module) obj; boolean result = true; result = result && (hasModule() == other.hasModule()); if (hasModule()) { result = result && getModule().equals(other.getModule()); } result = result && (hasBuildId() == other.hasBuildId()); if (hasBuildId()) { result = result && getBuildId().equals(other.getBuildId()); } 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 (hasModule()) { hash = (37 * hash) + MODULE_FIELD_NUMBER; hash = (53 * hash) + getModule().hashCode(); } if (hasBuildId()) { hash = (37 * hash) + BUILD_ID_FIELD_NUMBER; hash = (53 * hash) + getBuildId().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.devtools.cloudtrace.v2.Module other) { if (other == com.google.devtools.cloudtrace.v2.Module.getDefaultInstance()) return this; if (other.hasModule()) { mergeModule(other.getModule()); } if (other.hasBuildId()) { mergeBuildId(other.getBuildId()); } 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.Module)) { return super.equals(obj); } com.google.devtools.cloudtrace.v2.Module other = (com.google.devtools.cloudtrace.v2.Module) obj; boolean result = true; result = result && (hasModule() == other.hasModule()); if (hasModule()) { result = result && getModule().equals(other.getModule()); } result = result && (hasBuildId() == other.hasBuildId()); if (hasBuildId()) { result = result && getBuildId().equals(other.getBuildId()); } 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 (hasModule()) { hash = (37 * hash) + MODULE_FIELD_NUMBER; hash = (53 * hash) + getModule().hashCode(); } if (hasBuildId()) { hash = (37 * hash) + BUILD_ID_FIELD_NUMBER; hash = (53 * hash) + getBuildId().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(com.google.devtools.cloudtrace.v2.Module other) { if (other == com.google.devtools.cloudtrace.v2.Module.getDefaultInstance()) return this; if (other.hasModule()) { mergeModule(other.getModule()); } if (other.hasBuildId()) { mergeBuildId(other.getBuildId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }