@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); } if (hasError()) { hash = (37 * hash) + ERROR_FIELD_NUMBER; hash = (53 * hash) + getError().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 org.apache.geode.internal.protocol.protobuf.v1.BasicTypes.KeyedError)) { return super.equals(obj); } org.apache.geode.internal.protocol.protobuf.v1.BasicTypes.KeyedError other = (org.apache.geode.internal.protocol.protobuf.v1.BasicTypes.KeyedError) obj; boolean result = true; result = result && (hasKey() == other.hasKey()); if (hasKey()) { result = result && getKey() .equals(other.getKey()); } result = result && (hasError() == other.hasError()); if (hasError()) { result = result && getError() .equals(other.getError()); } result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(org.apache.geode.internal.protocol.protobuf.v1.BasicTypes.KeyedError other) { if (other == org.apache.geode.internal.protocol.protobuf.v1.BasicTypes.KeyedError.getDefaultInstance()) return this; if (other.hasKey()) { mergeKey(other.getKey()); } if (other.hasError()) { mergeError(other.getError()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }