@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.AcceptRecoveryRequestProto)) { return super.equals(obj); } org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.AcceptRecoveryRequestProto other = (org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.AcceptRecoveryRequestProto) obj; boolean result = true; result = result && (hasReqInfo() == other.hasReqInfo()); if (hasReqInfo()) { result = result && getReqInfo() .equals(other.getReqInfo()); } result = result && (hasStateToAccept() == other.hasStateToAccept()); if (hasStateToAccept()) { result = result && getStateToAccept() .equals(other.getStateToAccept()); } result = result && (hasFromURL() == other.hasFromURL()); if (hasFromURL()) { result = result && getFromURL() .equals(other.getFromURL()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.PersistedRecoveryPaxosData)) { return super.equals(obj); } org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.PersistedRecoveryPaxosData other = (org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.PersistedRecoveryPaxosData) obj; boolean result = true; result = result && (hasSegmentState() == other.hasSegmentState()); if (hasSegmentState()) { result = result && getSegmentState() .equals(other.getSegmentState()); } result = result && (hasAcceptedInEpoch() == other.hasAcceptedInEpoch()); if (hasAcceptedInEpoch()) { result = result && (getAcceptedInEpoch() == other.getAcceptedInEpoch()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
if (hasSegmentState()) { result = result && getSegmentState() .equals(other.getSegmentState());
if (hasSegmentState()) { result = result && getSegmentState() .equals(other.getSegmentState());
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.AcceptRecoveryRequestProto)) { return super.equals(obj); } org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.AcceptRecoveryRequestProto other = (org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.AcceptRecoveryRequestProto) obj; boolean result = true; result = result && (hasReqInfo() == other.hasReqInfo()); if (hasReqInfo()) { result = result && getReqInfo() .equals(other.getReqInfo()); } result = result && (hasStateToAccept() == other.hasStateToAccept()); if (hasStateToAccept()) { result = result && getStateToAccept() .equals(other.getStateToAccept()); } result = result && (hasFromURL() == other.hasFromURL()); if (hasFromURL()) { result = result && getFromURL() .equals(other.getFromURL()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
if (hasSegmentState()) { result = result && getSegmentState() .equals(other.getSegmentState());
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.AcceptRecoveryRequestProto)) { return super.equals(obj); } org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.AcceptRecoveryRequestProto other = (org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.AcceptRecoveryRequestProto) obj; boolean result = true; result = result && (hasReqInfo() == other.hasReqInfo()); if (hasReqInfo()) { result = result && getReqInfo() .equals(other.getReqInfo()); } result = result && (hasStateToAccept() == other.hasStateToAccept()); if (hasStateToAccept()) { result = result && getStateToAccept() .equals(other.getStateToAccept()); } result = result && (hasFromURL() == other.hasFromURL()); if (hasFromURL()) { result = result && getFromURL() .equals(other.getFromURL()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.PersistedRecoveryPaxosData)) { return super.equals(obj); } org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.PersistedRecoveryPaxosData other = (org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.PersistedRecoveryPaxosData) obj; boolean result = true; result = result && (hasSegmentState() == other.hasSegmentState()); if (hasSegmentState()) { result = result && getSegmentState() .equals(other.getSegmentState()); } result = result && (hasAcceptedInEpoch() == other.hasAcceptedInEpoch()); if (hasAcceptedInEpoch()) { result = result && (getAcceptedInEpoch() == other.getAcceptedInEpoch()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.PersistedRecoveryPaxosData)) { return super.equals(obj); } org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.PersistedRecoveryPaxosData other = (org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.PersistedRecoveryPaxosData) obj; boolean result = true; result = result && (hasSegmentState() == other.hasSegmentState()); if (hasSegmentState()) { result = result && getSegmentState() .equals(other.getSegmentState()); } result = result && (hasAcceptedInEpoch() == other.hasAcceptedInEpoch()); if (hasAcceptedInEpoch()) { result = result && (getAcceptedInEpoch() == other.getAcceptedInEpoch()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }