@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasLowerEndpoint()) { hash = (37 * hash) + LOWERENDPOINT_FIELD_NUMBER; hash = (53 * hash) + getLowerEndpoint().hashCode(); } if (hasUpperEndpoint()) { hash = (37 * hash) + UPPERENDPOINT_FIELD_NUMBER; hash = (53 * hash) + getUpperEndpoint().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.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 int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasLowerEndpoint()) { hash = (37 * hash) + LOWERENDPOINT_FIELD_NUMBER; hash = (53 * hash) + getLowerEndpoint().hashCode(); } if (hasUpperEndpoint()) { hash = (37 * hash) + UPPERENDPOINT_FIELD_NUMBER; hash = (53 * hash) + getUpperEndpoint().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.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; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasLowerEndpoint()) { memoizedIsInitialized = 0; return false; } if (!hasUpperEndpoint()) { memoizedIsInitialized = 0; return false; } if (!getLowerEndpoint().isInitialized()) { memoizedIsInitialized = 0; return false; } if (!getUpperEndpoint().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasLowerEndpoint()) { memoizedIsInitialized = 0; return false; } if (!hasUpperEndpoint()) { memoizedIsInitialized = 0; return false; } if (!getLowerEndpoint().isInitialized()) { memoizedIsInitialized = 0; return false; } if (!getUpperEndpoint().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public Builder mergeFrom(org.apache.bookkeeper.mledger.proto.MLDataFormats.MessageRange other) { if (other == org.apache.bookkeeper.mledger.proto.MLDataFormats.MessageRange.getDefaultInstance()) return this; if (other.hasLowerEndpoint()) { mergeLowerEndpoint(other.getLowerEndpoint()); } if (other.hasUpperEndpoint()) { mergeUpperEndpoint(other.getUpperEndpoint()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.bookkeeper.mledger.proto.MLDataFormats.MessageRange other) { if (other == org.apache.bookkeeper.mledger.proto.MLDataFormats.MessageRange.getDefaultInstance()) return this; if (other.hasLowerEndpoint()) { mergeLowerEndpoint(other.getLowerEndpoint()); } if (other.hasUpperEndpoint()) { mergeUpperEndpoint(other.getUpperEndpoint()); } 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 (!hasLowerEndpoint()) { memoizedIsInitialized = 0; return false; } if (!hasUpperEndpoint()) { memoizedIsInitialized = 0; return false; } if (!getLowerEndpoint().isInitialized()) { memoizedIsInitialized = 0; return false; } if (!getUpperEndpoint().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public Builder mergeFrom(org.apache.bookkeeper.mledger.proto.MLDataFormats.MessageRange other) { if (other == org.apache.bookkeeper.mledger.proto.MLDataFormats.MessageRange.getDefaultInstance()) return this; if (other.hasLowerEndpoint()) { mergeLowerEndpoint(other.getLowerEndpoint()); } if (other.hasUpperEndpoint()) { mergeUpperEndpoint(other.getUpperEndpoint()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }