public Builder mergeFrom(io.vitess.proto.Topodata.Shard.ServedType other) { if (other == io.vitess.proto.Topodata.Shard.ServedType.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(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(io.vitess.proto.Topodata.Shard.ServedType other) { if (other == io.vitess.proto.Topodata.Shard.ServedType.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(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }