@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedLedgerInfo)) { return super.equals(obj); } org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedLedgerInfo other = (org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedLedgerInfo) obj; boolean result = true; result = result && getLedgerInfoList() .equals(other.getLedgerInfoList()); result = result && (hasTerminatedPosition() == other.hasTerminatedPosition()); if (hasTerminatedPosition()) { result = result && getTerminatedPosition() .equals(other.getTerminatedPosition()); } 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.bookkeeper.mledger.proto.MLDataFormats.MessageRange)) { return super.equals(obj); } org.apache.bookkeeper.mledger.proto.MLDataFormats.MessageRange other = (org.apache.bookkeeper.mledger.proto.MLDataFormats.MessageRange) obj; boolean result = true; result = result && (hasLowerEndpoint() == other.hasLowerEndpoint()); if (hasLowerEndpoint()) { result = result && getLowerEndpoint() .equals(other.getLowerEndpoint()); } result = result && (hasUpperEndpoint() == other.hasUpperEndpoint()); if (hasUpperEndpoint()) { result = result && getUpperEndpoint() .equals(other.getUpperEndpoint()); } 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.bookkeeper.mledger.proto.MLDataFormats.ManagedLedgerInfo)) { return super.equals(obj); } org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedLedgerInfo other = (org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedLedgerInfo) obj; boolean result = true; result = result && getLedgerInfoList() .equals(other.getLedgerInfoList()); result = result && (hasTerminatedPosition() == other.hasTerminatedPosition()); if (hasTerminatedPosition()) { result = result && getTerminatedPosition() .equals(other.getTerminatedPosition()); } 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.bookkeeper.mledger.proto.MLDataFormats.MessageRange)) { return super.equals(obj); } org.apache.bookkeeper.mledger.proto.MLDataFormats.MessageRange other = (org.apache.bookkeeper.mledger.proto.MLDataFormats.MessageRange) obj; boolean result = true; result = result && (hasLowerEndpoint() == other.hasLowerEndpoint()); if (hasLowerEndpoint()) { result = result && getLowerEndpoint() .equals(other.getLowerEndpoint()); } result = result && (hasUpperEndpoint() == other.hasUpperEndpoint()); if (hasUpperEndpoint()) { result = result && getUpperEndpoint() .equals(other.getUpperEndpoint()); } result = result && unknownFields.equals(other.unknownFields); return result; }