@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.vitess.proto.Topodata.Keyspace.ServedFrom)) { return super.equals(obj); } io.vitess.proto.Topodata.Keyspace.ServedFrom other = (io.vitess.proto.Topodata.Keyspace.ServedFrom) obj; boolean result = true; result = result && tabletType_ == other.tabletType_; result = result && getCellsList() .equals(other.getCellsList()); result = result && getKeyspace() .equals(other.getKeyspace()); 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.Keyspace.ServedFrom)) { return super.equals(obj); } io.vitess.proto.Topodata.Keyspace.ServedFrom other = (io.vitess.proto.Topodata.Keyspace.ServedFrom) obj; boolean result = true; result = result && tabletType_ == other.tabletType_; result = result && getCellsList() .equals(other.getCellsList()); result = result && getKeyspace() .equals(other.getKeyspace()); 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(); hash = (37 * hash) + TABLET_TYPE_FIELD_NUMBER; hash = (53 * hash) + tabletType_; if (getCellsCount() > 0) { hash = (37 * hash) + CELLS_FIELD_NUMBER; hash = (53 * hash) + getCellsList().hashCode(); } hash = (37 * hash) + KEYSPACE_FIELD_NUMBER; hash = (53 * hash) + getKeyspace().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(io.vitess.proto.Topodata.Keyspace.ServedFrom other) { if (other == io.vitess.proto.Topodata.Keyspace.ServedFrom.getDefaultInstance()) return this; if (other.tabletType_ != 0) { setTabletTypeValue(other.getTabletTypeValue()); } if (!other.cells_.isEmpty()) { if (cells_.isEmpty()) { cells_ = other.cells_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureCellsIsMutable(); cells_.addAll(other.cells_); } onChanged(); } if (!other.getKeyspace().isEmpty()) { keyspace_ = other.keyspace_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(io.vitess.proto.Topodata.Keyspace.ServedFrom other) { if (other == io.vitess.proto.Topodata.Keyspace.ServedFrom.getDefaultInstance()) return this; if (other.tabletType_ != 0) { setTabletTypeValue(other.getTabletTypeValue()); } if (!other.cells_.isEmpty()) { if (cells_.isEmpty()) { cells_ = other.cells_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureCellsIsMutable(); cells_.addAll(other.cells_); } onChanged(); } if (!other.getKeyspace().isEmpty()) { keyspace_ = other.keyspace_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TABLET_TYPE_FIELD_NUMBER; hash = (53 * hash) + tabletType_; if (getCellsCount() > 0) { hash = (37 * hash) + CELLS_FIELD_NUMBER; hash = (53 * hash) + getCellsList().hashCode(); } hash = (37 * hash) + KEYSPACE_FIELD_NUMBER; hash = (53 * hash) + getKeyspace().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
/** * <pre> * the keyspace name that's serving it * </pre> * * <code>string keyspace = 3;</code> */ public Builder clearKeyspace() { keyspace_ = getDefaultInstance().getKeyspace(); onChanged(); return this; } /**
/** * <pre> * the keyspace name that's serving it * </pre> * * <code>string keyspace = 3;</code> */ public Builder clearKeyspace() { keyspace_ = getDefaultInstance().getKeyspace(); onChanged(); return this; } /**