@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + START_FIELD_NUMBER; hash = (53 * hash) + getStart().hashCode(); hash = (37 * hash) + END_FIELD_NUMBER; hash = (53 * hash) + getEnd().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + START_FIELD_NUMBER; hash = (53 * hash) + getStart().hashCode(); hash = (37 * hash) + END_FIELD_NUMBER; hash = (53 * hash) + getEnd().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 io.vitess.proto.Topodata.KeyRange)) { return super.equals(obj); } io.vitess.proto.Topodata.KeyRange other = (io.vitess.proto.Topodata.KeyRange) obj; boolean result = true; result = result && getStart() .equals(other.getStart()); result = result && getEnd() .equals(other.getEnd()); 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 io.vitess.proto.Topodata.KeyRange)) { return super.equals(obj); } io.vitess.proto.Topodata.KeyRange other = (io.vitess.proto.Topodata.KeyRange) obj; boolean result = true; result = result && getStart() .equals(other.getStart()); result = result && getEnd() .equals(other.getEnd()); result = result && unknownFields.equals(other.unknownFields); return result; }
/** * <code>bytes end = 2;</code> */ public Builder clearEnd() { end_ = getDefaultInstance().getEnd(); onChanged(); return this; } @java.lang.Override
/** * <code>bytes end = 2;</code> */ public Builder clearEnd() { end_ = getDefaultInstance().getEnd(); onChanged(); return this; } @java.lang.Override
public Builder mergeFrom(io.vitess.proto.Topodata.KeyRange other) { if (other == io.vitess.proto.Topodata.KeyRange.getDefaultInstance()) return this; if (other.getStart() != com.google.protobuf.ByteString.EMPTY) { setStart(other.getStart()); } if (other.getEnd() != com.google.protobuf.ByteString.EMPTY) { setEnd(other.getEnd()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(io.vitess.proto.Topodata.KeyRange other) { if (other == io.vitess.proto.Topodata.KeyRange.getDefaultInstance()) return this; if (other.getStart() != com.google.protobuf.ByteString.EMPTY) { setStart(other.getStart()); } if (other.getEnd() != com.google.protobuf.ByteString.EMPTY) { setEnd(other.getEnd()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }