@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CELL_FIELD_NUMBER; hash = (53 * hash) + getCell().hashCode(); hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid(); 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) + CELL_FIELD_NUMBER; hash = (53 * hash) + getCell().hashCode(); hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid(); 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.TabletAlias)) { return super.equals(obj); } io.vitess.proto.Topodata.TabletAlias other = (io.vitess.proto.Topodata.TabletAlias) obj; boolean result = true; result = result && getCell() .equals(other.getCell()); result = result && (getUid() == other.getUid()); 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.TabletAlias)) { return super.equals(obj); } io.vitess.proto.Topodata.TabletAlias other = (io.vitess.proto.Topodata.TabletAlias) obj; boolean result = true; result = result && getCell() .equals(other.getCell()); result = result && (getUid() == other.getUid()); result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(io.vitess.proto.Topodata.TabletAlias other) { if (other == io.vitess.proto.Topodata.TabletAlias.getDefaultInstance()) return this; if (!other.getCell().isEmpty()) { cell_ = other.cell_; onChanged(); } if (other.getUid() != 0) { setUid(other.getUid()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(io.vitess.proto.Topodata.TabletAlias other) { if (other == io.vitess.proto.Topodata.TabletAlias.getDefaultInstance()) return this; if (!other.getCell().isEmpty()) { cell_ = other.cell_; onChanged(); } if (other.getUid() != 0) { setUid(other.getUid()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * cell is the cell (or datacenter) the tablet is in * </pre> * * <code>string cell = 1;</code> */ public Builder clearCell() { cell_ = getDefaultInstance().getCell(); onChanged(); return this; } /**
/** * <pre> * cell is the cell (or datacenter) the tablet is in * </pre> * * <code>string cell = 1;</code> */ public Builder clearCell() { cell_ = getDefaultInstance().getCell(); onChanged(); return this; } /**