@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.ClientProtocol.ErrorResponse)) { return super.equals(obj); } org.apache.geode.internal.protocol.protobuf.v1.ClientProtocol.ErrorResponse other = (org.apache.geode.internal.protocol.protobuf.v1.ClientProtocol.ErrorResponse) obj; boolean result = true; result = result && (hasError() == other.hasError()); if (hasError()) { result = result && getError() .equals(other.getError()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@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; }