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