@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasOldValue()) { hash = (37 * hash) + OLDVALUE_FIELD_NUMBER; hash = (53 * hash) + getOldValue().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.RegionAPI.PutIfAbsentResponse)) { return super.equals(obj); } org.apache.geode.internal.protocol.protobuf.v1.RegionAPI.PutIfAbsentResponse other = (org.apache.geode.internal.protocol.protobuf.v1.RegionAPI.PutIfAbsentResponse) obj; boolean result = true; result = result && (hasOldValue() == other.hasOldValue()); if (hasOldValue()) { result = result && getOldValue() .equals(other.getOldValue()); } result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(org.apache.geode.internal.protocol.protobuf.v1.RegionAPI.PutIfAbsentResponse other) { if (other == org.apache.geode.internal.protocol.protobuf.v1.RegionAPI.PutIfAbsentResponse.getDefaultInstance()) return this; if (other.hasOldValue()) { mergeOldValue(other.getOldValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }