@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasLedgerId()) { hash = (37 * hash) + LEDGERID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLedgerId()); } if (hasEntryId()) { hash = (37 * hash) + ENTRYID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEntryId()); } 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.bookkeeper.mledger.proto.MLDataFormats.NestedPositionInfo)) { return super.equals(obj); } org.apache.bookkeeper.mledger.proto.MLDataFormats.NestedPositionInfo other = (org.apache.bookkeeper.mledger.proto.MLDataFormats.NestedPositionInfo) obj; boolean result = true; result = result && (hasLedgerId() == other.hasLedgerId()); if (hasLedgerId()) { result = result && (getLedgerId() == other.getLedgerId()); } result = result && (hasEntryId() == other.hasEntryId()); if (hasEntryId()) { result = result && (getEntryId() == other.getEntryId()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasLedgerId()) { hash = (37 * hash) + LEDGERID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLedgerId()); } if (hasEntryId()) { hash = (37 * hash) + ENTRYID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEntryId()); } 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.bookkeeper.mledger.proto.MLDataFormats.NestedPositionInfo)) { return super.equals(obj); } org.apache.bookkeeper.mledger.proto.MLDataFormats.NestedPositionInfo other = (org.apache.bookkeeper.mledger.proto.MLDataFormats.NestedPositionInfo) obj; boolean result = true; result = result && (hasLedgerId() == other.hasLedgerId()); if (hasLedgerId()) { result = result && (getLedgerId() == other.getLedgerId()); } result = result && (hasEntryId() == other.hasEntryId()); if (hasEntryId()) { result = result && (getEntryId() == other.getEntryId()); } result = result && unknownFields.equals(other.unknownFields); return result; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasLedgerId()) { memoizedIsInitialized = 0; return false; } if (!hasEntryId()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasLedgerId()) { memoizedIsInitialized = 0; return false; } if (!hasEntryId()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public Builder mergeFrom(org.apache.bookkeeper.mledger.proto.MLDataFormats.NestedPositionInfo other) { if (other == org.apache.bookkeeper.mledger.proto.MLDataFormats.NestedPositionInfo.getDefaultInstance()) return this; if (other.hasLedgerId()) { setLedgerId(other.getLedgerId()); } if (other.hasEntryId()) { setEntryId(other.getEntryId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.bookkeeper.mledger.proto.MLDataFormats.NestedPositionInfo other) { if (other == org.apache.bookkeeper.mledger.proto.MLDataFormats.NestedPositionInfo.getDefaultInstance()) return this; if (other.hasLedgerId()) { setLedgerId(other.getLedgerId()); } if (other.hasEntryId()) { setEntryId(other.getEntryId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasLedgerId()) { memoizedIsInitialized = 0; return false; } if (!hasEntryId()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public Builder mergeFrom(org.apache.bookkeeper.mledger.proto.MLDataFormats.NestedPositionInfo other) { if (other == org.apache.bookkeeper.mledger.proto.MLDataFormats.NestedPositionInfo.getDefaultInstance()) return this; if (other.hasLedgerId()) { setLedgerId(other.getLedgerId()); } if (other.hasEntryId()) { setEntryId(other.getEntryId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }